Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Proxy: do not trust input - always set own value for 'X-Origin-IP' #354

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

bigcat88
Copy link
Member

@bigcat88 bigcat88 commented Aug 7, 2024

An external packet received by the proxy can have any value in 'X-Origin-IP' - we can't trust it, it's best to set it on our own

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@bigcat88 bigcat88 merged commit 1554fc8 into main Aug 7, 2024
29 checks passed
@bigcat88 bigcat88 deleted the fix/proxy/XOriginIP branch August 7, 2024 10:23
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