You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #13 which was closed for no apparent reason.
As soon as server replies with 101 Switching Protocols, anything after HTTP headers is no longer HTTP protocol.
The server will switch protocols to those defined by the response's Upgrade header field immediately after the empty line which terminates the 101 response.
libhtp seems to ignore this status code, still trying to parse everything that comes after as HTTP data.
This leads to WebSocket traffic being interpreted as some junk requests/responses (I will attach some pcaps a bit later, if needed).
I believe the correct solution would be to stop tracking HTTP connection after 101 response, unless specific protocol can be actually supported.
The text was updated successfully, but these errors were encountered:
Related to #13 which was closed for no apparent reason.
As soon as server replies with 101 Switching Protocols, anything after HTTP headers is no longer HTTP protocol.
libhtp seems to ignore this status code, still trying to parse everything that comes after as HTTP data.
This leads to WebSocket traffic being interpreted as some junk requests/responses (I will attach some pcaps a bit later, if needed).
I believe the correct solution would be to stop tracking HTTP connection after 101 response, unless specific protocol can be actually supported.
The text was updated successfully, but these errors were encountered: