Hi Openmediavault Community,
How can i install the Fail2ban plugin on Openmediavault 4 Arrakis?
Best Regards,
HydrexHD
Hi Openmediavault Community,
How can i install the Fail2ban plugin on Openmediavault 4 Arrakis?
Best Regards,
HydrexHD
How can i install the Fail2ban plugin on Openmediavault 4 Arrakis?
You can't. It hasn't been ported to OMV 4.x.
when i can download fail2ban for OMV 4?
when i can download fail2ban for OMV 4?
When someone (other than me) ports it.
Can you do something to make it faster so fail2ban is availabel for OMV 4?
Can you do something to make it faster so fail2ban is availabel for OMV 4?
Um, no. I don't want to port it (never used fail2ban). You would have to bug the original author to port it.
when i can download fail2ban for OMV 4?
Is there some reason you can not install and configure it by hand?
Is there any alternative for fail2ban?
Is there any alternative for fail2ban?
Which services are you trying to protect? I use denyhosts to protect sshd, bu there is no plugin for it, you will have to install and configure it by hand.
I think he developed the plugin.
Just a warning... It has been over a year since he committed to the plugin.
if you need help setting up fail2ban + automatic abuseIPDB report PM me.
Just spend the last few days making it work ... on a Debian
Hello guys,
I'm running on OMV4 today, and need Fail2Ban plugin too.
Hello guys,
I'm running on OMV4 today, and need Fail2Ban plugin too.
same here ...
Here is a testing version of the plugin for 4.x - http://omv-extras.org/testing/…ault-fail2ban_4.0_all.deb
Here is a testing version of the plugin for 4.x - http://omv-extras.org/testing/…ault-fail2ban_4.0_all.deb
Thanks for the test version. Works like a charm, but only after doing a
rm /etc/fail2ban/jail.d/defaults-debian.conf
Otherwise the server will error out when started
Thanks for the test version. However - doesn't work
Here the syslog
Strange since it is running on my test system:
$ systemctl status fail2ban
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-11-30 09:58:47 CST; 2h 33min ago
Docs: man:fail2ban(1)
Process: 19618 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=0/SUCCESS)
Main PID: 19631 (fail2ban-server)
Tasks: 1 (limit: 4915)
Memory: 9.6M
CPU: 202ms
CGroup: /system.slice/fail2ban.service
└─19631 /usr/bin/python3 /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fai
Have you made any changes that will update the config file? I guess I can have it automatically do that on installation.
But I still need people to tell me what is wrong with the config file it is generating since I don't use fail2ban.
I'm still checking the plugin. One file has to be removed from the package:
rm /etc/fail2ban/jail.d/defaults-debian.conf
This causes the server to error out
If I encounter anything else, I will post it here. Right now, it looks good though
One thing is fishy about the config.xml: Two jails have the same UUID. This causes one jail not to show up in the list (nginx-404).
<jail>
<uuid>4e3a2d25-326c-4dc8-bc05-22f303a62b75</uuid>
<enable>0</enable>
<name>nginx-404</name>
<port>http,https</port>
<maxretry>3</maxretry>
<bantime>-1</bantime>
<filter>nginx-404</filter>
<logpath>/var/log/nginx*/*access*.log</logpath>
</jail>
<jail>
<uuid>4e3a2d25-326c-4dc8-bc05-22f303a62b75</uuid>
<enable>0</enable>
<name>omv-webgui</name>
<port>http,https</port>
<maxretry>3</maxretry>
<bantime>-1</bantime>
<filter>omv-webgui</filter>
<logpath>/var/log/auth.log</logpath>
</jail>
Display More
One file has to be removed from the package:
rm /etc/fail2ban/jail.d/defaults-debian.conf
This causes the server to error out
This is why I asked if you made any changes because it will remove the file - https://github.com/OpenMediaVa…vault/mkconf/fail2ban#L41
New version will remove it at install.
One thing is fishy about the config.xml: Two jails have the same UUID. This causes one jail not to show up in the list (nginx-404).
This has actually always been this way looking at the code. I just fixed it and put a new version of the plugin in the same download location.
Don’t have an account yet? Register yourself now and be a part of our community!