Date: Sat, 29 Sep 2001 22:37:34 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: Jim Freeze <jfreeze@freebsdportal.com> Cc: questions@FreeBSD.ORG Subject: Re: How to get FTP working for 4.4R Message-ID: <Pine.BSF.4.21.0109292227160.79980-100000@ren.sasknow.com> In-Reply-To: <20010930001726.A523@rabbit.lxintn1.ky.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jim Freeze wrote to questions@FreeBSD.ORG: > Hi: > > I recently installed 4.4R and setup the box as a gateway. I have a > firewall, but have left it open to debug ftp. I have enabled ftp in > /etc/inetd.conf and ftp exists in /etc/services. I also restarted > inetd, but still no ftp. Have I missed something? Does the ftpd binary exist? Is it executable? If what you're saying is true, and you have restarted (SIGHUP) inetd, and TCP/IP is working correctly on your machine, then a useful thing to do would be to look in logs and determine if there are any fatal errors when attempting to start ftpd instances. Is there anything else bound to port 21 for any reason? When you ftp from localhost, does it work? If so, ftpd itself is not the problem. Otherwise, what does "no ftp" mean? Does the socket connect, timeout, or refuse the connection? Or do you actually connect and exchange data, but the ftpd application isn't working correctly? If all else fails, some relevant tcpdump output, and sockstat | grep '\.21' might be helpful. Just some thoughts... > Below are the detials: > > cat /etc/services > ... > ftp-data 20/tcp #File Transfer [Default Data] > ftp-data 20/udp #File Transfer [Default Data] > ftp 21/tcp #File Transfer [Control] > ftp 21/udp #File Transfer [Control] > ... > > cat /etc/inetd.conf > ... > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l > ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l > ... > > Thanks > > Jim > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Ryan Thompson <ryan@sasknow.com> Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109292227160.79980-100000>