BitTorrent DHT node.
This is a standalone client for Mainline DHT. (BEP-0005)
It uses Bendy for bencode serialization/deserialization.
It is mostly in a working state, but a few improvements can be made:
- Transaction ID confirmation.
- Old/stale node storage.
- IPV6 support
The routing table is stored in a JSON file in the working directory as: rt.json
Usage:
dht-node <ip>:<port> <node_id>
or
dht-node <ip>:<port>
If no node_id is provided, a new node_id will be generated.