From: Patrick McHardy <kaber@trash.net>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: Jan Engelhardt <jengelh@medozas.de>,
David Miller <davem@davemloft.net>,
netfilter-devel@vger.kernel.org
Subject: Re: RFC: net/netfilter reorganization
Date: Mon, 06 Oct 2008 00:00:22 +0200 [thread overview]
Message-ID: <48E938F6.8080108@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0810052258460.17462@blackhole.kfki.hu>
Jozsef Kadlecsik wrote:
> If restructuring is on the way, then it should cover all possible parts.
> Just my quick thoughts, with suggested module names:
>
> addr/packet type matches in one module (addrtype):
> addrtype, pkttype
>
> mark modules, targets in one module (route):
> connmark, mark, realm
> CLASSIFY, CONNMARK, MARK
>
CONNMARK and connmark needs to be separated from MARK etc. because
they depend on the conntrack module.
> conntrack related modules in one module (conntrack):
> conntrack, helper, state
>
> IPv4/IPv6 header matching and modifying in one module (iphdr):
> dscp, length, tos, ttl
> DSCP, TOS, TTL
>
> IPv6 extension headers matching and modifying in one module (exthdr):
> dst, frag, hbh, hl, ipv6hdr, mh, rt
> HL
>
> TCP header matching and modifying in one module (tcphdr):
> ecn, tcpmss
> ECN, TCPMSS, TCPOPTSTRIP
>
> ipsec in one module (ipsec)
> ah, esp, policy
>
> security markings in one module: (secmark):
> CONNSECMARK, SECMARK
>
> Something similar should be done with the different type of
> limit/statistics modules as well.
>
>
>> Funny thing is, only when you try you see more problems a-coming.
>> Like, Kconfig option names. Keep/Lose
>> NETFILTER_XT_{MATCH,TARGET}_CONNMARK, and query users for a new one?
>>
>
> Definitely yes. Kconfig is overloaded with netfilter targets/matches and
> if matches/targets are collapsed into a single file, then Kconfig options
> should be unified, as in your sample patch.
Agreed, but please keep the old options around (doing just a select
on the new ones) for one or two releases.
next prev parent reply other threads:[~2008-10-05 22:00 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 12:34 RFC: net/netfilter reorganization Patrick McHardy
2008-10-05 13:47 ` Jan Engelhardt
2008-10-05 14:02 ` Patrick McHardy
2008-10-05 14:35 ` Jan Engelhardt
2008-10-05 14:48 ` Patrick McHardy
2008-10-05 16:02 ` David Miller
2008-10-05 16:11 ` Patrick McHardy
2008-10-05 16:15 ` Jan Engelhardt
2008-10-05 16:21 ` Patrick McHardy
2008-10-05 16:25 ` Jan Engelhardt
2008-10-05 16:32 ` Patrick McHardy
2008-10-05 19:06 ` Jozsef Kadlecsik
2008-10-05 20:28 ` David Miller
2008-10-05 20:33 ` Jan Engelhardt
2008-10-05 20:48 ` Jan Engelhardt
2008-10-05 21:42 ` Jozsef Kadlecsik
2008-10-05 22:00 ` Patrick McHardy [this message]
2008-10-05 23:16 ` Jan Engelhardt
2008-10-06 10:07 ` Patrick McHardy
2008-10-07 1:08 ` Jan Engelhardt
2008-10-07 11:34 ` Roman Zippel
2008-10-07 15:30 ` Jan Engelhardt
2008-10-07 17:09 ` Roman Zippel
2008-10-07 17:44 ` Jan Engelhardt
2008-10-13 18:52 ` Roman Zippel
2008-10-17 14:53 ` Jan Engelhardt
2008-10-06 7:23 ` Jozsef Kadlecsik
2008-10-06 10:09 ` Patrick McHardy
2008-10-05 16:17 ` David Miller
2008-10-05 16:22 ` Patrick McHardy
2008-10-06 16:17 ` Jan Engelhardt
2008-10-05 21:51 ` Jozsef Kadlecsik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48E938F6.8080108@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=jengelh@medozas.de \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.