[tor-bugs] #20163 [Core Tor/Tor]: Keep the interface address order returned by the OS
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 19 14:00:59 UTC 2016
#20163: Keep the interface address order returned by the OS
------------------------------+--------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.???
Component: Core Tor/Tor | Version: Tor: 0.2.7.1-alpha
Severity: Normal | Keywords: 029-proposed
Actual Points: | Parent ID:
Points: 0.1 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
#17027 unintentionally reorders interface addresses, by using
SMARTLIST_DEL_CURRENT() in get_interface_address6_list() to delete
unsuitable addresses, rather than SMARTLIST_DEL_CURRENT_KEEPORDER().
This makes address selection unstable, because it depends on not only the
exact order in which the OS returns addresses, but the exact number of
unsuitable addresses as well.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20163>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list