bob icon indicating copy to clipboard operation
bob copied to clipboard

Add the SOCKSv{4,5} support to be able to pass through the Tor network

Open dinosaure opened this issue 10 months ago • 0 comments

This PR breaks our protocol where the identity of peers matters now. The identity is not the IP address of the peer but a seed generated by the relay. The relay send this seed to peers and we use them to initiate then a secure room which does not rely on the public IP address (which can change now via the Tor protocol).

This PR also improve a bit how we handle Bob's packets and events. Now, the sender has an identity generated by the relay and the receiver receive a request from a certain identity. If this identity matches with the sender's identity (which show up into the CLI), the receiver can safely accepts the incoming PACK file now.

We need to test it in real world, this PR is created as a draft.

dinosaure avatar Aug 14 '23 09:08 dinosaure