[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6753 [Chutney]: chutney needs to set AlternateBridgeAuthority too
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs