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
2
#
3
# Author: Michael Gebetsroither
4
#
5
# This is for blocking whole hosts through blackhole routes.
6
#
7
# PRO:
8
#   - Works on all kernel versions and as no compatibility problems (back to debian lenny and WAY further).
9
#   - It's FAST for very large numbers of blocked ips.
10
#   - It's FAST because it Blocks traffic before it enters common iptables chains used for filtering.
11
#   - It's per host, ideal as action against ssh password bruteforcing to block further attack attempts.
12
#   - No additional software required beside iproute/iproute2
13
#
14
# CON:
15
#   - Blocking is per IP and NOT per service, but ideal as action against ssh password bruteforcing hosts
16
 
17
[Definition]
18
actionban   = ip route add <blocktype> <ip>
19
actionunban = ip route del <blocktype> <ip>
71 - 20
actioncheck =
21
actionstart =
22
actionstop =
4 - 23
 
24
[Init]
25
 
26
# Option:  blocktype
27
# Note:    Type can be blackhole, unreachable and prohibit. Unreachable and prohibit correspond to the ICMP reject messages.
28
# Values:  STRING
29
blocktype = unreachable