]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
when somebody uploads too much, say who tried it
authorRoger Dingledine <arma@torproject.org>
Wed, 10 Dec 2014 06:10:44 +0000 (01:10 -0500)
committerRoger Dingledine <arma@torproject.org>
Wed, 10 Dec 2014 06:10:44 +0000 (01:10 -0500)
src/or/directory.c

index e1f5964e1e891208c9b1e2b9cc57c177bc2f396d..cca4b54e241174c8ecdf87434554b440bc0363ee 100644 (file)
@@ -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;
   }