From nobody@FreeBSD.ORG Mon May 24 19:26:36 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B883014FA1; Mon, 24 May 1999 19:26:32 -0700 (PDT)
Message-Id: <19990525022632.B883014FA1@hub.freebsd.org>
Date: Mon, 24 May 1999 19:26:32 -0700 (PDT)
From: jhroyer@joher.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: when a dummynet pipe is encountered it stop parsing other rules
X-Send-Pr-Version: www-1.0

>Number:         11881
>Category:       kern
>Synopsis:       when a dummynet pipe is encountered it stop parsing other rules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 24 19:30:01 PDT 1999
>Closed-Date:    Tue Jun 27 01:23:18 PDT 2000
>Last-Modified:  Tue Jun 27 01:24:22 PDT 2000
>Originator:     Jean-Hugues Royer
>Release:        3.2-RELEASE & STABLE
>Organization:
>Environment:
3.2-RELEASE FreeBSD 3.2-RELEASE #4: Tue May 25 04:05:43 CEST 1999
>Description:
when a pipe is used in a rulesets no more rules are parsed after.

This is due to the change of fw_one_pass to 1 in ip_fw.c in 3.2r (it was 0 in 3.1r)the result is that when a packet go thru a pipe no more
rules after are being followed.

When changing back fw_one_pass to "0" using sysctl it works again but
dummynet is unstable and keeps loging:
-- warning, refcnt now 0, decreasing
-- warning, refcnt now -1, decreasing
-- warning, refcnt now -2, decreasing
...

>How-To-Repeat:
ipfw pipe 1 config bw 64K
ipfw add 100 pipe 1 ip from any to any
ipfw add 200 count log ip from any to any
ipfw add 300 pass all from any to any

the rule number "200" will never be parsed
>Fix:
good luck...

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Tue Jun 27 01:23:18 PDT 2000 
State-Changed-Why:  
While this problem has recurred at least once subsequently, the specific 
instance of this problem was solved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11881 
>Unformatted:
