Submitted by sgrayban on Wed, 04/23/2014 - 09:08
I have been googling for a fail2ban webmin module and even though on the forum its been asked many times it's never been created.
fail2ban is widely used and it should be supported by webmin at the least if not VM.
Please think about this ???
https://www.virtualmin.com/node/13841
https://www.virtualmin.com/node/24401
http://sourceforge.net/p/webadmin/feature-requests/157/
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 04/23/2014 - 15:51 Comment #1
Yeah, this does come up a lot - I'll look into it. Especially since yesterday I had to manually blacklist a few IPs that were trying to brute-force my SSH password :-(
Submitted by sgrayban on Fri, 05/09/2014 - 19:21 Comment #2
Any updates to this ?
Submitted by JamieCameron on Fri, 05/09/2014 - 19:33 Comment #3
Yes - the module is about 80% done. See https://github.com/webmin/webmin/tree/master/fail2ban
Submitted by SteveHeinsch on Wed, 05/14/2014 - 16:26 Comment #4
There is also ConfigServer Security Firewall/Login Failure Daemon (CSF/LFD), which does also have a webmin package and does what fail2ban does (and more).
http://www.configserver.com/cp/csf.html
It includes the webmin module but you need to point webmin to the installed dir when installing the module from within webmin, which is explained in the install docs. It's then accessed via the webmin/system menu.
It's very powerful and user friendly. Ties into RBL's, etc.
Submitted by JamieCameron on Sat, 05/17/2014 - 00:18 Comment #5
The fail2ban module is complete, and will be included in the next Webmin release.
Submitted by sgrayban on Sat, 05/17/2014 - 03:22 Comment #6
Can't I just do a check out and install it ?
Submitted by sgrayban on Sat, 05/17/2014 - 04:01 Comment #7
I see a problem already.
For debian it is suggested that you use a jail.local file so that updates do not remove your jails. The default jail.conf only enables ssh.
Since there is no way to set the jail file the mod doesn't see what has been enabled.
Submitted by sgrayban on Sat, 05/17/2014 - 04:17 Comment #8
Found another bug -- file missing --> edit_jaildef.cgi in tab "Filter Action Jails" when you click on the bottom button "Edit Jail Defaults"
Submitted by JamieCameron on Sat, 05/17/2014 - 12:31 Comment #9
Thanks for checking this out early - I'll fix those up.
Submitted by Issues on Sat, 05/31/2014 - 12:41 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.