This is go-nfqueue
and it is written in golang. It provides a C-binding free API to the netfilter based queue subsystem of the Linux kernel.
This package processes information directly from the kernel and therefore it requires special privileges. You can provide this privileges by adjusting the CAP_NET_ADMIN
capabilities.
setcap 'cap_net_admin=+ep' /your/executable
For documentation and more examples please take a look at documentation.
- A version of Go that is supported by upstream