]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #3007 in SNORT/snort3 from ~CLJUDGE/snort3:snort3_change_req_body...
authorShravan Rangarajuvenkata (shrarang) <shrarang@cisco.com>
Thu, 5 Aug 2021 18:53:12 +0000 (18:53 +0000)
committerShravan Rangarajuvenkata (shrarang) <shrarang@cisco.com>
Thu, 5 Aug 2021 18:53:12 +0000 (18:53 +0000)
Squashed commit of the following:

commit d2ff026b81050ec472acd1fdb29369a5e4fc23e0
Author: cljudge <cljudge@cisco.com>
Date:   Thu Jul 29 10:31:26 2021 -0400

    http_inspect: Change the default value of request_body_app_detection config parameter to true.

src/service_inspectors/http_inspect/http_module.cc
src/service_inspectors/http_inspect/http_module.h

index 644d4d47a473cc96460bdaee57afaf2b79aa89ff..ece3f5a6e3a15475f2ed43928fd63fcc9869eb9d 100755 (executable)
@@ -124,7 +124,7 @@ const Parameter HttpModule::http_params[] =
       "specifies the xff type headers to parse and consider in the same order "
       "of preference as defined" },
 
-    { "request_body_app_detection", Parameter::PT_BOOL, nullptr, "false",
+    { "request_body_app_detection", Parameter::PT_BOOL, nullptr, "true",
       "make HTTP/2 request message bodies available for application detection "
           "(detection requires AppId)" },
 
index 2374d253ae22f323a8d07555e7d3ff83819e6bdb..e716ed93fc3730fc1bae5ae1900c7f552c1eabef 100755 (executable)
@@ -47,7 +47,7 @@ public:
     bool decompress_zip = false;
     bool script_detection = false;
     snort::LiteralSearch::Handle* script_detection_handle = nullptr;
-    bool publish_request_body = false;
+    bool publish_request_body = true;
 
     struct JsNormParam
     {