From owner-freebsd-current Wed Aug 16 9:48:39 2000 Delivered-To: freebsd-current@freebsd.org Received: from lap1.sohara.org (pooh.elsevier.nl [145.36.13.27]) by hub.freebsd.org (Postfix) with ESMTP id D4F6037C253 for ; Wed, 16 Aug 2000 09:48:31 -0700 (PDT) (envelope-from steve@lap1.sohara.org) Received: (from steve@localhost) by lap1.sohara.org (8.9.3/8.9.3) id TAA00717; Wed, 16 Aug 2000 19:05:11 +0100 (IST) (envelope-from steve) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 16 Aug 2000 19:05:11 +0100 (IST) From: "Steve O'Hara-Smith" To: Donn Miller Subject: RE: ftp and /etc/services... Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 16-Aug-00 Donn Miller wrote: > refused" message when I try to login to anonymous ftp sites. Should ftp > be this dependent on /etc/services? What if you _have_ no services > running, e.g. inetd & portmap? Returning ftp to port 21 in services fixes I think the answer to this is 'yes it should', /etc/services is just a port number to service name mapping with no connection to whatever services are running. The ftp client 'knows' it should talk to the ftp service and checks in /etc/services for the corresponding port number then makes a connection to that port on the specified host. If you were trying to get a local ftp server listening on port 2121 (no reason why not) then you would need to change inetd.conf (or rig the ftp server to run standalone on port 2121). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message