Skip to content

Private list of bootstrap/relay nodes #715

@red-zxspectrum

Description

@red-zxspectrum

Hi!

With default settings TRIFA (and other Tox clients) use TCP relays for communication with other clients. So the traffic goes through unknown servers, we cannot trust these servers for sure. The server cannot decrypt client's data, but it can collect metadata: IP, port, traffic profile, delays. It is possible to use UDP, but it does not work well, and an ISP can observe IPs of peers. Someone might prefer to avoid some servers in bad countries. TRIFA has an option to add a node, but there is no option to replace built-in nodes.

I would be great to have an ability to control the node list. I see two options here:

  • Simple ability to load a JSON file to replace all built-in nodes. I think this option is not very hard to implement: just remove hardcoded nodes from the sources and add a small JSON loader.
  • Whitelist for all communications. Not just restrict bootstrap node/relay list, but filter out any IPs if they are not in the whitelist. Useful for DHT and P2P, but hard to implement.

Thank you for your project!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions