2024-09-28, 09:18 PM
So the issue was there weren't any logs that matched the specified regex at the log path. I created a file and fail2ban loaded. But when I ran the test regex it didn't work. Then I entered different regex for the logs that appear in the folder already
then failed to log in 5 times on a test account and ran the test regex and got this result which I think means it didn't work
Running tests
=============
Use failregex filter file : jellyfin, basedir: /etc/fail2ban
Use single line : /path_to_logs/*.log
Results
=======
Failregex: 0 total
Ignoreregex: 0 total
Date template hits:
Lines: 1 lines, 0 ignored, 0 matched, 1 missed
[processed in 0.06 sec]
|- Missed line(s):
| /path_to_logs/*.log
`-
then failed to log in 5 times on a test account and ran the test regex and got this result which I think means it didn't work
Running tests
=============
Use failregex filter file : jellyfin, basedir: /etc/fail2ban
Use single line : /path_to_logs/*.log
Results
=======
Failregex: 0 total
Ignoreregex: 0 total
Date template hits:
Lines: 1 lines, 0 ignored, 0 matched, 1 missed
[processed in 0.06 sec]
|- Missed line(s):
| /path_to_logs/*.log
`-