libNetfilterQueue - Capturing all traffic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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 you for your help.

Regards,
Mickey
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux