[or-cvs] r8679: Security bugfixes: When the user sends a NEWNYM signal, clea (in tor/trunk: . src/or)

arma at seul.org arma at seul.org
Mon Oct 9 21:11:54 UTC 2006


Author: arma
Date: 2006-10-09 17:11:50 -0400 (Mon, 09 Oct 2006)
New Revision: 8679

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/connection_edge.c
   tor/trunk/src/or/main.c
Log:
Security bugfixes:
  When the user sends a NEWNYM signal, clear the client-side DNS
  cache too. Otherwise we continue to act on previous information.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2006-10-09 21:11:14 UTC (rev 8678)
+++ tor/trunk/ChangeLog	2006-10-09 21:11:50 UTC (rev 8679)
@@ -4,6 +4,10 @@
       field is sent only to controllers that have enabled the extended
       event format. (Patch from Mike Perry)
 
+  o Security bugfixes:
+    - When the user sends a NEWNYM signal, clear the client-side DNS
+      cache too. Otherwise we continue to act on previous information.
+
   o Minor bugfixes:
     - Change NT service functions to be loaded on demand.  This lets us
       build with mingw without breaking Tor for Windows 98 users.

Modified: tor/trunk/src/or/connection_edge.c
===================================================================
--- tor/trunk/src/or/connection_edge.c	2006-10-09 21:11:14 UTC (rev 8678)
+++ tor/trunk/src/or/connection_edge.c	2006-10-09 21:11:50 UTC (rev 8679)
@@ -1032,7 +1032,7 @@
   return 0;
 }
 
-/** Iterate over all address mapings which have expiry times between
+/** Iterate over all address mappings which have expiry times between
  * min_expires and max_expires, inclusive.  If sl is provided, add an
  * "old-addr new-addr" string to sl for each mapping.  If sl is NULL,
  * remove the mappings.

Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2006-10-09 21:11:14 UTC (rev 8678)
+++ tor/trunk/src/or/main.c	2006-10-09 21:11:50 UTC (rev 8679)
@@ -1331,6 +1331,7 @@
 #endif
     case SIGNEWNYM:
       circuit_expire_all_dirty_circs();
+      addressmap_clear_transient();
       break;
   }
 }



More information about the tor-commits mailing list