From: Nick Mathewson Date: Fri, 7 Oct 2011 20:34:21 +0000 (-0400) Subject: reinstate a notice for the non-loopback socksport case X-Git-Tag: tor-0.2.3.6-alpha~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b0ee60fe7752f4894fff8334eff786e80941302;p=thirdparty%2Ftor.git 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! --- 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); }