Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  1 Nov 2002 22:46:59 -0500 (EST)
From:      Chris Pepper <pepper@reppep.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Luigi Rizzo <luigi@FreeBSD.org>
Subject:   kern/44843: ipfw -t l doesn't align columns quite right
Message-ID:  <20021102034659.E3811AC42@www.reppep.com>

next in thread | raw e-mail | index | archive | help

>Number:         44843
>Category:       kern
>Synopsis:       ipfw -t l doesn't align columns quite right
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 02 20:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pepper
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD www.reppep.com 4.7-STABLE FreeBSD 4.7-STABLE #6: Sun Oct 20 18:15:59 EDT 2002 root@www.reppep.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	"ipfw -t l" doesn't align columns very well.
	With "ipfw -t l", rules that haven't been triggered yet should leave 6 more characters of space in the date/time column, so they line up right with rules that have actual dates in the column.

	An example from ipfw1 in FreeBSD 4.7-STABLE follows:

[www:~] root# ipfw -t l
00100 Fri Nov  1 22:40:38 2002 allow ip from any to any via lo0
00200                    deny ip from any to 127.0.0.0/8
00300                    deny ip from 127.0.0.0/8 to any
00400                    check-state
00500 Fri Nov  1 22:40:50 2002 allow tcp from any to any established
00600                    allow ip from any to any frag
00700 Fri Nov  1 21:55:37 2002 allow tcp from 10.0.0.10 to any setup
00800 Fri Nov  1 22:40:50 2002 allow ip from 10.0.0.10 to any

	
>How-To-Repeat:
	
>Fix:
	For rules with no last accessed time, add 6 more spaces to the date/time column.
	


>Release-Note:
>Audit-Trail:
>Unformatted:

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?20021102034659.E3811AC42>