Sunnz <[email protected]> writes:

> Just wondering if there is a way to measure how much data have moved
> through my obsd router for a given frame of time? E.g. 300 MB today
> between 2pm ~ 5pm?

There are several ways.  As Jason mentioned, you could use pflow(4) to
export traffic data and play with various flow based tools.  One other
possibly useful approach is to attach labels to your rules and
summarize to a log file at intervals.  Both approaches let you play
with measurement on a rule level, but I think perhaps there are more
fun toys available if you go the pflow aka netflow route.

- Peter
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to