Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: Patrick McHardy <kaber@trash.net>
Cc: Netfilter Development Mailinglist
	<netfilter-devel@lists.netfilter.org>,
	netfilter@lists.netfilter.org
Subject: Re: Problem with two addrtype matches in one iptables rule.
Date: Tue, 17 May 2005 00:48:33 -0500	[thread overview]
Message-ID: <428985B1.9080701@riverviewtech.net> (raw)
In-Reply-To: <42894A5B.5050000@trash.net>

> This is a known limitation of iptables:
> 
> /* FIXME: This scheme doesn't allow two of the same
>    matches --RR */

*nod*  This explains a few things.  Thank you for the input.

> It looks like fixing it would break compatibility because currently
> arguments to matches can occur at any position:

Hmm...

> I suggest you add the second match to a new chain and jump to it
> from the first match.

I was afraid that I would have to do such.  It looks like I'll be playing with the GOTO target extension then.



Grant. . . .


      reply	other threads:[~2005-05-17  5:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16  6:09 Problem with two addrtype matches in one iptables rule Taylor, Grant
2005-05-17  1:35 ` Patrick McHardy
2005-05-17  5:48   ` Taylor, Grant [this message]

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=428985B1.9080701@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox