queue to nonexistent?

Volker volker at vwsoft.com
Fri Sep 15 03:52:55 PDT 2006


Hi folks,

I'm not quite sure what's up but it seems like a bug.

Try the following (example, non-real world) example .conf:

if_int="vr0"
if_ext="ng0"

altq on $if_ext cbq bandwidth 64Kb queue { q_low}
queue q_low cbq( borrow rio default )

pass quick on $if_int all
pass quick on $if_ext proto icmp all queue ( nonexistent )
pass quick on $if_ext all queue ( q_low )

Why's pf not claiming about the nonexistent queue? It silently
accepts that.

bellona# pfctl -gf test1.conf
bellona# pfctl -sa
FILTER RULES:
pass quick on vr0 all
pass quick on ng0 proto icmp all queue nonexistent
pass quick on ng0 all queue q_low

ALTQ:
queue root_ng0 bandwidth 64Kb priority 0 cbq( wrr root ) {q_low}
queue  q_low bandwidth 64Kb cbq( rio borrow default )

Huh? Queueing to a nonexistent queue?

Greetings,

Volker


More information about the freebsd-pf mailing list