jech/dht

Implement support for BEP-14 Local Service Discovery

ppetr opened this issue · 3 comments

ppetr commented

BEP-14 adds support for local peer discovery, which seems to be a nice complement for speeding up both searches and peer discovery.

jech commented

That doesn't belong in this library, which implements the DHT. LSD should be implemented in the BitTorrent client or in a different library.

Note that LSD has some serious privacy implications — it broadcasts every swarm you belong to on the local net. Do you really want your flatmates to know what kind of naked people you like looking at?

ppetr commented

Thank you for the explanation. My idea was that DHT would use LSD without infohashes, just to locate possible local peers. This shouldn't leak any information about swarms.

Regarding security, is LSD with exposing infohashes any worse than if somebody on the local network in the promiscuous mode and listens on the DHT traffic?

jech commented