Red Hat Bugzilla – Bug 6320
tcp_wrappers doesn't like ALL:ALL in hosts.deny with no newline
Last modified: 2008-05-01 11:37:52 EDT
in hosts.deny (i forget if it's the default, or if i added
it myself) i have
so the line ends with EOF not end of line. tcpd doesn't
like this and IGNORES it. in the logs i get:
warning: /etc/hosts.deny, line 9: missing newline or line
but then tcpd allows the connection through since it doesn't
think ALL:ALL is a good rule that should be applied.
tcpd should be fixed so that it accepts end of file as end
of a line.
tcp_wrappers already has a well defined parser, fix your file rather than the