Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 1999 19:26:32 -0700 (PDT)
From:      jhroyer@joher.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/11881: when a dummynet pipe is encountered it stop parsing other rules
Message-ID:  <19990525022632.B883014FA1@hub.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 24 19:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>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?19990525022632.B883014FA1>