+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: RoundCube Fail2Ban Plugin

  1. #1
    mdr's Avatar
    mdr
    mdr is offline Registered User
    Join Date
    Aug 2008
    Location
    Saint Paul, MN, USA
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default RoundCube Fail2Ban Plugin

    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.

  2. #2
    oldschool's Avatar
    oldschool is offline Registered User
    Join Date
    Jul 2007
    Posts
    173
    Downloads
    8
    Uploads
    0

    Default

    Niiice, will have a try...


    Thanx!

  3. #3
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    thanks for the plugin. please consider adding it to the Plugin_Repository
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  4. #4
    oldschool's Avatar
    oldschool is offline Registered User
    Join Date
    Jul 2007
    Posts
    173
    Downloads
    8
    Uploads
    0

    Default

    I would like to inform you all it´s working great on Suse 11.1 after small modifications.

    :-)



    Rgds.

  5. #5
    mdr's Avatar
    mdr
    mdr is offline Registered User
    Join Date
    Aug 2008
    Location
    Saint Paul, MN, USA
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    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.

  6. #6
    oldschool's Avatar
    oldschool is offline Registered User
    Join Date
    Jul 2007
    Posts
    173
    Downloads
    8
    Uploads
    0

    Default

    Hi!

    The jail.conf needs little modifications...


    Thanx!

  7. #7
    mdr's Avatar
    mdr
    mdr is offline Registered User
    Join Date
    Aug 2008
    Location
    Saint Paul, MN, USA
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    oldschool, how did you need to modify the jail.conf file?

  8. #8
    jannol is offline Registered User
    Join Date
    Aug 2009
    Posts
    1
    Downloads
    2
    Uploads
    0

    Default

    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.

  9. #9
    oldschool's Avatar
    oldschool is offline Registered User
    Join Date
    Jul 2007
    Posts
    173
    Downloads
    8
    Uploads
    0

    Default

    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.

  10. #10
    Wake is offline Registered User
    Join Date
    Aug 2009
    Posts
    2
    Downloads
    2
    Uploads
    0

    Default

    GOOD plugin

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

LinkBacks (?)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts