Subject: ALTQ crash on netbsd-4
To: None <current-users@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: current-users
Date: 05/15/2007 16:59:45
Hi,

I can make netbsd-4 crash with an ALTQ line like this:

    filter wm3 consind_cityreach 146.101.246.0 netmask 0xffffffe0 0 0 0 0

which as the manual states is:
    filter  if_name class_name filter_values

and filter_values:
    dst_addr [netmask mask] dport src_addr [netmask mask] sport proto

so it looks legal to me. but panics away!

here is the rest of the file:

16:54 hadrian:~# grep -v ^# /etc/altq.conf
interface wm3 bandwidth 100M hfsc
class hfsc wm3 def_class root pshare 55 default
class hfsc wm3 consind  root pshare 45 grate 45M
class hfsc wm3 consind_cityreach consind  pshare 20 grate 10M
filter wm3 consind_cityreach 146.101.246.0 netmask 0xffffffe0 0 0 0 0
16:57 hadrian:~# uname -a
NetBSD hadrian.playlouder.com 4.0_BETA2 NetBSD 4.0_BETA2 (FW-$Revision: 1.2 $) #1: Thu Apr 26 01:50:11 BST 2007 root@hadrian.playlouder.com:/usr/src/netbsd-4/sys/arch/i386/compile/FW i386

-- 
 hail eris
 http://rubberduck.com/