[EMAIL PROTECTED] wrote: > Ben, > > You might like to use IPFilter to do accounting instead. > > If you're just looking to count packets and bytes for a source, > destination or any combination thereof, you can add rules like this: > > count in on bge0 from 1.2.3.4 to 5.6.7.8 > > And view the results with: > > ipfstat -aio > > If you wanted to do per-flow, for TCP connections or UDP, > you would use "keep state" rules and modify the way in > which ipmon is started to report creation/deletion events > for state tracking.
Good suggestion. What I need to count is bandwidth use per zone. My initial plan was to collect the data via Flow Accounting and then month troll the data counting up all transactions to or from the zone IP address and then reporting that. To some extent I think that using IPFilter might be more complex than Flow Accounting, but I'll examine both option. My own lack of experience with IPFilter would be the biggest burden. benr. _______________________________________________ networking-discuss mailing list [email protected]
