diff options
author | Roger Dingledine <arma@torproject.org> | 2007-08-11 14:13:25 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-08-11 14:13:25 +0000 |
commit | 330abbb6c61a7a2eb39b5b921ff1c3a1a80beca0 (patch) | |
tree | 34e9c5db5eddc71d14db45d75b5622ce2e73e8e6 /src/or/rendmid.c | |
parent | 59204840832482a128039f5fb6d18faccfb11207 (diff) | |
download | tor-330abbb6c61a7a2eb39b5b921ff1c3a1a80beca0.tar.gz tor-330abbb6c61a7a2eb39b5b921ff1c3a1a80beca0.zip |
logging patch from karsten, slightly modified to compile
svn:r11074
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index d69214733e..c0fbf09c3d 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -132,6 +132,9 @@ rend_mid_introduce(or_circuit_t *circ, const char *request, size_t request_len) char serviceid[REND_SERVICE_ID_LEN+1]; char nak_body[1]; + log_info(LD_REND, "Received an INTRODUCE1 request on circuit %d", + circ->p_circ_id); + if (circ->_base.purpose != CIRCUIT_PURPOSE_OR || circ->_base.n_conn) { log_warn(LD_PROTOCOL, "Rejecting INTRODUCE1 on non-OR or non-edge circuit %d.", @@ -210,6 +213,9 @@ rend_mid_establish_rendezvous(or_circuit_t *circ, const char *request, char hexid[9]; int reason = END_CIRC_REASON_TORPROTOCOL; + log_info(LD_REND, "Received an ESTABLISH_RENDEZVOUS request on circuit %d", + circ->p_circ_id); + if (circ->_base.purpose != CIRCUIT_PURPOSE_OR || circ->_base.n_conn) { log_warn(LD_PROTOCOL, "Tried to establish rendezvous on non-OR or non-edge circuit."); |