From owner-freebsd-bugs@FreeBSD.ORG Sat May 3 06:40:00 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F317B106566B for ; Sat, 3 May 2008 06:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D44238FC20 for ; Sat, 3 May 2008 06:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m436e0hY062600 for ; Sat, 3 May 2008 06:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m436e0sr062599; Sat, 3 May 2008 06:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 3 May 2008 06:40:00 GMT Resent-Message-Id: <200805030640.m436e0sr062599@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edwin Groothuis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D66481065676 for ; Sat, 3 May 2008 06:31:06 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id A0E8C8FC15 for ; Sat, 3 May 2008 06:31:06 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id D70C32218A25; Sat, 3 May 2008 16:31:05 +1000 (EST) Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 8DF8C21B2BC0 for ; Sat, 3 May 2008 16:31:05 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id 37C5A2218804 for ; Sat, 3 May 2008 16:31:05 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 0C52F31A; Sat, 3 May 2008 16:31:05 +1000 (EST) Message-Id: <20080503063105.0C52F31A@k7.mavetju> Date: Sat, 3 May 2008 16:31:05 +1000 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/123358: [ipfw] ipfw add 1000 allow IP from any to any doesn't work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 06:40:01 -0000 >Number: 123358 >Category: kern >Synopsis: [ipfw] ipfw add 1000 allow IP from any to any doesn't work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 03 06:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 6.3-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Sun Feb 17 22:11:52 EST 2008 edwin@k7.mavetju:/usr/src/sys/i386/compile/SMP i386 >Description: Loading an ipfw rule with "IP" instead of "ip" will enter the rule properly in the list, but it never gets matched. >How-To-Repeat: [/home/edwin] root@k7>ipfw add 100 allow IP from any to any 00100 allow ip from any to any [/home/edwin] root@k7>ipfw add 100 allow ip from any to any 00100 allow ip from any to any [/home/edwin] root@k7>ipfw -a list 00100 0 0 allow ip from any to any 00100 922 168617 allow ip from any to any 65535 182 20023 deny ip from any to any The first entry should be increasing, not the second. >Fix: >Release-Note: >Audit-Trail: >Unformatted: