No, not in the forums, at least when I searched it. I used Google to understand more about it. If you have the log lines I can help with the regex if you need help. Otherwise you can reference what I posted here when I created an OMV jail:
fail2ban jail for OMV GUI login?
openmediavault-fail2ban first version now available for testing
-
- OMV 1.0
- pr_bond
-
-
@cypour
Your Filter LoginFailureLogger don't exist ...
But i cant add a default subsonic Jail, add to todo list
see http://www.sublimigeek.fr/prot…es-auto-heberges-fail2ban@marc_al
For a default openvpn Jail, i'am ok, add to todo list
see https://blogs.fsfe.org/stefan.…-openvpn-logins-fail2ban/A lot of work ...
-
This is really doing my head in and I'm very pissed off...
There is no way to unban from gui.
And since I'm locked out from ssh by mistake
there seems to be no way to unban myself unless I go on-site.Can't we fix this somehow?
-
I'd suggest they set the default ban time to 10 minutes unless there is a way for people to unban themselves from the OMV gui.
-
-
fail2ban@server.localdomain isn't a good email address ! ?
Change email address
-
I did changed the domain in OMV web.
-
everything is ok.
-
work's on OMV 3.x?
-
soon
-
Fail2ban is working for me on 2.2.x, but I don''t get any email notifications (startup/banned status).
My OMV email notifications doesn't work either. -
If OVM email notification don't work, fail2ban email notification don't work...
Envoyé de mon SM-N9005 en utilisant Tapatalk
-
Yeah, I figure.
I"m doing troubleshooting tonight. -
I didn't realize the plugin was working in the latest OMV 3.x. I just installed it manually and everything works well. As for the email notifications, are the jail actions set to email (action_mw)? The default config is to ban only. I know I missed that at first. In addition, I had to configure Postfix to relay through Gmail.
-
You must not have upgraded OMV 3.x to the latest. It guarantee it will not work with OMV 3.0.13 or newer.
-
I do have the latest 3.0.24 installed; however, I did not install the plugin. I installed Fail2Ban via the apt package manager and configured it manually. I also needed to install some additional packages in order to configure Postfix to relay through Gmail. Although it was a little more work than install the package and go, its working well. IP addresses are being jailed, and I receive the notices via email.
-
Oh. OMV is just a web interface to Debian. Of course, installing a package and configuring it manually works. I thought you install the plugin manually.
-
I can't figure why my OMV email notification not working!
-
Have you narrowed it down to your mail client or Fail2Ban? Unfortunately, I have never seen the plugin, so here are a couple of things you can check/do manually to narrow down the source of the problem. Try checking the following.
1) Look at the Fail2Ban config file (/etc/fail2ban/jail.local) and see if mail is enabled.
From within a terminal shell (SSH or direct), enter
sudo nano /etc/fail2ban/jail.local
Scroll down to the ACTION and you should find one of the following line towards the end of the section:
action = %(action_)s
action = %(action_mw)s
action = %(action_mwl)sBoth action_mw or action mwl will send email. If the action is action_ no email will be sent, only the IP will be jailed. You can update this if needed then hit ctrl-x and save to exit.
You will need to restart Fail2Ban if you made any changes>
sudo service fail2ban restart2) Check to see if Postfix is working properly. Log into a terminal shell (SSH or direct) and enter the following command.
mail -s "Type Subject Here" recipient@domain.com
Check to see whether the email sent and/or whether any errors occurred. If it did not send, you will need to dig further into your Postfix configuration. -
@pr_pond
I'm currently using this software call 'glpi', and I couldn't find the documentation to add it to Fail2ban.
Hope you can help.source: http://glpi-project.org/spip.php?lang=en
Here are the details:GLPI path: /opt/glpi
Log: /opt/glpi/files/_log/event.log
Sample authentication log call 'event.log':Code
Alles anzeigen[login] 1: Failed login for user1 from IP ::ffff:70.33.11.00 2016-07-02 21:35:44 [@server] [login] 3: user1 logged in from IP ::ffff:70.33.11.00 2016-07-02 21:45:23 [@server] [login] 3: admin logged in from IP ::ffff:192.168.1.9 2016-07-02 22:13:24 [@server] [login] 3: admin logged in from IP ::ffff:192.168.1.9 2016-07-02 22:15:00 [@server] [login] 1: Failed login for user1 from IP ::ffff:70.33.11.00 2016-07-02 22:15:05 [@server] [login] 1: Failed login for user1rom IP ::ffff:70.33.11.00 2016-07-02 22:15:12 [@server] [login] 1: Failed login for user1 from IP ::ffff:70.33.11.00 2016-07-02 22:15:18 [@server] [login] 1: Failed login for user1 from IP ::ffff:70.33.11.00 2016-07-02 22:15:23 [@server] [login] 1: Failed login for user1 from IP ::ffff:70.33.11.00
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!