GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 3a4a47d3 authored by juga  's avatar juga
Browse files

fix: relaylist: Comment on IPv6 exit policy

that could be also checked, increasing the chances that the exit can
exit to our Web servers.
But if it could not, then we need to retry to measure it as 1st hop.
parent 396ccefb
......@@ -205,6 +205,11 @@ class Relay:
# and ips and that port. See #40006.
# Using `strip_private` to ignore reject rules to private
# networks.
# We could increase the chances that the exit can exit
# checking IPv6 with:
# ``or self.exit_policy_v6.can_exit_to(port=443, strict=True)``
# But if it can still not exit to our Web server, then we
# should retry to measure it as entry.
return (
self.exit_policy.strip_private()
.can_exit_to(port=port, strict=True)
......
Markdown is supported
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