diff options
author | Roger Dingledine <arma@torproject.org> | 2014-12-10 01:10:44 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2014-12-10 01:10:44 -0500 |
commit | b73a7600afd4b1f13ac985df27cb703bd3ad427d (patch) | |
tree | 7bd5aff01a5ab1570b7f3096fb7c11edbb7e3359 | |
parent | 9c239eccc973042cbaec16fd48a457f44aeafc24 (diff) | |
download | tor-b73a7600afd4b1f13ac985df27cb703bd3ad427d.tar.gz tor-b73a7600afd4b1f13ac985df27cb703bd3ad427d.zip |
when somebody uploads too much, say who tried it
-rw-r--r-- | src/or/directory.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index e1f5964e1e..cca4b54e24 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2210,8 +2210,10 @@ connection_dir_process_inbuf(dir_connection_t *conn) } if (connection_get_inbuf_len(TO_CONN(conn)) > MAX_DIRECTORY_OBJECT_SIZE) { - log_warn(LD_HTTP, "Too much data received from directory connection: " - "denial of service attempt, or you need to upgrade?"); + log_warn(LD_HTTP, + "Too much data received from directory connection (%s): " + "denial of service attempt, or you need to upgrade?", + conn->base_.address); connection_mark_for_close(TO_CONN(conn)); return -1; } |