1
0
Fork 0
mirror of https://github.com/HackHerz/pusher synced 2025-12-06 02:10:19 +00:00

Fail2ban example added

This commit is contained in:
Daniel Stein 2018-01-10 13:34:44 +01:00
parent f455814c6a
commit d0a1fa6029
No known key found for this signature in database
GPG key ID: 877E81B790A1E083
3 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Notification for fail2ban
Copy [pusher.conf](https://github.com/HackHerz/pusher/blob/master/examples/pusher.conf) to **/etc/fail2ban/action.d/** and insert this snippet in your *jail.local*.
```
[ssh]
enabled = true
port = ssh
filter = sshd
logpath = /var/log/auth.log
maxretry = 6
action = pusher[name=ssh, dest=ONQ]
```
Example is for SSH and change ONQ to your own Device-ID.