Commit 8b0ee60f authored by Nick Mathewson's avatar Nick Mathewson 🐘
Browse files

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!
parent b49fcc6c
Loading
Loading
Loading
Loading
+5 −0
Changes for src/or/config.c: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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);
}