Netfilter device

Harald Welte laforge at netfilter.org
Thu Sep 22 14:39:58 CEST 2005


On Thu, Sep 22, 2005 at 11:21:20AM +0700, Nhan Thanh Le wrote:
> Dear All,
> 
>    I am new babie in netfilter linux, my project is caputre packet traffic through netfilter. I 
> read the link at
> http://redvip.homelinux.net/varios/netfilter/netfilter-hacking-HOWTO-4.html.
> And I would like to do my  practice but I could not do it, because I
> could not find out where is the linux/include/linux/netfilter_dev.h or
> netfilter_device.h. Could someone help me to have it. Thank you very
> much and appreciate.

this has been replaced by the ip_queue mechanism (man 3 libipq).

If you're interested in just capturing (copies) of packets (not
re-injecting and/or modifying them), then you could look into using
the ipt_ULOG target (see the ulogd sourcecode for an example and a small
library).

Be aware that both ULOG and ip_qeuue are in the process of being
obsoleted by nfnetlink_queue / nfnetlink_log.  No docs for them yet.

-- 
- Harald Welte <laforge at netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20050922/abfa1612/attachment.bin


More information about the netfilter-devel mailing list