aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_ap.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-09-19 20:13:27 +0000
committerRoger Dingledine <arma@torproject.org>2002-09-19 20:13:27 +0000
commit5449fc86db2fc448f5ba26445fd4b69bf99e9593 (patch)
treeae2b2a8f79baa6bb99b1babd264d4c2ab877e310 /src/or/connection_ap.c
parent09daf01e4a0f2faed10cab14fec5f7d32dc3bd31 (diff)
downloadtor-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.c7
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 */