Menu

fail2ban module does not show up in webmin

Webmin
2015-02-26
2015-03-03
  • Rich Painter

    Rich Painter - 2015-02-26

    I added fail2ban package to my system centos 5.11. I am running webmin 1.730. I have attempted twice to add the webmin module fail2ban from the webmin module interface using standard webmin module, no ignore dependencies and grant access to all webmin users. It reports each time:
    Downloading fail2ban.wbm.gz (323 bytes) ..
    Downloading http://download.webmin.com/download/modules/fail2ban.wbm.gz (49.40 kB) ..
    Received 1024 bytes (2 %)
    Received 5 kB (10 %)
    Received 10 kB (20 %)
    Received 15 kB (30 %)
    Received 20 kB (40 %)
    Received 25 kB (50 %)
    Received 30 kB (60 %)
    Received 35 kB (70 %)
    Received 40 kB (80 %)
    Received 45 kB (91 %)
    Received 49.40 kB (100 %)
    .. download complete.
    The following modules have been successfully installed and added to your access control list :

    Fail2Ban Intrusion Detector in /usr/libexec/webmin/fail2ban (304 kB) under category Networking
    

    However, it never shows up on any of the left-side menus. I have tried refreshing modules. Nothing works. This is 100% repeatable.

    Any ideas on what is wrong?

     
  • Jan Grill

    Jan Grill - 2015-02-26

    Fail2ban webmin module is standard module in Webmin since 1.670 and is installed with Webmin automatically. Do You have fail2ban service properly installed and running?
    Do You have fail2ban at least in Webmin Un-used modules?
    In Centos 5.5 and, currently, in Centos 6.6 is all O.K. I'm using fail2ban 0.8.14-1.el6, installed from rpm package. For fail2ban configuration I don't use a webmin module, I prefer to edit fail2ban config file(s) direct. Using Webmin module is little more complicated for me.

     
  • Rich Painter

    Rich Painter - 2015-03-03

    Not in the unused modules. I checked when fail2ban was first installed and I didnt see it in Networking. After repeating the module install it still does not show up. All other aspects of web min are working fine. the webmin file /etc/webmin/fail2ban/config has in it:
    init_script=fail2ban
    client_cmd=/usr/bin/fail2ban-client
    server_cmd=/usr/bin/fail2ban-server
    config_dir=/etc/fail2ban

    ps shows:
    root 3443 1 0 21:14 ? 00:00:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock

    If I type fail2ban into the webmin search it reports:
    No Webmin modules or pages matching fail2ban were found.

    If I go to the Webmin Config for webmin modules and select the Delete tab I can see "Fail2Ban Intrusion Detector" on the list.

    How can this be?

    What else is there to do? Is there some webmin debug that will show why fail2ban is not showing up?

     

Log in to post a comment.

MongoDB Logo MongoDB