[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ipfw count equivalent?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: ipfw count equivalent?
- From: Patrick Gibson <openbsd_list_(_at_)_patrickg_(_dot_)_com>
- Date: Fri, 26 Nov 2004 17:06:13 -0800
I searched through the archives, but could not find an answer to my
question, so here goes:
On our FreeBSD servers, we have several rules like:
ipfw add count ip from any to x.x.x.x
ipfw add count ip from x.x.x.x to any
... to keep track of how much traffic is going through a particular IP
address. Every night, I capture the data and zero the counters. We've
had an OpenBSD box around for a while now, but I haven't had too much
time to play with it until now. (Just upgraded from 3.4 to 3.6 -- the
easiest remote upgrade I ever did do!)
At any rate, I'd like to add some similar rules on this OpenBSD 3.6
machine so I can keep track of the data flowing through this machine
too. I've gone through the pf man pages, but I don't really see
anything that would let me setup a similar ruleset (my guess is I'm
looking for the wrong thing).
So, in short, I'd like to know what kind of ruleset I would need to
create just to have counters like this, and then of course, what
program do I use to output and zero the counters?
Thanks so much,
Visit your host, monkey.org