Does "ipfw pipe 1 config bw tun0" work under 5.1?

Josh Osborne wfpi.20.stripes at antichef.com
Thu Aug 14 20:04:59 PDT 2003


I'm running "5.1-RELEASE" on a machine and I'm attempting to do a little
bit of traffic shaping.

ipfw queue list looks like this:

00001: tun0    0 ms   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00001: weight 1 pipe 1   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00080: weight 100 pipe 1   50 sl. 1 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
  0 tcp     157.15.34.14/49160   66.35.250.150/80      56     4780 50 4480   5

Whatever traffic I assign to pipe 1 (via one of the queues at least)
shows up in that last line there, but never leaves the queue.  I
can see the packet counts going up (TCP retries I assume) and then
the connection times out.

I'm using ppp, and ifconfig shows tun0 as the interface I'm using
(as opposed to tun1, or something else).  I'm not sure what else to
try here.

So does "ipfw pipe 1 config bw tun0" really work in 5.1-RELEASE,
or is it busted?


More information about the freebsd-ipfw mailing list