Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 0fe03f1

Browse files
committed
set default fail2ban banaction iptables-allports
1 parent 4436edd commit 0fe03f1

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
290290

291291
## Versions
292292

293-
* **04.05.20:** - Allow for optionally setting propagation time for dns plugins. Add repo version of `whois` to replace the built-in busybox version.
293+
* **04.05.20:** - Allow for optionally setting propagation time for dns plugins. Add repo version of `whois` to replace the built-in busybox version. Update `jail.local` to change default fail2ban ban action to more widely supported `iptables-allports`.
294294
* **13.04.20:** - Update cloudflare.ini with token info.
295295
* **11.03.20:** - Add php7-sodium.
296296
* **06.03.20:** - Implement cert renewal attempt during container start (only if the cert is already expired or will expire within the next 24 hours, otherwise it will be attempted at 2:08am).

readme-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ app_setup_nginx_reverse_proxy_block: ""
126126

127127
# changelog
128128
changelogs:
129-
- { date: "04.05.20:", desc: "Allow for optionally setting propagation time for dns plugins. Add repo version of `whois` to replace the built-in busybox version." }
129+
- { date: "04.05.20:", desc: "Allow for optionally setting propagation time for dns plugins. Add repo version of `whois` to replace the built-in busybox version. Update `jail.local` to change default fail2ban ban action to more widely supported `iptables-allports`." }
130130
- { date: "13.04.20:", desc: "Update cloudflare.ini with token info." }
131131
- { date: "11.03.20:", desc: "Add php7-sodium." }
132132
- { date: "06.03.20:", desc: "Implement cert renewal attempt during container start (only if the cert is already expired or will expire within the next 24 hours, otherwise it will be attempted at 2:08am)." }

root/defaults/jail.local

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
## Version 2020/05/05 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/jail.local
12
# This is the custom version of the jail.conf for fail2ban
23
# Feel free to modify this and add additional filters
34
# Then you can drop the new filter conf files into the fail2ban-filters
45
# folder and restart the container
56

67
[DEFAULT]
78

9+
# Changes the default ban action from "iptables-multiport", which causes issues on some platforms, to "iptables-allports".
10+
banaction = iptables-allports
11+
812
# "bantime" is the number of seconds that a host is banned.
913
bantime = 600
1014

0 commit comments

Comments
 (0)