Tugger the SLUGger!SLUG Mailing List Archives

Re: [slug-chat] ftp and tftp


Ken Foskey was once rumoured to have said:
> 
> Can someone help me,   what is the difference between ftp and tftp.
> 
> Things I know,    one is trivial,  one runs over UDP.

TFTP == Trivial File Transfer Protocol.

Runs entirely over UDP.  Server runs on port 53.  Often used in
network booting.  No authentication at all.  Can read and write.

Old implementations of tftpd were completely insecure - modern
versions do path checking and optionally chrooting.

-----

FTP == File Transfer Protcol.

Runs entirely over TCP.  Servers run on port 21.  Uses TCP
back-connections to communicate data with the client when not
operating in passive mode - such back connections originate on Port
20.

Uses plain text authentication.  Many implementations, including
wu-ftpd, ProFTPD and others.  Commonly used in an "anonymous"
authentication mode for serving mirrors.

C.
-- 
--==============================================--
  Crossfire      | This email was brought to you
  xfire@xxxxxxxx | on 100% Recycled Electrons
--==============================================--