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

Request / response ip filter #28

Merged
merged 9 commits into from
Jul 4, 2024

Conversation

bram123
Copy link
Member

@bram123 bram123 commented Jul 3, 2024

Add new trusted_ips config option, to only send/trust data from certain requests.

- to only trust request headers from specific IPs
- to only send response headers for requests from specific IPs

Turned config trust_request_header into request->trust_header
Turned config trust_request_header into response->send_header
Specify array types in docblock
@bram123 bram123 requested a review from frankdekker July 3, 2024 18:39
Copy link
Member

@frankdekker frankdekker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

@bram123 bram123 requested a review from frankdekker July 3, 2024 21:03
@bram123 bram123 merged commit 26bcd92 into 123inkt:master Jul 4, 2024
14 checks passed
@bram123 bram123 deleted the request_response_ip_filter branch July 4, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants