[tor-bugs] #13839 [Tor]: Exit Policy says accept *:* but relay doesn't have Exit flag

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 15 10:50:07 UTC 2014


#13839: Exit Policy says accept *:* but relay doesn't have Exit flag
------------------------+--------------------------------
     Reporter:  teor    |      Owner:  teor
         Type:  defect  |     Status:  assigned
     Priority:  normal  |  Milestone:
    Component:  Tor     |    Version:  Tor: 0.2.6.1-alpha
   Resolution:          |   Keywords:  tor-auth tor-relay
Actual Points:          |  Parent ID:  #13718
       Points:          |
------------------------+--------------------------------

Comment (by teor):

 A patch is required to make `TestingMinExitFlagThreshold 0` work the way I
 assume it should.
 I expect that `TestingMinExitFlagThreshold 0` would cause authorities to
 ignore bandwidth (either advertised or measured) when assigning the Exit
 flag.

 But `router_is_active()` marks routers as inactive if they have no
 `bandwidthcapacity` in their `routerinfo`.

 My suggested patch is to ignore the non-zero `bandwidthcapacity`
 requirement when `TestingTorNetwork` is set, and
 `TestingMinExitFlagThreshold 0`.

 This causes the authorities to mark themselves, and any qualifying relays,
 as Exits.

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


More information about the tor-bugs mailing list