[tor-bugs] #19905 [Core Tor/Tor]: make-test-network-all has never detected IPv6 on linux
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Aug 12 01:58:49 UTC 2016
#19905: make-test-network-all has never detected IPv6 on linux
------------------------------+--------------------------------
Reporter: teor | Owner: teor
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.0.x-final
Component: Core Tor/Tor | Version: Tor: 0.2.7.3-rc
Severity: Normal | Keywords: 029-proposed
Actual Points: | Parent ID:
Points: 0.2 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
When I wrote make-test-network-all, I tested IPv6 on OS X and BSD.
But it's never worked on Linux.
On BSD and OS X systems, we use:
`ping6 -q -c 1 -o ::1`
On Linux systems, we should use:
`ping6 -q -c 1 -W 1 ::1`
You'd think we could get away with:
`ping6 -q -c 1 ::1`
but BSD / OS X would hang forever on systems where IPv6 packets are
dropped, and Linux is somewhat ambiguous about what happens in that case.
Over the long term, implementing checks like this in chutney might be a
better idea.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19905>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list