[PATCH] mountd: Don't do tcp wrapper check when there are no rules

Ralf Ertzinger fedora at camperquake.de
Tue Jan 20 15:22:48 UTC 2009


Hi.

On Tue, 20 Jan 2009 10:06:05 -0500, Steve Dickson wrote:

> Please tell how I check a 'mountd: <hostname>' entry in
> the /etc/hosts.deny with only an IP address without doing a reverse
> name lookup?

You can't, and no one is denying that as far as I can see. And I'd
actually consider this to be failing on the safe side.

But, given an entry in hosts.allow like this:

mountd: host.example.com 192.168.1.1

denying the ip 192.168.1.1 just because it does not have a hostname
associated with it would be just wrong.




More information about the fedora-devel-list mailing list