Re: Which type of FTP do I have
From: Kevin Kinsey (kdk_at_daleco.biz)
Date: 02/17/05
- Previous message: Tyler Gee: "Re: ASP alternatives?"
- In reply to: crzdgns1_at_starpower.net: "Which type of FTP do I have"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Feb 2005 14:19:22 -0600 To: crzdgns1@starpower.net
crzdgns1@starpower.net wrote:
>Hello,
>
>I am a new user of FreeBSD/UNIX and have recently installed
>FreeBSD-5.3-RELEASE on my home computer. I am running IPFilter
>as my firewall using the ruleset found in the Handbook. I have found
>that FTP no longer functions since I began the filter. I have done lots
>of searching on the web and I think this is a common problem and I
>will be able to find a solution on my own. But here is my question.
>The solutions to this problem variously refer to ftp clients or ftp
>servers. I know that a client and a server aren't necessarily the
>same. If I look in my bin files, I find something named ftpd, which I
>assume is the ftp daemon. I know that I didn't specifically download
>or install any ftp software. Whatever I have came with the base
>installation. So here is my question, how do I know, or how do I
>determine, if what I have is an ftp server or an ftp client?
>
>Thanks
>
>Mark
>
>
You have both, unless somehow you built the system without
the "contrib" software, and I don't know if that's possible 'cause
I've never tried it that way. "ftpd" is the server, maintained by
FreeBSD, and the ftp client is "ftp", which is actually "lukemftp",
written by Luke Mewburn of the NetBSD project.
Some information from the system itself:
[kadmin@archangel][~]
whereis ftpd
ftpd: /usr/libexec/ftpd /usr/share/man/man8/ftpd.8.gz /usr/src/libexec/ftpd
[kadmin@archangel][~]
grep -i -A 2 rcsid /usr/src/libexec/ftpd/ftpd.c
static const char rcsid[] =
"$FreeBSD: src/libexec/ftpd/ftpd.c,v 1.163.2.10 2005/01/22 16:40:11
yar Exp $";
#endif /* not lint */
[kadmin@archangel][~]
whereis ftp
ftp: /usr/bin/ftp /usr/share/man/man1/ftp.1.gz /usr/src/usr.bin/ftp
[kadmin@archangel][~]
grep -i -A 2 rcsid /usr/src/contrib/lukemftp/src/main.c
__RCSID("$NetBSD: main.c,v 1.86 2003/08/07 11:13:56 agc Exp $");
#endif
#endif /* not lint */
It seems interesting that neither of them seem to have a "--version"
switch. It looks as though some work has been done, maybe<!> on
the ftpd server lately.
Note that "Trivial ftpd" is also in the base system. Both of these
may be enabled in /etc/inetd.conf (and, in turn, inetd is enabled
in /etc/rc.conf.)
To use the ftp client, simply type "ftp" at the command prompt
(assuming your $PATH is correctly set). See the man page
for ftp(1) for more details.
HTH,
Kevin Kinsey
_______________________________________________
freebsd-newbies@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
- Previous message: Tyler Gee: "Re: ASP alternatives?"
- In reply to: crzdgns1_at_starpower.net: "Which type of FTP do I have"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Help with IPFW + NATD + Passive FTP
... passive FTP connections through IPFW with NATD enabled. ... $cmd 005
allow all from any to any via dc0 ... # Interface facing Public internet ... # Allow
out access to my ISP's Domain name server. ... (freebsd-questions) - RE: Client Computers cannot upload or download from Remote FTP ser
... SBS External NIC - Cannot FTP From this server ... SBS Internal NIC
... FTP server is Checked in Routing and Remote Access - Internet Connection - ...
(microsoft.public.windows.server.sbs) - Re: Buffer overflow in Microsoft ftp.exe
... > There is a Buffer overflow in the raw quote command in the Microsoft Windows ...
> server replyes. ... buffer overflow in the ftp client. ... Microsoft
FTP server, the ftp client will crash ... (Vuln-Dev) - RE: Client Computers cannot upload or download from Remote FTP ser
... Only FTP via the MS DOS FTP Client ... The server that works is a member
of the SBS's Domain, BUT as I indicated, ... the router, not the SBS server. ...
The client event log has nothing related logged. ... (microsoft.public.windows.server.sbs) - Re: Is this a 3-Leg Perimeter scenario?
... Do you mean the FTP server is hosted on the ... to control the traffic to not
go though ISA but go to SmoothWall directly. ... Microsoft CSS Online Newsgroup Support
... (microsoft.public.windows.server.sbs)