Subversion Repositories configs

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 - 1
# Fail2Ban configuration file
6 - 2
# https://www.rfxn.com/projects/advanced-policy-firewall/
3 - 3
#
6 - 4
# Note: APF doesn't play nicely with other actions. It has been observed to
5
# remove bans created by other iptables based actions. If you are going to use
6
# this action, use it for all of your jails.
3 - 7
#
6 - 8
# DON'T MIX APF and other IPTABLES based actions
3 - 9
[Definition]
10
 
11
actionstart =
12
actionstop =
13
actioncheck =
6 - 14
actionban = apf --deny <ip> "banned by Fail2Ban <name>"
15
actionunban = apf --remove <ip>
3 - 16
 
6 - 17
[Init]
18
 
19
# Name used in APF configuration
3 - 20
#
6 - 21
name = default
3 - 22
 
6 - 23
# DEV NOTES:
3 - 24
#
6 - 25
# Author: Mark McKinstry