[tor-bugs] #33056 [Core Tor/Tor]: Tor relays fail to understand /etc/resolv.conf ipv6 lines with % in them

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 26 04:26:10 UTC 2020


#33056: Tor relays fail to understand /etc/resolv.conf ipv6 lines with % in them
--------------------------+------------------------
 Reporter:  arma          |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  ipv6          |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------

Comment (by arma):

 Good find!

 So it sounds like some future release of libevent will have this feature,
 and so eventually relay operators will get it. Do we know what version of
 libevent that will be?

 And in the meantime we at Tor have a choice about how we want to handle
 it. Here are some options:

 (A) Do nothing, it was only one user, hope that common distros have the
 new libevent before it really starts to matter.

 (B) Change Tor's error handling in the above log message, to check for a %
 character, and if it's present, say something more helpful, like that the
 warning is fine to ignore if they have other working nameservers, and if
 they really need that one, here's the version of libevent to upgrade to.

 (C) Teach Tor to work around libevent's missing feature by somehow parsing
 the line ourselves or something.

 I am fine with all three of these choices, and maybe there are other
 options to consider as well. Left to my own devices I would probably pick
 approach 'B'.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33056#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list