Fail2Ban
#5377
Replies: 1 comment
-
Answered my own question, I think. mealie.log is now prompting fail2ban as it should. mealie.conf in fail2ban/filter.d is:
No need for a datepattern, it seems. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am stuck getting fail2ban working with Mealie.
I have Mealie in a docker container on unraid. Swag is also running. Fail2ban is working; I can effectively jail an IP that fails to log into other apps.
I can see that mealie.log includes a pretty straightforward entry for a failed login:
[ERROR|auth|L83] 2025-04-23T09:05:59: Incorrect username or password from 192.168.0.133
I can also see that the FAQ includes some info about fail2ban, but either I am using it incorrectly or it is wrong. (It's probably me!).
The relevant part of the mealie.conf file in fail2ban/filter.d is:
I have made a few different attempts at this but clearly I don't know what I am doing.
Can anyone assist me? Surely somebody has a working .conf file I could borrow?
Beta Was this translation helpful? Give feedback.
All reactions