libNetfilterQueue - Capturing all traffic

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

 



Hi,

I have a "simple" question regarding libNetfilterQueue and can't find
the answer for it.
I am trying to create 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.

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

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux