tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 4f473fadbd15ededac11feb76c064e49687c3d2b
parent 2e9e91ebbfa871df92110a0355b2d6fa1267c499
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu, 29 Mar 2018 14:58:58 -0400

Merge branch 'bug25617_029' into maint-0.3.3

Diffstat:
Achanges/bug25617 | 5+++++
Msrc/or/dnsserv.c | 1+
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/changes/bug25617 b/changes/bug25617 @@ -0,0 +1,5 @@ + o Minor bugfixes (controller): + - Restore the correct operation of the RESOLVE command, which had + been broken since we added the ability to enable/disable DNS + on specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha. + diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c @@ -208,6 +208,7 @@ dnsserv_launch_request(const char *name, int reverse, /* Make a new dummy AP connection, and attach the request to it. */ entry_conn = entry_connection_new(CONN_TYPE_AP, AF_INET); + entry_conn->entry_cfg.dns_request = 1; conn = ENTRY_TO_EDGE_CONN(entry_conn); CONNECTION_AP_EXPECT_NONPENDING(entry_conn); conn->base_.state = AP_CONN_STATE_RESOLVE_WAIT;