aboutsummaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2009-08-08 19:15:22 -0700
committerJacob Appelbaum <jacob@appelbaum.net>2009-08-08 19:15:22 -0700
commit33762b529694f58d7640ebcbef1bc0f940419c89 (patch)
tree14eee546197e1a6406e9b292d49c492e5346f64f /src/or/dnsserv.c
parent07d95440ef3430f74dfe0fa68f7d84eec9a17f3e (diff)
downloadtor-33762b529694f58d7640ebcbef1bc0f940419c89.tar
tor-33762b529694f58d7640ebcbef1bc0f940419c89.tar.gz
LetsKillNoConnect removes support for .noconnect
This is a patch to remove support for .noconnect. We are removing .noconnect because of a talk at Defcon 17 by Gregory Fleischer.
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 08cf65309..b1e0ff104 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -92,12 +92,7 @@ evdns_server_callback(struct evdns_server_request *req, void *_data)
evdns_server_request_respond(req, DNS_ERR_NONE);
return;
}
- if (q->type == EVDNS_TYPE_A) {
- /* Refuse any attempt to resolve a noconnect address, right now. */
- if (hostname_is_noconnect_address(q->name)) {
- err = DNS_ERR_REFUSED;
- }
- } else {
+ if (q->type != EVDNS_TYPE_A) {
tor_assert(q->type == EVDNS_TYPE_PTR);
}