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

connectd: gate uniform message padding behind --dev-uniform-padding

Public commit record

What the developer wrote

Authored by Sangbida Chaudhuri

81/100 · Strong
connectd: gate uniform message padding behind --dev-uniform-padding

Uniform padding (sending all messages as 1460-byte chunks) breaks
peers running LND-based nodes: LND disconnects on receiving a
ping(num_pong_bytes=65535) with "pong bytes exceeded" instead of
ignoring it as required by BOLT #1.
Gate the feature behind --dev-uniform-padding so it is opt-in rather
than forced on all connections. Nodes that only peer with CLN can
enable it for the traffic analysis defence.
Changelog-Changed: uniform message padding is now opt-in via the --dev-uniform-padding flag.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This change makes a message-padding feature optional instead of always-on. The always-on padding was causing Core Lightning nodes to be disconnected by LND-based peers because it sent oversized ping messages. The fix adds a developer flag so operators can turn padding on only when all their peers support it. It is a compatibility/operational fix, not a security patch for an exploitable vulnerability.

Recommended action

No security response required. Node operators experiencing LND disconnects should upgrade to a build containing this commit. Operators wanting the traffic-analysis defense and peering only with CLN can enable --dev-uniform-padding.

Security signals we found

01

Traffic-analysis defense made opt-in rather than default

02

Interoperability fix for protocol non-compliance by LND

03

No memory safety, authentication, or authorization changes

Risk score

Why this scored 27/100

Our methodology →
Potential impact 5/30
Exploitability 0/25
Stealth signal 0/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.