1234567891011 |
- # By default, Authorities are not configured as exits
- Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
- ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
- Client = Node(tag="c", client=1, torrc="client.tmpl")
- HS = Node(tag="h", hs=1, torrc="hs.tmpl")
- # We need 5 authorities/relays/exits to ensure we can build HS connections
- NODES = Authority.getN(3) + ExitRelay.getN(5) + \
- Client.getN(1) + HS.getN(1)
- ConfigureNodes(NODES)
|