From: Michael Schwendt <rh0209ms@arcor.de>
To: Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: small buglet in iptables-save with "-m mac"
Date: Mon, 16 Dec 2002 12:40:16 +0100 [thread overview]
Message-ID: <20021216124016.079b870f.rh0209ms@arcor.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0212101518580.1838-100000@pc40.e18.physik.tu-muenchen.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 10 Dec 2002 15:26:30 +0100 (CET), Roland Kuhn wrote:
> Please Cc: me as I'm not on the list.
>
> This small buglet is biting me since quite a while, so I got the
> 1.2.7a source to see if it is fixed, and it isn't: if you try
> iptables-save on a rule with inverted MAC matching (e.g. "-m mac
> --mac-source ! xx:xx:xx:xx:xx:xx") you'll end up with "-m mac --mac
> !xx:xx:xx:xx:xx:xx", which doesn't work because of the missing space
> between the ! and the MAC. The patch below should fix it (tested on
> RH7.2, kernel 2.4.20).
This has been fixed several weeks ago in CVS.
Sometime later I've submitted a patch which cleans up libipt_mac.c
so the space is only printed for iptables-save and not for iptables
- -L (other userspace extension do it similarly with readability in
mind).
Michael
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9/bug0iMVcrivHFQRArKwAJ4jFlBLTGhhFzcPR4Z7aiEMtaOhIACfQt7U
rFm3uUrJdvmKrGF1l4nJSt0=
=GSMW
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2002-12-16 11:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-10 14:26 small buglet in iptables-save with "-m mac" Roland Kuhn
2002-12-16 11:40 ` Michael Schwendt [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=20021216124016.079b870f.rh0209ms@arcor.de \
--to=rh0209ms@arcor.de \
--cc=netfilter-devel@lists.netfilter.org \
--cc=rkuhn@e18.physik.tu-muenchen.de \
/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.