mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
tell me the address of the guy who's trying to attack my dirserver
svn:r3799
This commit is contained in:
parent
f1ba4296c1
commit
8d1460c858
@ -1054,7 +1054,7 @@ static int directory_handle_command(connection_t *conn) {
|
|||||||
&headers, MAX_HEADERS_SIZE,
|
&headers, MAX_HEADERS_SIZE,
|
||||||
&body, &body_len, MAX_BODY_SIZE)) {
|
&body, &body_len, MAX_BODY_SIZE)) {
|
||||||
case -1: /* overflow */
|
case -1: /* overflow */
|
||||||
log_fn(LOG_WARN,"Invalid input. Closing.");
|
log_fn(LOG_WARN,"Invalid input from address '%s'. Closing.", conn->address);
|
||||||
return -1;
|
return -1;
|
||||||
case 0:
|
case 0:
|
||||||
log_fn(LOG_DEBUG,"command not all here yet.");
|
log_fn(LOG_DEBUG,"command not all here yet.");
|
||||||
|
Loading…
Reference in New Issue
Block a user