Release 2.1.5 - See CHANGELOG.md

This commit is contained in:
Dave Conroy 2020-09-13 15:55:17 -07:00
parent 5663c0992b
commit 62af017995
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,9 @@
## 2.1.5 2020-09-13 <dave at tiredofit dot ca>
### Changed
- Delete original fail2ban configuration as it throws errors with SSH
## 2.1.4 2020-09-13 <dave at tiredofit dot ca>
### Changed

View file

@ -43,6 +43,8 @@ RUN set -x && \
# Cleanup
chown -R postal. /app/ && \
apk del .postal-build-deps && \
cd /etc/fail2ban && \
rm -rf fail2ban.conf fail2ban.d jail.conf jail.d paths-*.conf && \
rm -rf /tmp/* /var/cache/apk/*
### Networking Setup

View file

@ -126,7 +126,7 @@ fail2ban_create_filters() {
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}filter.d/postal.conf
## Custom Generated filter.d/postal.conf Configuration! Do not edit, instead set ENV Vars
## If you want to use your own configuration files set SETUP_TYPE=MANUAL when starting container
## Last Generated on `date`
## Last Generated on $(date)
# ------------------------
# WARN: AUTH failure for ::ffff:(\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b)
@ -146,7 +146,8 @@ fail2ban_jail_purge() {
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}jail.local
## Custom Generated Fail2ban jail.local Configuration! Do not edit, instead set ENV Vars
## If you want to use your own configuration files set SETUP_TYPE=MANUAL when starting container
## Last Generated on `date`
## Last Generated on $(date)
EOF
fi
}