summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-01-23 09:26:22 +0000
committerRoger Dingledine <arma@torproject.org>2006-01-23 09:26:22 +0000
commit1756ebdd4ef3e38fc12ff3d404ea9ba8ccb234b5 (patch)
treeadd98e8205d1807ebebb066a8323ce494d5a8f09 /src
parentde13ddd26f6919ef1d1cc434cd68bf17229b116e (diff)
downloadtor-1756ebdd4ef3e38fc12ff3d404ea9ba8ccb234b5.tar.gz
tor-1756ebdd4ef3e38fc12ff3d404ea9ba8ccb234b5.zip
Jan 23 02:39:44.856 [warn] rend_mid_rendezvous(): Rejecting RENDEZVOUS1 cell with unrecognized rendezvous cookie AFC097FD.
This is not anything that the server admin can deal with, so don't complain this loudly. svn:r5851
Diffstat (limited to 'src')
-rw-r--r--src/or/rendmid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c
index cf0ec0baa9..73b6c8064d 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -31,7 +31,7 @@ rend_mid_establish_intro(circuit_t *circ, const char *request,
"Received an ESTABLISH_INTRO request on circuit %d", circ->p_circ_id);
if (circ->purpose != CIRCUIT_PURPOSE_OR || circ->n_conn) {
- warn(LD_PROTOCOL,
+ log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
"Rejecting ESTABLISH_INTRO on non-OR or non-edge circuit.");
reason = END_CIRC_REASON_TORPROTOCOL;
goto err;
@@ -266,7 +266,7 @@ rend_mid_rendezvous(circuit_t *circ, const char *request, size_t request_len)
}
if (request_len != REND_COOKIE_LEN+DH_KEY_LEN+DIGEST_LEN) {
- warn(LD_PROTOCOL,
+ log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
"Rejecting RENDEZVOUS1 cell with bad length (%d) on circuit %d.",
(int)request_len, circ->p_circ_id);
reason = END_CIRC_REASON_TORPROTOCOL;
@@ -275,7 +275,7 @@ rend_mid_rendezvous(circuit_t *circ, const char *request, size_t request_len)
rend_circ = circuit_get_rendezvous(request);
if (!rend_circ) {
- warn(LD_PROTOCOL,
+ log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
"Rejecting RENDEZVOUS1 cell with unrecognized rendezvous cookie %s.",
hexid);
reason = END_CIRC_REASON_TORPROTOCOL;