]> git.ipfire.org Git - thirdparty/snort3.git/commit
Merge pull request #2787 in SNORT/snort3 from ~SVLASIUK/snort3:script_data to master
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 6 Apr 2021 15:50:46 +0000 (15:50 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 6 Apr 2021 15:50:46 +0000 (15:50 +0000)
commit7752f8f83e82fb74c6e7991142cb902dc950fa6a
treecafe5b8a1c2ead8ce4dbe3ca1f66910af7e6f9d1
parentbf6af7f4edda1c2f7ec5dea411d553a1cb5a8220
Merge pull request #2787 in SNORT/snort3 from ~SVLASIUK/snort3:script_data to master

Squashed commit of the following:

commit aac9aac7fdda1f5dd7ca37ac32690700156655eb
Author: Serhii Vlasiuk <svlasiuk@cisco.com>
Date:   Tue Mar 9 15:11:08 2021 +0200

    ips_options: add sticky buffer script_data ips option within normalized javascripts payload

    Update max value for js_normalization_depth = {-1, max53}
    Add mutual exclusion behaviour for js_normalization_depth and normalize_javascript
    js_normalization_depth - enables enhanced normalizer
    normalize_javascript - enables legacy normalizer
27 files changed:
doc/user/http_inspect.txt
src/detection/detection_engine.cc
src/detection/detection_engine.h
src/detection/detection_util.h
src/detection/fp_detect.cc
src/detection/fp_utils.cc
src/detection/ips_context.h
src/framework/ips_option.h
src/ips_options/CMakeLists.txt
src/ips_options/ips_options.cc
src/ips_options/ips_script_data.cc [new file with mode: 0644]
src/main/analyzer.cc
src/main/test/stubs.h
src/ports/port_group.h
src/service_inspectors/http_inspect/http_inspect.cc
src/service_inspectors/http_inspect/http_js_norm.cc
src/service_inspectors/http_inspect/http_js_norm.h
src/service_inspectors/http_inspect/http_module.cc
src/service_inspectors/http_inspect/http_module.h
src/service_inspectors/http_inspect/http_msg_body.cc
src/service_inspectors/http_inspect/http_msg_body.h
src/service_inspectors/http_inspect/test/http_module_test.cc
src/service_inspectors/http_inspect/test/http_uri_norm_test.cc
src/utils/js_normalizer.cc
src/utils/js_normalizer.h
src/utils/stats.cc
src/utils/stats.h