diff options
author | Roger Dingledine <arma@torproject.org> | 2002-09-19 20:13:27 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-09-19 20:13:27 +0000 |
commit | 5449fc86db2fc448f5ba26445fd4b69bf99e9593 (patch) | |
tree | ae2b2a8f79baa6bb99b1babd264d4c2ab877e310 /src/or/connection_ap.c | |
parent | 09daf01e4a0f2faed10cab14fec5f7d32dc3bd31 (diff) | |
download | tor-5449fc86db2fc448f5ba26445fd4b69bf99e9593.tar tor-5449fc86db2fc448f5ba26445fd4b69bf99e9593.tar.gz |
synchronize to the version i've been giving people to test
svn:r104
Diffstat (limited to 'src/or/connection_ap.c')
-rw-r--r-- | src/or/connection_ap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c index 732af7b06..50b4438d8 100644 --- a/src/or/connection_ap.c +++ b/src/or/connection_ap.c @@ -48,8 +48,11 @@ int ap_handshake_process_ss(connection_t *conn) { conn->ss_received = sizeof(ss_t); log(LOG_DEBUG,"ap_handshake_process_ss(): Successfully read ss."); - if ((conn->ss.version == 0) || (conn->ss.version != VERSION)) { /* unsupported version */ - log(LOG_DEBUG,"ap_handshake_process_ss(): ss: Unsupported version."); + if ((conn->ss.version == 0) || (conn->ss.version != OR_VERSION)) { /* unsupported version */ + log(LOG_NOTICE,"ap_handshake_process_ss(): ss: Unsupported version '%c'.",conn->ss.version); + if(tolower(conn->ss.version) == 'g') { + log(LOG_NOTICE,"ap_handshake_process_ss(): are you using the onion proxy as a web proxy?"); + } return -1; } if (conn->ss.addr_fmt != SS_ADDR_FMT_ASCII_HOST_PORT) { /* unrecognized address format */ |