Flush queues in pipe

Pavel Zhovner pavel at zhovner.com
Thu Jul 21 17:56:49 UTC 2011


Hello. I need to count incoming packets for each tcp connection. For this I do:

ipfw  pipe 1 config mask src-ip 0xffffffff dst-ip 0xffffffff buckets 1024
ipfw  add pipe 1 tcp from any to me in dst-port 80

then i can see packets count for each connection by typing "ipfw pipe 1 show"


But i can't find how to flush all queues in pipe.

The following commands

ipfw pipe zero
ipfw queue zero

 returns "Accounting cleared" but nothing actually happend.

I try it on freebsd 7.3 and  8.2


More information about the freebsd-ipfw mailing list