mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
add support for the CSF firewall
This commit is contained in:
parent
150007b128
commit
38d3f01a51
1 changed files with 26 additions and 0 deletions
26
config/action.d/csf.conf
Normal file
26
config/action.d/csf.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Fail2Ban configuration file
|
||||
# http://configserver.com/cp/csf.html
|
||||
#
|
||||
# Note: CSF doesn't play nicely with other actions. It has been observed to
|
||||
# remove bans created by other iptables based actions. If you are going to use
|
||||
# this action, use it for all of your jails.
|
||||
#
|
||||
# DON'T MIX CSF and other IPTABLES based actions
|
||||
|
||||
[Definition]
|
||||
|
||||
actionstart =
|
||||
actionstop =
|
||||
actioncheck =
|
||||
actionban = csf --deny <ip> "banned by Fail2Ban <name>"
|
||||
actionunban = csf --denyrm <ip>
|
||||
|
||||
[Init]
|
||||
|
||||
# Name used in CSF configuration
|
||||
#
|
||||
name = default
|
||||
|
||||
# DEV NOTES:
|
||||
#
|
||||
# based on apf.conf by Mark McKinstry
|
||||
Loading…
Reference in a new issue