Open dronnikovigor opened 3 months ago
Тell me if the solution will be presented in the plugin or if you need to do it manually. Thanks
I will not be adding it to the plugin. With the logpath part in there, it breaks fail2ban for some jails. Without the logpath, some jails don't send logging. I prefer the latter. If someone can come up with a solution that works for both, I will add it.
After upgrading to omv 7 from 6.5 several month ago I noticed, that fail2ban emails don't contains lines from logs anymore.
I have only message of whois followed by phrase:
I tried to reinstall fail2ban plugin with cleaning /etc/fail2ban folder, system is up to date.
Action used is action_mwl. I also tried some kind of debugging and put printf after "Lines...". And it outputs just /dev/null.
Finally, I managed to localize problem by myself.
In commits of this plugin I found this commit https://github.com/OpenMediaVa…961934b8db938f1fc8cc08L22
That removes logpath from action's parameters.
I created jail.local and restarted fail2ban. Now everything work.
So, i wonder, if it's a bug and should be fixed.