Does Jami broadcast node IPs?

Jami is a distributed server environment. Each node becomes a server in itself, on a P2P network. And there are nodes in all countries. And all nodes have to broadcast their IP in order for it to work. All nodes are relaying and listening to other nodes. Is this true?

Does a Jami node broadcasts its IP to be discoverable?

Hi @boxedup, let me know if this helps:

Basically, yes. Just like with any other DHT (BitTorrent, Tox, etc.) , each node has an IP address and the other nodes need to know the IP address to contact that node. There is no way around this for p2p distributed networks because of how internet works. Even with onion-routed DHTs like Tox’s, each node must broadcast its IP somewhere, or else other nodes won’t know how to contact it.

There are two things to keep in mind:

  1. Your Jami Id is not associated with your IP address publicly (you are just another anonymous node).
  2. If you use a DHTproxy (like most mobile users), your IP isn’t shared with any nodes except for the DHTproxy node.

DHT proxies are a feature provided by the OpenDHT library. The purpose is to save battery life and provide push notifications for mobile users, but a side effect is that your IP is never even associated with the rest of the network (except for your contacts).

3 Likes