]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
As an exit node, scrub the IP address to which we are exiting in the logs. Bugfix...
authorKarsten Loesing <karsten.loesing@gmx.net>
Tue, 10 Feb 2009 18:52:47 +0000 (18:52 +0000)
committerKarsten Loesing <karsten.loesing@gmx.net>
Tue, 10 Feb 2009 18:52:47 +0000 (18:52 +0000)
svn:r18477

ChangeLog
src/or/connection_edge.c

index 0b493a261a21565b7d5f1dbabe8040d005f44ccc..d21965c8898d1245563abedfc0b43815f9b3cee2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,8 @@ Changes in version 0.2.1.13-????? - 2009-0?-??
       Spotted by rovv.  Fixes another case of bug 752.
     - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
       cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
+    - As an exit node, scrub the IP address to which we are exiting in the
+      logs. Bugfix on 0.2.1.8-alpha.
 
   o Minor features:
     - On Linux, use the prctl call to re-enable core dumps when the user
index cd04f3287d296e7d7f4d275e2870dc21676695a7..a157bdbb2e95a60b47ea87872fb6c83727dda97d 100644 (file)
@@ -330,7 +330,7 @@ connection_edge_finished_connecting(edge_connection_t *edge_conn)
 
   log_info(LD_EXIT,"Exit connection to %s:%u (%s) established.",
            escaped_safe_str(conn->address),conn->port,
-           fmt_addr(&conn->addr));
+           safe_str(fmt_addr(&conn->addr)));
 
   conn->state = EXIT_CONN_STATE_OPEN;
   connection_watch_events(conn, EV_READ); /* stop writing, continue reading */