i wanna know exact difference between NETFILTER and IPTABLES
i wanna know what are the responsibilities of
netfilter(acts at kernel level )
and iptables ( works at user level)
i wanna know full information at kernel level
as well as userlevel, it will be great if i can
get a diagram ...
functional diagram .... + descriptions of files... which are used...
thanks in advance
cheers
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com
Quoted 3 lines · rohit persaie
netfilter(acts at kernel level )
and iptables ( works at user level)
Netfilter provides the hooks required for the iptables firewall to access the packets within the Linux kernel. Both run within the kernel. See the netfilter hacking guide for details.
To control the ruleset of the iptables firewall kernel the userspace program iptables is used. This program is responsible for compiling your firewall ruleset into binary form used by the iptables kernel. The communication is using getsockopt calls, but this is not really of interest to anyone except for the iptables core as it is all wrapped up nicely. The exact deatils of the communication between the iptables userspace and kernel is not specified in detail other than the source. The official interface for talking to the iptables kernel is the iptables command.
Regards
Henrik
I remember reading quite awhile ago about a proposed change to both the interface iptables uses and the mechanics of kernel applied rule replacement. Something about being able to make singular atomic changes to each rule rather than replace whole tables. Can you (Henrik) or anyone else shed some light on where this thinking currently stands, whether there's been a new specification generated to which the core developers are working, or whether there is in fact some code. I understand that Harald had done some work on the iptables2 interface? Is this part of this new proposed interface?
I think everyone would be interested in a quick synopses of where things are broadly at, in the world of Netfilter.
Thanks,
Andrew.
----- Original Message -----
From: "Henrik Nordstrom" <[email protected]>
To: "rohit persaie" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, February 05, 2004 9:21 AM
Subject: Re: i wanna know exact difference between NETFILTER and IPTABLES
Quoted 24 lines · rohit persaie
Quoted 4 lines
netfilter(acts at kernel level )
and iptables ( works at user level)
Netfilter provides the hooks required for the iptables firewall to access the packets within the Linux kernel. Both run within the kernel. See the netfilter hacking guide for details.
To control the ruleset of the iptables firewall kernel the userspace program iptables is used. This program is responsible for compiling your firewall ruleset into binary form used by the iptables kernel. The communication is using getsockopt calls, but this is not really of interest to anyone except for the iptables core as it is all wrapped up nicely. The exact deatils of the communication between the iptables userspace and kernel is not specified in detail other than the source. The official interface for talking to the iptables kernel is the iptables command.
Regards
Henrik
Quoted 9 lines · Andrew Hall
I remember reading quite awhile ago about a proposed change to both the interface iptables uses and the mechanics of kernel applied rule replacement. Something about being able to make singular atomic changes to each rule rather than replace whole tables. Can you (Henrik) or anyone else shed some light on where this thinking currently stands, whether there's been a new specification generated to which the core developers are working, or whether there is in fact some code. I understand that Harald had done some work on the iptables2 interface? Is this part of this new proposed interface?
Yes, it's now called pkttables rather than iptables2. I think there is some indication about this subject in the summary of the 2003 netfilter developer workshop (SGML source at
http://cvs.netfilter.org/documentation/conferences/nf-workshop-2003-summary.sgml)
Quoted 2 lines
I think everyone would be interested in a quick synopses of where things are broadly at, in the world of Netfilter.
I'm currently busy with the connection tracking synchronization code for stateful failover, then there is patch-o-matic ng, some bugs in the homepage generation tool (docbook-website), ...
but I'll pick up pkttables as soon as this is finished.
Quoted 2 lines
Thanks,
Andrew.
Signature · 5 lines
- Harald Welte <[email protected]> http://www.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
the best way would be to start reading the code.
Regards,
Quoted 24 lines · rohit persaie
i wanna know what are the responsibilities of
netfilter(acts at kernel level )
and iptables ( works at user level)
i wanna know full information at kernel level
as well as userlevel, it will be great if i can
get a diagram ...functional diagram .... + descriptions of files... which are used...
thanks in advance
cheers
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com