Roundcube Community Forum

 

RoundCube Fail2Ban Plugin

Started by mdr, July 09, 2009, 09:20:29 AM

Previous topic - Next topic

oldschool

#15
Update for Opensuse 11.1:

--- schnipp ---
[roundcube]
# 0.3 and up plugin-support

enabled = true
filter = roundcube
action = route
sendmail-whois[name=RC-Webmail, [email protected], sender=fail2ban]
logpath = /srv/www/htdocs/webmail/logs/userlogins
--- schnapp ---

The Route-Ban Action:

--- schnipp ---
# Fail2Ban configuration file
[Definition]
actionban = ip route add unreachable ;
actionunban = ip route del unreachable ;
--- schnapp ---

The IP-Table ban action makes probs.
So this route-action is more usefull for Opensuse.




Rgds.

qnrq

Why don't you just set imap rules for fail2ban?

oldschool

Quote from: qnrq;28696Why don't you just set imap rules for fail2ban?

If you asked me:
As stated above, got some probs with MY opensuse systems.
So i decided to use the route command...

And the effect is the same: the blackhead is banned!
;)



Rgds.

mattfox27

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...

JohnDoh

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 Plugins: Contextmenu, SpamAssassin Prefs, and more...

mattfox27

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.

oldschool

Quote from: mattfox27;30406Ya 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.

Hi!

Take a look at the original files.

There are 3 groups:
- config
- filter
- action

It´s not so hard to understand the conception...


Rgds.