]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #5038: appid: prefer QUIC client appid over SSL
authorOleksandr Stepanov -X (ostepano - SOFTSERVE INC at Cisco) <ostepano@cisco.com>
Mon, 19 Jan 2026 18:43:54 +0000 (18:43 +0000)
committerChris Sherwin (chsherwi) <chsherwi@cisco.com>
Mon, 19 Jan 2026 18:43:54 +0000 (18:43 +0000)
Merge in SNORT/snort3 from ~OSTEPANO/snort3:quic_client_appid to master

Squashed commit of the following:

commit decff55972a34bae3931038c4ab305cc64935d05
Author: Oleksandr Stepanov <ostepano@cisco.com>
Date:   Mon Dec 8 08:37:27 2025 -0500

    appid: prefer QUIC client appid over SSL

src/network_inspectors/appid/appid_session.cc

index 72d9dbd25aac9d7ef238cc4ef16a6ffaf37902c0..00403a70d190c111a3776480d4ba516f606d1b04 100644 (file)
@@ -728,6 +728,11 @@ void AppIdSession::set_client_appid_data(AppId id, char* version, bool published
     if (id <= APP_ID_NONE or id == APP_ID_HTTP)
         return;
 
+    if (id == APP_ID_SSL_CLIENT and api.service.get_id() == APP_ID_QUIC)
+    {
+        id = APP_ID_QUIC;
+    }
+
     AppId cur_id = api.client.get_id();
     if (id != cur_id)
     {