0
我已將通信故障縮小到以下交換。我可以看到從數據包#74開始的TCP建立SYN,SYN/ACK和ACK數據包。 22ms後,連接報告丟失(非常靠近PSH數據包#77),我不明白爲什麼。它是否確認了錯誤的SEQ?如果有問題,通信將通過PLC鏈接。 .6232地址屬於我的鏈接。是否存在導致這些數據包中出現「TCP連接丟失」的TCP協議衝突?
非常感謝提前。
證據:
的EVSE通信控制器(其代碼我無緣看到)報告事件的順序如下:
[16/11/23_13:38:37:606] [Message] Sdp request successfully received and checked!
[16/11/23_13:38:37:797] [Message] TCP connection established ...
[16/11/23_13:38:37:801] [Message] Expected next Request: SupportedAppProtocol
[16/11/23_13:38:37:819] [Message] TCP connection lost ...
與這些數據包來自同一EVSE網絡tcpdump'ed :
#71 13:38:37.603416 IP6 fe80::201:87ff:fe05:2cbf > ff02::1:ff62:6232: ICMP6, neighbor solicitation, who has fe80::201:1ff:fe62:6232, length 32
0x0000: 3333 ff62 6232 0001 8705 2cbf 86dd 6000 33.bb2....,...`.
0x0010: 0000 0020 3aff fe80 0000 0000 0000 0201 ....:...........
0x0020: 87ff fe05 2cbf ff02 0000 0000 0000 0000 ....,...........
0x0030: 0001 ff62 6232 8700 4ce8 0000 0000 fe80 ...bb2..L.......
0x0040: 0000 0000 0000 0201 01ff fe62 6232 0101 ...........bb2..
0x0050: 0001 8705 2cbf ....,.
#72 13:38:37.620216 IP6 fe80::201:1ff:fe62:6232 > fe80::201:87ff:fe05:2cbf: ICMP6, neighbor advertisement, tgt is fe80::201:1ff:fe62:6232, length 32
0x0000: 0001 8705 2cbf 0001 0162 6232 86dd 6000 ....,....bb2..`.
0x0010: 0000 0020 3aff fe80 0000 0000 0000 0201 ....:...........
0x0020: 01ff fe62 6232 fe80 0000 0000 0000 0201 ...bb2..........
0x0030: 87ff fe05 2cbf 8800 389b 6000 0000 fe80 ....,...8.`.....
0x0040: 0000 0000 0000 0201 01ff fe62 6232 0201 ...........bb2..
0x0050: 0001 0162 6232 ...bb2
#73 13:38:37.620431 IP6 fe80::201:87ff:fe05:2cbf.15118 > fe80::201:1ff:fe62:6232.56978: UDP, length 28
0x0000: 0001 0162 6232 0001 8705 2cbf 86dd 6000 ...bb2....,...`.
0x0010: 0000 0024 1140 fe80 0000 0000 0000 0201 [email protected]
0x0020: 87ff fe05 2cbf fe80 0000 0000 0000 0201 ....,...........
0x0030: 01ff fe62 6232 3b0e de92 0024 ac61 01fe ...bb2;....$.a..
0x0040: 9001 0000 0014 fe80 0000 0000 0000 0201 ................
0x0050: 87ff fe05 2cbf cdec 1000 ....,.....
#74 13:38:37.784028 IP6 fe80::201:1ff:fe62:6232.56056 > fe80::201:87ff:fe05:2cbf.52716: Flags [S], seq 7266836, win 3107, options [mss 1440], length 0
0x0000: 0001 8705 2cbf 0001 0162 6232 86dd 6000 ....,....bb2..`.
0x0010: 0000 0018 06ff fe80 0000 0000 0000 0201 ................
0x0020: 01ff fe62 6232 fe80 0000 0000 0000 0201 ...bb2..........
0x0030: 87ff fe05 2cbf daf8 cdec 006e e214 0000 ....,......n....
0x0040: 0000 6002 0c23 ea52 0000 0204 05a0 ..`..#.R......
#75 13:38:37.784415 IP6 fe80::201:87ff:fe05:2cbf.52716 > fe80::201:1ff:fe62:6232.56056: Flags [S.], seq 206804358, ack 7266837, win 14400, options [mss 1440], length 0
0x0000: 0001 0162 6232 0001 8705 2cbf 86dd 6000 ...bb2....,...`.
0x0010: 0000 0018 0640 fe80 0000 0000 0000 0201 [email protected]
0x0020: 87ff fe05 2cbf fe80 0000 0000 0000 0201 ....,...........
0x0030: 01ff fe62 6232 cdec daf8 0c53 9586 006e ...bb2.....S...n
0x0040: e215 6012 3840 1c4b 0000 0204 05a0 ..`[email protected]
#76 13:38:37.794237 IP6 fe80::201:1ff:fe62:6232.56056 > fe80::201:87ff:fe05:2cbf.52716: Flags [.], ack 1, win 3107, length 0
0x0000: 0001 8705 2cbf 0001 0162 6232 86dd 6000 ....,....bb2..`.
0x0010: 0000 0014 06ff fe80 0000 0000 0000 0201 ................
0x0020: 01ff fe62 6232 fe80 0000 0000 0000 0201 ...bb2..........
0x0030: 87ff fe05 2cbf daf8 cdec 006e e215 0c53 ....,......n...S
0x0040: 9587 5010 0c23 6011 0000 ..P..#`...
#77 13:38:37.810215 IP6 fe80::201:1ff:fe62:6232.56056 > fe80::201:87ff:fe05:2cbf.52716: Flags [P.], seq 1:18, ack 1, win 3107, length 17
0x0000: 0001 8705 2cbf 0001 0162 6232 86dd 6000 ....,....bb2..`.
0x0010: 0000 0025 06ff fe80 0000 0000 0000 0201 ...%............
0x0020: 01ff fe62 6232 fe80 0000 0000 0000 0201 ...bb2..........
0x0030: 87ff fe05 2cbf daf8 cdec 006e e215 0c53 ....,......n...S
0x0040: 9587 5018 0c23 ebbc 0000 01fe 8001 0000 ..P..#..........
0x0050: 0009 809a 0010 1108 4080 20 [email protected]
#78 13:38:37.810533 IP6 fe80::201:87ff:fe05:2cbf.52716 > fe80::201:1ff:fe62:6232.56056: Flags [.], ack 18, win 14400, length 0
0x0000: 0001 0162 6232 0001 8705 2cbf 86dd 6000 ...bb2....,...`.
0x0010: 0000 0014 0640 fe80 0000 0000 0000 0201 [email protected]
0x0020: 87ff fe05 2cbf fe80 0000 0000 0000 0201 ....,...........
0x0030: 01ff fe62 6232 cdec daf8 0c53 9587 006e ...bb2.....S...n
0x0040: e226 5010 3840 33e3 0000 .&[email protected]
#79 13:38:37.814004 IP6 fe80::201:1ff:fe62:6232.56056 > fe80::201:87ff:fe05:2cbf.52716: Flags [.], ack 1, win 3107, length 0
0x0000: 0001 8705 2cbf 0001 0162 6232 86dd 6000 ....,....bb2..`.
0x0010: 0000 0014 06ff fe80 0000 0000 0000 0201 ................
0x0020: 01ff fe62 6232 fe80 0000 0000 0000 0201 ...bb2..........
0x0030: 87ff fe05 2cbf daf8 cdec 006e e215 0c53 ....,......n...S
0x0040: 9587 5010 0c23 6011 0000 ..P..#`...
#80 13:38:37.814310 IP6 fe80::201:87ff:fe05:2cbf.52716 > fe80::201:1ff:fe62:6232.56056: Flags [.], ack 18, win 14400, length 0
0x0000: 0001 0162 6232 0001 8705 2cbf 86dd 6000 ...bb2....,...`.
0x0010: 0000 0014 0640 fe80 0000 0000 0000 0201 [email protected]
0x0020: 87ff fe05 2cbf fe80 0000 0000 0000 0201 ....,...........
0x0030: 01ff fe62 6232 cdec daf8 0c53 9587 006e ...bb2.....S...n
0x0040: e226 5010 3840 33e3 0000 .&[email protected]
#81 13:38:37.817695 IP6 fe80::201:87ff:fe05:2cbf.52716 > fe80::201:1ff:fe62:6232.56056: Flags [F.], seq 1, ack 18, win 14400, length 0
0x0000: 0001 0162 6232 0001 8705 2cbf 86dd 6000 ...bb2....,...`.
0x0010: 0000 0014 0640 fe80 0000 0000 0000 0201 [email protected]
0x0020: 87ff fe05 2cbf fe80 0000 0000 0000 0201 ....,...........
0x0030: 01ff fe62 6232 cdec daf8 0c53 9587 006e ...bb2.....S...n
0x0040: e226 5011 3840 33e2 0000 .&[email protected]
最後一個數據包是FIN,表示發件人已關閉連接,或者至少關閉連接以進行輸出。 – EJP
數據包#74到#76顯示正在建立的TCP連接;數據包#81顯示EVSE報告關閉到我的設備。有人從數據包#77到#80的某個地方感到不快,但我不明白爲什麼。 –