Linux Netfilter development
 help / color / mirror / Atom feed
From: Changli Gao <xiaosuo@gmail.com>
To: Patrick McHardy <kaber@trash.net>
Cc: haimdaniel@gmail.com, netfilter@vger.kernel.org,
	netfilter-devel@vger.kernel.org
Subject: Re: [Fwd: Re: Re: [PATCH 2.4.37] iptables: handle IPT_RETURN from user target]
Date: Mon, 23 Mar 2009 16:26:36 +0800	[thread overview]
Message-ID: <412e6f7f0903230126x3ee972b5se1005cc3b5895bce@mail.gmail.com> (raw)
In-Reply-To: <49C12911.2080507@trash.net>

I posted this patch before. I am glad to see someone has the same
requirement as me. It is useful when implementing ACL. Such as these
statements:

if (x_cond) {
   do_x;
} else if (y_cond) {
  do_y;
} else if (z_cond) {
  do_z;
}

Because the current iptables doesn't support multi-targets, we have to
do this kinds of things in a dirty way.

On Thu, Mar 19, 2009 at 1:02 AM, Patrick McHardy <kaber@trash.net> wrote:
> Haim Daniel wrote:
>>
>> Patric McHardy wrote:
>>
>>  > And what module will be using this?
>>  > --
>>
>> Currently there's no such module in the src tree. I've encountered the
>> problem
>> myself when I needed to write a proprietary module for the company I work
>> for.
>> I've seen prev posts on the subject as well.
>
> You'll have to carry this patch yourself. Until we need it for something
> in the mainline tree, there's no reason to change it.
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Regards,
Changli Gao(xiaosuo@gmail.com)

  reply	other threads:[~2009-03-23  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 16:59 [Fwd: Re: Re: [PATCH 2.4.37] iptables: handle IPT_RETURN from user target] Haim Daniel
2009-03-18 17:02 ` Patrick McHardy
2009-03-23  8:26   ` Changli Gao [this message]
2009-03-23 12:23     ` 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=412e6f7f0903230126x3ee972b5se1005cc3b5895bce@mail.gmail.com \
    --to=xiaosuo@gmail.com \
    --cc=haimdaniel@gmail.com \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox