ipfw pipe show

Jim Flowers jflowers at ezo.net
Thu Feb 21 16:14:48 UTC 2008


I'm struggling to understand pipes.  Most of it I get or know how to find the
answer but there is one thing that is still a puzzle.

I have a pipe configured as:

ipfw pipe 2 config bw 768Kbit/s queue 20Kbytes

When I use `ipfw -s 4 pipe 2 show, one bucket is shown:

00002: 768.000 Kbit/s    0 ms  20 KB 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     12.###.##.77/80      88.###.##.175/2200  10565  8421549  0    0 103

I understand that there is only one bucket but how are the source and
destination ip addresses and ports chosen to be displayed from all that are
routed to the pipe?  Do they have any significance?

While I'm at it this pipe has a 768 Kbps bw limit and is currently running at
less than 250 Kbps.  Why are packets still being dropped at the rate of about
1%, fairly consistently?

Thanks.
--
Jim Flowers <jflowers at ezo.net>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the freebsd-questions mailing list