From owner-freebsd-questions Sun Mar 24 14:29:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tninet.se (sheridan.tninet.se [195.100.94.102]) by hub.freebsd.org (Postfix) with ESMTP id 5F03C37B400 for ; Sun, 24 Mar 2002 14:29:52 -0800 (PST) Received: from cs.umu.se (h27n1c1o1023.bredband.skanova.com [213.64.164.27]) by sheridan.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 489036.8988.1017.0s14140795sheridan ; Sun, 24 Mar 2002 23:29:48 +0100 Message-ID: <3C9E535D.F5A5B3B5@cs.umu.se> Date: Sun, 24 Mar 2002 23:29:49 +0100 From: Paul Everlund X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: Peter Leftwich Cc: FreeBSD Questions Subject: Re: hosts.allow in dmesg [www2.tidenet.com] References: <20020324170737.L50035-100000@earl-grey.cloud9.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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