]> git.ipfire.org Git - thirdparty/snort3.git/commit
Pull request #4719: flow: implement a per flow check of the packet timestamp and...
authorDavis McPherson -X (davmcphe - XORIANT CORPORATION at Cisco) <davmcphe@cisco.com>
Fri, 9 May 2025 20:24:39 +0000 (20:24 +0000)
committerSteven Baigal (sbaigal) <sbaigal@cisco.com>
Fri, 9 May 2025 20:24:39 +0000 (20:24 +0000)
commit6f43f108cd67db2c6b3d1aa0943c530fbd9acbf3
treed90b58e91d001d0e8ddca93d8c700586bc0ec749
parent5405b491ae62759cb76a1404dc49c45036463071
Pull request #4719: flow: implement a per flow check of the packet timestamp and drop packets if the timestamp is earlier than the timestamp of the previous packet

Merge in SNORT/snort3 from ~DAVMCPHE/snort3:drop_stale_packets to master

Squashed commit of the following:

commit 27a0456758a6713b2c5cdc94f3d2c59eaa9aa9dc
Author: davis mcpherson <davmcphe@cisco.com>
Date:   Mon May 5 23:18:17 2025 -0400

    snort2lua: add include for cstdint to provide standard c++ integer types

commit 63de2df3d4e5c871a0069b646c0a5c06588d9aa7
Author: davis mcpherson <davmcphe@cisco.com>
Date:   Fri Apr 4 14:45:29 2025 -0400

    flow: implement a per flow check of the packet timestamp and drop packets if the timestamp is earlier than the timestamp of the previous packet

    flow: always count stale packets, only drop if that is enabled by config, set default value for drop_stale_packets to false (disabled)
18 files changed:
src/flow/flow.h
src/flow/flow_control.cc
src/flow/session.h
src/flow/test/flow_cache_test.cc
src/flow/test/flow_control_test.cc
src/main/snort_config.h
src/stream/base/stream_module.cc
src/stream/base/stream_module.h
src/stream/icmp/icmp_session.h
src/stream/ip/ip_session.h
src/stream/tcp/tcp_session.h
src/stream/udp/udp_session.cc
src/stream/udp/udp_session.h
tools/snort2lua/config_states/config_ignore_ports.cc
tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc
tools/snort2lua/preprocessor_states/pps_frag3_engine.cc
tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc
tools/snort2lua/rule_states/rule_gid_sid.cc