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

Feat TRUSTED_PROXIES config var #486

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Feat TRUSTED_PROXIES config var #486

merged 2 commits into from
Jun 20, 2024

Conversation

sebadob
Copy link
Owner

@sebadob sebadob commented Jun 20, 2024

To prevent client IP spoofing via headers with PROXY_MODE=true or a set PEER_IP_HEADER_NAME´, TRUSTED_PROXIES` is a new config var that needs to be set properly in the future.

If any of these variables are set, TRUSTED_PROXIES is mandatory and Rauthy will only accept requests from direct sources inside TRUSTED_PROXIES.

The value accepts a list of multiple CIDR's, so you have all the flexibility you need.

@sebadob sebadob merged commit e1ae491 into main Jun 20, 2024
@sebadob sebadob deleted the feat-trusted-proxies branch June 20, 2024 09:49
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.

1 participant