Make it easier to check the entire fallback whitelist for errors
There are instructions for modifying the fallback script to scan the entire whitelist in: https://trac.torproject.org/projects/tor/wiki/doc/UpdatingFallbackDirectoryMirrors
It would be great if we automated these.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- teor changed milestone to %Tor: unspecified
changed milestone to %Tor: unspecified
Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.
Trac:
Keywords: N/A deleted, tor-03-unspecified-201612 added
Milestone: Tor: 0.3.??? to Tor: unspecifiedRemove an old triaging keyword.
Trac:
Keywords: tor-03-unspecified-201612 deleted, N/A addedTrac:
Component: Core Tor/Tor to Core Tor/Fallback Scripts
Owner: N/A to teorThis is the old text from the wiki:
You can check the entire whitelist by running the script like this:
i. Make sure the whitelist and blacklist and script are the current ones, including the latest operator updates (not the modified ones from other instructions) ii. Set the log level to INFO for both the script and stem:
- logging.basicConfig(level=logging.WARNING) + logging.basicConfig(level=logging.INFO)
- logging.getLogger('stem').setLevel(logging.WARNING) + logging.getLogger('stem').setLevel(logging.INFO)
iii. Output candidate fallbacks (ignore the whitelist, log operator contact details):
- OUTPUT_CANDIDATES = False + OUTPUT_CANDIDATES = True
iv. Perform IPv4 checks:
- PERFORM_IPV4_DIRPORT_CHECKS = False if OUTPUT_CANDIDATES else True + PERFORM_IPV4_DIRPORT_CHECKS = True
v. If you have a working IPv6 connection (or can set up an IPv6 tunnel), perform IPv6 checks:
- PERFORM_IPV6_DIRPORT_CHECKS = False if OUTPUT_CANDIDATES else False + PERFORM_IPV6_DIRPORT_CHECKS = True
iv. Run the fallback selection script, saving the list:
scripts/maint/updateFallbackDirs.py > whitelist_check 2> whitelist_check.log
This can take a long time, as it downloads ~150MB of OnionOO data, parses it, then tries each fallback's DirPort.
- Trac closed
closed
- Trac changed time estimate to 4h
changed time estimate to 4h