[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs