Merge in SNORT/snort3 from ~STECHEW/snort3:dns_support_no_ips to master
Squashed commit of the following:
commit
12b31bdbac8c99c0e83b3e3a3e0e2f1922b90ea7
Author: Steve Chew <stechew@cisco.com>
Date: Tue Aug 22 22:54:30 2023 -0400
framework: Add virtual for inspectors that publish data when no ips policy is enabled.
virtual bool can_start_tls() const
{ return false; }
+ virtual bool supports_no_ips() const
+ { return false; }
+
void allocate_thread_storage();
void set_thread_specific_data(void*);
void* get_thread_specific_data() const;
void show(const snort::SnortConfig*) const override;
static unsigned get_pub_id() { return pub_id; }
+ bool supports_no_ips() const override
+ { return true; }
+
private:
const DnsConfig* config = nullptr;
static unsigned pub_id;
bool is_control_channel() const override
{ return true; }
+ bool supports_no_ips() const override
+ { return true; }
+
private:
const NetFlowConfig *config;