12345678910111213141516171819202122232425 |
- Require("IPV6")
- import os
- Authority6 = Node(tag="a", authority=1, relay=1,
- ipv6_addr=os.environ.get('CHUTNEY_LISTEN_ADDRESS_V6',
- '[::1]'),
- torrc="authority-orport-v6.tmpl")
- NonExitRelay6 = Node(tag="r", relay=1,
- ipv6_addr=os.environ.get('CHUTNEY_LISTEN_ADDRESS_V6',
- '[::1]'),
- torrc="relay-orport-v6-non-exit.tmpl")
- Client6 = Node(tag="c", client=1, torrc="client-only-v6-md.tmpl")
- SingleOnion = Node(tag="h", hs=1, torrc="single-onion.tmpl")
- NODES = Authority6.getN(2) + NonExitRelay6.getN(3) + \
- Client6.getN(1) + SingleOnion.getN(1)
- ConfigureNodes(NODES)
|