]> git.ipfire.org Git - thirdparty/snort3.git/commit
Merge pull request #2210 in SNORT/snort3 from ~SELYSENK/snort3:trace_filtering to...
authorBhagya Tholpady (bbantwal) <bbantwal@cisco.com>
Thu, 28 May 2020 22:00:02 +0000 (22:00 +0000)
committerBhagya Tholpady (bbantwal) <bbantwal@cisco.com>
Thu, 28 May 2020 22:00:02 +0000 (22:00 +0000)
commitee91cfa82c1f56752ad108fe840e927cce2b1c64
tree259124a0f16be5c00ef71b55919a60e0ab217fb8
parent18bfb4ccc34c8656bbe0baeaa6ff42d74e06a6bf
Merge pull request #2210 in SNORT/snort3 from ~SELYSENK/snort3:trace_filtering to master

Squashed commit of the following:

commit 543e3edb95a0aaa87afa695efeec80bd41e92c7a
Author: Serhii Lysenko <selysenk@cisco.com>
Date:   Thu Apr 23 07:09:54 2020 -0400

    trace: filter traces by packet constraints

    trace_print/trace_printf now take a pointer to the Packet.
    Packet's state is lazily evaluated against packet constraints.

    packet_tracer uses packet constraints from framework instead of
    implementing its own.
46 files changed:
src/detection/context_switcher.cc
src/detection/detect_trace.cc
src/detection/detect_trace.h
src/detection/detection_engine.cc
src/detection/detection_options.cc
src/detection/fp_detect.cc
src/detection/tag.cc
src/flow/flow.cc
src/flow/flow.h
src/flow/flow_control.cc
src/framework/CMakeLists.txt
src/framework/dev_notes.txt
src/framework/packet_constraints.cc [new file with mode: 0644]
src/framework/packet_constraints.h [new file with mode: 0644]
src/latency/packet_latency.cc
src/latency/rule_latency.cc
src/main.cc
src/main/analyzer.cc
src/main/snort.cc
src/main/snort_debug.cc
src/main/snort_debug.h
src/network_inspectors/appid/detector_plugins/detector_pattern.cc
src/network_inspectors/appid/lua_detector_api.cc
src/network_inspectors/packet_tracer/packet_tracer.cc
src/network_inspectors/packet_tracer/packet_tracer.h
src/network_inspectors/packet_tracer/packet_tracer_module.cc
src/protocols/packet.cc
src/protocols/packet.h
src/protocols/packet_manager.cc
src/service_inspectors/dce_rpc/dce_smb2.cc
src/service_inspectors/dce_rpc/dce_smb_transaction.cc
src/service_inspectors/dce_rpc/dce_smb_utils.cc
src/service_inspectors/dce_rpc/dce_udp_processing.cc
src/service_inspectors/dce_rpc/smb_message.cc
src/service_inspectors/gtp/gtp_parser.cc
src/service_inspectors/wizard/wizard.cc
src/stream/ip/ip_defrag.cc
src/stream/stream.cc
src/stream/user/user_session.cc
src/trace/dev_notes.txt
src/trace/trace_api.cc
src/trace/trace_api.h
src/trace/trace_config.cc
src/trace/trace_config.h
src/trace/trace_module.cc
src/trace/trace_module.h