소스 검색

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