You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am hoping someone can help me with configuring Fail2Ban for Mealie, as I am currently at a lost. I know the online documentation says the following but I am unsure what to make of it.
Use datepattern : %d-%b-%y %H:%M:%S : Day-MON-Year2 24hour:Minute:Second
Use failregex line : ^ERROR:\s+Incorrect username or password from <HOST>
So far I have made a file in /etc/fail2ban/jail.d/mealie.local that reads:
And I have made a filter in /etc/fail2ban/filter.d/mealie.conf that reads:
[Definition]
failregex = ^Incorrect username or password from <ADDR>$
datepattern = %d-%b-%y %H:%M:%S
ignoreregex =
I know there is a lot here that probably doesn't matter and/or make sense. I have been scouring the internet trying to make this work and cobbling together pieces from various sites. Any help would be amazingly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello community,
I am hoping someone can help me with configuring Fail2Ban for Mealie, as I am currently at a lost. I know the online documentation says the following but I am unsure what to make of it.
So far I have made a file in /etc/fail2ban/jail.d/mealie.local that reads:
And I have made a filter in /etc/fail2ban/filter.d/mealie.conf that reads:
I know there is a lot here that probably doesn't matter and/or make sense. I have been scouring the internet trying to make this work and cobbling together pieces from various sites. Any help would be amazingly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions