From owner-freebsd-questions Sun Oct 18 07:37:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA19999 for freebsd-questions-outgoing; Sun, 18 Oct 1998 07:37:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA19986 for ; Sun, 18 Oct 1998 07:37:12 -0700 (PDT) (envelope-from dean@odyssey.apana.org.au) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by odyssey.apana.org.au (8.8.8/8.8.8) with ESMTP id WAA08159; Sun, 18 Oct 1998 22:35:45 +0800 (WST) (envelope-from dean@odyssey.apana.org.au) Date: Sun, 18 Oct 1998 22:35:45 +0800 (WST) From: Dean Hollister To: Shockboi cc: freebsd-questions@FreeBSD.ORG Subject: Re: hosts.deny In-Reply-To: <199810181421.HAA12743@dqc.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 18 Oct 1998, Shockboi wrote: > Hi, I am running 2.2.7R and my problem is that my hosts.deny > file isn't being read. I have tried "ALL: ALL" in /etc/hosts.deny > and /usr/local/etc/hosts.deny , rebooted with a fresh inetd and > still I am able to telnet into my computer from the outside. > I have been playing round with my kernel as of late and can think > that that would be the only thing that could be screwing me round. > Any suggestions? >From my hosts.deny file: # # hosts.deny This file describes the names of the hosts which are # *not* allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # # The portmap line is redundant, but it is left to remind you that # the new secure portmap uses hosts.deny and hosts.allow. In particular # you should know that NFS uses portmap! ALL:ALL Are you sure you don't have something like: telnetd:ALL in hosts.allow? That would cause the problem. Regards, d. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message