[tor-bugs] #26136 [Core Tor/Tor]: DirPort reachability test inconsistency when only "DirPort x.x.x.x:x NoAdvertise" configured

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 21 15:03:35 UTC 2018


#26136: DirPort reachability test inconsistency when only "DirPort x.x.x.x:x
NoAdvertise" configured
----------------------------------------------+----------------------------
 Reporter:  starlight                         |          Owner:  (none)
     Type:  defect                            |         Status:
                                              |  needs_information
 Priority:  Medium                            |      Milestone:  Tor:
                                              |  0.3.4.x-final
Component:  Core Tor/Tor                      |        Version:  Tor:
                                              |  0.3.4.1-alpha
 Severity:  Normal                            |     Resolution:
 Keywords:  regression-maybe, 034-must-maybe  |  Actual Points:
Parent ID:                                    |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+----------------------------

Comment (by starlight):

 A quick review of 0.3.4 code reveals the bug appears subtle, and likely to
 be present in prior releases.

 The flag DirPort_set in or.h determines whether DirPort self-checking
 should occur.  The test-circuit launch is attempted but results in "exit
 point is not known" because the NoAdvertise address is a non-routable
 address and/or because it does not match the relay descriptor public
 addresses, is not present in the descriptor.

 DirPort_set does not consider NoAdvertise.  For this to work correctly
 some logic examining NoAdvertise is required and none is evident.

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


More information about the tor-bugs mailing list