-
Notifications
You must be signed in to change notification settings - Fork 7
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
BPF Lexer coverage #57
Comments
Welcome @mosajjal
Thanks. It was needed for something a few years back, and necessity being the mother of invention and all that...
Probably nowhere near enough. You can follow it through from
Always keen to expand. What did you mean by "bring it to gopacket/gopacket"? We actually use gopacket/gopacket in various places for structures and the like. I see you contributed to gopacket/gopacket? |
Thanks for the intro mate. for context, I maintain |
Ah, that explains it. Funny, this proj used to depend on google/go-packet, and @amarcum kindly opened #53 to use the more up-to-date gopacket just a few weeks ago.
You want to merge the functionality into gopacket? Sure, I am up for that. gopacket is pretty solid. More than a few times, people have come to this after saying, "we wanted to use gopacket but it required CGO and libpcap, so we didn't. As long as we have the same functionality, and the ability to compile without CGO. I don't mind if there are different packages, one with CGO and one without, especially if there is a functionality gap, as long as the option to do pure go always works without dependencies. I run this on macOS at times, sometimes other interesting platforms. |
yeah I think it'd be good to merge that function into gopacket. since the lexer is not complete yet, we can find a home for it under |
Sounds like a plan. Maybe call it |
Hi,
randomly came across this one. Awesome stuff! Wondering how complete is your BPF filter lexer? Happy to bring it to
gopacket/gopacket
and further remove some dependencies on CGO over there if you're keen to cover all options offered bytcpdump
.Cheers,
Ali
The text was updated successfully, but these errors were encountered: