>Sorry to repost on this, but my adding of those columns made it super slow >on large logfiles. >I couldn't tolerate it. > >Slapped it together in perl with a single iteration of the logfile, much >faster. >http://home.bsc.net/imgate/ghba.pl.txt > >If anyone wants it. Also added a few other pieces of info it can spit at ya. >Always sorts by IP
I get no output: mx4# /usr/local/bin/ghba.pl Preparing logfile, please wait...done Extract anvil logs...done Lookup Revdns... Done, next step: read in maillog Parse maillog file & count rejects/etc...done ==================================================== Report for: Mar 4 00:00:00 - Mar 5 00:00:00 smtpd_client_connection_rate_limit = 10 client_rate_time_unit = 1800 ==================================================== Anvil Reject UknUsr Recvd IP Address Hostname Len
