Subversion Repositories configs

Rev

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

Rev Author Line No. Line
4 - 1
# Fail2Ban configuration file
5 - 2
# https://www.rfxn.com/projects/advanced-policy-firewall/
4 - 3
#
5 - 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.
4 - 7
#
5 - 8
# DON'T MIX APF and other IPTABLES based actions
4 - 9
[Definition]
10
 
11
actionstart =
12
actionstop =
13
actioncheck =
5 - 14
actionban = apf --deny <ip> "banned by Fail2Ban <name>"
15
actionunban = apf --remove <ip>
4 - 16
 
5 - 17
[Init]
18
 
19
# Name used in APF configuration
4 - 20
#
5 - 21
name = default
4 - 22
 
5 - 23
# DEV NOTES:
4 - 24
#
5 - 25
# Author: Mark McKinstry