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: add packet filtering support #26

Merged
merged 1 commit into from
Nov 24, 2024
Merged

feat: add packet filtering support #26

merged 1 commit into from
Nov 24, 2024

Conversation

bassosimone
Copy link
Member

This commit adds support for filtering packets in the router.

The interfaces for filtering packets go into packet/packet.go since they are integral to our network simulation.

We implementing filtering in the router because we need the ability to inject arbitrary packets in all directions. It won't be possible to implement filtering with links, since they are unidirectional (i.e., one direction of a given link does not have access to the link direction).

This commit adds support for filtering packets in the router.

The interfaces for filtering packets go into `packet/packet.go`
since they are integral to our network simulation.

We implementing filtering in the router because we need the
ability to inject arbitrary packets in all directions. It won't
be possible to implement filtering with links, since they are
unidirectional (i.e., one direction of a given link does not
have access to the link direction).
@bassosimone bassosimone merged commit caa193b into main Nov 24, 2024
1 check passed
@bassosimone bassosimone deleted the pf1 branch November 24, 2024 13:06
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