mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Mark controller-initiated DNS lookups as permitted to do DNS.
Fixes bug 25617; bugfix on 0.2.9.3-alpha.
This commit is contained in:
parent
4bb7d9fd12
commit
e35eb9baaa
5
changes/bug25617
Normal file
5
changes/bug25617
Normal file
@ -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.
|
||||
|
@ -196,6 +196,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;
|
||||
|
Loading…
Reference in New Issue
Block a user