jannol, since the client is blocked at the IP level and not via RoundCube, the blocked user is no longer "talking" to your webserver so we can not show a message saying anything.
If the blocked client were to do a <Shift> refresh they should get a "Server not found" type message since the webserver will no longer respond to that clients IP address.
I've got 2 Roundcube incarnations on a web hosters resource.
The one which triggers the localhosts IMAP does work.
The one which triggers another IMAP server on a different host does not work. The log\userlogins file gets entries, but I can do failures as many as I want, I'm not getting locked. Whats wrong? Of course RC plugin is active in the main config files array.
(rcdir\plugins\fail2ban\jail.conf)
(rcdir\plugins\fail2ban\filter.d\roundcube.conf)Code:[roundcube] enabled = true port = http,https filter = roundcube logpath = /www/htdocs/blah/rc_sks/logs/errors maxretry = 5 findtime = 300 bantime = 900 [roundcube-24hr] enabled = true port = http,https filter = roundcube-24hr logpath = /www/htdocs/blah/rc_sks/logs/fail2ban.log maxretry = 10 findtime = 1800 bantime = 86400
Thanks!Code:[Definition] failregex = IMAP Error: Authentication for .* \(\) failed \((?:LOGIN|AUTH)\): ignoreregex =
Last edited by oldschool; 12-06-2010 at 10:02 AM.
Update for Opensuse 11.1:
--- schnipp ---
[roundcube]
# 0.3 and up plugin-support
enabled = true
filter = roundcube
action = route
sendmail-whois[name=RC-Webmail, dest=root@weiss-du-doch.nett, sender=fail2ban]
logpath = /srv/www/htdocs/webmail/logs/userlogins
--- schnapp ---
The Route-Ban Action:
--- schnipp ---
# Fail2Ban configuration file
[Definition]
actionban = ip route add unreachable <ip>;
actionunban = ip route del unreachable <ip>;
--- schnapp ---
The IP-Table ban action makes probs.
So this route-action is more usefull for Opensuse.
Rgds.
Last edited by oldschool; 06-29-2010 at 12:52 PM.
Why don't you just set imap rules for fail2ban?
I'm trying to get this to work on IIS is there a semi- preconfigured folder or zip file? I have tried all the jail.conf and all that diffrent stuff and can't seem to get it to work...
IIRC there is no version of fail2ban for windows, do you have fail2ban installed?
(fail2ban is a bit of secuirty software, its nothing to do with roundcube)
Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…
Ya its installed but i just don't have it setup properly. There are many diffrent config version floating around i don't know which one to use.
There are currently 1 users browsing this thread. (0 members and 1 guests)