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

L2Rule Support #89

Open
Adphi opened this issue Dec 20, 2020 · 2 comments
Open

L2Rule Support #89

Adphi opened this issue Dec 20, 2020 · 2 comments

Comments

@Adphi
Copy link

Adphi commented Dec 20, 2020

Hello,

First of all, thanks for you amazing work.

I can see that 2 methods are defined, but neither exported, or used:

func inputIntfByName(intf string) []expr.Any
func outputIntfByName(intf string) []expr.Any

Are there any plan to support L2Rule as there already is L3Rule and L4Rule ?

Best regards.

@sbezverk
Copy link
Owner

Hello, you are right, these are some leftovers I was using at early stages of the development. I will need to do a bit of house keeping. With regards to your L2 rule question, my primary goal was l3/l4. Currently I do not have plans to add L2, I see 2 possibilities, either you contribute L2 Rule implementation or describe your use case in greater details and I will try to add it but no guarantee on ETA.

@Adphi
Copy link
Author

Adphi commented Dec 22, 2020

Thanks for your answer.

I am currently working on a small pure go - API first (grpc/rest) router and may need to provide L2 Rules support, but there is no rush, it could be in a later release. I did plan to take a deeper look at the nftables expressions logic, but, as for now I didn't find the time to do it. But as soon as I do, I'd be glad to contribute.

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

No branches or pull requests

2 participants