DenyHosts安装提示错误:Unable to locate package denyhost

DenyHosts安装提示错误:Unable to locate package denyhost
错误信息:

root@slave1:/etc/nginx/conf.d# sudo apt-get install denyhosts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package denyhosts

这是因为DenyHosts的作者很久没有更新维护建议使用fail2ba。

可参考:https://askubuntu.com/questions/433924/package-denyhosts-in-ubuntu-trusty-tahr-is-deleted-temporary-or-forever

原因如下:

  • DenyHosts 有尚未解决的安全问题Debian Bug report logs - #692229

  • DenyHosts 至今已有9年未更新

  • 已经有了能完全替代DenyHosts的产品:fail2ban

你可能感兴趣的:(DenyHosts安装提示错误:Unable to locate package denyhost)