From owner-freebsd-current Wed Aug 16 11: 2:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 2BEF637B5BA for ; Wed, 16 Aug 2000 11:02:13 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id e7GI21P23559; Wed, 16 Aug 2000 11:02:01 -0700 Date: Wed, 16 Aug 2000 11:02:01 -0700 From: Brooks Davis To: Donn Miller Cc: current@FreeBSD.ORG Subject: Re: ftp and /etc/services... Message-ID: <20000816110201.A23546@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from dmmiller@cvzoom.net on Wed, Aug 16, 2000 at 05:39:33AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 16, 2000 at 05:39:33AM -0400, Donn Miller wrote: > This is on a recently-built -current box. When I try to move ftp from > port 21 to port 2121 in /etc/services, I get a "Connection > 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 > this problem. I posted earlier about my problems with ftp recently. That's the behavior I would expect. If you want to connect to a specific service, you should look it up in /etc/services. Changing IANA registered services in the services file is asking for trouble. If you really want to change it, you can should be able to get away with specifying the correct port on the command line. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message