Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Chutney
Commits
c825cba0
Commit
c825cba0
authored
Nov 18, 2021
by
Nick Mathewson
🎨
Browse files
Update to new arti configuration format.
parent
6a7de8dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/chutney/TorNet.py
View file @
c825cba0
...
...
@@ -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
]
[addr
ess_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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment