diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-09 21:11:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-09 21:11:50 +0000 |
commit | 86263acf95c19dea5ef0f2b61334cbc8889e8ab6 (patch) | |
tree | 089ee2e37a1cf53717969a552e2727cdb2675e01 /src | |
parent | f1e25da4934a7304eb72636229c90d4380e4aa54 (diff) | |
download | tor-86263acf95c19dea5ef0f2b61334cbc8889e8ab6.tar.gz tor-86263acf95c19dea5ef0f2b61334cbc8889e8ab6.zip |
Security bugfixes:
When the user sends a NEWNYM signal, clear the client-side DNS
cache too. Otherwise we continue to act on previous information.
svn:r8679
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 2 | ||||
-rw-r--r-- | src/or/main.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 969afa464a..854e75566e 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1032,7 +1032,7 @@ address_is_invalid_destination(const char *address) 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. diff --git a/src/or/main.c b/src/or/main.c index 4e29746ee0..9b7e4470c0 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1331,6 +1331,7 @@ signal_callback(int fd, short events, void *arg) #endif case SIGNEWNYM: circuit_expire_all_dirty_circs(); + addressmap_clear_transient(); break; } } |