A maintainable, extensible BitTorrent client (C11, Linux/io_uring) targeting 10 GbE saturation. All torrent functionality is built from scratch; liburing is the only linked third-party dependency on the data path. Implements Phases 1-7 of the roadmap: - core: page-aligned buffer pool, MPMC/Treiber queues, bitfields, worker pool - crypto: SHA-1/256 (SHA-NI + scalar), Merkle (BEP-52), RC4 (MSE) - bencode/metainfo: zero-copy parser, v1/v2/hybrid .torrent + magnet - peer: sans-IO wire codec, MSE/PE handshake state machine, BEP-10, ut_metadata, PEX - piece/storage: block-level multi-peer engine, rarest-first + endgame, per-file completion events + single-file relocate (move-as-you-finish) - tracker/dht: HTTP + UDP (BEP-15) trackers, BEP-5 KRPC iterative lookup - platform: io_uring reactor (SQPOLL, registered buffers, SEND_ZC) - surface: versioned RPC, native plugin ABI, sandboxed Lua scripting, nautd/nautctl Verified against libtorrent (single/multi/hybrid, MSE, magnet-via-DHT, swarm); unit + interop tests green; ASan/UBSan/TSan clean. Scripting reference in docs/scripting.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
93 lines
No EOL
22 KiB
Text
93 lines
No EOL
22 KiB
Text
d8:announce40:udp://tracker.leechers-paradise.org:696913:announce-listll40:udp://tracker.leechers-paradise.org:6969el34:udp://tracker.coppersurfer.tk:6969el33:udp://tracker.opentrackr.org:1337el23:udp://explodie.org:6969el31:udp://tracker.empire-js.us:1337el26:wss://tracker.btorrent.xyzel32:wss://tracker.openwebtorrent.comel25:wss://tracker.fastcast.nzel42:udp://tracker.opentrackr.org:1337/announce36:udp://open.demonii.com:1337/announce33:udp://open.stealth.si:80/announce41:udp://tracker.torrent.eu.org:451/announce33:udp://tracker.qu.ax:6969/announce56:udp://bittorrent-tracker.e-n-c-r-y-p-t.net:1337/announce37:udp://tracker.auctor.tv:6969/announce39:https://tracker.pmman.tech:443/announceee7:comment34:WebTorrent <https://webtorrent.io>10:created by34:WebTorrent <https://webtorrent.io>13:creation datei1490916601e8:encoding5:UTF-84:infod5:filesld6:lengthi140e4:pathl21:Big Buck Bunny.en.srteed6:lengthi276134947e4:pathl18:Big Buck Bunny.mp4eed6:lengthi310380e4:pathl10:poster.jpgeee4:name14:Big Buck Bunny12:piece lengthi262144e6:pieces21100: §x<C2A7>o‹b;-Êå'ß?'#=ÿÖ6¶·cºë'3ôebÍWð+¹ë™²Ç>–pŠÇ‰BΛĔaÜŸ®Àß“ùšù¶ œ@±±³·ÀûOÝ
|
||
Áééo Çú¥:ÄÙvX#f}µ¿"êjÛæA_ŽULX³Ä&äéÑ>‹<><E280B9>†mXïÜuûÞïwšPÈÒ*.‚tq¥éæ²V8&˜3B¢Y΢¨
|
||
×#ŸÕ·N`:¨ÿ1üÁš.¯tE–Æ ©kYlŸiˆñ<CB86>Š×{XÛ<58>ŠÏ
|
||
7| |