addons.sh 安装 fail2ban 失败

问答中心分类: OneinStackaddons.sh 安装 fail2ban 失败
cc 提问 1月 前
Please input a number:(Default 1 press Enter) 1
[fail2ban-0.10.4.tar.gz] found
~/oneinstack/src/fail2ban-0.10.4 ~/oneinstack/src ~/oneinstack ~/oneinstack
Traceback (most recent call last):
File "setup.py", line 58, in <module>
from fail2ban.setup import updatePyExec
File "/root/oneinstack/src/fail2ban-0.10.4/fail2ban/__init__.py", line 88, in <module>
_init()
File "/root/oneinstack/src/fail2ban-0.10.4/fail2ban/__init__.py", line 85, in _init
for i in xrange(50):
NameError: name 'xrange' is not defined
./addons.sh: line 111: /etc/fail2ban/jail.local: No such file or directory
sed: can't read /etc/fail2ban/action.d/iptables-common.conf: No such file or directory

php 7.2.11
ubuntu 18.4

1 问题
oneinstack 回答 4周 前

oneinstack升级已经修复,failban bug:参考:https://github.com/fail2ban/fail2ban/issues/2255