From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Giuseppe Longo <giuseppelng@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] nft-arp: fix is_same_interfaces arguments
Date: Fri, 7 Mar 2014 18:32:47 +0100 [thread overview]
Message-ID: <20140307173247.GA28555@localhost> (raw)
In-Reply-To: <1394188993-4752-1-git-send-email-giuseppelng@gmail.com>
On Fri, Mar 07, 2014 at 11:43:13AM +0100, Giuseppe Longo wrote:
> Wrong arguments are passed to is_same_interfaces
> that causes sometimes to delete a wrong rule.
> See the example below:
>
> arptables-compat -A INPUT -i eth0 -j ACCEPT
> arptables-compat -A INPUT -i eth1 -j ACCEPT
> arptables-compat -A INPUT -i eth2 -j ACCEPT
>
> arptables-compat -L
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
> -j ACCEPT -i eth0
> -j ACCEPT -i eth1
> -j ACCEPT -i eth2
>
> arptables-compat -D INPUT -i eth2 -j ACCEPT
>
> arptables-compat -L
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
> -j ACCEPT -i eth1
> -j ACCEPT -i eth2
Applied, thanks.
prev parent reply other threads:[~2014-03-07 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 10:43 [PATCH] nft-arp: fix is_same_interfaces arguments Giuseppe Longo
2014-03-07 17:32 ` Pablo Neira Ayuso [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=20140307173247.GA28555@localhost \
--to=pablo@netfilter.org \
--cc=giuseppelng@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).