feat: add ratchet, streaming, SU3 reseed, and router floodfill
check / check (windows-latest) (push) Failing after 27s
check / check (ubuntu-latest) (push) Failing after 29s
check / check (macos-latest) (push) Failing after 27s

- Add ratchet/ with ECIES-X25519-AEAD-Ratchet (Proposal 144), Garlic cloves, and ECIES DatabaseLookup replies
- Add streaming/ with Ed25519-signed I2P Streaming (SYN/ACK/NACK/CLOSE/RESET, retransmit, window) and Repliable/Raw Datagrams
- Add common/su3.mbt to parse and verify reseed .su3 bundles
- Add Elligator2 encoding in crypto/ and OfflineSignature support in LeaseSet2 (flags bit 0)
- Router: NTCP2 peer pool, floodfill NetDB crawl, transit tunnel relay, and Garlic/Streaming bridge
- cmd/router: add --peer-dir, --su3, --reseed, --floodfill, --no-clock-skew
- cmd/client: add --dest for persistent destination keys
- Mark Phase 6 complete in README and document the transport scope (NTCP2 only, no SSU2)
This commit is contained in:
nandi committed 2026-11-27 22:23:46 -08:00
1 parent 8eafa11b22
commit ae72b00323
54 files changed
+9607 -704

No files matched your search

+4
View File
@@ -87,6 +87,8 @@ test "live i2pd RouterInfo Ed25519 verify + real I2P NTCP2 handshake + Data Phas
flags=b'\x08', // direct reply, RouterInfo lookup
reply_tunnel_id=None,
excluded_peers=[],
reply_key=None,
reply_tags=[],
)
let lookup_exp = @i2np.I2npPayload::DatabaseLookup(
key=@common.Hash::sha256(b"moon-i2p-probe"),
@@ -94,6 +96,8 @@ test "live i2pd RouterInfo Ed25519 verify + real I2P NTCP2 handshake + Data Phas
flags=b'\x0c', // direct reply, exploration lookup
reply_tunnel_id=None,
excluded_peers=[],
reply_key=None,
reply_tags=[],
)
conn.send_blocks([
DateTime(now_sec),