pflog summary script?
keramida at ceid.upatras.gr
Fri Nov 25 03:38:25 GMT 2005
On 2005-11-24 19:33, JD Bronson <jbronson at wixb.com> wrote:
> Does anyone have a simple shell/perl script that can take
> /var/log/pflog and parse it into a simple txt or html?
> I would like to cron a script that can clean up the output of pflog
> and put it into something more readable...
> Basically something that looks like:
> Time - SourceIP - Destination Port
> or a count of these as well.
I think what you want is something like the scripts included in these posts:
They are far from perfect and definitely not what I'd call "production
quality", but they will serve fine as a starting point while you write
your own, I guess ;)
More information about the freebsd-questions