[tor-bugs] #6753 [Chutney]: chutney needs to set AlternateBridgeAuthority too

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 13 23:37:20 UTC 2013


#6753: chutney needs to set AlternateBridgeAuthority too
-------------------------+--------------------------
     Reporter:  arma     |      Owner:  nickm
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Chutney  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------
Changes (by sysrqb):

 * status:  new => needs_review


Comment:

 Replying to [comment:1 ln5]:
 > It does if you run a BridgeAuthority.
 >
 > chutney/networks/bridges (new since commit 3ecad7d8) does that.
 >
 > We could add BridgeAuthority to chutney/networks/basic or we could
 > maybe make Chutney return DirServer lines instead of
 > AlternateDirAuthority lines if there is no bridge auth running.
 >
 > I say maybe since I'm not sure if LocalNodeBuilder._getAltAuthLines()
 > knows what the network looks (will look?) like.

 The latter was my solution. LocalNodeBuilder._getAltAuthLines() does not
 currently know about the network so I decided to pass in a boolean value
 `hasbridgeauth` that simply tells it which option it should use (DirServer
 vs AlternateDirAuthority). This may not be the best solution, so
 suggestions are welcome.

 Branch bug6753 in my repo.

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


More information about the tor-bugs mailing list