Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 10:32:41 +0000
From:      Robin Becker <robin@reportlab.com>
To:        freebsd-questions@FreeBSD.org
Subject:   duplicate message removal
Message-ID:  <47BFF649.9060104@jessikat.plus.net>

next in thread | raw e-mail | index | archive | help
We have a bunch of FreeBSD 6.x servers which we administer remotely. As 
part of that we get the normal root job mails emailed to a mailing list 
which the admins(mostly me) can inspect at leisure and also use for 
historical purposes.

Trouble is many of the emails get huge because of repeated messages 
typically stuff like

xxx.yyy.com login failures:
Feb 22 20:07:54 app3 sshd[56886]: reverse mapping checking getaddrinfo 
for 216-194-26-66.ny.ny.metconnect.net failed - POSSIBLE BREAKIN ATTEMPT!

etc etc

All these servers are running denyhosts, but we still see lots of these 
messages.

I was wondering if there's any simple compression script which notices 
the repetitions (apart from timestamp) and can remove the many 
duplicates etc etc.
-- 
Robin Becker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BFF649.9060104>