Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 17962  / 3 Years ago, sat, october 2, 2021, 1:57:32

While doing a test-upgrade of our Ubuntu server to 14.04, I found that the package DenyHosts is no longer available. Installing it gives following error:



apt-get install denyhosts
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package denyhosts


Apparently it has been deleted, according to launchpad.



Will Denyhosts be available in the final release of Ubuntu 14.04?


More From » security

 Answers
7

I am sorry denyhosts has reached this stage, but I think you answered your own question :




dead upstream; unmaintained; dysfunctional in sid




Unmaintained upstream projects will reside in the repos, with patches, until the packages can no longer patch, so looks like the end for denyhosts.



My best advice is to look for alternates.



Personally I harden my ssh server



And use iptables



sudo iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH --rsource -j ACCEPT
sudo iptables -A INPUT -m recent --update --seconds 600 --hitcount 8 --rttl --name SSH --rsource -j DROP


See http://bodhizazen.com/Tutorials/iptables



all the links in this post are from my LUG ;)


[#26528] Sunday, October 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istmasted

Total Points: 287
Total Questions: 130
Total Answers: 153

Location: Burkina Faso
Member since Thu, Dec 23, 2021
2 Years ago
;