Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2005 09:31:43 -0400
From:      "Grant Peel" <gpeel@thenetnow.com>
To:        <freebsd-questions@freebsd.org>
Subject:   IPFW
Message-ID:  <004301c5b3b0$7ffa4010$6501a8c0@GRANT>

next in thread | raw e-mail | index | archive | help
Hi all,

After pouring through the manual and manpages, I suspect the answer is now, 
but I would really love to be wrong!

Is there a way to count bytes inbound and outbound for a specific ip using 
ipfw in a SINGLE RULE?

10000 count ip from 192.168.1.2 OR to 192.168.1.2 via em0

I know that above won't work, but hopefully it gets the question accoss!

To the dev guys, how about adding a 'through' or 'both' keyword!

example:

10000 count ip through 192.168.1.2 via em0

or

10000 count ip 192.168.1.2 both via em0

-Grant 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004301c5b3b0$7ffa4010$6501a8c0>