Bee v2.8.0 Released
Bee v2.8.0 has been released.
This release focuses on security hardening in Bee's p2p layer, with improvements around handshake validation, address record verification, underlay handling, signed timestamps, nonce validation, chequebook verification, and protocol compatibility.
Warning
Bee v2.8.0 includes breaking changes that affect Bee's p2p protocols. Node operators should upgrade promptly to stay compatible with the updated network.
If you are not already in the #node-operators Discord channel, make sure to join it for real-time updates and upgrade coordination.
What Is Changing
Bee v2.8.0 includes the following changes:
- Improved handshake validation
- Stronger nonce validation
- Stricter underlay address limits
- Signed timestamps for address records
- Chequebook verification improvements
- New logs and metrics for rejected peer records
- Updated p2p protocol compatibility
Improved Handshake Validation
Bee v2.8.0 improves how nodes handle malformed handshake messages. Invalid peer handshake data is now rejected cleanly instead of being able to disrupt node operation.
This strengthens the handshake path and helps nodes remain available even when receiving invalid peer data.
Stronger Nonce Validation
Bee v2.8.0 strengthens how peer identity data is verified. The overlay nonce is now included in the signed address record, and overlay verification is mandatory.
This means peer records need to match their signed identity data before they can be accepted. Invalid or tampered records received through gossip are dropped before they reach the address book.
Stricter Underlay Address Limits
Bee v2.8.0 adds explicit limits to underlay address data exchanged between peers. Peer records are now limited by both the number of underlay addresses and the serialized size of the underlay field.
Peer records are limited to a maximum of 20 underlay addresses and a 4 KB serialized size cap for the underlay field. Both limits must be respected. The 4 KB cap applies to the serialized underlay data sent and received by the node.
Oversized inbound records are rejected, while outbound underlay lists are prioritized and trimmed so the most useful addresses are kept.
This helps protect nodes from processing excessive peer-address data.
Signed Timestamps for Address Records
Address records now include signed timestamps. This gives Bee a way to distinguish fresh peer-location information from stale or replayed records.
With this change, Bee can reject old, future-dated, or too-frequent address updates while preserving valid newer records. This helps the address book move forward instead of accepting outdated peer-location data indefinitely.