From owner-freebsd-bugs Wed Feb 17 5:27:28 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from chouette.inria.fr (chouette.inria.fr [138.96.24.103]) by hub.freebsd.org (Postfix) with ESMTP id 010BB10F61 for ; Wed, 17 Feb 1999 05:27:19 -0800 (PST) (envelope-from Emmanuel.Duros@sophia.inria.fr) Received: by chouette.inria.fr (8.8.8/8.8.5) id OAA27036; Wed, 17 Feb 1999 14:27:06 +0100 (MET) Date: Wed, 17 Feb 1999 14:27:06 +0100 (MET) Message-Id: <199902171327.OAA27036@chouette.inria.fr> From: Emmanuel Duros To: freebsd-bugs@freebsd.org Cc: luigi@labinfo.iet.unipi.it Subject: RE: Dummynet & ipfw: kernel crashes ! X-URL: http://www.inria.fr/rodeo/personnel/eduros Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Following my previous mail I discovered that there is an option in the kernel config file which, when using dummynet/ipfw, crashes the kernel. When using a kernel compiled with this option: options DIAGNOSTIC and executing ipfw as follows: $ ipfw pipe 1 config delay 50ms $ ipfw add pipe 1 ip from any to any the kernel crashes... This no longer occures when the option is commented out... Any comment on this ? Emmanuel Duros ---- Previous mail Hi all, I am trying to use dummynet but my kernel enters in panic mode... here follows a decsription of my configuration: FreeBSD version: 2.2.8-R Options in the kernel config file: options IPDIVERT # Divert sockets options DUMMYNET options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default dmesg output: $ dmesg FreeBSD 2.2.8-RELEASE #0: Mon Feb 15 20:09:11 CET 1999 eduros@lpacman.inria.fr:/usr/src/sys/compile/LPACMAN CPU: Pentium Pro (199.31-MHz 686-class CPU) ... de0: enabling 10baseT port IP packet filtering initialized, divert enabled, default to accept, logging disabled DUMMYNET initialized (980901) -- size dn_pkt 48 After booting I try the following pipe configuration: $ ipfw pipe 1 config delay 50ms and when I enter the next ipfw command: $ ipfw add pipe 1 ip from any to any and the station simply reboots (kernel in panic mode)... However the following commands work fine (and I get the expected delays): $ ipfw add pipe 1 ip from HostA to HostB $ ipfw add pipe 1 ip from Net/mask to Host It seems it is related to 'from any to any' I believe I do not have to patch anything since the dummynet is included in 2.2.8-R. Is there anything I can do ? Thanks a lot Emmanuel Duros To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message