Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 20:28:13 +0300
From:      Pavel Zhovner <pavel@zhovner.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Flush queues in pipe
Message-ID:  <CAMLERaz3dskLgXwN-6M1x43E%2BBeVzvk36Vg=%2BVrGYBgajB5xWw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMLERaz3dskLgXwN-6M1x43E%2BBeVzvk36Vg=%2BVrGYBgajB5xWw>