Re: (fwd) bin/47196: ipfw won't format correctly output from 'ipfw show' command

Giorgos Keramidas <[email protected]> Fri, 24 Jan 2003 22:34:31 +0200
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
On 2003-01-24 20:02, Maxim Konovalov <[email protected]> wrote:
> Yes, you are right. Revert 1.103 a little more. Note we always show
> packets/bytes for dynamic rules.

This looks fine and works great here:

cohen# ./ipfw show
00030 2204558 10260392610 allow tcp from 127.0.0.1 to 127.0.0.1 keep-state
65535    1248      102784 deny ip from any to any
## Dynamic rules (5):
00030  114513   209251936 (300s) STATE tcp 127.0.0.1 49605 <-> 127.0.0.1 19
cohen#

Note that the first line contains a rule whose bytecount has exceeded
9,999,999,999 and needs more than 10 digits to print properly :-)

Please commit it and close PR bin/47196 if nobody else objects or has
comments and/or corrections.

- Giorgos

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message