ESP8266 / WiFi - Case 6.3.2 : Pass - 56 ms @ 2020-06-03T17:02:08.965Z
Case Description
Send invalid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.
MESSAGE:
cebae1bdb9cf83cebcceb5eda080656469746564
Case Expectation
The connection is failed immediately, since the payload is not valid UTF-8.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': []}
Observed:
[]
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: YlVCtbOBnKE5o/+RVOwYmw== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: zjK7s02wakHaZsHVTuPe1pwW3dk=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | False | 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 | 1007 | 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 | 1 | 1 |
3 | 1 | 3 |
32 | 1 | 32 |
97 | 1 | 97 |
Total | 4 | 133 |
Chop Size | Count | Octets |
6 | 1 | 6 |
7 | 20 | 140 |
8 | 1 | 8 |
245 | 1 | 245 |
Total | 23 | 399 |
Opcode | Count |
8 | 1 |
Total | 1 |
Opcode | Count |
0 | 20 |
1 | 1 |
8 | 1 |
Total | 22 |
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=12a723f2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
004 TX OCTETS: 018112a723f2dc
005 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=498768df, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xba
006 TX OCTETS: 0081498768dff3
007 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=7e490a04, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xe1
008 TX OCTETS: 00817e490a049f
009 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=d660e864, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbd
010 TX OCTETS: 0081d660e8646b
011 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=fddcc6e0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb9
012 TX OCTETS: 0081fddcc6e044
013 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=24bf7129, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xcf
014 TX OCTETS: 008124bf7129eb
015 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=cf7d8424, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x83
016 TX OCTETS: 0081cf7d84244c
017 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=3764f311, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
018 TX OCTETS: 00813764f311f9
019 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=a1ba19fb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbc
020 TX OCTETS: 0081a1ba19fb1d
021 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e2c4efed, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
022 TX OCTETS: 0081e2c4efed2c
023 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=da46659a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb5
024 TX OCTETS: 0081da46659a6f
025 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e2677788, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xed
026 TX OCTETS: 0081e26777880f
027 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f5de871f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xa0
028 TX OCTETS: 0081f5de871f55
029 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c130e208, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x80
030 TX OCTETS: 0081c130e20841
031 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ef86dacf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
032 TX OCTETS: 0081ef86dacf8a
033 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e47ac8a9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
d
034 TX OCTETS: 0081e47ac8a980
035 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=31bd1c1e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
i
036 TX OCTETS: 008131bd1c1e58
037 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c969604c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
t
038 TX OCTETS: 0081c969604cbd
039 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ceb7951d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
040 TX OCTETS: 0081ceb7951dab
041 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c4ac4b26, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
d
042 TX OCTETS: 0081c4ac4b26a0
043 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=1917d921, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
044 TX OCTETS: 80801917d921
045 FAIL CONNECTION AFTER 1.000000 sec
046 RX OCTETS: 88
047 RX OCTETS: 0203ef
048 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03ef
049 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=3ab63e00, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
050 TX OCTETS: 88823ab63e00395e
051 TCP DROPPED BY PEER