Commit Briefs

15c4eb2a11 murilo ijanc

Update Cargo.lock for 0.1.3 (tags/v0.1.3)


6389bcb607 murilo ijanc

Bump version to 0.1.3

- Fix find_value_reply serialization offsets (ID_LEN=20 vs 32) - Chunked find_value replies to avoid IP fragmentation - Increase UDP recv buffer to 65535 - Debug logging for signature failures and send results


08a262b9bd murilo ijanc

Fix find_value_reply offset bug and increase recv buffer

The find_value_reply handler used hardcoded offsets (off+24, off+26, off+28) that assumed ID_LEN=20, but ID_LEN is 32. This corrupted the NodeId field and left the flag byte as zero, causing receivers to reject the reply with "invalid message". Also increase the UDP recv buffer from 4096 to 65535 to prevent truncation of large value replies (which invalidates the Ed25519 signature). Promote signature verification failure log to DEBUG.


557852ef3b murilo ijanc

Bump version to 0.1.2 (tags/v0.1.2)


1cc0f3b34c murilo ijanc

Add unban() to BanList and expose it on Node

Allows callers to clear bans for specific addresses, needed for re-join logic where bootstrap peers may have been banned after transient failures.


97cc9c29c3 murilo ijanc

Update Cargo.lock for 0.1.1 (tags/v0.1.1)


b097d0e4d9 murilo ijanc

Bump version to 0.1.1


4cff87560b murilo ijanc

Remove stale peers without replacement from routing table

When a peer exceeds STALE_THRESHOLD failures and the replacement cache is empty, remove it outright instead of leaving it in the bucket indefinitely. Prevents phantom peer accumulation in small clusters where the cache rarely fills.


c4076f54c9 murilo ijanc

Update repository URL and reset version to 0.1.0


a156b6d104 murilo ijanc

Add brief project description to README


9821aabf0b murilo ijanc

Initial commit (tags/v0.1.0)

NAT-aware Kademlia DHT library for peer-to-peer networks. Features: - Distributed key-value storage (iterative FIND_NODE, FIND_VALUE, STORE) - NAT traversal via DTUN hole-punching and proxy relay - Reliable Datagram Protocol (RDP) with 7-state connection machine - Datagram transport with automatic fragmentation/reassembly - Ed25519 packet authentication - 256-bit node IDs (Ed25519 public keys) - Rate limiting, ban list, and eclipse attack mitigation - Persistence and metrics - OpenBSD and Linux support