Adding too many host names in /etc/hosts.allow may cause the service to stop working
Issue
- Is there a Maximum number of entries allowable in hosts.allow?
- When adding one additional subnet entry into
hosts.allowand then making a connection from that system, the SSH connection hangs (not a denial) and no new SSH connections will be allowed to connect. When this occurred, the CPU hit 100%.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
