OpenMediaVault-Plugin-Developers / openmediavault-fail2ban

11 stars 5 forks source link

fix ssh-ddos jail configuration #33

Closed ar-jan closed 2 years ago

ar-jan commented 2 years ago

The section should be named [sshd-ddos], and the filter should be sshd rather than sshd-ddos.

There's a similar issue with the apache-404 filter, but I'm not sure what filter should be used there.

2022-02-26 17:01:23,486 fail2ban.configreader [2385714]: ERROR Found no accessible config files for 'filter.d/sshd-ddos' under /etc/fail2ban 2022-02-26 17:01:23,486 fail2ban.jailreader [2385714]: ERROR Unable to read the filter 'sshd-ddos' 2022-02-26 17:01:23,486 fail2ban.jailsreader [2385714]: ERROR Errors in jail 'ssh-ddos'. Skipping... 2022-02-26 17:01:23,499 fail2ban.configreader [2385714]: ERROR Found no accessible config files for 'filter.d/apache-404' under /etc/fail2ban 2022-02-26 17:01:23,499 fail2ban.jailreader [2385714]: ERROR Unable to read the filter 'apache-404' 2022-02-26 17:01:23,499 fail2ban.jailsreader [2385714]: ERROR Errors in jail 'apache-404'. Skipping...