diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-09-10 20:38:48 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-09-10 20:39:00 +0300 |
commit | f4ee2af47d25108457b1290369e8479b4cba5ac6 (patch) | |
tree | a64e6ac15dcfb40c48cb46af4e7609608c5f1589 | |
parent | 9c8b990a4c06ec6f0f9694fa2b040755430fda7b (diff) |
fail2ban: fix missing ufw filter for old images
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r-- | changelog.md | 6 | ||||
-rw-r--r-- | updates/1.17.0.sh | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md index 32aef6fb..e9f91573 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,11 @@ -[v1.16.3](https://github.com/nextcloud/nextcloudpi/commit/835016c) (2019-09-09) bookmarks: install php-gmp +[v1.16.4](https://github.com/nextcloud/nextcloudpi/commit/682f803) (2019-09-10) fail2ban: fix missing ufw filter for old images + +[v1.16.3 ](https://github.com/nextcloud/nextcloudpi/commit/06005e1) (2019-09-09) nc-datadir: avoid using the symlink [v1.16.2 ](https://github.com/nextcloud/nextcloudpi/commit/f4b4a65) (2019-09-04) custom code before/after auto-backup -[v1.16.1](https://github.com/nextcloud/nextcloudpi/commit/fd2b74b) (2019-09-02) Add missing port in nc-rsync-auto.sh (#983) +[v1.16.1 ](https://github.com/nextcloud/nextcloudpi/commit/fd2b74b) (2019-09-02) Add missing port in nc-rsync-auto.sh (#983) [v1.16.0 ](https://github.com/nextcloud/nextcloudpi/commit/1a367a6) (2019-08-23) upgrade to NC16.0.4 diff --git a/updates/1.17.0.sh b/updates/1.17.0.sh index 1e720a9e..9b05ab67 100644 --- a/updates/1.17.0.sh +++ b/updates/1.17.0.sh @@ -15,6 +15,12 @@ sed -i "s/buster/$RELEASE/g" /etc/apt/sources.list.d/* &>/dev/null || true apt-get update apt-get install -y --no-install-recommends php${PHPVER}-gmp +# fix fail2ban with UFW +cat > /etc/systemd/system/fail2ban.service.d/touch-ufw-log.conf <<EOF +[Service] +ExecStartPre=/bin/touch /var/log/ufw.log +EOF + # docker images only [[ -f /.docker-image ]] && { : |