mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
reinstate a notice for the non-loopback socksport case
Thanks to prop171, it's no longer a crazy thing to do, but you should make sure that you really meant it!
This commit is contained in:
parent
b49fcc6cf2
commit
8b0ee60fe7
@ -5130,6 +5130,11 @@ warn_nonlocal_client_ports(const smartlist_t *ports, const char *portname)
|
||||
"Other people on the Internet might find your computer and "
|
||||
"use it as an open proxy. Please don't allow this unless you "
|
||||
"have a good reason.", portname);
|
||||
} else if (!tor_addr_is_loopback(&port->addr)) {
|
||||
log_notice(LD_CONFIG, "You configured a non-loopback address for %sPort. "
|
||||
"This allows everybody on your local network to use your "
|
||||
"machine as a proxy. Make sure this is what you wanted.",
|
||||
portname);
|
||||
}
|
||||
} SMARTLIST_FOREACH_END(port);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user