webtorrent/webtorrent

Persist IDs and port numbers between restarts

Open

#353 ouverte le 11 juin 2015

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)JavaScript (30 002 stars) (2 748 forks)batch import
acceptedenhancementhelp wantedquestion

Description

Things that can be persisted between restarts:

  • torrent client peer ID
  • torrent client listen port
  • dht node ID
  • dht port

The DHT needs to be persisted (https://github.com/feross/webtorrent/issues/72), and that means our DHT node ID shouldn't change between different runs of the webtorrent program.

Persisting the torrent client listen port and node ID might get us more peers (if we're still listed trackers and DHTs). Should we persist the torrent client peer ID too?

Are there privacy implications to re-using the peer ID? What does Transmission do?

Guide contributeur