AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 35 Bitcoin

connectd: pad messages with dummy pings if needed to make size uniform.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
connectd: pad messages with dummy pings if needed to make size uniform.

Messages are now constant.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: Protocol: we now pad all peer messages to make them the same length.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This change makes every encrypted network packet sent between Core Lightning peers the same fixed size (1460 bytes). When a real message is smaller than that, the software now stuffs the leftover space with a harmless dummy 'ping' message before sending. This is a privacy improvement: an outside observer watching the encrypted traffic can no longer guess what kind of message is being sent just by looking at packet lengths. It is not a fix for an active exploit, and it does not change what attackers can do.

Recommended action

No immediate action required. This is a defensive privacy improvement. Operators should upgrade through normal release channels if they want the traffic-shape protection. Reviewers may want to confirm that the padding ping cannot be abused as a DoS vector and that the queue accounting cannot underflow or leak memory under backpressure.

Security signals we found

01

Traffic-shape privacy hardening: uniform packet sizes hide message-length metadata.

02

Padding uses ignored ping messages (num_pong_bytes=65535) so peers do not respond with pongs.

03

No cryptographic or protocol parsing changes; only output buffering and batching logic changed.

04

Test re-enabled to verify constant packet size behavior.

Risk score

Why this scored 35/100

Our methodology →
Potential impact 5/30
Exploitability 0/25
Stealth signal 8/15
Affected reach 10/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.