Can a very large /etc/hosts.deny slow down SSH connections?

view full story

http://serverfault.com – I've been using denyhosts for a while and I noticed my /etc/hosts.deny is getting rather large. Denyhosts adds IPs to /etc/hosts.deny, and my denyhosts is configured to never purge IPs. $ wc -l /etc/hosts.deny 22149 /etc/hosts.deny Might this become a problem? I don't really understand how libwrap works. Hopefully it is hashing these entries or something for quick access, but I haven't looked at that code. I am having some strange networking issues where my SSH connections to a gitosis server are hanging (actually, updates of Symfony2 bundles using bin/vendors install). I'm not really sure (HowTos)