update: update to latest version of Fail2Ban (#2903)

This commit is contained in:
Georg Lauterbach 2022-12-19 08:40:49 +01:00 committed by GitHub
parent 50257b46a7
commit 295d7f0a05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -133,6 +133,7 @@ EOF
# ----------------------------------------------- # -----------------------------------------------
COPY target/fail2ban/jail.local /etc/fail2ban/jail.local COPY target/fail2ban/jail.local /etc/fail2ban/jail.local
COPY target/fail2ban/fail2ban.d/fixes.local /etc/fail2ban/fail2ban.d/fixes.local
RUN <<EOF RUN <<EOF
ln -s /var/log/mail/mail.log /var/log/mail.log ln -s /var/log/mail/mail.log /var/log/mail.log
# disable sshd jail # disable sshd jail

View file

@ -0,0 +1,9 @@
# * Contains settings that act as fixes, mostly for tests.
# ! When adding new content, provide a comment on why the fix is necessary.
[Definition]
# Fail2Ban will complain when using `fail2ban-client -d` about this option
# not being set. This screws up `assert_output` in BATS tests. Therefore,
# the default value is explictly set here.
allowipv6 = auto;

View file

@ -117,7 +117,7 @@ function _install_dovecot
function _install_fail2ban function _install_fail2ban
{ {
local FAIL2BAN_DEB_URL='https://github.com/fail2ban/fail2ban/releases/download/0.11.2/fail2ban_0.11.2-1.upstream1_all.deb' local FAIL2BAN_DEB_URL='https://github.com/fail2ban/fail2ban/releases/download/1.0.2/fail2ban_1.0.2-1.upstream1_all.deb'
local FAIL2BAN_DEB_ASC_URL="${FAIL2BAN_DEB_URL}.asc" local FAIL2BAN_DEB_ASC_URL="${FAIL2BAN_DEB_URL}.asc"
local FAIL2BAN_GPG_FINGERPRINT='8738 559E 26F6 71DF 9E2C 6D9E 683B F1BE BD0A 882C' local FAIL2BAN_GPG_FINGERPRINT='8738 559E 26F6 71DF 9E2C 6D9E 683B F1BE BD0A 882C'
local FAIL2BAN_GPG_PUBLIC_KEY_ID='0x683BF1BEBD0A882C' local FAIL2BAN_GPG_PUBLIC_KEY_ID='0x683BF1BEBD0A882C'