kern/119661: [pf] "queue (someq, empy_acks)" doesn't work

clemens fischer ino-news at spotteswoode.dnsalias.org
Mon Jan 14 14:20:03 UTC 2008


>Number:         119661
>Category:       kern
>Synopsis:       [pf] "queue (someq, empy_acks)" doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 14:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     clemens fischer
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD spotteswoode.dnsalias.org 7.0-PRERELEASE
FreeBSD 7.0-PRERELEASE #4: Sat Dec 29 14:03:11 CET 2007
root at spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott_fbsd7_i386
i386

>Description:

pf.conf(5) mentions the possibility of routing empty tcp acks or
low-delay packets using the notation "queue (some_queue, empty_acks)" in
any rule to expedite this type of packets.  there are also examples in
usr/share/examples/pf/ for this.  the feature doesn't work.

>How-To-Repeat:

try a ruleset like this:

  altq on nic0 bandwidth 1Mb cbq queue { dflt, background, interactive, tcp_ack }
  queue dflt bandwidth 15% cbq(default)
  queue interactive bandwidth 50% priority 5 cbq(borrow)
  queue background  bandwidth 30% priority 3 cbq(red)
  queue tcp_ack bandwidth 5% priority 7 cbq(borrow)
  ...
  pass out proto tcp from any to any \
    queue (interactive, tcp_ack)

this ruleset isn't parsed at all in that this rule doesn't appear in the
listing output by "pfctl -sa".  if the last line is changed to "queue
interactive", the rule is listed and works.

>Fix:

none known.  i bet it's the parser.

regards, clemens
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list