ESP8266 / WiFi - Case 6.2.3 : Pass - 148 ms @ 2020-06-03T17:02:08.439Z
Case Description
Send a valid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.
MESSAGE:
Hello-µ@ßöäüàá-UTF-8!!
48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
Case Expectation
The message is echo'ed back to us.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('message', u'Hello-\xb5@\xdf\xf6\xe4\xfc\xe0\xe1-UTF-8!!', False)]}
Observed:
[('message', u'Hello-\xb5@\xdf\xf6\xe4\xfc\xe0\xe1-UTF-8!!', False)]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.0-0.10.9 Host: 192.168.46.182:9001 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: GtpSRhCUheZNBSE4rjZkWQ== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: Kbiq5UmQ4B5rZ6suJZx9+DY2oVA=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP. |
droppedByMe | False | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | 1000 | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
1 | 2 | 2 |
3 | 1 | 3 |
30 | 1 | 30 |
32 | 1 | 32 |
97 | 1 | 97 |
Total | 6 | 164 |
Chop Size | Count | Octets |
6 | 1 | 6 |
7 | 29 | 203 |
8 | 1 | 8 |
245 | 1 | 245 |
Total | 32 | 462 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
Opcode | Count |
0 | 29 |
1 | 1 |
8 | 1 |
Total | 31 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c73
002 RX OCTETS: 0d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562
536f636b65742d4163636570743a ...
003 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=65f38aa4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
H
004 TX OCTETS: 018165f38aa42d
005 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9472e896, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
006 TX OCTETS: 00819472e896f1
007 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c97771b1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
l
008 TX OCTETS: 0081c97771b1a5
009 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=95e2f065, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
l
010 TX OCTETS: 008195e2f065f9
011 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=d45bffd9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
o
012 TX OCTETS: 0081d45bffd9bb
013 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ac6b7ea4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
014 TX OCTETS: 0081ac6b7ea481
015 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=1a9a9a95, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc2
016 TX OCTETS: 00811a9a9a95d8
017 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=2b57c590, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb5
018 TX OCTETS: 00812b57c5909e
019 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=26fd112c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
@
020 TX OCTETS: 008126fd112c66
021 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=682b0951, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
022 TX OCTETS: 0081682b0951ab
023 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=bd085d0a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x9f
024 TX OCTETS: 0081bd085d0a22
025 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e40add1f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
026 TX OCTETS: 0081e40add1f27
027 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=1cee0639, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb6
028 TX OCTETS: 00811cee0639aa
029 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=334651b3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
030 TX OCTETS: 0081334651b3f0
031 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=8023d347, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa4
032 TX OCTETS: 00818023d34724
033 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5bec88cf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
034 TX OCTETS: 00815bec88cf98
035 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=480564ee, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbc
036 TX OCTETS: 0081480564eef4
037 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6bb211d3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
038 TX OCTETS: 00816bb211d3a8
039 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=a983e9f4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa0
040 TX OCTETS: 0081a983e9f409
041 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=56ba4356, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xc3
042 TX OCTETS: 008156ba435695
043 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f373e17e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa1
044 TX OCTETS: 0081f373e17e52
045 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=dbc2a5f5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
046 TX OCTETS: 0081dbc2a5f5f6
047 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6a475807, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
U
048 TX OCTETS: 00816a4758073f
049 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=fd2ac94a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
T
050 TX OCTETS: 0081fd2ac94aa9
051 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=64638e09, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
F
052 TX OCTETS: 008164638e0922
053 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c83d2ca0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
-
054 TX OCTETS: 0081c83d2ca0e5
055 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e2b46a1d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
8
056 TX OCTETS: 0081e2b46a1dda
057 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=893c0fbe, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
!
058 TX OCTETS: 0081893c0fbea8
059 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c75e9cda, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
!
060 TX OCTETS: 0081c75e9cdae6
061 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=41132732, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
062 TX OCTETS: 808041132732
063 CLOSE CONNECTION AFTER 1.000000 sec
064 RX OCTETS: 81
065 RX OCTETS: 1d48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
066 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=29, MASKED=False, MASK=None
Hello-µ@ßöäüàá-UTF-8!!
067 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=aa940591, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
068 TX OCTETS: 8882aa940591a97c
069 RX OCTETS: 88
070 RX OCTETS: 0203e8
071 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03e8
072 TCP DROPPED BY PEER