mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
add changes file and whitespace fixes for bug 4020
This commit is contained in:
parent
655782f302
commit
b7fdb3a927
5
changes/bug4020
Normal file
5
changes/bug4020
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- When complaining about a client port on a public address, log
|
||||||
|
which address we're complaining about. Fixes bug 4020; bugfix on
|
||||||
|
0.2.3.3-alpha. Patch by Tom Fitzhenry.
|
||||||
|
|
@ -4351,11 +4351,13 @@ warn_nonlocal_client_ports(const smartlist_t *ports, const char *portname)
|
|||||||
log_warn(LD_CONFIG, "You specified a public address '%s:%d' for %sPort. "
|
log_warn(LD_CONFIG, "You specified a public address '%s:%d' for %sPort. "
|
||||||
"Other people on the Internet might find your computer and "
|
"Other people on the Internet might find your computer and "
|
||||||
"use it as an open proxy. Please don't allow this unless you "
|
"use it as an open proxy. Please don't allow this unless you "
|
||||||
"have a good reason.", fmt_addr(&port->addr), port->port, portname);
|
"have a good reason.",
|
||||||
|
fmt_addr(&port->addr), port->port, portname);
|
||||||
} else if (!tor_addr_is_loopback(&port->addr)) {
|
} else if (!tor_addr_is_loopback(&port->addr)) {
|
||||||
log_notice(LD_CONFIG, "You configured a non-loopback address '%s:%d' for "
|
log_notice(LD_CONFIG, "You configured a non-loopback address '%s:%d' "
|
||||||
"%sPort. This allows everybody on your local network to use "
|
"for %sPort. This allows everybody on your local network to "
|
||||||
"your machine as a proxy. Make sure this is what you wanted.",
|
"use your machine as a proxy. Make sure this is what you "
|
||||||
|
"wanted.",
|
||||||
fmt_addr(&port->addr), port->port, portname);
|
fmt_addr(&port->addr), port->port, portname);
|
||||||
}
|
}
|
||||||
} SMARTLIST_FOREACH_END(port);
|
} SMARTLIST_FOREACH_END(port);
|
||||||
|
Loading…
Reference in New Issue
Block a user