Date: Wed, 3 Apr 2002 13:10:02 -0800 (PST) From: David Malone <dwmalone@maths.tcd.ie> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/36683: Stop dynamic rules from displaying using ipfw list command Message-ID: <200204032110.g33LA2F91312@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/36683; it has been noted by GNATS.
From: David Malone <dwmalone@maths.tcd.ie>
To: Joe Barbish <barbish@a1poweruser.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/36683: Stop dynamic rules from displaying using ipfw list command
Date: Wed, 3 Apr 2002 22:01:11 +0100
On Tue, Apr 02, 2002 at 06:45:31PM -0800, Joe Barbish wrote:
> I would like to see 3 enhancements added to ipfw list command
>
> Add a flag to only list the rules
By default ipfw now only shows the static rules. You
must use "-d" to see the dynamic rules.
> Add a flag to only list the dynamic rules table.
One option would be:
ipfw -d show | awk '{ if (n) print $0 } /Dynamic/ { n=1 }'
> Add another option to only list dynamic rules associated with a firewall
> rule number.
I guess it might be an ipfw bug that "ipfw -d show 200" doesn't
show the dynamic rules corrisponding to rule 200 as well as the
static rules. I have a vague memory of a PR with patches for this.
David.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204032110.g33LA2F91312>
