[or-cvs] tell me the address of the guy who"s trying to attack my di...

Roger Dingledine arma at seul.org
Tue Mar 22 01:18:52 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c 
Log Message:
tell me the address of the guy who's trying to attack my dirserver


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -d -r1.219 -r1.220
--- directory.c	19 Mar 2005 20:30:23 -0000	1.219
+++ directory.c	22 Mar 2005 01:18:50 -0000	1.220
@@ -1054,7 +1054,7 @@
                               &headers, MAX_HEADERS_SIZE,
                               &body, &body_len, MAX_BODY_SIZE)) {
     case -1: /* overflow */
-      log_fn(LOG_WARN,"Invalid input. Closing.");
+      log_fn(LOG_WARN,"Invalid input from address '%s'. Closing.", conn->address);
       return -1;
     case 0:
       log_fn(LOG_DEBUG,"command not all here yet.");



More information about the tor-commits mailing list