From 0026328f255c058c1663e1c017a53466b88690de Mon Sep 17 00:00:00 2001 From: bunkerity Date: Wed, 30 Dec 2020 14:31:16 +0100 Subject: [PATCH] edit default FAIL2BAN_IGNOREIP subnets --- README.md | 4 ++-- entrypoint/defaults.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77f4038..25218d9 100644 --- a/README.md +++ b/README.md @@ -1064,8 +1064,8 @@ Context : *global* The number of "strange" HTTP status codes to find between the time interval. `FAIL2BAN_IGNOREIP` -Values : *\* -Default value : 127.0.0.1/8 192.168.0.0/16 172.16.0.0/16 +Values : *\* +Default value : 127.0.0.1/8 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 Context : *global* IPs or subnet which should never be ban by fail2ban. diff --git a/entrypoint/defaults.sh b/entrypoint/defaults.sh index 1dccfea..141a9a8 100644 --- a/entrypoint/defaults.sh +++ b/entrypoint/defaults.sh @@ -67,7 +67,7 @@ FAIL2BAN_STATUS_CODES="${FAIL2BAN_STATUS_CODES-400|401|403|404|405|444}" FAIL2BAN_BANTIME="${FAIL2BAN_BANTIME-3600}" FAIL2BAN_FINDTIME="${FAIL2BAN_FINDTIME-60}" FAIL2BAN_MAXRETRY="${FAIL2BAN_MAXRETRY-15}" -FAIL2BAN_IGNOREIP="${FAIL2BAN_IGNOREIP-127.0.0.1/8 192.168.0.0/16 172.16.0.0/16}" +FAIL2BAN_IGNOREIP="${FAIL2BAN_IGNOREIP-127.0.0.1/8 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8}" USE_CLAMAV_UPLOAD="${USE_CLAMAV_UPLOAD-yes}" USE_CLAMAV_SCAN="${USE_CLAMAV_SCAN-yes}" CLAMAV_SCAN_REMOVE="${CLAMAV_SCAN_REMOVE-yes}"