Connection Reset By peer与Gprs

关于Connection Reset  By peer
在圣诞节的前一天,遇到了Reset,
发现只要一有行动,就无情地碰到Reset
后来实在没有办法,请来了Dump(tcpdump),
先布置好环境,当Dump出场时,
就得到了下边的记录。
10:47:01.213878 IP 10.88.122.121.40928 > 222.44.121.49.9201: Flags [S], seq 29722
84216, win 5840, options [mss 1460,sackOK,TS val 7433814 ecr 0,nop,wscale 1], le
ngth 0
10:47:01.883610 IP 222.44.121.49.9201 > 10.88.122.121.40928: Flags [S.], seq 7694
56320, ack 2972284217, win 16384, options [mss 1360,nop,wscale 0,nop,nop,TS val
0 ecr 0,nop,nop,sackOK], length 0
10:47:01.883959 IP 10.88.122.121.40928 > 222.44.121.49.9201: Flags [.], ack 1, wi
n 2920, options [nop,nop,TS val 7433881 ecr 0], length 0
10:47:01.886637 IP 10.88.122.121.40928 > 222.44.121.49.9201: Flags [P.], seq 1:21
, ack 1, win 2920, options [nop,nop,TS val 7433881 ecr 0], length 20
10:47:02.323616 IP 222.44.121.49.9201 > 10.88.122.121.40928: Flags [P.], seq 1:21
, ack 21, win 65515, options [nop,nop,TS val 11274902 ecr 7433881], length 20
10:47:02.323891 IP 10.88.122.121.40928 > 222.44.121.49.9201: Flags [.], ack 21, w
in 2920, options [nop,nop,TS val 7433925 ecr 11274902], length 0
10:48:03.184540 IP 10.88.122.121.40928 > 222.44.121.49.9201: Flags [P.], seq 21:4
1, ack 21, win 2920, options [nop,nop,TS val 7440011 ecr 11274902], length 20
10:48:03.943675 IP 222.44.121.49.9201 > 10.88.122.121.40928: Flags [R], seq 76945
6341, win 0, length 0
分析良久,
查TCP/IP详解,
发现Stevens评论Reset出场三种场景,
两种都由Server主导,
第三种基本不会出现。

终下结论:Client无罪,
Server乱来。

Why?

你可能感兴趣的:(Connection Reset By peer与Gprs)