Line
Link Here
|
0 |
-- /tmp/iptables-allports.conf 2011-03-27 17:27:24.311268561 +0200 |
0 |
++ action.d/iptables-allports.conf 2011-03-26 02:03:09.863097877 +0100 |
Lines 16-21
Link Here
|
16 |
actionstart = iptables -N fail2ban-<name> |
16 |
actionstart = iptables -N fail2ban-<name> |
17 |
iptables -A fail2ban-<name> -j RETURN |
17 |
iptables -A fail2ban-<name> -j RETURN |
18 |
iptables -I INPUT -p <protocol> -j fail2ban-<name> |
18 |
iptables -I INPUT -p <protocol> -j fail2ban-<name> |
|
|
19 |
sleep 2 |
19 |
|
20 |
|
20 |
# Option: actionstop |
21 |
# Option: actionstop |
21 |
# Notes.: command executed once at the end of Fail2Ban |
22 |
# Notes.: command executed once at the end of Fail2Ban |