Autobahn WebSocket Testsuite Report
Autobahn WebSocket

SAMD21 / W5100 / Ethernet - Case 6.3.2 : Pass - 10 ms @ 2020-06-03T17:02:47.577Z

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)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.0-0.10.9
Host: 192.168.46.183:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: gyQj9CbcuFMqlFG1Y3c59w==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: Vd1dtWFYbt0sYXz7q6H8nIdbkoo=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeFalseTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeFalseTrue, 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.
droppedByMeFalseTrue, iff I dropped the TCP connection.
wasCleanTrueTrue, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonNoneWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish in time, this gets True.
wasCloseHandshakeTimeoutFalseWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCode1007The close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
111
212
313
414
50150
73173
Total6133

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
720140
818
2451245
Total23399

Frames Received by Opcode

OpcodeCount
81
Total1

Frames Transmitted by Opcode

OpcodeCount
020
11
81
Total22


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 RX OCTETS: 0d0a
003 RX OCTETS: 5365632d576562536f636b65742d4163636570743a2056643164745746596274307359587a37713648386e4964626b6f6f3d
004 RX OCTETS: 0d0a0d0a
005 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=a26daaac, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xce
006 TX OCTETS: 0181a26daaac6c
007 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=80a1d016, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xba
008 TX OCTETS: 008180a1d0163a
009 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f69a0304, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xe1
010 TX OCTETS: 0081f69a030417
011 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=a8d0fe80, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xbd
012 TX OCTETS: 0081a8d0fe8015
013 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f9801c67, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xb9
014 TX OCTETS: 0081f9801c6740
015 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6750f801, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xcf
016 TX OCTETS: 00816750f801a8
017 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=3c021176, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x83
018 TX OCTETS: 00813c021176bf
019 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b4571ee8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xce
020 TX OCTETS: 0081b4571ee87a
021 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=8660f48b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xbc
022 TX OCTETS: 00818660f48b3a
023 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=79d67284, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xce
024 TX OCTETS: 008179d67284b7
025 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5346f8c3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xb5
026 TX OCTETS: 00815346f8c3e6
027 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=14874014, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xed
028 TX OCTETS: 008114874014f9
029 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b3a64428, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa0
030 TX OCTETS: 0081b3a6442813
031 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=660b9b1f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x80
032 TX OCTETS: 0081660b9b1fe6
033 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=750fdf41, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
034 TX OCTETS: 0081750fdf4110
035 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f389e7d5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               d
036 TX OCTETS: 0081f389e7d597
037 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=8a06a961, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               i
038 TX OCTETS: 00818a06a961e3
039 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6647322a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               t
040 TX OCTETS: 00816647322a12
041 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=3255dd1b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
042 TX OCTETS: 00813255dd1b57
043 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b8694af2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               d
044 TX OCTETS: 0081b8694af2dc
045 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=0546d6cd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
046 TX OCTETS: 80800546d6cd
047 FAIL CONNECTION AFTER 1.000000 sec
048 RX OCTETS: 88
049 RX OCTETS: 0203ef
050 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03ef
051 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=45f06504, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
052 TX OCTETS: 888245f065044618
053 TCP DROPPED BY PEER