mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Ignore SIGNAL NEWNYM on relay-only Tor instances
This commit is contained in:
parent
df5c7fedbd
commit
ddd1b7be2d
@ -5,6 +5,8 @@
|
||||
o Minor bugfixes:
|
||||
- Don't allow v0 hidden service authorities to act as clients.
|
||||
Required by fix for bug 3000.
|
||||
- Ignore SIGNAL NEWNYM commands on relay-only Tor instances.
|
||||
Required by fix for bug 3000.
|
||||
o Code simplifications and refactoring:
|
||||
- Allow rend_client_send_introduction to fail without closing the
|
||||
AP connection permanently.
|
||||
|
@ -842,6 +842,13 @@ run_connection_housekeeping(int i, time_t now)
|
||||
static void
|
||||
signewnym_impl(time_t now)
|
||||
{
|
||||
or_options_t *options = get_options();
|
||||
if (!proxy_mode(options)) {
|
||||
log_info(LD_CONTROL, "Ignoring SIGNAL NEWNYM because client functionality "
|
||||
"is disabled.");
|
||||
return;
|
||||
}
|
||||
|
||||
circuit_expire_all_dirty_circs();
|
||||
addressmap_clear_transient();
|
||||
rend_cache_purge();
|
||||
|
Loading…
Reference in New Issue
Block a user