Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- May 2010
libNetfilterQueue - Capturing all traffic
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.