WIZnet Developer Forum

tcp data corruption

i have a problem with W5100 (192.168.10.100).
i uploaded wireshark capture file (w5100extract.pcapng).

capture file’s content is “TCP Dup ACK -> TCP Fast Retransmission -> TCP ZeroWindow -> TCP Out-Of-Order
-> Data Length is wrong”…
what’s wrong with this?

I see no attachments. Please try again.

i can’t attach file, so copy & paste packets

  1 2018-01-19 19:33:38.700737    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=1 Ack=1 Win=2048 Len=1460
  2 2018-01-19 19:33:38.700737    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=1461 Ack=1 Win=2048 Len=588
  3 2018-01-19 19:33:38.701783    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=2049 Ack=1 Win=2048 Len=1460
  4 2018-01-19 19:33:38.701784    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=3509 Ack=1 Win=2048 Len=588
  5 2018-01-19 19:33:38.704211    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=4097 Ack=1 Win=2048 Len=1460
  6 2018-01-19 19:33:38.704212    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=5557 Ack=1 Win=2048 Len=588
  7 2018-01-19 19:33:38.705582    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=6145 Ack=1 Win=2048 Len=1460
  8 2018-01-19 19:33:38.705583    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=7605 Ack=1 Win=2048 Len=588
  9 2018-01-19 19:33:38.706630    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=8193 Ack=1 Win=2048 Len=1460
 10 2018-01-19 19:33:38.706631    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=9653 Ack=1 Win=2048 Len=588
 11 2018-01-19 19:33:38.707732    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=10241 Ack=1 Win=2048 Len=1460
 12 2018-01-19 19:33:38.707733    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=11701 Ack=1 Win=2048 Len=588
 13 2018-01-19 19:33:38.708325    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [ACK] Seq=1 Ack=10241 Win=13140 Len=0
 14 2018-01-19 19:33:38.708326    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=12289 Ack=1 Win=2048 Len=1460
 15 2018-01-19 19:33:38.708327    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=13749 Ack=1 Win=2048 Len=588
 16 2018-01-19 19:33:38.709015    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 13#1] 47691 → 2111 [ACK] Seq=1 Ack=10241 Win=13140 Len=0
 17 2018-01-19 19:33:38.709016    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 13#2] 47691 → 2111 [ACK] Seq=1 Ack=10241 Win=13140 Len=0
 18 2018-01-19 19:33:38.709728    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=14337 Ack=1 Win=2048 Len=1460
 19 2018-01-19 19:33:38.709729    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=15797 Ack=1 Win=2048 Len=588
 20 2018-01-19 19:33:38.709732    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 13#3] 47691 → 2111 [ACK] Seq=1 Ack=10241 Win=13140 Len=0
 21 2018-01-19 19:33:38.710831    192.168.10.100        192.168.10.200        TCP      1514   [TCP Fast Retransmission] 2111 → 47691 [PSH, ACK] Seq=10241 Ack=1 Win=2048 Len=1460
 22 2018-01-19 19:33:38.710833    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 13#4] 47691 → 2111 [ACK] Seq=1 Ack=10241 Win=13140 Len=0
 23 2018-01-19 19:33:38.710834    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=16385 Ack=1 Win=2048 Len=1460
 24 2018-01-19 19:33:38.710836    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=17845 Ack=1 Win=2048 Len=588
 25 2018-01-19 19:33:38.710837    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [ACK] Seq=1 Ack=11701 Win=11680 Len=0
 26 2018-01-19 19:33:38.711501    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 25#1] 47691 → 2111 [ACK] Seq=1 Ack=11701 Win=11680 Len=0
 27 2018-01-19 19:33:38.711502    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=18433 Ack=1 Win=2048 Len=1460
 28 2018-01-19 19:33:38.711504    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=19893 Ack=1 Win=2048 Len=588
 29 2018-01-19 19:33:38.711505    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 25#2] 47691 → 2111 [ACK] Seq=1 Ack=11701 Win=11680 Len=0
 30 2018-01-19 19:33:38.712176    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 25#3] 47691 → 2111 [ACK] Seq=1 Ack=11701 Win=11680 Len=0
 31 2018-01-19 19:33:38.712662    192.168.10.100        192.168.10.200        TCP      1514   [TCP Fast Retransmission] 2111 → 47691 [PSH, ACK] Seq=11701 Ack=1 Win=2048 Len=1460
 32 2018-01-19 19:33:38.712664    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 25#4] 47691 → 2111 [ACK] Seq=1 Ack=11701 Win=11680 Len=0
 33 2018-01-19 19:33:38.712665    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=20481 Ack=1 Win=2048 Len=1460
 34 2018-01-19 19:33:38.712667    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=21941 Ack=1 Win=2048 Len=588
 35 2018-01-19 19:33:38.715178    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=22529 Ack=1 Win=2048 Len=1460
 36 2018-01-19 19:33:38.715179    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=23989 Ack=1 Win=2048 Len=588
 37 2018-01-19 19:33:38.716732    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=24577 Ack=1 Win=2048 Len=1460
 38 2018-01-19 19:33:38.716733    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=26037 Ack=1 Win=2048 Len=588
 39 2018-01-19 19:33:38.717734    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=26625 Ack=1 Win=2048 Len=1460
 40 2018-01-19 19:33:38.717735    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=28085 Ack=1 Win=2048 Len=588
 41 2018-01-19 19:33:38.718321    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [ACK] Seq=1 Ack=26037 Win=2920 Len=0
 42 2018-01-19 19:33:38.718321    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 41#1] 47691 → 2111 [ACK] Seq=1 Ack=26037 Win=2920 Len=0
 43 2018-01-19 19:33:38.718322    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=28673 Ack=1 Win=2048 Len=1460
 44 2018-01-19 19:33:38.718323    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=588
 45 2018-01-19 19:33:38.719006    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 41#2] 47691 → 2111 [ACK] Seq=1 Ack=26037 Win=2920 Len=0
 46 2018-01-19 19:33:38.719007    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 41#3] 47691 → 2111 [ACK] Seq=1 Ack=26037 Win=2920 Len=0
 47 2018-01-19 19:33:38.719925    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=30721 Ack=1 Win=2048 Len=1460
 48 2018-01-19 19:33:38.719926    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=32181 Ack=1 Win=2048 Len=588
 49 2018-01-19 19:33:38.719929    192.168.10.100        192.168.10.200        TCP      1514   [TCP Fast Retransmission] 2111 → 47691 [PSH, ACK] Seq=26037 Ack=1 Win=2048 Len=1460
 50 2018-01-19 19:33:38.719930    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 41#4] 47691 → 2111 [ACK] Seq=1 Ack=26037 Win=2920 Len=0
 51 2018-01-19 19:33:38.720251    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 41#5] 47691 → 2111 [ACK] Seq=1 Ack=26037 Win=2920 Len=0
 52 2018-01-19 19:33:38.720586    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=32769 Ack=1 Win=2048 Len=1460
 53 2018-01-19 19:33:38.720587    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=34229 Ack=1 Win=2048 Len=588
 54 2018-01-19 19:33:38.720589    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [ACK] Seq=1 Ack=27497 Win=1460 Len=0
 55 2018-01-19 19:33:38.721320    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 54#1] 47691 → 2111 [ACK] Seq=1 Ack=27497 Win=1460 Len=0
 56 2018-01-19 19:33:38.721321    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 54#2] 47691 → 2111 [ACK] Seq=1 Ack=27497 Win=1460 Len=0
 57 2018-01-19 19:33:38.721658    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=34817 Ack=1 Win=2048 Len=1460
 58 2018-01-19 19:33:38.721659    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=36277 Ack=1 Win=2048 Len=588
 59 2018-01-19 19:33:38.722312    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 54#3] 47691 → 2111 [ACK] Seq=1 Ack=27497 Win=1460 Len=0
 60 2018-01-19 19:33:38.722313    192.168.10.100        192.168.10.200        TCP      1514   [TCP Fast Retransmission] 2111 → 47691 [PSH, ACK] Seq=27497 Ack=1 Win=2048 Len=1460
 61 2018-01-19 19:33:38.722314    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 54#4] 47691 → 2111 [ACK] Seq=1 Ack=27497 Win=1460 Len=0
 62 2018-01-19 19:33:38.722644    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=36865 Ack=1 Win=2048 Len=1460
 63 2018-01-19 19:33:38.722647    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=38325 Ack=1 Win=2048 Len=588
 64 2018-01-19 19:33:38.723598    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=38913 Ack=1 Win=2048 Len=1460
 65 2018-01-19 19:33:38.723599    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=40373 Ack=1 Win=2048 Len=588
 66 2018-01-19 19:33:38.723601    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 67 2018-01-19 19:33:38.723602    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 68 2018-01-19 19:33:38.724314    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 69 2018-01-19 19:33:38.724314    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 70 2018-01-19 19:33:38.724833    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
 71 2018-01-19 19:33:38.725342    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 72 2018-01-19 19:33:38.726193    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=40961 Ack=1 Win=2048 Len=1460
 73 2018-01-19 19:33:38.726195    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=42421 Ack=1 Win=2048 Len=588
 74 2018-01-19 19:33:38.726955    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 75 2018-01-19 19:33:38.726956    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 76 2018-01-19 19:33:38.727832    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
 77 2018-01-19 19:33:38.727833    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=43009 Ack=1 Win=2048 Len=1460
 78 2018-01-19 19:33:38.727835    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=44469 Ack=1 Win=2048 Len=588
 79 2018-01-19 19:33:38.727836    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 80 2018-01-19 19:33:38.728705    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=45057 Ack=1 Win=2048 Len=1460
 81 2018-01-19 19:33:38.728707    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=46517 Ack=1 Win=2048 Len=588
 82 2018-01-19 19:33:38.728709    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 83 2018-01-19 19:33:38.728709    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 84 2018-01-19 19:33:38.729197    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
 85 2018-01-19 19:33:38.729199    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 86 2018-01-19 19:33:38.729803    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=47105 Ack=1 Win=2048 Len=1460
 87 2018-01-19 19:33:38.729805    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=48565 Ack=1 Win=2048 Len=588
 88 2018-01-19 19:33:38.729806    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 89 2018-01-19 19:33:38.729807    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 90 2018-01-19 19:33:38.730244    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
 91 2018-01-19 19:33:38.730245    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 92 2018-01-19 19:33:38.730689    Micro-St_3c:a2:94     Broadcast             ARP      42     Who has 192.168.10.1? Tell 192.168.10.10
 93 2018-01-19 19:33:38.730866    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=49153 Ack=1 Win=2048 Len=1460
 94 2018-01-19 19:33:38.730868    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=50613 Ack=1 Win=2048 Len=588
 95 2018-01-19 19:33:38.730869    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 96 2018-01-19 19:33:38.730870    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
 97 2018-01-19 19:33:38.730872    Micro-St_3c:a2:94     Broadcast             ARP      60     Who has 192.168.10.1? Tell 192.168.10.10
 98 2018-01-19 19:33:38.731909    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
 99 2018-01-19 19:33:38.731911    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=51201 Ack=1 Win=2048 Len=1460
100 2018-01-19 19:33:38.731913    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=52661 Ack=1 Win=2048 Len=588
101 2018-01-19 19:33:38.731914    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
102 2018-01-19 19:33:38.731915    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
103 2018-01-19 19:33:38.732429    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
104 2018-01-19 19:33:38.732430    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=53249 Ack=1 Win=2048 Len=1460
105 2018-01-19 19:33:38.732431    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=54709 Ack=1 Win=2048 Len=588
106 2018-01-19 19:33:38.732757    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
107 2018-01-19 19:33:38.732758    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
108 2018-01-19 19:33:38.732759    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
109 2018-01-19 19:33:38.733696    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=55297 Ack=1 Win=2048 Len=1460
110 2018-01-19 19:33:38.733699    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=56757 Ack=1 Win=2048 Len=588
111 2018-01-19 19:33:38.733700    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
112 2018-01-19 19:33:38.734330    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
113 2018-01-19 19:33:38.734331    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
114 2018-01-19 19:33:38.734332    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
115 2018-01-19 19:33:38.734333    192.168.10.100        192.168.10.200        TCP      1514   2111 → 47691 [PSH, ACK] Seq=57345 Ack=1 Win=2048 Len=1460
116 2018-01-19 19:33:38.734336    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=58805 Ack=1 Win=2048 Len=588
117 2018-01-19 19:33:38.734694    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
118 2018-01-19 19:33:38.735194    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
119 2018-01-19 19:33:38.735195    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
120 2018-01-19 19:33:38.735779    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
121 2018-01-19 19:33:38.735780    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
122 2018-01-19 19:33:38.736245    192.168.10.100        192.168.10.200        TCP      1514   [TCP Out-Of-Order] 2111 → 47691 [PSH, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
123 2018-01-19 19:33:38.736247    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
124 2018-01-19 19:33:38.736957    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
125 2018-01-19 19:33:38.736958    192.168.10.100        192.168.10.200        TCP      1142   2111 → 47691 [PSH, ACK] Seq=59393 Ack=1 Win=2048 Len=1088
126 2018-01-19 19:33:38.736959    192.168.10.100        192.168.10.200        FTP      77     Response: 226 Transfer complete
127 2018-01-19 19:33:38.736960    192.168.10.100        192.168.10.200        TCP      60     2111 → 47691 [FIN, ACK] Seq=60481 Ack=1 Win=2048 Len=0
128 2018-01-19 19:33:38.736961    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
129 2018-01-19 19:33:38.737749    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
130 2018-01-19 19:33:38.737750    192.168.10.200        192.168.10.100        TCP      60     33265 → 21 [ACK] Seq=1 Ack=24 Win=14600 Len=0
131 2018-01-19 19:33:38.738076    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
132 2018-01-19 19:33:38.771003    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5673; Unit:   1, Func:   2: Read Discrete Inputs
133 2018-01-19 19:33:38.789954    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5673; Unit:   1, Func:   2: Read Discrete Inputs
134 2018-01-19 19:33:38.789956    192.168.10.200        192.168.10.100        TCP      60     58652 → 502 [ACK] Seq=13 Ack=11 Win=14600 Len=0
135 2018-01-19 19:33:38.826770    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5674; Unit:   1, Func:   2: Read Discrete Inputs
136 2018-01-19 19:33:38.845011    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5674; Unit:   1, Func:   2: Read Discrete Inputs
137 2018-01-19 19:33:38.855286    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5675; Unit:   1, Func:   2: Read Discrete Inputs
138 2018-01-19 19:33:38.866991    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5675; Unit:   1, Func:   2: Read Discrete Inputs
139 2018-01-19 19:33:38.877315    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5676; Unit:   1, Func:   3: Read Holding Registers
140 2018-01-19 19:33:38.888968    192.168.10.100        192.168.10.200        Modbus/TCP 85     Response: Trans:  5676; Unit:   1, Func:   3: Read Holding Registers
141 2018-01-19 19:33:38.899292    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5677; Unit:   1, Func:   4: Read Input Registers
142 2018-01-19 19:33:38.910879    192.168.10.100        192.168.10.200        Modbus/TCP 103    Response: Trans:  5677; Unit:   1, Func:   4: Read Input Registers
143 2018-01-19 19:33:38.921296    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5678; Unit:   1, Func:   2: Read Discrete Inputs
144 2018-01-19 19:33:38.932976    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5678; Unit:   1, Func:   2: Read Discrete Inputs
145 2018-01-19 19:33:38.940875    192.168.10.100        192.168.10.200        TCP      1514   [TCP Retransmission] 2111 → 47691 [FIN, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
146 2018-01-19 19:33:38.941202    192.168.10.200        192.168.10.100        TCP      60     [TCP ZeroWindow] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=0 Len=0
147 2018-01-19 19:33:38.943328    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5679; Unit:   1, Func:   4: Read Input Registers
148 2018-01-19 19:33:38.954971    192.168.10.100        192.168.10.200        Modbus/TCP 79     Response: Trans:  5679; Unit:   1, Func:   4: Read Input Registers
149 2018-01-19 19:33:38.964951    192.168.10.200        192.168.10.100        TCP      60     [TCP Window Update] 47691 → 2111 [ACK] Seq=1 Ack=30133 Win=40880 Len=0
150 2018-01-19 19:33:38.964952    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5680; Unit:   1, Func:   4: Read Input Registers
151 2018-01-19 19:33:38.977016    192.168.10.100        192.168.10.200        Modbus/TCP 65     Response: Trans:  5680; Unit:   1, Func:   4: Read Input Registers
152 2018-01-19 19:33:38.987283    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5681; Unit:   1, Func:   2: Read Discrete Inputs
153 2018-01-19 19:33:38.998991    192.168.10.100        192.168.10.200        Modbus/TCP 66     Response: Trans:  5681; Unit:   1, Func:   2: Read Discrete Inputs
154 2018-01-19 19:33:39.009304    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5682; Unit:   1, Func:   2: Read Discrete Inputs
155 2018-01-19 19:33:39.020981    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5682; Unit:   1, Func:   2: Read Discrete Inputs
156 2018-01-19 19:33:39.031291    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5683; Unit:   1, Func:   1: Read Coils
157 2018-01-19 19:33:39.042984    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5683; Unit:   1, Func:   1: Read Coils
158 2018-01-19 19:33:39.082988    192.168.10.200        192.168.10.100        TCP      60     58652 → 502 [ACK] Seq=133 Ack=189 Win=14600 Len=0
159 2018-01-19 19:33:39.158284    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5684; Unit:   1, Func:   4: Read Input Registers
160 2018-01-19 19:33:39.167824    192.168.10.100        192.168.10.200        TCP      1514   [TCP Retransmission] 2111 → 47691 [FIN, ACK] Seq=30133 Ack=1 Win=2048 Len=1460
161 2018-01-19 19:33:39.168298    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [ACK] Seq=1 Ack=31594 Win=40880 Len=0
162 2018-01-19 19:33:39.168300    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [FIN, ACK] Seq=1 Ack=31594 Win=40880 Len=0
163 2018-01-19 19:33:39.168301    192.168.10.100        192.168.10.200        TCP      60     2111 → 47691 [ACK] Seq=60482 Ack=2 Win=2048 Len=0
164 2018-01-19 19:33:39.174924    192.168.10.100        192.168.10.200        Modbus/TCP 69     Response: Trans:  5684; Unit:   1, Func:   4: Read Input Registers
165 2018-01-19 19:33:39.174925    192.168.10.200        192.168.10.100        TCP      60     58652 → 502 [ACK] Seq=145 Ack=204 Win=14600 Len=0
166 2018-01-19 19:33:39.206016    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5685; Unit:   1, Func:   4: Read Input Registers
167 2018-01-19 19:33:39.218954    192.168.10.100        192.168.10.200        Modbus/TCP 73     Response: Trans:  5685; Unit:   1, Func:   4: Read Input Registers
168 2018-01-19 19:33:39.229292    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5686; Unit:   1, Func:   2: Read Discrete Inputs
169 2018-01-19 19:33:39.240966    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5686; Unit:   1, Func:   2: Read Discrete Inputs
170 2018-01-19 19:33:39.244888    192.168.10.10         192.168.10.255        UDP      305    54915 → 54915 Len=263
171 2018-01-19 19:33:39.245244    192.168.10.10         192.168.10.255        UDP      305    54915 → 54915 Len=263
172 2018-01-19 19:33:39.251284    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5687; Unit:   1, Func:   4: Read Input Registers
173 2018-01-19 19:33:39.262970    192.168.10.100        192.168.10.200        Modbus/TCP 95     Response: Trans:  5687; Unit:   1, Func:   4: Read Input Registers
174 2018-01-19 19:33:39.273279    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5688; Unit:   1, Func:   2: Read Discrete Inputs
175 2018-01-19 19:33:39.274974    192.168.10.200        192.168.10.100        FTP      60     Request: NOOP
176 2018-01-19 19:33:39.285011    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5688; Unit:   1, Func:   2: Read Discrete Inputs
177 2018-01-19 19:33:39.286237    192.168.10.100        192.168.10.200        FTP      78     Response: 200 Command successful
178 2018-01-19 19:33:39.286239    192.168.10.200        192.168.10.100        TCP      60     33265 → 21 [ACK] Seq=7 Ack=48 Win=14600 Len=0
179 2018-01-19 19:33:39.295285    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5689; Unit:   1, Func:   3: Read Holding Registers
180 2018-01-19 19:33:39.306984    192.168.10.100        192.168.10.200        Modbus/TCP 65     Response: Trans:  5689; Unit:   1, Func:   3: Read Holding Registers
181 2018-01-19 19:33:39.317257    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5690; Unit:   1, Func:   3: Read Holding Registers
182 2018-01-19 19:33:39.329006    192.168.10.100        192.168.10.200        Modbus/TCP 65     Response: Trans:  5690; Unit:   1, Func:   3: Read Holding Registers
183 2018-01-19 19:33:39.339258    192.168.10.200        192.168.10.100        Modbus/TCP 66        Query: Trans:  5691; Unit:   1, Func:   1: Read Coils
184 2018-01-19 19:33:39.351011    192.168.10.100        192.168.10.200        Modbus/TCP 64     Response: Trans:  5691; Unit:   1, Func:   1: Read Coils
185 2018-01-19 19:33:39.371138    192.168.10.100        192.168.10.200        TCP      1514   [TCP Retransmission] 2111 → 47691 [FIN, ACK] Seq=31594 Ack=2 Win=2048 Len=1460
186 2018-01-19 19:33:39.371604    192.168.10.200        192.168.10.100        TCP      60     47691 → 2111 [RST] Seq=2 Win=0 Len=0
187 2018-01-19 19:33:39.387952    192.168.10.200        192.168.10.100        TCP      60     58652 → 502 [ACK] Seq=229 Ack=316 Win=14600 Len=0

I do not see “data length is wrong” message in provided information. You must share pcapng log somehow, and point us to the issue in this log.

is this situation normal?
<TCP Dup ACK -> TCP Fast Retransmission -> TCP ZeroWindow -> TCP Out-Of-Order>
why it happened [zerowindow, out of order]?

After this packet, my file transfer is strange.
File length received from W5100 is different compared to original file size.

Hello,

I want to see a wireshark file.
please, send .pcap file to becky@wiznet.io and describe the firmware.

Hello,

I saw the your packet file.
In the communication, if the reception rate can not keep up with the transmission rate, there may be Dup ACK packet.
However, the ZeroWindow packet is a packet that appears because the client’s window is not released.
Make sure the client is receiving properly.

thank you for your reply,
i’ll check.

What is the TX buffer size for the respective W5100 socket you use?

These entries

19 2018-01-19 19:33:38.709729    192.168.10.100        192.168.10.200        TCP      642    2111 → 47691 [PSH, ACK] Seq=15797 Ack=1 Win=2048 Len=588
20 2018-01-19 19:33:38.709732    192.168.10.200        192.168.10.100        TCP      60     [TCP Dup ACK 13#3] 47691 → 2111 [ACK] Seq=1 Ack=10241 Win=13140 Len=0
21 2018-01-19 19:33:38.710831    192.168.10.100        192.168.10.200        TCP      1514   [TCP Fast Retransmission] 2111 → 47691 [PSH, ACK] Seq=10241 Ack=1 Win=2048 Len=1460

make me think that you allocated at least 8 KB for TX buffer.
If you would have default 2KB allocated for TX buffer, then W5100 would not be able to re-transmit packet with the position 10241 as its current pointer is at 15797 which is 5KB ahead.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.