* netfilter vs iptables naming confusion
@ 2003-12-08 11:17 Haris Koutsouris
2003-12-08 12:09 ` Henrik Nordstrom
0 siblings, 1 reply; 3+ messages in thread
From: Haris Koutsouris @ 2003-12-08 11:17 UTC (permalink / raw)
To: netfilter-devel
Dear All,
I am not a netfilter hacker but i need your insight, i hope you can help
me out.
I am a co-author of an upcoming book concerning Honeynets. In this book
we need to refer to the netfilter/iptables functionality and we try to
provide a 2 page introduction for the readers just to get them going.
One of the book reviewers felt we where missusing the term iptables and
we should use netfilter instead. Since i value the reviewer's view but i
also felt strong on my point i would be obliged if you can shed some
light on this problem. Well i really don't intened to confuse any of our
readers so i depend on you to make it clear.
Next follows my understanding on what netfilter and iptables are, Please
comment.
<my understanding>
Netfilter is a set of hooks in the networking code of the linux kernel
that allows another piece of code (kernel module) to register for
access to the packets that pass through these points. Several iptables
kernel modules (e.g ip_tables, iptable_mangle,ipt_conntrack, ipt_LOG)
implement
the firewalling functionality and in addition the user space utility
iptables is used as a user interface to the iptables functionality.
If I am correct, then the Netfilter code though its a great idea it
shouldn't be that big percentage of the firewalling code. Thus, i fill
that we can name the whole thing IPTables provided we add a footnote
stating the existance of Netfilter and provide enough references for
the user to explore the whole magic of netfilter/iptables.
</my understanding>
A final question are the kernel modules named iptables modules or
netfilter modules?????
A raw grep in the archives of the netfilter users mailing list revealed
the following:
grep "iptables modules" user-netfilter.mbox | wc -l
84 references
grep "netfilter modules" user-netfilter.mbox | wc -l
68 references
The same search on the developers list revealed:
"iptables modules" 37 references
"netfilter modules" 99 references
Thank you for your advice.
Yours
Haris Koutsouris
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: netfilter vs iptables naming confusion
2003-12-08 11:17 netfilter vs iptables naming confusion Haris Koutsouris
@ 2003-12-08 12:09 ` Henrik Nordstrom
2003-12-08 15:28 ` Haris Koutsouris
0 siblings, 1 reply; 3+ messages in thread
From: Henrik Nordstrom @ 2003-12-08 12:09 UTC (permalink / raw)
To: Haris Koutsouris; +Cc: netfilter-devel
On Mon, 8 Dec 2003, Haris Koutsouris wrote:
> <my understanding>
> Netfilter is a set of hooks in the networking code of the linux kernel
> that allows another piece of code (kernel module) to register for
> access to the packets that pass through these points.
Yes.
> Several iptables kernel modules (e.g ip_tables,
> iptable_mangle,ipt_conntrack, ipt_LOG) implement the firewalling
> functionality and in addition the user space utility iptables is used as
> a user interface to the iptables functionality.
Many also consider the connection tracking as part of the netfilter
framework, and maybe even the NAT core in some respect, but it is a thin
boundary especially considering that it is mainly iptables which use
these.
But it is certainly correct to say that netfilter is the hook
infrastrucure allowing the firewall access to the packet flow, and
iptables is the firewalling code of iptables.
> A final question are the kernel modules named iptables modules or
> netfilter modules?????
There are both. The design is layered with modules at both layers.
modules which registers netfilter hooks are netfilter modules. This
includes iptables itself and the connection tracking, but there is also
several other netfilter modules such as Linux Virtual Server or the HiPac
firewall.
modules which registers iptables targets/matches for use in the iptables
firewall are iptables modules.
Regards
Henrik
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: netfilter vs iptables naming confusion
2003-12-08 12:09 ` Henrik Nordstrom
@ 2003-12-08 15:28 ` Haris Koutsouris
0 siblings, 0 replies; 3+ messages in thread
From: Haris Koutsouris @ 2003-12-08 15:28 UTC (permalink / raw)
To: Henrik Nordstrom; +Cc: netfilter-devel
Thank you very much. This clears the picture A LOT.
Regards
Haris
Henrik Nordstrom wrote:
>On Mon, 8 Dec 2003, Haris Koutsouris wrote:
>
>
>
>><my understanding>
>>Netfilter is a set of hooks in the networking code of the linux kernel
>> that allows another piece of code (kernel module) to register for
>>access to the packets that pass through these points.
>>
>>
>
>Yes.
>
>
>
>>Several iptables kernel modules (e.g ip_tables,
>>iptable_mangle,ipt_conntrack, ipt_LOG) implement the firewalling
>>functionality and in addition the user space utility iptables is used as
>>a user interface to the iptables functionality.
>>
>>
>
>Many also consider the connection tracking as part of the netfilter
>framework, and maybe even the NAT core in some respect, but it is a thin
>boundary especially considering that it is mainly iptables which use
>these.
>
>But it is certainly correct to say that netfilter is the hook
>infrastrucure allowing the firewall access to the packet flow, and
>iptables is the firewalling code of iptables.
>
>
>
>>A final question are the kernel modules named iptables modules or
>>netfilter modules?????
>>
>>
>
>There are both. The design is layered with modules at both layers.
>
>modules which registers netfilter hooks are netfilter modules. This
>includes iptables itself and the connection tracking, but there is also
>several other netfilter modules such as Linux Virtual Server or the HiPac
>firewall.
>
>modules which registers iptables targets/matches for use in the iptables
>firewall are iptables modules.
>
>Regards
>Henrik
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-08 15:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 11:17 netfilter vs iptables naming confusion Haris Koutsouris
2003-12-08 12:09 ` Henrik Nordstrom
2003-12-08 15:28 ` Haris Koutsouris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.