mirror of
https://github.com/tiredofit/docker-postal.git
synced 2025-09-30 08:14:42 +08:00
Release 2.1.5 - See CHANGELOG.md
This commit is contained in:
parent
5663c0992b
commit
62af017995
3 changed files with 11 additions and 2 deletions
|
@ -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>
|
## 2.1.4 2020-09-13 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -43,6 +43,8 @@ RUN set -x && \
|
||||||
# Cleanup
|
# Cleanup
|
||||||
chown -R postal. /app/ && \
|
chown -R postal. /app/ && \
|
||||||
apk del .postal-build-deps && \
|
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/*
|
rm -rf /tmp/* /var/cache/apk/*
|
||||||
|
|
||||||
### Networking Setup
|
### Networking Setup
|
||||||
|
|
|
@ -126,7 +126,7 @@ fail2ban_create_filters() {
|
||||||
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}filter.d/postal.conf
|
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}filter.d/postal.conf
|
||||||
## Custom Generated filter.d/postal.conf Configuration! Do not edit, instead set ENV Vars
|
## 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
|
## 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)
|
# 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
|
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}jail.local
|
||||||
## Custom Generated Fail2ban jail.local Configuration! Do not edit, instead set ENV Vars
|
## 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
|
## 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
|
EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue