All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrik Nordstrom <hno@marasystems.com>
To: fabrice@celestix.com
Cc: netfilter-devel <netfilter-devel@lists.samba.org>
Subject: Re: [PATCH}: Make MARK target terminate (resend)
Date: Thu, 4 Jul 2002 01:50:55 +0200	[thread overview]
Message-ID: <200207040150.55236@henrik.marasystems.com> (raw)
In-Reply-To: <200207032041.49134.fabrice@celestix.com>

On Wednesday 03 July 2002 14.41, Fabrice MARIE wrote:

> I proposed the last one some time ago. A solution to the ordering
> issue is to have two kind of targets:
> 1- terminal target (ie ACCEPT, DROP, REJECT, jump to chain, etc...)
> 2- non terminal target (ie TTL, MARK, IPV4OPTSSTRIP, etc...)
> The userland would basically use the order the admin provide,
> and would reply with an error if a non-terminal target is used
> after a terminal target.
>
> But I was answered that it was impossible/difficult with the
> current framework (which I agree).

Not really. To address this in the current framework one only needs to 
piggyback on the match list.

The kernel components needs to be modified to register themselves as 
matches as well as targets.

The userspace components needs to be extended with a additional flag 
telling the userspace tool that the "target" is a non-terminal target 
and can be installed as a match in the kernel space table if multiple 
targets are used.

The same datatypes should be possible to use for both the match info 
and the target info.

> I was also answered that it would break what people are used to,
> (having only one target) which I don't really agree with.

Neither do I.

Regards
Henrik

  parent reply	other threads:[~2002-07-03 23:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-29  9:46 [PATCH}: Make MARK target terminate (resend) Patrick McHardy
2002-06-29 10:03 ` Patrick Schaaf
2002-07-02 13:02   ` Patrick McHardy
2002-06-29 10:36 ` Henrik Nordstrom
2002-06-29 12:53   ` Brad Chapman
2002-07-01  7:50   ` Balazs Scheidler
2002-07-02 14:24     ` Harald Welte
2002-07-03 11:24       ` Jozsef Kadlecsik
2002-07-03 11:36         ` Patrick Schaaf
2002-07-03 12:41         ` Fabrice MARIE
2002-07-03 14:45           ` Hervé Eychenne
2002-07-03 23:50           ` Henrik Nordstrom [this message]
2002-07-04 23:58         ` Harald Welte
2002-07-05  4:01           ` Fabrice MARIE
2002-07-05 14:21             ` Harald Welte
2002-07-05 19:25               ` Patrick Schaaf
2002-07-05  1:15         ` Joakim Axelsson
2002-07-01  9:47   ` Jozsef Kadlecsik
2002-07-01 10:11     ` Henrik Nordstrom
2002-07-01 12:08       ` Jozsef Kadlecsik
2002-07-02 15:45     ` Harald Welte
2002-07-02 13:32   ` Patrick McHardy

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=200207040150.55236@henrik.marasystems.com \
    --to=hno@marasystems.com \
    --cc=fabrice@celestix.com \
    --cc=netfilter-devel@lists.samba.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.