diff options
author | Roger Dingledine <arma@torproject.org> | 2005-05-02 21:48:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-05-02 21:48:54 +0000 |
commit | c9e83eb1b406ec268ebebc761e7db20665bcf455 (patch) | |
tree | 98d1bdade965e24db85a635d81432efc3bd19d05 /src/or/directory.c | |
parent | 57b7427c2d9b333462e3e396fcd5d6063d7f189e (diff) | |
download | tor-c9e83eb1b406ec268ebebc761e7db20665bcf455.tar.gz tor-c9e83eb1b406ec268ebebc761e7db20665bcf455.zip |
when we refuse a router descriptor, log contactinfo and source address.
svn:r4156
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 36ffeb5841..8e2e44b8f1 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1035,6 +1035,7 @@ directory_handle_command_post(connection_t *conn, char *headers, case -1: /* malformed descriptor, or something wrong */ write_http_status_line(conn, 400, msg?msg:"Malformed or unacceptable server descriptor"); + log_fn(LOG_NOTICE,"Rejected descriptor published by '%s'.", conn->address); break; case 0: /* descriptor was well-formed but server has not been approved */ |