From owner-freebsd-bugs Sat Nov 2 20:50: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0571537B404 for ; Sat, 2 Nov 2002 20:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D3BC43E75 for ; Sat, 2 Nov 2002 20:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA34o1x3015790 for ; Sat, 2 Nov 2002 20:50:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA34o1PI015789; Sat, 2 Nov 2002 20:50:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B5CF37B401; Sat, 2 Nov 2002 20:41:49 -0800 (PST) Received: from www.reppep.com (www.reppep.com [66.92.104.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A1DA43EAC; Sat, 2 Nov 2002 20:41:45 -0800 (PST) (envelope-from pepper@reppep.com) Received: by www.reppep.com (Postfix, from userid 501) id E3811AC42; Fri, 1 Nov 2002 22:46:59 -0500 (EST) Message-Id: <20021102034659.E3811AC42@www.reppep.com> Date: Fri, 1 Nov 2002 22:46:59 -0500 (EST) From: Chris Pepper Reply-To: Chris Pepper To: FreeBSD-gnats-submit@FreeBSD.org Cc: Luigi Rizzo X-Send-Pr-Version: 3.113 Subject: kern/44843: ipfw -t l doesn't align columns quite right Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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