diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-10-07 16:34:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-07 16:34:21 -0400 |
commit | 8b0ee60fe7752f4894fff8334eff786e80941302 (patch) | |
tree | 42c13713c12e42a423e4b57447a1142c1f577511 /src | |
parent | b49fcc6cf2b893fca04eaec8d30bbfe25c04d360 (diff) | |
download | tor-8b0ee60fe7752f4894fff8334eff786e80941302.tar.gz tor-8b0ee60fe7752f4894fff8334eff786e80941302.zip |
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!
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 3ac6e945be..2705ba5a16 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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); } |