mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
update: bump Fail2Ban version to v1.0.2 (#2959)
This commit is contained in:
parent
304747fad9
commit
3a8f6b74ad
|
@ -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
|
||||||
|
|
9
target/fail2ban/fail2ban.d/fixes.local
Normal file
9
target/fail2ban/fail2ban.d/fixes.local
Normal 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;
|
|
@ -131,7 +131,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'
|
||||||
|
|
Loading…
Reference in a new issue