arades79 / hyperdome

the safest place to reach out
Other
27 stars 1 forks source link

make chats peer-to-peer #4

Open arades79 opened 5 years ago

arades79 commented 5 years ago

having chats routed through a central server boasts privacy and scaling concerns. Ideally the chats operate similar to Ricochet once established, with minimal server communication for arbitration, but message contents only being sent between 'counselor' and 'guest' by each establishing their own local hidden service to send messages to. This also alleviates needing to poll the server for new messages.

arades79 commented 4 years ago

This can be done using a TCP socket, and would be drastically simpler than including a full server in each client, and allows seperation between server and client code.

Some investigation will need to be done in terms of ensuring the socket is bound through the Tor proxy, and that the packets can be routed through to hidden services.