diff options
author | Roger Dingledine <arma@torproject.org> | 2002-09-27 23:34:51 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-09-27 23:34:51 +0000 |
commit | 6934eb9f1051c4d0e99130414a87b83c7df56349 (patch) | |
tree | bc36897db4bd9554f08f849be6921c6b957215de /src | |
parent | 23264ebcb5d943cff1df63ebd0a77e832bb5d6b8 (diff) | |
download | tor-6934eb9f1051c4d0e99130414a87b83c7df56349.tar tor-6934eb9f1051c4d0e99130414a87b83c7df56349.tar.gz |
mozilla actually cares about the reply version
tor can now interface directly with mozilla, as a socks 4 host.
but note that mozilla does the dns resolution itself, so you're leaking
anonymity.
svn:r119
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_ap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c index eee068a28..a4f20a564 100644 --- a/src/or/connection_ap.c +++ b/src/or/connection_ap.c @@ -341,7 +341,7 @@ int ap_handshake_socks_reply(connection_t *conn, char result) { assert(conn); - socks4_info.version = 4; + socks4_info.version = 0; socks4_info.command = result; socks4_info.destport[0] = socks4_info.destport[1] = 0; socks4_info.destip[0] = socks4_info.destip[1] = socks4_info.destip[2] = socks4_info.destip[3] = 0; |