[tor-bugs] #27647 [Core Tor/Tor]: When randomly choosing IPv4 or IPv6, set IPv6 probability based on IPv6 weight
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 29 01:11:28 UTC 2018
#27647: When randomly choosing IPv4 or IPv6, set IPv6 probability based on IPv6
weight
-----------------------------+----------------------------------
Reporter: teor | Owner: neel
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-client ipv6 | Actual Points:
Parent ID: #17835 | Points:
Reviewer: | Sponsor:
-----------------------------+----------------------------------
Comment (by teor):
When the consensus is received, tor parses it, and assigns bandwidth
weights to each relay. Each relay has an IPv4 address, and an optional
IPv6 address. Some relays can be entry nodes, depending on their flags.
When bridges are configured, tor parses the config, and weights each
bridge equally. Each bridge has one or two IP addresses. Each bridge is an
entry node.
Once the entry nodes have up-to-date weights and addresses, you can
calculate the entry node weight for IPv4 and IPv6.
We'll also need some documentation for this weight calculation, probably
in dir-spec.txt.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27647#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list