Niiice, will have a try...
Thanx!
I have been asked to build a plugin to allow Fail2Ban logging output from Roundcube. Last night I got around to doing it.
RoundCube Fail2Ban Plug in is a small plugin that will display failed login attempts to your syslog or userlogins log file. Using this information Fail2Ban be able to block a user for a set amount of time. The best part, the block is at the IP level and blocks the IP address, not the user they are try to log in as.
You should be able to just drop the top folder in your plugins director and add the entry to your main.php
RoundCube Fail2Ban Plugin
If you have any questions, let me know.
-Matt
Last edited by mdr; 11-19-2009 at 02:07 AM.
Niiice, will have a try...
Thanx!
thanks for the plugin. please consider adding it to the Plugin_Repository
Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…
I would like to inform you all it´s working great on Suse 11.1 after small modifications.
:-)
Rgds.
Great, it was built on Fedora, I'm glad it works under Suse. What modifications did you need to make?
JohnDoh, I have added it to the list, and I would like to thank you for the SpamAssassin User Prefs plugin. I have been using it since before it was a plugin, and it has always been a great feature.
Last edited by mdr; 08-02-2009 at 05:36 PM.
Hi!
The jail.conf needs little modifications...
Thanx!
oldschool, how did you need to modify the jail.conf file?
Very nice. Working just as it should I think, only thing is that when banned the login page just sits there trying to login forever pretty much.
Should it display some sort of message or something at login page?
I am using debian lenny and one little "special thingy" with my install is php-mdb2-driver-mysql_1.5.0b from backports to get mysql working with roundcube.
For me the jail looks like this on Opensuse 11.1:
--- schnipp ---
[roundcube]
# 0.3 and up plugin-support
enabled = false
port = http,https
filter = roundcube
action = iptables-multiport[name=roundcube, port="http,https"]
sendmail-whois[name=RC-Webmail, dest=root@weiss-du-doch.nett, sender=fail2ban]
logpath = /srv/www/htdocs/webmail/logs/userlogins
--- schnapp ---
Rgds.
GOOD plugin
There are currently 1 users browsing this thread. (0 members and 1 guests)