From owner-freebsd-questions Mon Jun 17 9:29:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 9CF3C37B40F for ; Mon, 17 Jun 2002 09:28:59 -0700 (PDT) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 17JzNC-0002fc-00 for ; Mon, 17 Jun 2002 17:28:58 +0100 Date: Mon, 17 Jun 2002 17:28:58 +0100 From: Daniel Bye To: questions@FreeBSD.ORG Subject: Re: How do I only permit some IP's to access FTP? Message-ID: <20020617162857.GA9587@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: questions@FreeBSD.ORG References: <273418715.20020617182351@e-box.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <273418715.20020617182351@e-box.dk> User-Agent: Mutt/1.3.27i 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 On Mon, Jun 17, 2002 at 06:23:51PM +0200, S?ren Neigaard wrote: > I have tried to alter my hosts.allow like this: > > ftpd : localhost : allow > ftpd : MY_IP : allow > ftpd : ALL : deny > > But still everybody can FTP to my box, what am I missing? > Is there any other rule in the file _before_ these lines that could be letting ftpd connects through? For example, do you have a rule like this: ALL: ALL :allow This is the first rule in the default /etc/hosts.allow file. If it's not this, let's have a look at /etc/hosts.allow. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message