From: Rarig, H. <hr...@so...> - 2006-03-27 19:17:20
|
Nils, Try the attached "applyeurodate" file on for size. It is a rehash of my = original date matching script which should match "yesterday", "today", = and "all" in the logwatch print directive. Just replace the "applyeurodate" file in the latest logwatch files = release from Yaroslav with the "applyeurodate" script in the attached = tarball and I believe it will do the trick. =20 To see if it really works, try the following commands: logwatch --print --service fail2ban logwatch --range today --print --service fail2ban logwatch --range yesterday --print --service fail2ban logwatch --range all --print --service fail2ban (WARNING! This could = produce a lot of output!) Cheers! Harry -----Original Message----- From: fai...@li... [mailto:fai...@li...]On Behalf Of Nils Breunese (Lemonbit Internet) Sent: Monday, March 27, 2006 1:17 PM To: fai...@li... Subject: Re: [Fail2ban-users] Add fail2ban to your logwatch daily report Harry Rarig wrote: > Just make sure the README file warns that these logwatch files will =20 > not work with earlier versions of logwatch (e.g., version 5.2.2 =20 > which comes with Fedora Core 3) because of the "use Logwatch =20 > ':dates';" directive in /usr/share/logwatch/scripts/shared/=20 > applyeurodate. Users should be advised to upgrade their logwatch to =20 > the latest version (e.g. logwatch-7.2.1). Couldn't a version that works with 5.2.2 be made? Fedora Core 2, =20 Fedora Core 3 and CentOS 4 all have 5.2.2 rpms in their repositories =20 and I wouldn't want to upgrade all of my servers just to be able to =20 run this script. Nils. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting = language that extends applications into web and mobile media. Attend the live = webcast and join the prime developer group breaking into this new coding = territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Fail2ban-users mailing list Fai...@li... https://lists.sourceforge.net/lists/listinfo/fail2ban-users |