Date: Wed, 16 Aug 2000 20:45:31 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: Donn Miller <dmmiller@cvzoom.net> Cc: current@freebsd.org Subject: Re: ftp and /etc/services... Message-ID: <20000816204531.C18766@strontium.scientia.demon.co.uk> In-Reply-To: <Pine.BSF.4.21.0008160535340.9970-100000@acs-24-154-11-41.zoominternet.net> References: <Pine.BSF.4.21.0008160535340.9970-100000@acs-24-154-11-41.zoominternet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Well _there's_ a surprise. </sarcasm> > Should ftp be this dependent on /etc/services? Uh, yes, that's the whole _point_ of /etc/services, so you can dynamically get a port number rather than hardcoding it. Of course, the port number for things like ftp/http/smtp and the other popular protocols are very unlikely to ever change, but that's not the point. If you change port numbers in /etc/services, things will break. > What if you _have_ no services running, e.g. inetd & portmap? ?? What relevance does that have to your problem/question? -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000816204531.C18766>