Category "netfilter"

Forward traffic via libnetfilter_queue

I have a need where i need to forward traffic with libnetfilter_queue to another server, after adding some informations in it. Problem is that i'm stuck on the

Error "assignment from incompatible pointer type" when creating a Netfilter kernel module

I'm implementing a "mini firewall" and use the filter function with the signature shown below: unsigned int minifw_inbound_filter(unsigned int hooknum, struct s