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

Add HTTP port rules to HTTPFilter (#185) #210

Merged
merged 1 commit into from
Feb 18, 2022
Merged

Add HTTP port rules to HTTPFilter (#185) #210

merged 1 commit into from
Feb 18, 2022

Conversation

rnpridgeon
Copy link
Contributor

closes #185

Assumptions:

  • Valid port numbers are to be enforced by the HTTP library either when constructing the URL or in response to perform a request against an illegal port number

  • If allow/deny lists are not explicitly set allow all ports for backward compatibility

  • If a port exists in both the block and allow list deny the request

Notes:

If we are open to API breaking changes I'd prefer to disallow non-standard ports by default

@rnpridgeon rnpridgeon requested review from cohix and a team and removed request for cohix February 18, 2022 12:46
@javorszky
Copy link

LGTM :shipit:

@rnpridgeon rnpridgeon merged commit 48d9120 into main Feb 18, 2022
@rnpridgeon rnpridgeon deleted the rnpridgeon/185 branch February 18, 2022 13:32
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.

Allow filtering allowed/blocked ports in HTTPFilter
2 participants