From: Patrick McHardy <kaber@trash.net>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>,
netfilter-devel@lists.netfilter.org,
Amin Azez <azez@ufomechanic.net>,
Henrik Nordstrom <henrik@henriknordstrom.net>
Subject: Re: [PATCH 1/1] Re: dangerous? Setting mark in nat table
Date: Wed, 14 Mar 2007 21:35:21 +0100 [thread overview]
Message-ID: <45F85C89.7070107@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0703141453400.26704@blackhole.kfki.hu>
Jozsef Kadlecsik wrote:
> On Wed, 14 Mar 2007, Jozsef Kadlecsik wrote:
>
>> Sorry, but I disagree. The DSCP, ECN, TOS, TTL, HL targets modify the
>> packet itself and thus all belong to the mangle table alone.
>
>
> Umm, probably I was too terse in the sentence above...
>
> Tecnically speaking, the targets could be "released" from the mangle
> table. However, all the tables have got a specific function. By breaking
> up the tie between the given targets ("mangle packet content thus and
> thus") and the table which carries the functionality ("mangle" table)
> just confuse the internal logic behind the system.
Well, my opinion is that the mangle table is misnamed. The only
functional difference to filter is rerouting in LOCAL_OUT if any
of the routing keys changes, so it would be better called route
table.
> The MARK/CONNMARK targets can be used to carry neutral information all
> around the netfilter framework (besides triggering routing). So I agree
> that let those be available in all tables.
>
> Personally, I'm not so convinced about CLASSIFY, SECMARK and CONNSECMARK.
> The targets make possible to alter/modify the behaviour of external
> systems. Is there any functionality lost if the targets are restricted to
> the mangle table (taking into account the ctstate match)?
Not lost. but it requires people to duplicate rules in some cases for
no real reason.
next prev parent reply other threads:[~2007-03-14 20:35 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 15:25 dangerous? Setting mark in nat table Amin Azez
2007-03-13 15:36 ` Jan Engelhardt
2007-03-13 16:12 ` Amin Azez
2007-03-13 16:18 ` Jan Engelhardt
2007-03-14 10:35 ` Henrik Nordstrom
2007-03-14 11:02 ` Patrick McHardy
2007-03-14 12:43 ` Henrik Nordstrom
2007-03-14 12:52 ` [PATCH 1/1] " Amin Azez
2007-03-14 13:08 ` Patrick McHardy
2007-03-14 13:21 ` Jozsef Kadlecsik
2007-03-14 14:09 ` Jozsef Kadlecsik
2007-03-14 20:35 ` Patrick McHardy [this message]
2007-03-14 20:45 ` Henrik Nordstrom
2007-03-14 20:48 ` Jan Engelhardt
2007-03-14 22:21 ` Henrik Nordstrom
2007-03-14 22:58 ` Carl-Daniel Hailfinger
2007-03-14 23:02 ` Patrick McHardy
2007-03-14 23:12 ` Jan Engelhardt
2007-03-14 23:15 ` Patrick McHardy
2007-03-15 13:12 ` Roberto Nibali
2007-03-16 12:31 ` Patrick McHardy
2007-03-15 0:41 ` Henrik Nordstrom
2007-03-14 14:11 ` Amin Azez
2007-03-14 14:32 ` One unified table of nat/mangle/filter Henrik Nordstrom
2007-03-14 14:47 ` [PATCH 1/1] Re: dangerous? Setting mark in nat table Jozsef Kadlecsik
2007-03-14 16:47 ` Jan Engelhardt
2007-03-14 13:14 ` Henrik Nordstrom
2007-03-14 12:43 ` Amin Azez
2007-03-14 10:27 ` Henrik Nordstrom
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=45F85C89.7070107@trash.net \
--to=kaber@trash.net \
--cc=azez@ufomechanic.net \
--cc=henrik@henriknordstrom.net \
--cc=jengelh@linux01.gwdg.de \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@lists.netfilter.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.