Skip to content

docs(hub-authoring): lower confidence instead of private-IP logic for XFF source IPs - #38

Merged
sabban merged 1 commit into
mainfrom
docs/hub-authoring-xff-confidence
Dec 4, 2026
Merged

sabban merged 1 commit into
mainfrom
docs/hub-authoring-xff-confidence

Conversation

@sabban

@sabban sabban commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

hub-authoring: for XFF-based source_ip, ask for last entry + anchored patterns + lowered scenario confidence + 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

… 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>
@sabban
sabban merged commit 22af0df into main Dec 4, 2026
2 checks passed
@sabban
sabban deleted the docs/hub-authoring-xff-confidence branch December 4, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants