Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 924e6d6

Browse files
authored
Rename configs
1 parent ef44050 commit 924e6d6

33 files changed

Lines changed: 50 additions & 57 deletions

root/defaults/fail2ban/README.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ This example uses `apprise-api` for notifications, `cloudflare` for additional w
1414

1515
```yaml
1616
[DEFAULT]
17+
# Prevents banning LAN subnets
18+
ignoreip = 127.0.0.1/8 ::1
19+
10.0.0.0/8
20+
172.16.0.0/12
21+
192.168.0.0/16
22+
1723
# Change the default ban action from "iptables-multiport", which causes issues on some platforms, to "iptables-allports".
1824
#banaction = %(banaction_allports)s
1925

@@ -24,30 +30,21 @@ action = %(action_)s
2430

2531
abuseipdb_apikey = YOUR-API-KEY
2632

27-
# "bantime" is the number of seconds that a host is banned.
28-
bantime = 4h
29-
30-
# A host is banned if it has generated "maxretry" during the last "findtime" seconds.
31-
findtime = 4h
32-
33-
# "maxretry" is the number of failures before a host get banned.
34-
maxretry = 5
35-
3633
[unraid-sshd]
3734
# configuration inherits from jail.d/unraid-sshd.conf
3835
enabled = true
3936
action = %(known/action)s
4037
abuseipdb[abuseipdb_apikey="%(known/abuseipdb_apikey)s", abuseipdb_category="18,22"]
4138

42-
[unraid-webgui]
43-
# configuration inherits from jail.d/unraid-webgui.conf
39+
[unraid-webgui-auth]
40+
# configuration inherits from jail.d/unraid-webgui-auth.conf
4441
enabled = true
4542
port = http,https,YOUR-UNRAID-MY-SERVERS-WAN-PORT
4643
action = %(known/action)s
4744
abuseipdb[abuseipdb_apikey="%(known/abuseipdb_apikey)s", abuseipdb_category="18,21"]
4845

49-
[unifi-controller]
50-
# configuration inherits from jail.d/unifi-controller.conf
46+
[unifi-controller-auth]
47+
# configuration inherits from jail.d/unifi-controller-auth.conf
5148
enabled = true
5249
action = %(known/action)s
5350
abuseipdb[abuseipdb_apikey="%(known/abuseipdb_apikey)s", abuseipdb_category="18,21"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

root/defaults/fail2ban/filter.d/nginx-http-418.conf renamed to root/defaults/fail2ban/filter.d/nginx-418.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Fail2Ban filter configuration for nginx http 418
1+
# Fail2Ban filter configuration for nginx 418
22
# Track RFC2324
33
# 418 I'm a teapot
44
# Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.

root/defaults/fail2ban/filter.d/nginx-http-deny.conf renamed to root/defaults/fail2ban/filter.d/nginx-deny.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Fail2Ban filter configuration for nginx http deny
1+
# Fail2Ban filter configuration for nginx deny
22

33
[INCLUDES]
44
before = common.conf
File renamed without changes.

0 commit comments

Comments
 (0)