Update 'ToxAndTorInChina'
parent
e8d4d2f063
commit
23b0eddd23
@ -13,8 +13,8 @@ There is a way of configuring Tor to uniquely assign a life-of-the-tor-instance
|
|||||||
|
|
||||||
To even try out this approach I think you need to fix the [open-for-five-years-and-counting](https://github.com/TokTok/c-toxcore/issues/469) issue of not resolving the IP address of the targets when you are in front of a SOCKS5 proxy (Tor). But maybe there's another way: you could contact each of the OnionV3 BS nodes outside of Tox and get the IPv4 address of each Onion BS node in Python using the Tor stem library. Then you could use these IPv4 addresses as your BS nodes, as long as your client didn't suffer from deranged-hard-coded-bs syndrome.
|
To even try out this approach I think you need to fix the [open-for-five-years-and-counting](https://github.com/TokTok/c-toxcore/issues/469) issue of not resolving the IP address of the targets when you are in front of a SOCKS5 proxy (Tor). But maybe there's another way: you could contact each of the OnionV3 BS nodes outside of Tox and get the IPv4 address of each Onion BS node in Python using the Tor stem library. Then you could use these IPv4 addresses as your BS nodes, as long as your client didn't suffer from deranged-hard-coded-bs syndrome.
|
||||||
|
|
||||||
I've tried this but it's currently impossible to test as there is no equivalent to the ```other/fun/bootstrap_node_info.py``` script for TCP connections. For UDP you can send a packet of len 78 with the magic first bytes and get a version and MOTD reply. Not so for TCP ( in fact if you do send such a packet to the TCP it send the BS node into an infinite loop for which it never recovers). So we need a simple fix to the TCP_server code to at least look for a special packet like this and be nice and send a simple nice reply like the UDP case.
|
I've tried this but it's currently impossible to test as there is no equivalent to the ```other/fun/bootstrap_node_info.py``` script for TCP connections. For UDP you can send a packet of len 78 with the magic first bytes and get a version and MOTD reply. Not so for TCP ( in fact if you do send such a packet to the TCP it send the BS node into an infinite loop for which it never recovers). So we need a simple fix to the TCP_server code to at least look for a special packet like this and be nice and send a simple nice reply like the UDP case. Raised as https://github.com/TokTok/c-toxcore/issues/2331
|
||||||
|
|
||||||
We should not kid ourselves that we don't all live in China - all it will take is one NGC group dedicated to the trending topic of SuddenDeath and I think we might find just how much resiliance we need.
|
We should not kid ourselves that we don't all live in China - all it will take is one NGC group dedicated to the trending topic of SuddenDeath and I think we might find just how much resiliance we need.
|
||||||
|
|
||||||
https://github.com/TokTok/c-toxcore/issues/419
|
Up: [[SecurityVulnerabilities]]
|
||||||
|
Loading…
Reference in New Issue
Block a user