Repository navigation
docs(adr): record why the node keeps no per-source connection count - #2503
Merged
Merged
Conversation
A relay-routed connection carries no source address, so a per-source connection count binds no attacker and refuses honest clients behind a shared NAT address. Requesters route around RATE_LIMITED instead. Refs #2502 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The documentation-only change matches the linked decision and has no unresolved findings.
No open issues 🎉
What changed in this PR
Documents why deCDN keeps no per-source connection count, matching the decision in #2502.
Changes:
- Explains relay-based evasion and the impact on honest clients sharing a NAT address.
- Records requester fallback after
RATE_LIMITED; no runtime behavior changes.
| File | Description |
|---|---|
| adr/013-schema-evolution.md | Adds rationale for omitting per-source connection counts. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds one line to ADR 013, after the
max_concurrent_handlersbound: the node keeps no count of connections per source.Why: a relay-routed connection carries no source address (
rate_limit::peer_ipreturnsNone), so a per-source count binds no attacker. It would refuse honest clients behind a shared NAT address. Requesters already route aroundRATE_LIMITED. Full reasoning is in #2502 (comment).Refs #2502 (closed as not planned).
🤖 Generated with Claude Code