Explorar el Código

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

svn:r3799
Roger Dingledine hace 20 años
padre
commit
8d1460c858
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/or/directory.c

+ 1 - 1
src/or/directory.c

@@ -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.");