Преглед на файлове

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

svn:r3799
Roger Dingledine преди 20 години
родител
ревизия
8d1460c858
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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.");