mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-11 15:38:43 +00:00
Update Fail2ban v1.0.2 + Python3 support
This commit is contained in:
@@ -322,4 +322,4 @@ INSTALL_FAIL2BAN=true
|
||||
|
||||
# Available installer: repo | source.
|
||||
FAIL2BAN_INSTALLER="source"
|
||||
FAIL2BAN_VERSION="0.11.2"
|
||||
FAIL2BAN_VERSION="1.0.2"
|
||||
|
||||
@@ -71,6 +71,8 @@ function init_fail2ban_install() {
|
||||
run wget "${fail2ban_download_link}" -O fail2ban.tar.gz && \
|
||||
run tar -zxf fail2ban.tar.gz && \
|
||||
run cd fail2ban-*/ && \
|
||||
# Convert to Python3 codebase
|
||||
run ./fail2ban-2to3 && \
|
||||
run python setup.py install && \
|
||||
run cp files/debian-initd /etc/init.d/fail2ban && \
|
||||
run update-rc.d fail2ban defaults
|
||||
|
||||
Reference in New Issue
Block a user