aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c5
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);
}