FTPS(FTP+SSL)! v' [; V: c! F- T3 u
. B5 P6 W c1 e! C
ftps是一种多传输协议,相当于加密版的FTP。当你在FTP服务器上收发文件的时候,你面临两个风险。第一个风险是在上载文件的时候为文件加密。第二个风险是,这些文件在你等待接收方下载的时候将停留在FTP服务器上,这时你如何保证这些文件的安全。你的第二个选择(创建一个支持SSL的FTP服务器)能够让你的主机使用一个FTPS连接上载这些文件。这包括使用一个在FTP协议下面的SSL层加密控制和数据通道。一种替代FTPS的协议是安全文件传输协议(SFTP)。这个协议使用SSH文件传输协议加密从客户机到服务器的FTP连接。. \( P, W6 `4 |
3 {# Q, [* @- m; R/ S, F3 E) X- y
& a! Z6 d0 o: b( `) bFTPS是在安全套接层使用标准的FTP协议和指令的一种增强型TFP协议,为FTP协议和数据通道增加了SSL安全功能。FTPS也称作“FTP-SSL”和“FTP-over-SSL”。SSL是一个在客户机和具有SSL功能的服务器之间的安全连接中对数据进行加密和解密的协议。$ M6 \; L2 l x) ~; y, x; _
) s) {9 E- _6 V; G
5 S8 z' G* c7 s/ z4 A% A
和sftp连接方法类似,在windows中可以使用FileZilla等传输软件来连接FTPS进行上传,下载文件,建立,删除目录等操作,在FileZilla连接时,有显式和隐式TLS/SSL连接之分,连接时也有指纹提示。/ l! O" ^6 F# p. Y/ l$ h
, A: M0 Q f( ~! h- |
& d, o9 n4 w6 Z7 H; x' W, |( s
$ E; I6 j1 B* f- g9 Y1 i安全:ftps ftp+ssl
7 G5 T+ A. g( j D/ ~' ?' A! U6 w) |$ P; |/ Q
准备工作:- S) k; f8 c2 p0 S# G
/ [6 k- M9 P: A' b1 M) J( \
准备一:关闭防火墙;
$ [7 H2 `" P; z2 B# n1 ?$ D% v" I, U
准备二:挂载光盘;4 r2 v8 z: v: F, {3 U" ~6 d
. s! P5 G( i: x
准备三:构建本地yum服务器。2 G9 e& Z5 `! Q$ c z
! y& D) B; n+ N6 V, tFTP+SSL配置详细过程:7 i$ [4 F6 `" d7 w
+ H3 V, a1 D9 W0 r: N$ ?7 c
①.安装配置FTP服务器和抓包工具:(ftp:192.168.101.210)3 l' w9 Q* B$ y6 h4 J
9 x/ e `. i2 Z7 t% ~( c+ v5 V
[root@ftp ~]# yum list all |grep vsftpd" m$ D a7 T! e. C/ }
[root@ftp ~]# yum install -y vsftpd
2 a+ @! U; _- U0 Q) W" q& ^) M7 G
[root@ftp ~]# yum list all |grep wireshark
3 f1 E" X3 B, Y; O
% u9 R% H$ n8 D" z: k) Q% |[root@ftp ~]# yum install -y wireshark
9 B- M& J; r* s9 c& f( K: I/ C& \% p3 p. ~
[root@ftp ~]# useradd user1
* R) s& b$ f2 y( h: I[root@ftp ~]# echo "123" |passwd --stdin user1
0 R( V9 ^3 t# J6 h# c0 f$ u7 x* ?4 D8 S4 R5 g, y, S4 F* c
[root@ftp ~]# service vsftpd start/ y6 @ w s. {( m! }
; u2 \, `4 ~% H1 |: OStarting vsftpd for vsftpd: [ OK ]
; y! {* ^5 F* }& I. t4 z/ l
7 o# m% \, V8 N K* Z3 H4 W% E1 p2 [$ `2 O8 D
[root@ftp ~]# tshark -ni eth0 -R "tcp.dstport eq 21"- ^+ c; n( v6 w2 `+ M
) {3 Z& P) x* t
* r3 c3 V" o9 Q+ z: \1 P1 g6 v v7 l$ b+ ?/ [
②.配置本地CA证书服务器:% d1 _1 V, ^3 [5 p/ s" ?
- n- Q( w: C' X6 Q[root@ftp ~]# cd /etc/pki/3 _! N& l: y6 n3 j& t
[root@ftp pki]# ll6 y/ S; O2 X0 G. @- L" U& X `
[root@ftp pki]# vim tls/openssl.cnf+ Y6 n# @* R1 ?8 L: y% Z
45 dir = /etc/pki/CA
- Y' k& `( D5 d4 E88 countryName = optional6 D8 H w9 J0 B! D/ b+ D0 g3 r0 y4 ]
: ^- B& L+ h! {4 l
89 stateOrProvinceName = optional
% _5 j0 |. _* x% u% c! x5 n
. r9 y2 n* ?1 w- V+ m& D90 organizationName = optional
* r2 j, U" k" u$ u' G( G. g7 Y. ~1 q3 C) ?
[root@ftp pki]# cd CA/. d7 G" r7 y- M- D
[root@ftp CA]# mkdir certs newcerts crl
1 v/ \2 l8 x; p( E4 s6 Z' B[root@ftp CA]# touch index.txt serial" h7 o [. C$ y* r
[root@ftp CA]# echo "01" >serial- _0 A9 L; C: r7 t- ^. b
2 _ c5 z) f7 p0 r) M0 F, U1 @
[root@ftp CA]# ll9 v' z& S4 j$ ~" w
[root@ftp CA]# openssl genrsa 1024 > private/cakey.pem
* f% a9 ]) g5 f$ L' a' |# t' |5 ^
9 n! d; }9 T# _6 H2 k; p0 Q& J3 _Generating RSA private key, 1024 bit long modulus8 {0 z: j) O8 w U3 f L
: m$ b' G9 K! `1 K" _" E...........++++++. M5 K0 Z6 Y L# \: o# r
....++++++
! v Q& \( M: se is 65537 (0x10001)
x- a) q; z1 [0 A& i8 s5 F, O$ ?* e( f8 r
[root@ftp CA]# chmod 600 private/cakey.pem6 T4 S+ |# [( J9 b0 n. q- K4 f
[root@ftp CA]# ll private/cakey.pem
3 q! N+ e/ ^6 {% n% H-rw------- 1 root root 887 Feb 10 23:22 private/cakey.pem
. l0 y# A0 h I# R$ l0 b6 _8 b[root@ftp CA]# openssl req -new -x509 -key private/cakey.pem -out cacert.pem -days 3650
( d6 x( M9 I+ z- _; Q- D3 T C6 s, J
You are about to be asked to enter information that will be incorporated
( ?" H* y( Q2 e* R" y
9 x( Q! I7 A6 n1 ^2 o: g7 winto your certificate request.' n2 `* X( G! K
0 z: l, y! T+ k; K( f* U/ ~What you are about to enter is what is called a Distinguished Name or a DN.
, \* ]! }6 M" H) R8 l Z3 v# s4 w. e) z
There are quite a few fields but you can leave some blank5 T5 C! j+ Y4 |, Z! I6 G
Z [4 j K0 N. L! pFor some fields there will be a default value,
( [# D$ j; X+ `3 O! |' E
- i* G/ T7 P' @8 v" [1 RIf you enter '.', the field will be left blank.8 ?) Z+ J. ^9 r& _
- D% d4 Q& }+ f$ X- E- l+ d; z
-----
1 @" f9 [, ~ B I& D! FCountry Name (2 letter code) [GB]:cn
: y& u" {% L1 x6 s( T2 ?4 n- P
: V) x& I2 r4 `State or Province Name (full name) [Berkshire]:henan
- @- d, T3 }+ b0 w* Y/ _ l
5 X+ e& b% w }6 F+ ^- M, U% bLocality Name (eg, city) [Newbury]:zhengzhou0 J+ M$ I9 X7 v# J* A1 L. H) a+ [
3 m z# o$ R* E `4 ~% u
Organization Name (eg, company) [My Company Ltd]:junjie/ Q& m& y- E7 U! D
! H) x) W9 L, ]
Organizational Unit Name (eg, section) []:soft( S2 s- g# V! E$ f
% u0 ]4 s9 {9 x0 c* Y p" D" iCommon Name (eg, your name or your server's hostname) []:ca.junjie.com
1 J8 c8 K+ J" Y, o* j2 G* v
/ G) ~, S, Y+ l2 mEmail Address []:junjie@junjie.com. M) T' J1 X6 s) ?0 K
[root@ftp CA]#ll5 @7 T+ l( J1 S3 @" M1 M, q B
③.为ftp服务器创建证书:% [2 [/ j) F7 M# l9 q
; X& R2 G6 h6 f' E6 w7 y* j
[root@ftp CA]# mkdir /etc/vsftpd/certs+ s ]- p$ W, ^7 p- [* w
[root@ftp CA]# cd /etc/vsftpd/certs( O) x% ^8 a/ k7 I+ N
[root@ftp certs]# openssl genrsa 1024 >vsftpd.key
6 u; |8 w2 G# K& e0 RGenerating RSA private key, 1024 bit long modulus
3 k! o8 M( M1 x4 O. U$ J" m7 N2 K. b$ A: ^0 {9 b: W1 q2 M
....++++++4 |# K4 W2 w7 G8 O1 Q$ ^
...++++++0 K1 |' W, k/ ]8 ^7 X# X
e is 65537 (0x10001)
$ B$ `, x9 ?! x5 S
0 X7 J( r& n; B8 z; U: o) Z: a8 V[root@ftp certs]# openssl req -new -key vsftpd.key -out vsftpd.csr
' F F3 ?% h0 z/ P1 b" a Q' v" e, `( E
You are about to be asked to enter information that will be incorporated
2 P0 r' M( d5 b( F, h9 H1 ^
1 n4 G' \1 L( `. B$ b$ P, n7 finto your certificate request.
) n& P% X: G( L' \! X' a# v2 }) W3 x) ^
What you are about to enter is what is called a Distinguished Name or a DN.+ f: t7 B" N/ ?
" }3 w- X3 h! {3 R$ F3 b
There are quite a few fields but you can leave some blank! c, M3 Z x. E& U
8 T8 Y* G+ V( {9 F2 r! Y! _/ \
For some fields there will be a default value,4 K d4 r% l- h
/ F* \" o, v1 l& ]If you enter '.', the field will be left blank.
" c. K0 O( a! u: o. z' e
2 k' l: X% Y4 R5 W, A& f/ {# C8 J-----, I ?" C) X- ?
Country Name (2 letter code) [GB]:cn, d+ Q6 u8 C7 m( u) |
, g! T: J; y( i2 [) k6 A' TState or Province Name (full name) [Berkshire]:henan
8 x. k) }6 e: H* y1 ]. Y+ d% r7 Z5 l+ l& n3 r
Locality Name (eg, city) [Newbury]:zhengzhou" }2 C6 J3 c; Q( ]/ M0 Y$ a" Z: n
6 F0 `6 S2 G- l ?9 _2 q7 F
Organization Name (eg, company) [My Company Ltd]:junjie8 X! }$ W# p' R" P
1 v" u* d g5 g3 S$ eOrganizational Unit Name (eg, section) []:ftp8 w9 q* s$ A, a# _4 m. H9 o
$ _1 }: `, V% x6 V0 l: yCommon Name (eg, your name or your server's hostname) []:ftp.junjie.com
* W, B- M. g0 ^3 E+ A. ^; [
: @4 x/ j! P0 P1 k% Z, i. U9 gEmail Address []:ftp@junjie.com% c! b: F# Z% Y/ F
; r2 R2 w* s; N- z9 b6 @Please enter the following 'extra' attributes/ o8 }' ~* i1 n( y( e: A2 r4 M, j
) a1 S/ }0 ~- ?# K% S3 }
to be sent with your certificate request8 g! I, o6 c$ p9 F4 B0 d" Z# Z
' |; n. g& B6 z3 X9 T- W/ z" Z2 CA challenge password []:2 |! r9 ?3 x0 c0 X7 E V# k
: Q0 Q; C( @0 R5 w0 d3 L4 p4 W8 B
An optional company name []:
" @$ Q+ V, O) R$ P, u. I7 {( X# Y C) k7 c, c+ s
[root@ftp certs]# openssl ca -in vsftpd.csr -out vsftpd.crt) l$ D. h1 O$ [0 |/ r+ h! P
Using configuration from /etc/pki/tls/openssl.cnf. v4 h9 ]- W* R( ?7 q
) J. N/ S& l5 ?2 q, Z5 c+ p( f o
Check that the request matches the signature7 P' p$ s/ J4 E S: g% H2 M2 s. s
0 N/ _6 V7 f( ISignature ok# r" }) A, h( B/ m
Certificate Details:8 }2 y) |, ]9 \7 [( g+ I
9 l8 d, p7 V8 K7 u/ U
Serial Number: 1 (0x1)
: q1 r8 O7 f! W" B3 L Validity
3 D Q( {! `* m0 I' @: O1 N( \ Not Before: Feb 10 15:48:55 2012 GMT
1 Q% h8 i: x7 Q& Z1 ~" @
* F2 T* R/ H7 P* {9 S Not After : Feb 9 15:48:55 2013 GMT( u- i" t! _0 b/ p& c
Subject:
4 g+ \1 A" Y2 ]" }" x5 M+ M1 t countryName = cn, x% _2 k, r! W* o$ F$ M( Q; y0 X5 J8 @
stateOrProvinceName = henan
$ V4 k) R) B" N6 u+ E' r8 L$ | organizationName = junjie- r* \4 S& w2 M
organizationalUnitName = ftp
/ ]* I( l/ ^. A commonName = ftp.junjie.com. N ]" A) U6 m4 b& p: H
emailAddress = junjie@junjie.com
) h- A' E$ @6 Q' Y X509v3 extensions:
' J. f* O( U" ?7 b0 F$ {" B! u' k- ^- C X509v3 Basic Constraints:% T7 Z9 Q6 t7 d: M
CA:FALSE) h4 r0 }& H* Q3 A
Netscape Comment:
. Q4 D) m4 F+ `3 ] OpenSSL Generated Certificate
9 ]4 _7 J2 l" O# E& [0 a. p X509v3 Subject Key Identifier:
0 s, ~$ K5 w8 k$ k G 33:C5:01:33:A5:CF:42:9F:24:A9:0D:E9:41:8E:26:C3:1B:7B:18:119 {" P8 n! `6 s, S
. b( ^# a3 u, p# F7 P7 H5 X
X509v3 Authority Key Identifier:# x! c/ }8 G+ S) ]3 v% ]( P
keyid:501:A8:0A:1F:B7:CD:49:94:69:E3:70:E9:AE:93:73:2C:94:66:AC9 w+ u! M/ o! Q
6 g; g u- Y0 G) m9 |& j; {. e. M
1 ~ F+ \% ?" c
Certificate is to be certified until Feb 9 15:48:55 2013 GMT (365 days)" ^! M0 Q2 Y. s2 [ U/ ~
/ C: s7 Y5 z* J4 ~( o7 h- t0 c u
Sign the certificate? [y/n]:y
9 }7 q. l5 K* C7 O& {" l& Y( V% @, ?% ]+ \4 C5 y
+ F% [7 [- }/ W$ D
/ u. _' K& {3 ~1 @- o1 out of 1 certificate requests certified, commit? [y/n]y$ s: D8 C0 ~3 L* n, P- j2 l
6 b* n B- ?: X& {6 \Write out database with 1 new entries
7 J8 E0 V) G% f4 u( O2 Q
$ x2 }2 f& R: d* _! gData Base Updated6 b2 b k2 h+ \
[root@ftp certs]# ll1 K# t6 O1 a* t* c! ]: v
[root@ftp certs]# chmod 600 *' U3 [ W j- r6 W. g) V
[root@ftp certs]# ll* F. Z2 _; y; \5 |9 E
④.使ftp服务应用证书:. W {1 v: N+ r0 S6 ^
* v4 g1 U9 t" a# z' t2 i" e1 I[root@ftp certs]# cd /etc/vsftpd/ 3 O( a! R6 r1 D* T, R* H5 v( H1 N; M+ O
[root@ftp vsftpd]# vim vsftpd.conf #增加以下内容
4 m8 Z( @4 l" G3 \0 ~7 i118 rsa_cert_file=/etc/vsftpd/certs/vsftpd.crt% C- |3 M- [ W: V, t( B
: x9 v: Y4 E; F( o
119 rsa_private_key_file=/etc/vsftpd/certs/vsftpd.key
- f2 [* l/ Y% z4 e7 A; U q% e* m& C- O4 U* R2 i7 G
120 force_local_data_ssl=YES4 i9 G B* T! @- j8 ?
121 force_local_logins_ssl=YES4 `+ D0 r- [* J; |( [- M
122 ssl_enable=YES- X: X9 W/ O. k/ u% Z% X
123 ssl_sslv2=YES
" w& V8 \* @8 Q; j; y( T# R124 ssl_sslv3=YES
" s" \* `' Z% ^6 j; u125 ssl_tlsv1=YES
" h8 ^, h" v+ X, w+ M" n, y[root@ftp vsftpd]# service vsftpd restart, I& e2 D* D; D
; J6 ]' S+ U5 eShutting down vsftpd: [ OK ]
# {; O3 ?8 V" o- JStarting vsftpd for vsftpd: [ OK ]5 r% f( \8 M& o# a3 g' ?2 j/ |3 {2 s
⑤客户端测试(已加密传输):
' J5 P- f9 u. e+ F0 S: |- ?3 b; q1 N7 R
- h1 e1 H$ K- ~# D3 c: m5 [
$ n: s- n/ `: Y% ~4 x) |) q
5 B9 {# B2 k! P7 x
% H; x0 r0 Q- i& I
从上面看出证书名称出现问题,但可是可以使用!选择接收一次!4 J3 B& a. s, W4 |/ a" L# S" A
$ G9 k- M$ Z- A0 O* w+ V6 b! g6 C) I
8 h7 n- k0 T$ |+ A% y" V) a
8 l& Z! a9 j! E该次登录抓包内容如下所示:传输已经经过加密!8 C* o" X* {% q6 F' `
[root@ftp ~]# tshark -ni eth0 -R "tcp.dstport eq 21"
$ I5 t. V) Q" v
4 \/ _: P. A' V$ W2 g8 \2 N
# |6 P: E0 ~+ p$ M; g6 H; r( W# W& N3 K% h# }
[root@ftp ~]# tshark -ni eth0 -R "tcp.dstport eq 21"# S- |( @% g" Y) r
$ F/ j+ T" c" c
Running as user "root" and group "root". This could be dangerous.7 ]: n3 Z: Z3 w7 W0 o
4 d% M9 n! Y5 vCapturing on eth0
- P# v" ], J* Y! s6 E! C6 g7 k
' Z5 o2 ]4 y! ^/ L 9.742109 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=2
6 q$ [4 C2 w9 d; p3 {& b2 G( f- e9 a0 E8 O) P* M, H
9.742144 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=1 Ack=1 Win=65700 Len=04 V+ M9 f. @8 v; O9 ]
' u4 i6 E1 e9 f+ U+ B | 9.747458 192.168.101.113 -> 192.168.101.210 FTP Request: AUTH SSL
$ r: T, ?0 G$ V
{6 t( m5 G- ^" h' m: `$ q 9.755605 192.168.101.113 -> 192.168.101.210 FTP Request: \200\310\001\003\001\000\237\000\000\000 \000\300\024\000\300# P4 {5 V6 {( F+ z* m" v
* B0 G/ C$ F0 }1 ] 9.758795 192.168.101.113 -> 192.168.101.210 FTP Request: \026\003\001\000\206\020\000\000\202\000\200n\257\315\204\324o
; i" ^% C N9 w3 d9 m* i- ~4 U" `. d) e0 |( F
9.778662 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\215\325t\357\277\001\376FZ\243D\373\003\367\231\207Q\324\003Q}/\335\025\027\003\001\000 \f\355b\270\355\325\020[\372\302s{^\375\307\364C\307\243\251v9\370\364\260\277\253\317\321gB]
1 _3 @7 F. P% {; y! J! h
3 }0 f* z8 N4 r% N 9.779885 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\324\000\267\312\0320\213\266y\311\025[\371\275?\254Y\257\024[\245vjM\027\003\001\000(\236\321\221Z\321Z(\316'\343.\235?\321=8\264b\270(j\336\231\210\265\207K\223A\037"\277\251\252t\252a`\374
" ?" J3 l/ s1 E2 \: b S/ u: q9 j2 w. m; W4 p1 F. ^
9.782153 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\257d\313mXZT\356\2366\334q\223\017gt\371\232\207\226\325
0 U* e+ w l& N% k* i' f* z( e; [! U) v" P: h l
9.793165 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\0301\020S\237\372\210\004N4\370\366\377\2213m\356\233w:\275)>@%\027\003\001\000 Y\032\275BM=3J\313\240\241\372Z\371@\335\262\252\240\235\021\345\271\305\223\211\020\340\332\323Q\251
4 p' `3 Q* E F" m1 m
% e c6 |( r# M; F7 x 9.795630 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\302\016=LR\272\030{\034\277V\256]\230\247\363\355M\241\327U\207k\032\027\003\001\000 OYi\216=S\322\212)\271V\016\2519w\332f\213\222S\244\275M\316\025N\302:k\312b\331
$ s# W3 e1 _; O1 x
; F, P& j$ ?/ `2 d y; a 9.796727 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=741 Ack=1260 Win=64440 Len=0
" [" P, w1 r7 x4 S% y; g2 ?5 d
2 G$ s; F. o( B6 @) j 9.797542 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=741 Ack=1334 Win=64364 Len=0
- k! Y u3 l# l/ ]' Z4 D8 `( t
& |1 U$ L" s0 U* _4 R; ^7 @% P1 l 9.798327 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=741 Ack=1408 Win=64292 Len=0% N0 a1 h7 _6 Q) h
. ^7 C: k5 q$ _$ V6 X2 B5 A
9.798775 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=741 Ack=1482 Win=65700 Len=02 R3 A, ~0 N; C
: c+ n- J9 s/ Q! Y2 X3 q4 W 9.799387 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=741 Ack=1564 Win=65616 Len=07 ^/ I/ y' C8 Z& W3 t
+ T& P4 B8 \# k% A 9.799910 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=741 Ack=1638 Win=65544 Len=0
0 V6 X; ~0 `7 p0 Z6 f6 L3 O' n) E* D2 y) k2 t
9.805078 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030G}\305\210\021s\244q\023k=\345R\232A\366B\360\202\320\361(x\344\027\003\001\000 \351W\350\377\362\2756\334\303\035+1l|{\304\277\224\326n\036d\213\217\b\216\023N\225\003a\274
+ ` b+ M3 g' M$ G b* D
7 e' L$ H! M# g- M 9.810763 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\203\354F\302\253\205\212\355\334$\321=\303h\276\302\350\320.\346\223\337BG\027\003\001\000 73\027\372#\232
# |6 V8 `3 Y0 v, e4 _: T
* S; ]- N( Q5 T 9.813350 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\203x`k\337RM\341w\022N\255|f\260U ?\354)A\301^\251\027\003\001\000 \031`\366\364He\030\266z)\373\265\237\261\3430\220\331\340Kv[\033\347\tXj\344\314\236\242) s p* [) P/ |0 r
: C: ?( L# \: G- Y% b, v
9.814073 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\307\2126sY\a\237\034\321\277!j\320\213\235\032\277e\345\361E>|)\027\003\001\000 \256\304}:-\365\034\aD~\fk`]\314\b\207\365-\217\305\2448 k$ r5 p8 n. M+ j
* y0 H" I$ v: ]% q9 l/ m
9.838659 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\300\272t&\t(\262\243\361\210\263\343\326\261\017$\317V\002\354\325\271\250\366\027\003\001\000 \350F\305\360\363\365\033\274W\207M\006\216\255\016\365\205z\033\002\032B\345,\3712\034\377\327[\272P
, I0 @, P! s4 K9 y c4 v# C2 B0 R
) |8 h; V7 i* w( u4 p, x 9.851675 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=1071 Ack=2041 Win=65140 Len=0
% \+ { G7 H. q% `
1 ^3 j4 H+ A: F, Q" Z. q" z 9.856073 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030\f\357\000E/\372\333\247\016\344\315\345\346\271L\327\214CE0*i\316\332\027\003\001\000(8\220\341\316.*\234dM\235# M$ v# v* Q. v4 y: ?1 X
7 q: [2 N- q: x7 r6 \, B
10.061779 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [ACK] Seq=1145 Ack=2094 Win=65088 Len=0
/ V" w- d2 Z7 ]& ?2 ?# [$ d5 U {0 ]% t' b+ L
39.978110 192.168.101.113 -> 192.168.101.210 FTP Request: \027\003\001\000\030=\032\322\022\216B\025O\016\034
& o1 W! M3 v: d9 u
4 {6 G# c. A( ?* g; J6 h; a 39.980672 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [FIN, ACK] Seq=1211 Ack=2139 Win=65040 Len=02 g. P/ m$ k1 i+ u
* m0 |" \0 p) R2 Q- R3 ` 39.980725 192.168.101.113 -> 192.168.101.210 TCP 52572 > 21 [RST, ACK] Seq=1212 Ack=2149 Win=0 Len=0
0 f4 f, a# }' h5 n0 ~; Z: S$ C+ t k- e7 y6 D
27 packets captured3 Q* y5 A- |# J; Z. X! [
+ D0 e) n- p5 w7 s4 F[root@ftp ~]# |