I am a new user to the Netfilter project.
I am trying to build an application that captures ALL the incoming traffic using libNetfilterQueue. In the function nfq_bind_pf I need to supply the protocol family. If I set it to AF_INET I get only IP packets, if I set it to AF_PACKET the function fails.
I have also tried AF_UNSPEC but that didn't help.
Is there any way to to this?
Thank in advance for any help.