[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Add SOCKS4 reference URL.
commit 55c7329b70268eaf0f0fdb6dcd471740ac8cb195
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed Jul 4 06:57:36 2012 -0700
Add SOCKS4 reference URL.
---
connector.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/connector.py b/connector.py
index 353d6b5..333997a 100755
--- a/connector.py
+++ b/connector.py
@@ -553,6 +553,8 @@ def grab_string(s, pos):
i += 1
return pos, None
+# http://ftp.icm.edu.pl/packages/socks/socks4/SOCKS4.protocol
+# https://en.wikipedia.org/wiki/SOCKS#SOCKS4a
def parse_socks_request(data):
"""Parse the 8-byte SOCKS header at the beginning of data. Returns a
(dest, port) tuple. Raises ValueError on error."""
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits