mirror of
https://github.com/ethauvin/fail2ban-digest.git
synced 2025-04-26 19:08:11 -07:00
publish to github
This commit is contained in:
parent
84e11044c8
commit
3066a12a4f
5 changed files with 348 additions and 0 deletions
27
config/action.d/digest.conf
Normal file
27
config/action.d/digest.conf
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Fail2Ban configuration file
|
||||
#
|
||||
# Author: Enrico Tagliavini
|
||||
#
|
||||
#
|
||||
|
||||
[INCLUDES]
|
||||
|
||||
# this will send and email for jail start / stop. Can be removed if not needed
|
||||
before = sendmail-common.conf
|
||||
|
||||
[Definition]
|
||||
|
||||
# Option: actionban
|
||||
# Notes.: Command executed when banning an IP. Take care that the
|
||||
# command is executed with Fail2Ban user rights.
|
||||
# Tags: See jail.conf(5) man page
|
||||
# Values: CMD
|
||||
#
|
||||
actionban = /usr/local/bin/fail2ban_digest add <name> <ip>
|
||||
|
||||
[Init]
|
||||
|
||||
# Default name of the chain
|
||||
#
|
||||
name = default
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue