adding a security log

Hi all, I just see the useful mailman fail2ban jail posted bu jimpop : https://code.launchpad.net/~jimpop/mailman/security-logging <https://code.launchpad.net/%7Ejimpop/mailman/security-logging> But I don't figure out how to add a mailman security log which will contain Authentication Failure entries, and a web search don't return anything.
Can someone explain me how to do that ? Thanks a lot.
R.C

On Tue, Jan 14, 2014 at 9:49 AM, renaud courvoisier <renaud.courvoisier@ecole-art-aix.fr> wrote:
Hi all, I just see the useful mailman fail2ban jail posted bu jimpop : https://code.launchpad.net/~jimpop/mailman/security-logging <https://code.launchpad.net/%7Ejimpop/mailman/security-logging> But I don't figure out how to add a mailman security log which will contain Authentication Failure entries, and a web search don't return anything.
Can someone explain me how to do that ?
Hi,
There are many things that can break, depending on Mailman version differences, other mods, etc., so make a good backup first.
Download a "diff" of the security-logging changes from this URL:
http://bazaar.launchpad.net/~jimpop/mailman/security-logging/revision/1375?s...
Copy the 1375_1374.diff file to your mailman/ home directory (the directory containing Mailman/ bin/ cron/ scripts/ etc), and then apply it with this command:
patch -p0 -b -V numbered < 1375_1374.diff
You will need to restart mailman afterwards, and then check mailman/logs/errors (for any errors) and check to make sure mailman/logs/security exists. Then try a few failed login attempts on one of your lists.
Hth,
-Jim P.
participants (2)
-
Jim Popovitch
-
renaud courvoisier