Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 23:04:48 -0800
From:      =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= <ask@develooper.com>
To:        freebsd-stable@freebsd.org
Subject:   altq assertion / kernel panic
Message-ID:  <f82f97d8720d7c9deb5a0e0f06a85d38@develooper.com>

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

I was experimenting with PF and ALTQ on a netbooted Soekris 4801 when I 
got this after "pfctl -f /etc/pf.conf".

altq assertion "ifq->ifq_len == 0" failed: file 
"/usr/src/sys/contrib/altq/altq/altq_subr.c", line 256

Sadly I can't reproduce it, and I don't recall what the previous 
iterations of the pf.conf were like.

I'm using RELENG5 as of a couple of days ago plus the if_bridge patch at
http://www.pfsense.org/downloads/bridge.patch.041215 if that makes a 
difference.


  - ask

<snip>
int_if = "sis0"
ext_if = "sis1"

table <localpublic> { 64.81.84.115, 64.81.84.162, 64.81.84.165, 
64.81.84.164, \
         64.81.84.17, 64.81.84.141, 64.81.84.114, 64.81.84.140 }

table <rfc1918> const { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }
table <spammers> persist

altq on $ext_if priq bandwidth 700Kb queue { std_out, voip_out, 
ssh_out, dns_out, tcp_ack_out }
queue std_out  priq(default)
queue ssh_out  priority 4 priq(red)
queue dns_out  priority 5
queue tcp_ack_out priority 8
queue voip_out priority 10


#queue std bandwidth 50% cbq(default borrow)
#queue ssh bandwidth 25% { ssh_login, ssh_bulk }
#  queue ssh_login bandwidth 25% priority 6 cbq(ecn borrow)
#  queue ssh_bulk  bandwidth 75% priority 4 cbq(ecn borrow)
#queue voip bandwidth 25% priority 7 cbq(borrow)


block in on $ext_if from { <rfc1918>, <spammers> } to any
block out on $ext_if from 10.0.201.0/24 to any

#block from any to 63.251.223.170

#block in  all
#block out all

#pass out on $ext_if proto tcp from any to any port 22 queue(ssh_bulk, 
ssh_login)
#pass out on $ext_if from 10.0.201.21 to any queue(voip)
</snip>

-- 
http://www.askbjoernhansen.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f82f97d8720d7c9deb5a0e0f06a85d38>