From owner-freebsd-ipfw@FreeBSD.ORG Mon Mar 24 14:22:13 2008 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C7BD1065672 for ; Mon, 24 Mar 2008 14:22:13 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id F0BB98FC27 for ; Mon, 24 Mar 2008 14:22:12 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from anb.p.matik.com.br (anb.p.matik.com.br [200.152.83.34] (may be forged)) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id m2OEMCZ3051780; Mon, 24 Mar 2008 11:22:12 -0300 (BRT) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-ipfw@freebsd.org Date: Mon, 24 Mar 2008 11:21:33 -0300 User-Agent: KMail/1.9.7 References: <18292fe60803240107v1462a87v4222790745844d5d@mail.gmail.com> <200803240727.05809.asstec@matik.com.br> <47E78B92.4020907@yandex.ru> In-Reply-To: <47E78B92.4020907@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200803241121.34059.asstec@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: "Andrey V. Elsukov" , Alexander Shulikov Subject: Re: kern/121955: [ipfw] [panic] freebsd 7.0 panic with mpd X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 14:22:13 -0000 On Monday 24 March 2008 08:08:02 Andrey V. Elsukov wrote: > AT Matik wrote: > > what do you mean? By setting to 0 the packages are not re-injected into > > the pipe but go through other existing rules after the matching pipe, or > > not? > > When you reset net.inet.ip.fw.one_pass to zero, packets return back > into ipfw to the next rule after dummynet/netgraph. And if you have > similar rules packets will be passed into dummynet/netgraph again. > > This is example how to get double fault (from mail archive): > jaaa well but that is the famous bw 0 example which is not valid, as by its= elf=20 certainly an invalid config, not connected to the existing problem the=20 reporter has I guess Jo=E3o > ifconfig em0 192.168.0.2/24 > kldload ipfw > kldload dummynet > sysctl net.inet.ip.fw.one_pass=3D0 > ipfw pipe 2 config bw 0 > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ipfw add 2 pipe 2 ip from any to any > ping 192.168.0.1 =2D-=20 Atenciosamente, J.M. Respons=E1vel Plant=E3o Site Support Matik Infomatik Internet Technology (18)3551.8155 =A0(18)8112.7007 http://info.matik.com.br A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br