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

Block AF_PACKET bound tunnel interface from communication #191

Merged
merged 1 commit into from
May 15, 2021

Conversation

edwarnicke
Copy link
Member

When binding to the tunnel interface with AF_PACKET, we should not
respond to anything except valid tunnel packets.

vppinit does this by applying a DENYALL ACL.

Individual tunnel chain elements are then responsible for poking a 'hole'
in the DENYALL ACL for themselves. See:

https://github.com/networkservicemesh/sdk-vpp/tree/main/pkg/networkservice/mechanisms/vxlan/vxlanacl

Signed-off-by: Ed Warnicke hagbard@gmail.com

@edwarnicke edwarnicke marked this pull request as draft May 14, 2021 22:43
When binding to the tunnel interface with AF_PACKET, we should *not*
respond to anything except valid tunnel packets.

vppinit does this by applying a DENYALL ACL.

Individual tunnel chain elements are then responsible for poking a 'hole'
in the DENYALL ACL for themselves.  See:

https://github.com/networkservicemesh/sdk-vpp/tree/main/pkg/networkservice/mechanisms/vxlan/vxlanacl

Signed-off-by: Ed Warnicke <hagbard@gmail.com>
@edwarnicke edwarnicke marked this pull request as ready for review May 15, 2021 00:50
@fkautz fkautz merged commit 5fc9f24 into networkservicemesh:main May 15, 2021
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.

2 participants