wsgo fuzzing client - Case 6.2.4 : Fail - 1002 ms @ 2025-03-31T15:47:10.763Z
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:
κόσμε
cebae1bdb9cf83cebcceb5
Case Expectation
The message is echo'ed back to us.
Case Outcome
Actual events differ from any expected.
Expected:
{'OK': [('message', u'\u03ba\u1f79\u03c3\u03bc\u03b5', False)]}
Observed:
[]
Case Closing Behavior
The spec requires the connection to be failed cleanly here (UNCLEAN)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.2-0.10.9 Host: localhost:8080 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: nXTrD876pzSpQviX4pn1pg== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Connection: Upgrade Sec-Websocket-Accept: k3ucwl0Adup+9db02W5pjtHhbMM= Upgrade: websocket
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 | True | 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 | True | True, iff I dropped the TCP connection. |
wasClean | False | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | peer did not respond (in time) in closing handshake | 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 | True | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1007 | The close code I sent in close frame (if any). |
localCloseReason | UTF-8 text message payload ended within Unicode code point at payload octet index 1 | The close reason I sent in close frame (if any). |
remoteCloseCode | None | 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 |
3 | 1 | 3 |
129 | 1 | 129 |
Total | 2 | 132 |
Chop Size | Count | Octets |
6 | 1 | 6 |
7 | 11 | 77 |
91 | 1 | 91 |
240 | 1 | 240 |
Total | 14 | 414 |
Opcode | Count |
1 | 1 |
Total | 1 |
Opcode | Count |
0 | 11 |
1 | 1 |
8 | 1 |
Total | 13 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
322d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a436f6e6e656374696f6e3a2055706772
6164650d0a5365632d576562736f ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=36ca87ff, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
003 TX OCTETS: 018136ca87fff8
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c9b0a823, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xba
005 TX OCTETS: 0081c9b0a82373
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ae9ffb62, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xe1
007 TX OCTETS: 0081ae9ffb624f
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6981a97e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbd
009 TX OCTETS: 00816981a97ed4
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=eda28142, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb9
011 TX OCTETS: 0081eda2814254
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=3fb63cc3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xcf
013 TX OCTETS: 00813fb63cc3f0
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=08935cdc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x83
015 TX OCTETS: 008108935cdc8b
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ae4a6595, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
017 TX OCTETS: 0081ae4a659560
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=98a8a7e2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xbc
019 TX OCTETS: 008198a8a7e224
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=d34f40ab, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xce
021 TX OCTETS: 0081d34f40ab1d
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ad6d8c07, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0xb5
023 TX OCTETS: 0081ad6d8c0718
024 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=3e199a93, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
025 TX OCTETS: 80803e199a93
026 CLOSE CONNECTION AFTER 1.000000 sec
027 RX OCTETS: 8101ce
028 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
0xce
029 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=85, MASK=912bcc63, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03ef5554462d382074657874206d657373616765207061796c6f616420656e6465642077697468696e20556e69636f6465
20636f646520706f696e7420617420 ...
030 TX OCTETS: 88d5912bcc6392c49937d706f443e54eb417b146a910e24aab06b15bad1afd44ad07b14ea207f44fec14f85fa40aff0b990d
f848a307f40baf0cf54eec13fe42 ...
031 CLOSING CONNECTION
032 TCP DROPPED BY ME