Update .gitignore to exclude fail2ban data directory, clean up docker-compose.yaml by removing unused volume mappings, and add new Fail2Ban filter configurations for enhanced security against various attack vectors.

This commit is contained in:
2025-08-18 11:16:56 +02:00
parent f2e10b8c36
commit bd1cc6b6f3
12 changed files with 168 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
[Definition]
failregex = ^%(__prefix_line)s(?:error: )?Received disconnect from <HOST> port \d+: .* \[preauth\]$
^%(__prefix_line)sInvalid user .* from <HOST> port \d+ \[preauth\]$
^%(__prefix_line)sFailed publickey for .* from <HOST> port \d+ ssh2$
^%(__prefix_line)sConnection closed by (invalid user )?.* <HOST> port \d+ \[preauth\]$
ignoreregex =