[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #31391 [Circumvention/Snowflake]: Do a reachability check before polling for clients
#31391: Do a reachability check before polling for clients
-------------------------------------+--------------------------
Reporter: cypherpunks | Owner: arlolra
Type: defect | Status: assigned
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+--------------------------
Comment (by dcf):
Replying to [comment:4 cohosh]:
> Changing the snowflake logic to test a connection to the bridge before
polling and to disable if it is unreachable would solve some problems
before they affect the client. And the snowflake of course won't get any
clients at all if it can't reach the broker. We could also add some user-
facing error message to let the operator know in the case though.
I agree, testing the bridge directly is the way to go. No need to test
other torproject.org domains.
The "test" could even be the proxy speculatively making a WebSocket
connection to the bridge and holding it idle until it gets a client--
although that means the bridge would have thousands of idle connections at
any time. Maybe it's better to just do a "probe" WebSocket connection at
startup and then disconnect it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31391#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs