[tor-commits] [flashproxy/master] Add SOCKS4 reference URL.
dcf at torproject.org
dcf at torproject.org
Wed Jul 4 14:33:23 UTC 2012
commit 55c7329b70268eaf0f0fdb6dcd471740ac8cb195
Author: David Fifield <david at bamsoftware.com>
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."""
More information about the tor-commits
mailing list