Merge in SNORT/snort3 from ~SHIBOSE/snort3:quic_white_list to master
Squashed commit of the following:
commit
92bcf5b8b1199b4a135ffa8d664d8603c7fd92f1
Author: shibose <shibose@cisco.com>
Date: Fri Oct 25 08:13:08 2024 +0000
appid: add new api to check if service is over quic
*referred = get_referred_app_id();
}
+bool AppIdSessionApi::is_service_over_quic() const
+{
+ switch(get_service_app_id())
+ {
+ case APP_ID_HTTP3:
+ case APP_ID_QUIC:
+ case APP_ID_SMB_OVER_QUIC:
+ case APP_ID_DNS_OVER_QUIC:
+ return true;
+ }
+ return false;
+}
+
bool AppIdSessionApi::is_appid_inspecting_session() const
{
if (!asd)
const char* get_netbios_name() const;
const char* get_netbios_domain() const;
ClientAppDetectType get_client_app_detect_type() const;
+ bool is_service_over_quic() const;
// For protocols such as HTTP2/HTTP3 which can have multiple streams within a single flow,
// get_first_stream_* methods return the appids in the first stream seen in a packet.