Contributed by sean on from the when you must have your pie chart dept.
Jason Dixon announces the release of Hatchet 0.8 - a PF log parser and web interface. He says this is a fairly signifcant release with bug fixes and focus on supporting the default OpenBSD httpd chroot "out of the box".
Hatchet is a log parsing/presentation program written for OpenBSD's PF logs. Hatchet uses a series of Perl regexes to match entries from the pflog logs. The log entries are stored in a SQLite database file, allowing for highly dynamic queries and statistics. Jason says that Hatchet should work fine with FreeBSD 5.x or NetBSD 2.x with the PF-enabled tcpdump.
(Comments are closed)
By Mr.Pantz (204.94.49.143) on http://www.pantz.org
I checked out a few PF log stats programs in the past. None gave me really what I wanted. All seemed like overkill or just not enough in other areas. I just wanted to see what ports attackers and scanners were hitting. And what IP's they were from. Mostly based on my default block policy.
So with my terrible Perl skills I wipped up a script that did just what I wanted. Shows top ports blocked and top IP's blocked. Then breaks it down with counts of ports per IP blocked and IP's per port blocked. It all dumps to an HTML file with simple tables.
If anyone is intrested its at:
http://www.pantz.org/os/openbsd/pantzpfstats.shtml
p.s - This was just modified to work with 3.7 as the log format changed ever so slightly.
Comments
By Anonymous Coward (216.238.113.174) on
Columns are: rule number, number of hits, number of bytes, rule text
Comments
By Anonymous Coward (69.110.155.206) on
Comments
By Anonymous Coward (63.119.50.193) on
Comments
By Anonymous Coward (69.197.92.181) on
By m0rf (68.104.57.241) on
horribly ugly, but works, doesn't check that it reads the right fields or anything. fixing it is left as an exercise for the reader.
Comments
By Anonymous Coward (68.104.57.241) on
Comments
By Bert (216.175.250.42) on
horribly ugly, but works, doesn't check that it reads the right fields or anything. fixing it is left as an exercise for the reader
Your brain needs exercise just as much as your pecs.
Comments
By Anonymous Coward (216.175.250.42) on
Man, giving up caffeine is hell...
By B.S.D Al (64.230.18.164) openbsd@otterhole.ca on http://www.otterhole.ca/pfrtg/
The link is included, pfrtg, but be careful, my web site is, er, old and near useless.
Output looks something like this:
This shows the top packet hit counts to my home, when the packets came my way by the hour, the source, number of different destination addresses in my class C, and the ports hit. Perhaps too simple, and the code too ugly, but the output seems more useful than anything else I've seen.