mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
use only 0.0.9pre1 and later servers for resolve cells
svn:r2416
This commit is contained in:
parent
c205ad05ba
commit
980b6169eb
@ -77,9 +77,8 @@ static int circuit_is_acceptable(circuit_t *circ,
|
||||
if (conn->socks_request &&
|
||||
conn->socks_request->command == SOCKS_COMMAND_RESOLVE) {
|
||||
/* 0.0.7 servers and earlier don't support DNS resolution. 0.0.8 servers
|
||||
* have buggy resolve support. Once there are more 0.0.9 servers, change
|
||||
* this to 0.0.9pre1. XXX */
|
||||
if (!tor_version_as_new_as(exitrouter->platform, "0.0.8"))
|
||||
* have buggy resolve support. */
|
||||
if (!tor_version_as_new_as(exitrouter->platform, "0.0.9pre1"))
|
||||
return 0;
|
||||
} else if(purpose == CIRCUIT_PURPOSE_C_GENERAL) {
|
||||
if(!connection_ap_can_use_exit(conn, exitrouter)) {
|
||||
|
Loading…
Reference in New Issue
Block a user