Commit Graph
82 Commits
Author SHA1 Message Date
orignal 4ea6acd4f7 don't persisted DHT for transient destination if dhtfile is not specified 2026-10-16 11:30:38 -04:00
orignal 95ef8d1692 delete first or last empty buckets 2026-10-16 09:39:36 -04:00
orignal d1341aa961 delete expired node from full bucket before find_node 2026-10-15 21:36:07 -04:00
orignal 3988b898c4 dhtfile param 2026-10-15 18:58:35 -04:00
Anon2026 ca85a076e5 fix typos 2026-10-15 22:41:31 +03:00
orignal 0a9e872fca don't count skipped nodes as find_node attempt. Keep failed peers longer 2026-10-15 12:05:52 -04:00
orignal 34d106a9f5 don't replace existing node in routing table 2026-10-13 10:57:11 -04:00
orignal 6176bccc7e don't send datagrams to self 2026-10-12 16:48:53 -04:00
orignal 4c3d3cf140 save last DHT announce time. Try DHT announce again faster if previous failed 2026-10-11 17:25:45 -04:00
orignal cbb5a924f2 don't send query to recently failed peer 2026-10-11 10:46:13 -04:00
orignal 43fa513795 verify ids of nodes receive from find_node and get_peers 2026-10-10 20:47:41 -04:00
orignal 6519a1cc31 create DHT torrent by announce_peer query 2026-10-10 11:12:23 -04:00
orignal ca007dc57d store incoming tokens for follow on announce_peer 2026-10-09 22:24:25 -04:00
orignal 628f5d38a6 always respons with nodes to get_peers if no active peers for torrent 2026-10-09 17:58:24 -04:00
orignal 90a436bd5f maintain heardFrom list 2026-10-09 15:53:24 -04:00
orignal 88491fbb45 don't include new nodes to routing table until until receive a message from them 2026-10-09 10:55:50 -04:00
orignal e8e713f41d delete non-responding nodes faster 2026-10-08 22:43:00 -04:00
orignal 5f728e3083 add nodes from get_peers response to request list 2026-10-08 21:05:35 -04:00
orignal bd0d505714 verify announce_peer token 2026-10-08 15:56:57 -04:00
orignal 7332f68b76 store token with peer it was received from 2026-10-08 12:11:34 -04:00
orignal 5a828193b4 reject duplicates in nodesToRequest and tokens 2026-10-07 18:56:39 -04:00
orignal f90cf50d49 send announce to 4 closest node if no response with peers 2026-10-07 16:45:17 -04:00
orignal fb17daf544 Send find_node in series. Send get_peers less aggressive 2026-10-07 11:38:10 -04:00
orignal b7e7b00ab3 respond with values if torrent's peers not empty 2026-10-06 21:43:34 -04:00
orignal 695185b616 repospong with multiple node info to get_peers query 2026-10-06 21:13:51 -04:00
orignal 4d691f0673 store nodes only in routing table 2026-10-06 20:42:43 -04:00
orignal d11513db9a respond with all nodes from bucket to find_node query 2026-10-06 20:05:20 -04:00
orignal ac4b915a90 send find_node to all nodes in bucket 2026-10-06 18:32:43 -04:00
orignal 184d6d0ff3 don't split more if node to add is in wrong bucket 2026-10-06 17:44:40 -04:00
orignal efe6c56297 extract multiple nodeInfo from 'nodes' param in responses 2026-10-06 10:06:24 -04:00
orignal 31b8ab4d0f send next requests outsize queries loop 2026-10-05 22:31:48 -04:00
orignal 8b9efd08c1 request next node after get_peers tiemout 2026-10-05 21:04:15 -04:00
orignal cd200e08c0 maintain nodes to requst list for get peers 2026-10-05 20:01:05 -04:00
orignal 9f23dada45 print base64 nodeid to log 2026-10-05 13:31:53 -04:00
orignal 494cec875d check node id of incoming query 2026-10-05 08:42:25 -04:00
UU 0dfde3c870 TorrentsDHT: make transaction ID truncation explicit
No functional change.
2026-10-04 02:52:24 +00:00
orignal 63ff96e4d0 longer node expiration time than in routing table 2026-10-02 18:21:32 -04:00
orignal e07e8339c2 always call find_node from bucket with own node. Call find_node more often 2026-10-02 17:01:28 -04:00
orignal 2d57d3f678 don't connect to peers for complete torrent 2026-10-02 11:26:25 -04:00
orignal caceb9d275 show peer's origin in flags field in RPC response 2026-10-02 09:53:03 -04:00
orignal d2b9c1a099 insert existing node to routing table 2026-10-01 22:11:03 -04:00
orignal 842a2cb9b9 initialize lastUpdateTime 2026-10-01 22:05:47 -04:00
orignal a5797cdf98 cleanup all nodes list. Store pointer to node in routing table 2026-10-01 21:24:17 -04:00
orignal 94ff267b45 send ping to expiring nodes 2026-10-01 18:26:44 -04:00
orignal 637507be67 add quoerying node to nodes list 2026-09-30 18:53:07 -04:00
orignal 5eaf86e432 send multiple get_peers requests 2026-09-30 16:04:12 -04:00
orignal ff93190c11 cleanup non-responded queries 2026-09-30 10:25:02 -04:00
orignal 5d2bd1d299 insert nodes to routing table in sorted order after load 2026-09-29 21:51:07 -04:00
orignal 5bf161e29c get peers throught DHT and announce own torrents 2026-09-29 18:59:46 -04:00
orignal 14eb418c5e remove empty buckets after load DHT nodes 2026-09-28 22:37:42 -04:00