Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 20:30:15 +0100 (MET)
From:      Emmanuel Duros <Emmanuel.Duros@sophia.inria.fr>
To:        freebsd-bugs@freebsd.org
Subject:   Dummynet & ipfw: kernel crashes !
Message-ID:  <199902161930.UAA18856@chouette.inria.fr>

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

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?199902161930.UAA18856>