Skip to content

docs(config): clarify realip trust semantics for ipextractionmethod - #3545

Merged
kolaente merged 1 commit into
mainfrom
realip-header-validation
Aug 18, 2026
Merged

docs(config): clarify realip trust semantics for ipextractionmethod#3545
kolaente merged 1 commit into
mainfrom
realip-header-validation

Conversation

@tink-bot

Copy link
Copy Markdown
Collaborator

Config comments claim X-Real-IP is "only trusted from" trustedproxies addresses. Wrong: echo's realip extractor checks header value against trusted ranges, not sender, so it never reports public client IPs. Users pick realip, see loopback/proxy IP in logs, debug for hours (see #3529 discussion, #3539).

Comments now say so and point reverse-proxy users at xff. config.yml.sample regenerates in CI.

Echo's X-Real-IP extractor checks the header value against the trusted
ranges, not the peer that sent it, so it cannot report public client IPs.
Say so and point users behind a reverse proxy at xff.
@kolaente
kolaente merged commit 1ace493 into main Aug 18, 2026
13 checks passed
@kolaente
kolaente deleted the realip-header-validation branch August 18, 2026 10:40
@github-actions github-actions Bot added the area/config config.yml, env vars, runtime flags, deployment config label Aug 18, 2026
@github-actions

Copy link
Copy Markdown

Preview Deployment

Preview deployments for this PR are available at:

URL Tag Commit
https://pr-3545.preview.vikunja.dev ghcr.io/go-vikunja/vikunja:pr-3545 latest
https://sha-dd71ff6c958fbb7139a4554cfa44e4c7e78a89ec.preview.vikunja.dev ghcr.io/go-vikunja/vikunja:sha-dd71ff6c958fbb7139a4554cfa44e4c7e78a89ec dd71ff6

The preview environment will start automatically on first visit. Subsequent pushes to this PR will update the pr-3545 image — the preview picks up the new version on restart. The per-commit URLs point to a specific version and will not change.

Run locally with Docker
docker pull ghcr.io/go-vikunja/vikunja:pr-3545
docker run -p 3456:3456 ghcr.io/go-vikunja/vikunja:pr-3545

Last updated for commit dd71ff6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config config.yml, env vars, runtime flags, deployment config

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants