commit 0ce65a43d68291388a5a0f61be2427d78ce7167f Author: Damian Johnson atagar@torproject.org Date: Thu Mar 14 09:23:21 2013 -0700
Providing default ipv6-policy entries
The server descriptor's newish 'ipv6-policy' lines are now documented as being reject-all if it's missing...
A missing "ipv6-policy" line is equivalent to "ipv6-policy reject 1-65535".
https://gitweb.torproject.org/user/nickm/torspec.git/commitdiff/ef5513b1ad36... --- stem/descriptor/server_descriptor.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stem/descriptor/server_descriptor.py b/stem/descriptor/server_descriptor.py index 89795c9..102a660 100644 --- a/stem/descriptor/server_descriptor.py +++ b/stem/descriptor/server_descriptor.py @@ -158,7 +158,7 @@ class ServerDescriptor(stem.descriptor.Descriptor): :var int uptime: uptime when published in seconds :var str contact: contact information :var stem.exit_policy.ExitPolicy exit_policy: ***** stated exit policy - :var stem.exit_policy.MicroExitPolicy exit_policy_v6: exit policy for IPv6 + :var stem.exit_policy.MicroExitPolicy exit_policy_v6: ***** exit policy for IPv6 :var list family: ***** nicknames or fingerprints of declared family
:var int average_bandwidth: ***** average rate it's willing to relay in bytes/s @@ -225,7 +225,7 @@ class ServerDescriptor(stem.descriptor.Descriptor): self.uptime = None self.contact = None self.exit_policy = None - self.exit_policy_v6 = None + self.exit_policy_v6 = stem.exit_policy.MicroExitPolicy("reject 1-65535") self.family = []
self.average_bandwidth = None
tor-commits@lists.torproject.org