瀏覽代碼

Updating fail2ban jail list

Brett Haines 6 年之前
父節點
當前提交
eddcdd7993
共有 1 個文件被更改,包括 33 次插入3 次删除
  1. 33
    3
      roles/common/templates/etc_fail2ban_jail.local.j2

+ 33
- 3
roles/common/templates/etc_fail2ban_jail.local.j2 查看文件

@@ -6,7 +6,7 @@ banaction = iptables-multiport
6 6
 action    = %(action_)s
7 7
 
8 8
 # JAILS
9
-[ssh]
9
+[sshd]
10 10
 enabled   = true
11 11
 maxretry  = 3
12 12
 
@@ -14,10 +14,40 @@ maxretry  = 3
14 14
 enabled   = true
15 15
 banaction = iptables-allports
16 16
 
17
-[ssh-ddos]
17
+[sshd-ddos]
18 18
 enabled   = true
19 19
 
20
-[apache]
20
+[apache-auth]
21
+enabled = true
22
+
23
+[apache-badbots]
24
+enabled = true
25
+
26
+[apache-botsearch]
27
+enabled = true
28
+
29
+[apache-common]
30
+enabled = true
31
+
32
+[apache-fakegooglebot]
33
+enabled = true
34
+
35
+[apache-modsecurity]
36
+enabled = true
37
+
38
+[apache-nohome]
39
+enabled = true
40
+
41
+[apache-noscript]
42
+enabled = true
43
+
44
+[apache-overflows]
45
+enabled = true
46
+
47
+[apache-pass]
48
+enabled = true
49
+
50
+[apache-shellshock]
21 51
 enabled = true
22 52
 
23 53
 [postfix]

Loading…
取消
儲存