mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Revert "update: update to latest version of Fail2Ban (#2903)"
This reverts commit 295d7f0a05
.
This commit is contained in:
parent
295d7f0a05
commit
6108b28c1d
|
@ -133,7 +133,6 @@ 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
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
# * 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;
|
|
|
@ -117,7 +117,7 @@ function _install_dovecot
|
||||||
|
|
||||||
function _install_fail2ban
|
function _install_fail2ban
|
||||||
{
|
{
|
||||||
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_URL='https://github.com/fail2ban/fail2ban/releases/download/0.11.2/fail2ban_0.11.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