Repository navigation
docs(hub-authoring): lower confidence instead of private-IP logic for XFF source IPs - #38
Merged
Merged
Conversation
… XFF source IPs When a hub parser takes source_ip from X-Forwarded-For, reviews now ask for: the last XFF entry, patterns anchored so they cannot match inside the logged header (every line that echoes it, access lines included), junk first entries that do not drop the event, a lowered scenario confidence and the proxy requirement documented in the .md. Private/loopback trusted-proxy guessing in the parser is no longer recommended. Verified on crowdsecurity/hub#2040 with a real Radicale 3.9.2 behind nginx in docker and cscli hubtest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
buixor
approved these changes
Dec 4, 2026
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.
hub-authoring: for XFF-based
source_ip, ask for last entry + anchored patterns + lowered scenarioconfidence+ proxy note in the.md, never private-IP trust logic.Verified on crowdsecurity/hub#2040 with a real Radicale 3.9.2 behind nginx (docker) and
cscli hubtest.🤖 Generated with Claude Code