From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [iptables PATCH 4/5] xtables-monitor: Support ARP and bridge families
Date: Thu, 1 Aug 2019 14:00:48 +0200 [thread overview]
Message-ID: <20190801120048.GS14469@orbyte.nwl.cc> (raw)
In-Reply-To: <20190801112050.nqig4dbncyx4gfdz@salvia>
On Thu, Aug 01, 2019 at 01:20:50PM +0200, Pablo Neira Ayuso wrote:
> On Wed, Jul 31, 2019 at 06:39:14PM +0200, Phil Sutter wrote:
> @@ -565,6 +574,8 @@ static const struct option options[] = {
> > {.name = "counters", .has_arg = false, .val = 'c'},
> > {.name = "trace", .has_arg = false, .val = 't'},
> > {.name = "event", .has_arg = false, .val = 'e'},
> > + {.name = "arp", .has_arg = false, .val = '0'},
> > + {.name = "bridge", .has_arg = false, .val = '1'},
>
> Probably?
>
> -A for arp.
> -B for bridge.
>
> so users don't have to remember? -4 and -6 are intuitive, I'd like
> these are sort of intuitive too in its compact definition.
>
> Apart from that, patchset looks good to me.
I had something like that (-a and -b should still be free), but then
discovered that for rules there was '-0' prefix in use when printing arp
family rules. Should I change these prefixes also or leave them as -0
and -1? I guess most importantly they must not clash with real
parameters.
Thanks, Phil
next prev parent reply other threads:[~2019-08-01 12:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-31 16:39 [iptables PATCH 0/5] xtables-monitor enhancements Phil Sutter
2019-07-31 16:39 ` [iptables PATCH 1/5] doc: Clean generated *-restore-translate man pages Phil Sutter
2019-07-31 16:39 ` [iptables PATCH 2/5] doc: Fix xtables-monitor man page Phil Sutter
2019-07-31 16:39 ` [iptables PATCH 3/5] xtables-monitor: Improve error messages Phil Sutter
2019-07-31 16:39 ` [iptables PATCH 4/5] xtables-monitor: Support ARP and bridge families Phil Sutter
2019-08-01 11:20 ` Pablo Neira Ayuso
2019-08-01 12:00 ` Phil Sutter [this message]
2019-08-01 12:30 ` Pablo Neira Ayuso
2019-08-01 12:33 ` Pablo Neira Ayuso
2019-08-01 12:41 ` Phil Sutter
2019-08-01 12:47 ` Pablo Neira Ayuso
2019-08-01 12:58 ` Phil Sutter
2019-08-01 13:03 ` Pablo Neira Ayuso
2019-08-01 14:20 ` Phil Sutter
2019-07-31 16:39 ` [iptables PATCH 5/5] xtables-monitor: Add family-specific aliases Phil Sutter
2019-07-31 17:45 ` Phil Sutter
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=20190801120048.GS14469@orbyte.nwl.cc \
--to=phil@nwl.cc \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@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 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.