[tor-bugs] #16366 [Tor]: tor hangs for 30 seconds when parsing torrc ending in backslash-newline

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 24 14:34:57 UTC 2015


#16366: tor hangs for 30 seconds when parsing torrc ending in backslash-newline
------------------------+--------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  minor   |  Milestone:  Tor: 0.2.???
    Component:  Tor     |    Version:  Tor: 0.2.6.8
   Resolution:          |   Keywords:  lorax
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------

Comment (by yawning):

 Replying to [comment:8 teor]:
 > Can we run each string through `string_is_valid_hostname` or similar?

 Need a separate routine, if only to handle bracket delimited IPv6
 addresses.  `string_is_valid_hostname` is only really intended for
 validating FQDNs, since raw IPs are (for correctly implemented SOCKS
 clients) never passed as `DOMAINNAME` in the SOCKS protocol (which is the
 main consumer of the routine).

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


More information about the tor-bugs mailing list