diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-06-01 20:17:51 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-06-01 20:17:56 +0300 |
commit | 5924131f6f3e75e10f6b8ff38f65f26b6419a649 (patch) | |
tree | 424a1538b2fdeccda55098351d98f9af81550419 /update.sh | |
parent | c71b37f2b76dac1b25a94f3a63adaa291f4a0a55 (diff) |
fail2ban: fix missing ufw filterv1.12.10
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -231,6 +231,15 @@ EOF # fix logrotate files chmod 0444 /etc/logrotate.d/* + # update fail2ban filters + cat > /etc/fail2ban/filter.d/ufwban.conf <<'EOF' +[INCLUDES] +before = common.conf +[Definition] +failregex = UFW BLOCK.* SRC= +ignoreregex = +EOF + # remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968 # Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last) [[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )" |