mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1331,6 +1331,7 @@ signal_callback(int fd, short events, void *arg)
|
||||
#endif
|
||||
case SIGNEWNYM:
|
||||
circuit_expire_all_dirty_circs();
|
||||
addressmap_clear_transient();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user