FTP
| : |
File Transfer Protocol |
|---|---|
| ( OSI): | |
| : |
TCP/IP |
| : |
1971 . |
| /ID: |
21/TCP , 20/TCP , 49152-65534/TCP |
| : |
|
| : | |
| (): | |
| (): |
ProFTPd, Pure-FTPd, vsftpd, WU-FTPD, FileZilla Server, IIS, CrossFTP Server, wzdftpd |
| : |
. |
FTP (. File Transfer Protocol ) , . FTP FTP, ; , (. FXP).
FTP TCP. , , . 20, , , 21 . . , - , , .
|
|
[]
, . , FTP, , , FTP . , (MAC-, ). , SSL, FTP- FTP-.
( \r\n ):
TCP- ( 21 ) USER \r\n PASS \r\n
USER anonymous\r\n PASS someone@email\r\n
.
[]
- ABOR
- CDUP .
- CWD .
- DELE (DELE filename).
- EPSV . PASV.
- HELP .
- LIST . .
- MDTM .
- MKD .
- NLST LIST. .
- NOOP
- PASV . . RETR, LIST .
- PORT . PORT 12,34,45,56,78,89. .
- PWD .
- QUIT
- REIN
- RETR . RETR PASV PORT.
- RMD
- RNFR RNTO . RNFR , RNTO .
- SIZE
- STOR . STOR PASV PORT.
- SYST (UNIX, WIN, )
- TYPE (, )
- USER
[]
220 FTP server ready. USER ftp // 230 Login successful. PASV 227 Entering Passive Mode (192,168,254,253,233,92)// IP LIST 150 Here comes the directory listing. // 226 Directory send OK. CWD incoming 250 Directory successfully changed. PASV 227 Entering Passive Mode (192,168,254,253,207,56) STOR gyuyfotry.avi 150 Ok to send data. // 226 File receive OK. QUIT 221 Goodbye.
192,168,254,253,207,56 , IP- 192.168.254.253 207 << 8 + 56 = 53048 ( << - , 207 , , 56 207*256+56=53048).
FTP- ( incoming, upload . .), . .
[] PASSIVE MODE
TCP- . , IP NAT, , . , FTP passive mode, . , , . (49152-65534). ftp- NAT, .
[] NAT-PT
FTP- NAT, NAT-PT (rfc2766), NAT. NAT , , , . , FTP-, NAT-PT .
[] FXP
FXP (. File eXchange Protocol ) FTP- , . FXP- FTP- , , PORT IP- .
FXP , , FTP- , -. , FTP-. , FTP-, «».
FXP : PORT IP- , RETR/STOR FTP-, , DDoS- FTP-, , IP FTP- . IP-, PORT, IP- FTP- IP- . , FXP FTP-.
[] .
[]
| URI | |
|---|---|
| aaa: aaas: acap: cap: cid: crid: data: dav: dict: dns: fax: file: ftp: go: gopher: h323: http: https: im: imap: ldap: mailto: mid: news: nfs: nntp: pop: pres: rtsp: sip: sips: snmp: tel: telnet: urn: wais: xmpp: | |
| about: aim: bolo: btc: bzr: callto: chrome: cvs: daap: ed2k: ed2kftp: feed: fish: git: gizmoproject: iax2: irc: ircs: lastfm: ldaps: magnet: mms: msnim: psyc: rsync: secondlife: skype: ssh: svn: sftp: smb: sms: soldat: steam: unreal: ut2004: view-source: vzochat: webcal: xfire: ymsgr: | |
| TCP/IP OSI ( TCP UDP) | |
|---|---|

