go-netfilter-queue icon indicating copy to clipboard operation
go-netfilter-queue copied to clipboard

Go bindings for libnetfilter_queue

Results 6 go-netfilter-queue issues
Sort by recently updated
recently updated
newest added

- Point C.struct_nfq_handle to the right structure members. - Change decodeoptions parameters - Point code.google.com to github Signed-off-by: Jorge Niedbalski [email protected]

We should be able to use the library even on systems where libnetfilter is not available. There must be a way to check if we can use libnetfilter, and if...

It looks like an additional field was added to `DecodeOptions` in gopacket, and because Go's dependency management solution is to simply always download the latest version, go-netfilter-queue no longer builds....

This pull does the following: 1. Load libnetfilter.so using dlopen and fail if that doesn't exist (InitNF). 2. Redirect each call into the library using dlsym.

I haven't understood why this worked before, but to get it to build for me, I had to make this change.

- fix usage of netfilter queue structs - fix usage of gopacket api Previously this project did not build on a Debian wheezy system... this commit fixes that.