Date: Wed, 16 Aug 2000 19:05:11 +0100 (IST) From: "Steve O'Hara-Smith" <steveo@eircom.net> To: Donn Miller <dmmiller@cvzoom.net> Cc: current@freebsd.org Subject: RE: ftp and /etc/services... Message-ID: <XFMail.000816190511.steveo@eircom.net> In-Reply-To: <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
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000816190511.steveo>