2024-10-31 11:02:58 +01:00
|
|
|
---
|
|
|
|
|
tags:
|
|
|
|
|
- bittorrent
|
|
|
|
|
- dht
|
2025-01-13 10:34:58 +01:00
|
|
|
link: https://www.bittorrent.org/beps/bep_0005.html
|
2024-10-31 11:02:58 +01:00
|
|
|
related-to:
|
2024-11-11 02:49:08 +07:00
|
|
|
- "[[BitTorrent DHT clarifications]]"
|
2024-10-31 11:02:58 +01:00
|
|
|
- "[[Learn BitTorrent]]"
|
2024-11-11 02:49:08 +07:00
|
|
|
- "[[Protocol v1 clarifications]]"
|
2024-10-31 11:02:58 +01:00
|
|
|
---
|
|
|
|
|
#bittorrent #dht
|
|
|
|
|
|
2025-01-13 10:34:58 +01:00
|
|
|
| link | https://www.bittorrent.org/beps/bep_0005.html |
|
2024-11-11 02:49:08 +07:00
|
|
|
| ---------- | --------------------------------------------------------------------------------------- |
|
|
|
|
|
| related-to | [[BitTorrent DHT clarifications]], [[Learn BitTorrent]], [[Protocol v1 clarifications]] |
|
2024-10-31 11:02:58 +01:00
|
|
|
|
|
|
|
|
For the DHT protocol, there are four **queries**:
|
2024-11-11 02:49:08 +07:00
|
|
|
- [[ping]]: to check if another node (one from its DHT routing table) is online and reachable,
|
2024-10-31 11:02:58 +01:00
|
|
|
- `find_node`: find the contact information for a node given its ID,
|
|
|
|
|
- `get_peers`: get peers associated with a torrent [[Infohash|infohash]],
|
|
|
|
|
- `announce_peer`: to *announce* that the peer, controlling the querying node, is downloading a torrent on a port.
|
|
|
|
|
|