[or-cvs] r18477: {tor} As an exit node, scrub the IP address to which we are exitin (in tor/trunk: . src/or)

kloesing at seul.org kloesing at seul.org
Tue Feb 10 18:52:47 UTC 2009


Author: kloesing
Date: 2009-02-10 13:52:47 -0500 (Tue, 10 Feb 2009)
New Revision: 18477

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/connection_edge.c
Log:
As an exit node, scrub the IP address to which we are exiting in the logs. Bugfix on 0.2.1.8-alpha.

Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2009-02-10 17:13:54 UTC (rev 18476)
+++ tor/trunk/ChangeLog	2009-02-10 18:52:47 UTC (rev 18477)
@@ -12,6 +12,8 @@
       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

Modified: tor/trunk/src/or/connection_edge.c
===================================================================
--- tor/trunk/src/or/connection_edge.c	2009-02-10 17:13:54 UTC (rev 18476)
+++ tor/trunk/src/or/connection_edge.c	2009-02-10 18:52:47 UTC (rev 18477)
@@ -330,7 +330,7 @@
 
   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 */



More information about the tor-commits mailing list