Date: Wed, 17 Feb 1999 14:27:06 +0100 (MET) From: Emmanuel Duros <Emmanuel.Duros@sophia.inria.fr> To: freebsd-bugs@freebsd.org Cc: luigi@labinfo.iet.unipi.it Subject: RE: Dummynet & ipfw: kernel crashes ! Message-ID: <199902171327.OAA27036@chouette.inria.fr>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902171327.OAA27036>