mirror of
https://github.com/ethauvin/fail2ban-digest.git
synced 2025-04-26 02:57:12 -07:00
publish to github
This commit is contained in:
parent
84e11044c8
commit
3066a12a4f
5 changed files with 348 additions and 0 deletions
1
examples/fail2ban-digest.cron
Normal file
1
examples/fail2ban-digest.cron
Normal file
|
@ -0,0 +1 @@
|
|||
0 3 * * * root /usr/local/bin/fail2ban_digest maildigest sshd
|
10
examples/jail.local
Normal file
10
examples/jail.local
Normal file
|
@ -0,0 +1,10 @@
|
|||
[DEFAULT]
|
||||
destemail = root
|
||||
|
||||
action_digest = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
|
||||
digest[name=%(__name__)s, chain="%(chain)s"]
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
action = %(action_digest)s
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue