mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
r8881@Kushana: nickm | 2006-09-21 17:27:59 -0400
Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit). svn:r8446
This commit is contained in:
parent
59f9487225
commit
4f13cb82fd
@ -11,8 +11,9 @@ Changes in version 0.1.2.2-alpha - 2006-??-??
|
|||||||
- Check for name servers (like Earthlink's) that hijack failing DNS
|
- Check for name servers (like Earthlink's) that hijack failing DNS
|
||||||
requests and replace the 'no such server' answer with a "helpful"
|
requests and replace the 'no such server' answer with a "helpful"
|
||||||
redirect to an advertising-driven search portal. [Resolves bug 330.]
|
redirect to an advertising-driven search portal. [Resolves bug 330.]
|
||||||
- When asked to resolve a hostname, don't use non-exit servers. This
|
- When asked to resolve a hostname, don't use non-exit servers unless
|
||||||
allows servers with broken DNS be useful to the network.
|
requested to do so. This allows servers with broken DNS be useful to
|
||||||
|
the network.
|
||||||
|
|
||||||
o Security Fixes, minor
|
o Security Fixes, minor
|
||||||
- If a client asked for a server by name, and we didn't have a
|
- If a client asked for a server by name, and we didn't have a
|
||||||
|
@ -1225,7 +1225,8 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
|
|||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (!connection_ap_can_use_exit(conn, router)) {
|
if (conn->_base.purpose != EXIT_PURPOSE_RESOLVE &&
|
||||||
|
!connection_ap_can_use_exit(conn, router)) {
|
||||||
log_fn(opt ? LOG_INFO : LOG_WARN, LD_APP,
|
log_fn(opt ? LOG_INFO : LOG_WARN, LD_APP,
|
||||||
"Requested exit point '%s' would refuse request. %s.",
|
"Requested exit point '%s' would refuse request. %s.",
|
||||||
conn->chosen_exit_name, opt ? "Trying others" : "Closing");
|
conn->chosen_exit_name, opt ? "Trying others" : "Closing");
|
||||||
|
Loading…
Reference in New Issue
Block a user