mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Add weird for unknown HTTP/0.9 request method
This commit is contained in:
parent
0003495a9b
commit
9cb6de7447
5 changed files with 12 additions and 2 deletions
|
@ -984,6 +984,9 @@ void HTTP_Analyzer::DeliverStream(int len, const u_char* data, bool is_orig)
|
|||
// responder because we expect raw data.
|
||||
if ( request_version == HTTP_VersionNumber{0, 9} )
|
||||
{
|
||||
if ( request_method->ToStdString() != "GET" )
|
||||
Weird("invalid_http_09_request_method", request_method->CheckString());
|
||||
|
||||
reply_state = EXPECT_REPLY_HTTP09;
|
||||
RemoveSupportAnalyzer(content_line_resp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue