Merge in SNORT/snort3 from ~YVELYKOZ/snort3:issue_testing to master
Squashed commit of the following:
commit
43607a31ae832f04c0bbb817a4c02521ee251cf0
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date: Mon May 27 17:51:24 2024 +0300
utils: add explicit include
commit
01345fc769b93113fcd8b3e601f6aa0dc0d4190c
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date: Mon May 27 17:10:09 2024 +0300
src: remove repetitive words
Thanks @gopherorg for finding those typos
commit
18f85f347bf58f774da72063bf7bd07588e80d50
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date: Fri May 17 15:55:00 2024 +0300
src: udpate to resolve new issues
ActiveAction** action = nullptr;
ActiveAction* action_inst = nullptr;
- DAQ_Msg_h daq_msg; // DAQ message this packet came from
+ DAQ_Msg_h daq_msg = nullptr; // DAQ message this packet came from
SFDAQInstance* daq_instance = nullptr; // DAQ instance the message came from
// Everything beyond this point is set by PacketManager::decode()
: flow(nullptr), packet_flags(0), xtradata_mask(0), proto_bits(0), alt_dsize(0), num_layers(0),
disable_inspect(true), sect(PS_NONE), active_inst(nullptr), pkth(nullptr), pkt(nullptr), layers(nullptr),
user_inspection_policy_id(0), user_ips_policy_id(0), user_network_policy_id(0), inspection_started_timestamp(0), vlan_idx(0),
- ts_packet_flags(0), allocated(false)
+ ts_packet_flags(0), allocated(false), daq_msg(nullptr)
{ }
Packet::~Packet() = default;
* Context ids and associated uuids are stored in a queue and
* dequeued upon server response. Server response doesn't
* indicate by context id which bindings were accepted or
- * rejected, but the index or order they were in in the client
+ * rejected, but the index or order they were in the client
* bind or alter context, hence the queue.
*
********************************************************************/
// occurs at the paf_max byte. So, we manually set the data's length and
// total queued bytes (px.len) to guarantee that at most paf_max bytes will
// be analyzed and flushed since the last flush point. It should also be
- // noted that we perform the check here rather in in paf_flush() to
+ // noted that we perform the check here rather in paf_flush() to
// avoid scanning the same data twice. The first scan would analyze the
// entire segment and the second scan would analyze this segments
// unflushed data.
#include "util.h"
+#include <sys/resource.h>
#include <sys/stat.h>
#include <chrono>
// data (variables, includes, etcs), one api for creating tables. Hoever,
// the reason they are together is because this class is not static, and I
// did not want to be pass three pointers to the three API's when creating
-// new conversion states. There are comments in in all caps which show the
+// new conversion states. There are comments in all caps which show the
// separate the sections.
// The first section of this file is really DataApi creation and