AutobahnServer/0.4.10 - Case 6.3.2 : Pass - 2 ms @ 2012-01-09T14:43:14Z
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:
Îºá½¹ÏƒÎ¼Îµí €edited
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: AutobahnWebSocketsTestSuite/0.4.10 Host: localhost:9000 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: 6SB+WwDDF9d/GbTHJRip+g== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnWebSockets/0.4.10 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: DzSObTXzlSeX+3JLur+fPOpEdrg=
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 WebSockets 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. |
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 | encountered invalid UTF-8 while processing text message at payload octet index 12 | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
85 | 1 | 85 |
164 | 1 | 164 |
Total | 2 | 249 |
Chop Size | Count | Octets |
6 | 1 | 6 |
7 | 20 | 140 |
8 | 1 | 8 |
201 | 1 | 201 |
Total | 23 | 355 |
Opcode | Count |
8 | 1 |
Total | 1 |
Opcode | Count |
0 | 20 |
1 | 1 |
8 | 1 |
Total | 22 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393030300d0a557067726164653a20776562736f
636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a203653422b
577744444639642f476254484a5269702b673d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
576562536f636b6574732f302e342e31300d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a
20557067726164650d0a5365632d576562536f636b65742d4163636570743a20447a534f6254587a6c5365582b334a4c7572
2b66504f70456472673d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=e7bb9730, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Î
003 TX OCTETS: 0181e7bb973029
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=06c6a36b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
º
005 TX OCTETS: 008106c6a36bbc
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=34158873, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
á
007 TX OCTETS: 008134158873d5
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ddc841c4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
½
009 TX OCTETS: 0081ddc841c460
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=265686b5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
¹
011 TX OCTETS: 0081265686b59f
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=75ee9cfb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Ï
013 TX OCTETS: 008175ee9cfbba
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=9b10dc5e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
ƒ
015 TX OCTETS: 00819b10dc5e18
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=34d7f72b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Î
017 TX OCTETS: 008134d7f72bfa
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b46cc188, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
¼
019 TX OCTETS: 0081b46cc18808
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=5db14f72, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Î
021 TX OCTETS: 00815db14f7293
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a7b27bcb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
µ
023 TX OCTETS: 0081a7b27bcb12
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=8bfb97c2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
í
025 TX OCTETS: 00818bfb97c266
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=0a798438, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
027 TX OCTETS: 00810a798438aa
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=dcc72a56, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
€
029 TX OCTETS: 0081dcc72a565c
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d52087f7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
031 TX OCTETS: 0081d52087f7b0
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=08dc0d59, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
d
033 TX OCTETS: 008108dc0d596c
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a30a1288, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
i
035 TX OCTETS: 0081a30a1288ca
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1ac43b5a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
t
037 TX OCTETS: 00811ac43b5a6e
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=fbd80c8f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
e
039 TX OCTETS: 0081fbd80c8f9e
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c856c493, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
d
041 TX OCTETS: 0081c856c493ac
042 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=372ecd2b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
043 TX OCTETS: 8080372ecd2b
044 FAIL CONNECTION AFTER 1.000000 sec
045 RX OCTETS: 885303ef656e636f756e746572656420696e76616c6964205554462d38207768696c652070726f63657373696e6720746578
74206d657373616765206174207061796c6f6164206f6374657420696e646578203132
046 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
ïencountered invalid UTF-8 while processing text message at payload octet index 12
047 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=bd9a0dd1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
048 TX OCTETS: 8882bd9a0dd1be72
049 TCP DROPPED BY PEER