[tor-bugs] #28229 [Core Tor/Tor]: Possible race condition opening SOCKS Port in test_rebind.py
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Dec 3 12:55:28 UTC 2018
#28229: Possible race condition opening SOCKS Port in test_rebind.py
-----------------------------+------------------------------------
Reporter: teor | Owner: rl1987
Type: defect | Status: new
Priority: High | Milestone: Tor: 0.3.5.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.5.1-alpha
Severity: Normal | Resolution:
Keywords: tor-ci, 035-can | Actual Points:
Parent ID: | Points:
Reviewer: teor | Sponsor:
-----------------------------+------------------------------------
Comment (by rl1987):
One more pull request for diagnostics:
https://github.com/torproject/tor/pull/560
* This time, let's use `getsockopt()` to check if new listener is actually
listening.
* Let's log some stuff when socket rebinding is supposed to happen.
* Let's log the proper error message when `socket.connect_ex()` fails on
Python side.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28229#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list