From owner-freebsd-stable Thu Dec 20 23:26:13 2001 Delivered-To: freebsd-stable@freebsd.org Received: from emu.dhsnames.com (emu.dhsnames.com [63.175.98.31]) by hub.freebsd.org (Postfix) with SMTP id 6905737B405 for ; Thu, 20 Dec 2001 23:26:08 -0800 (PST) Received: (qmail 7109 invoked from network); 21 Dec 2001 07:21:46 -0000 Received: from aworklan001038.netvigator.com (HELO yusufg.portal2.com) (203.198.151.38) by box.dhsnames.com with SMTP; 21 Dec 2001 07:21:46 -0000 Received: (qmail 11780 invoked by uid 500); 21 Dec 2001 07:23:54 -0000 Date: Fri, 21 Dec 2001 15:23:54 +0800 From: Yusuf Goolamabbas To: Luigi Rizzo Cc: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, cez@pkl.net Subject: Re: 4.4-stable kernel panic with dummynet/bridging. Same rules work fine with 4.3-RC Message-ID: <20011221152354.A11744@outblaze.com> References: <20011220111545.3327.qmail@yusufg.portal2.com> <20011220124859.A8969@iguana.aciri.org> <20011221120215.A10482@outblaze.com> <20011220230814.A11342@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011220230814.A11342@iguana.aciri.org> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Dec 20, 2001 at 11:08:14PM -0800, Luigi Rizzo wrote: > On Fri, Dec 21, 2001 at 12:02:15PM +0800, Yusuf Goolamabbas wrote: > > > > > > How repeatable is the problem ? It shouldn't be hard to track, it looks > > > like a null pointer dereference. > > > > 100% repeatable. The strange part is that the same rules including the > > ${fwcmd} add 400 pass udp from 0.0.0.0 2054 to 0.0.0.0 work perfectly > > with 4.3-RC > > the rule is just useless. do you have a sample case to trigger the > problem so i can try and see what is going on ? > range and office are edited out This is what I have, the basic idea is that fxp1 is connected to a switch and I want each machine on the switch to be restricted to 512kb/s ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any # If you're using 'options BRIDGE', uncomment the following line to pass ARP ${fwcmd} add 400 pass udp from 0.0.0.0 2054 to 0.0.0.0 ${fwcmd} add 500 pass all from ${range} to any in via fxp0 ${fwcmd} add 800 pipe 1 ip from ${range} to not ${office} in via fxp1 ${fwcmd} pipe 1 config mask src-ip 0x000000ff bw 512Kbit/s queue 50 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message