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