FTP协议的分析和扩展(16) <------------------------------------------- 200 USER elly -------------------------------------------> <------------------------------------------- 331 PASS **** -------------------------------------------> <------------------------------------------- 230 \====================================================================/
[3] [4] [5] [6]
一个SSL FTP的连接过程实例: /====================================================================\ WinSock 2.0 -- OpenSSL 0.9.7d 17 Mar 2004 [R] Connecting to 192.168.21.3 -> IP=192.168.21.3 PORT=2121 [R] Connected to 192.168.21.3 [R] 220 Please enter your login name now. [R] AUTH TLS (认证方法) [R] 234 AUTH Command OK. Initializing SSL connection. [R] Connected. Negotiating SSL/TLS session.. [R] SSL/TLS negotiation sUCcessful... (协商关联) [R] TLSv1/SSLv3 encrypted session using cipher AES256-SHA (256 bits) [R] PBSZ 0 (PBSZ设置) [R] 200 PBSZ Command OK. Protection buffer size set to 0. [R] USER elly (ftp传统认证) [R] 331 Password required for elly .