tell me the address of the guy who's trying to attack my dirserver

svn:r3799
This commit is contained in:
Roger Dingledine 2005-03-22 01:18:50 +00:00
parent f1ba4296c1
commit 8d1460c858

View File

@ -1054,7 +1054,7 @@ static int directory_handle_command(connection_t *conn) {
&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.");