Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 23:29:49 +0100
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: hosts.allow in dmesg [www2.tidenet.com]
Message-ID:  <3C9E535D.F5A5B3B5@cs.umu.se>
References:  <20020324170737.L50035-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Leftwich wrote:
> 
> On Sun, 24 Mar 2002, Paul Everlund wrote:
> > Hi! Found this message when doing a dmesg -a:
> > -> Mar 19 05:26:37 fw inetd[20463]: warning: /etc/hosts.allow, line 23:
> > -> host name/name mismatch: www2.tidenet.com != everlund.homeip.net
> > Line 23 in hosts.allow says:
> > ALL : ALL : allow
> > What does this mean and what triggers the message?
> > Thanks in advance!
> > Best regards, Paul
> 
> My /etc/hosts.allow file (which I didn't know about until a previous
> discussion on this list, and which I just modified) has in it:
> 
> # Start by allowing everything (this prevents the rest of the file
> # from working, so remove it when you need protection).
> # The rules here work on a "First match wins" basis.
> ALL : ALL : allow
> 
> The "First match wins" basis is important because you can put other lines
> ahead of the ALL-ALL-allow line... by the way, when I query "host
> www2.tidenet.com" on two different nameservers I get host not found.

Thanks for your answer!

The first match in my hosts.allow is ALL-ALL-allow. And if www2.tidenet.com
does not exist, why do I even get this message?

Do anyone know what triggers it? Someone here previously wrote that using
inetd with -w -W (TCP-wrappers) uses the hosts.allow-file. Do this mean
that someone are trying to connect through an inetd active service, and
when a host lookup can not be done this message is triggered?

Best regards,
Paul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9E535D.F5A5B3B5>