Opened 23 months ago

Last modified 19 months ago

#24498 new enhancement

add configurables for eventdns settings

Reported by: Dhalgren Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords: 034-triage-20180328, 034-removed-20180328
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Scenarios exist where relay operators may wish to tune libevent evdns.c (eventdns) for specific exit relay requirements. For example ideal values on a high-performance exit where a local instance of Unbound is utilized might be attempts=1 timeout=15, max-inflight=16384, but these settings are inappropriate when bind9/named or non-local Unbound are employed.

Target settings:

max-inflight
max-timeouts
timeout
attempts

Settings already configurable:

randomize-case

Other evdns.c settings exist that are not set in src/or/dns.c and it seems reasonable to omit them here as these can be adjusted via resolv.conf. The settings targeted here are under the control of the Tor daemon such that resolv.conf "options" have no effect.

Predecessor tickets: #18580 #21394

I am willing to contribute a patch for this and unless I am advised otherwise will prepare and submit one in the next two or three weeks.

A behavior I'm inclined to implement is to have the value -1 signify that dns.c should not touch the settings, permitting resolv.conf "options" to control.

Child Tickets

Change History (6)

comment:1 Changed 23 months ago by nickm

Milestone: Tor: 0.3.3.x-final

comment:2 Changed 23 months ago by nickm

Component: Core TorCore Tor/Tor

comment:3 Changed 21 months ago by nickm

Milestone: Tor: 0.3.3.x-finalTor: 0.3.4.x-final

Label a bunch of (arguable and definite) enhancements as enhancements for 0.3.4.

comment:4 Changed 19 months ago by nickm

Keywords: 034-triage-20180328 added

comment:5 Changed 19 months ago by nickm

Keywords: 034-removed-20180328 added

Per our triage process, these tickets are pending removal from 0.3.4.

comment:6 Changed 19 months ago by nickm

Milestone: Tor: 0.3.4.x-finalTor: unspecified

These tickets, tagged with 034-removed-*, are no longer in-scope for 0.3.4. We can reconsider any of them, if time permits.

Note: See TracTickets for help on using tickets.