mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
fixup! An attempt at bug3940 and making AllowDotExit 0 work with MapAddress
This commit is contained in:
parent
c18b6ec3d4
commit
ba9a12119c
@ -1935,8 +1935,8 @@ connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn,
|
|||||||
(exit_source == ADDRMAPSRC_NONE && !options->AllowDotExit)) {
|
(exit_source == ADDRMAPSRC_NONE && !options->AllowDotExit)) {
|
||||||
/* It shouldn't be possible to get a .exit address from any of these
|
/* It shouldn't be possible to get a .exit address from any of these
|
||||||
* sources. */
|
* sources. */
|
||||||
log_warn(LD_BUG,"Address '%s.exit', with impossible source for the .exit "
|
log_warn(LD_BUG,"Address '%s.exit', with impossible source for the "
|
||||||
"part. Refusing.",
|
".exit part. Refusing.",
|
||||||
safe_str_client(socks->address));
|
safe_str_client(socks->address));
|
||||||
control_event_client_status(LOG_WARN, "SOCKS_BAD_HOSTNAME HOSTNAME=%s",
|
control_event_client_status(LOG_WARN, "SOCKS_BAD_HOSTNAME HOSTNAME=%s",
|
||||||
escaped(socks->address));
|
escaped(socks->address));
|
||||||
|
Loading…
Reference in New Issue
Block a user