Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
192 |
- |
1 |
[DEFAULT]
|
|
|
2 |
# Ban IP/hosts for 1 day
|
|
|
3 |
bantime = 1d
|
|
|
4 |
|
|
|
5 |
# An ip address/host is banned if it has generated "maxretry" during the last "findtime" seconds.
|
|
|
6 |
findtime = 600
|
|
|
7 |
maxretry = 3
|
|
|
8 |
|
|
|
9 |
# "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
|
|
|
10 |
# will not ban a host which matches an address in this list. Several addresses
|
|
|
11 |
# can be defined using space (and/or comma) separator. For example, add your
|
|
|
12 |
# static IP address that you always use for login such as 103.1.2.3
|
|
|
13 |
ignoreip = 10.192.25.0/24
|
|
|
14 |
|
|
|
15 |
# Call iptables to ban IP address
|
|
|
16 |
banaction = iptables-multiport
|
|
|
17 |
|
|
|
18 |
# Enable sshd protection
|
|
|
19 |
[sshd]
|
|
|
20 |
enabled = true
|