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

Logic between IP and PORT #471

Open
atiqullah-ahmadzai opened this issue Jan 20, 2025 · 1 comment
Open

Logic between IP and PORT #471

atiqullah-ahmadzai opened this issue Jan 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@atiqullah-ahmadzai
Copy link

Currently it is using OR logic; can we add a feature to support the IP AND PORT mechanisms?

For example:
Allow request from 1.1.1.1 to 22 only and drop all other request from this IP.
xdp-filter ip 1.1.1.1 -m src,dst port 22

@tohojo
Copy link
Member

tohojo commented Jan 21, 2025

Hmm, so this is far from trivial the way xdp-filter works right now. So filing
this as a feature request, but can't promise that it's something that will
appear anytime soon...

@tohojo tohojo added the enhancement New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants