Commit c825cba0 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Update to new arti configuration format.

parent 6a7de8dd
......@@ -2368,14 +2368,15 @@ state_dir = "{path}/arti/state"
# These values disable enforce_distance entirely; we can replace them
# with something like Tor's "EnforceDistinceSubnets 0" if Arti ever
# implements it.
enforce_distance = {{ "subnets_family_v4" = 33, "subnets_family_v6" = 129 }}
ipv4_subnet_family_prefix = 33
ipv6_subnet_family_prefix = 129
[addr_config]
[address_filter]
# Allow the client to accept requests to connect to e.g. 127.0.0.1
allow_local_addrs = true
""".format(path=self.dir))
f.write("""[network]
f.write("""[tor_network]
fallback_caches = [
""")
f.write("".join(arti_fallback_lines))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment