Fixes Fail2Ban's directive (#969)
Without `filter = sshd` and after restarting the service I see this error in Fail2Ban's logs (`/var/log/fail2ban.log`): ``` 2022-11-03 11:24:36,225 fail2ban.transmitter [1283507]: ERROR Jail 'sshd-ddos' skipped, because of wrong configuration: Unable to read the filter 'sshd-ddos' ``` I added the statement as per [this article](https://serverfault.com/a/1050315) and it worked.
This commit is contained in:
parent
6ae7a7334b
commit
5cfda9d588
|
@ -45,6 +45,7 @@ port = 22
|
||||||
|
|
||||||
[sshd-ddos]
|
[sshd-ddos]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
filter = sshd
|
||||||
port = 22
|
port = 22
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue