]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2093 in SNORT/snort3 from ~KAMURTHI/snort3:DoT to master
authorShravan Rangarajuvenkata (shrarang) <shrarang@cisco.com>
Mon, 23 Mar 2020 19:19:14 +0000 (19:19 +0000)
committerShravan Rangarajuvenkata (shrarang) <shrarang@cisco.com>
Mon, 23 Mar 2020 19:19:14 +0000 (19:19 +0000)
Squashed commit of the following:

commit 175d9f0296de8b09fd637fd5ec3c997794758483
Author: Kanimozhi Murthi <kamurthi@cisco.com>
Date:   Tue Mar 17 16:26:41 2020 -0400

    appid: Include DNS over TLS port for classification.

src/network_inspectors/appid/application_ids.h
src/network_inspectors/appid/service_plugins/service_ssl.cc

index 4ed802ec0c0fad56ce5abdfb3ac747f8d4759597..28255ab93732e7cb38b8728e97ff48876d519bc6 100644 (file)
@@ -1014,6 +1014,7 @@ enum ApplicationIds : AppId
     APP_ID_FTP_ACTIVE                     = 4002,
     APP_ID_FTP_PASSIVE                    = 4003,
     APP_ID_PSIPHON                        = 4075,
+    APP_ID_DNS_OVER_TLS                   = 4615,
 #ifdef REG_TEST
     APP_ID_REGTEST                        = 10000,
     APP_ID_REGTEST1                       = 10001,
index 153a61fc320cd195a97ef84aebf2a21bc213272f..7e6647b568a9a2fe7343dc4900257193a04b55f1 100644 (file)
@@ -218,6 +218,7 @@ SslServiceDetector::SslServiceDetector(ServiceDiscovery* sd)
         { 614, IpProtocol::TCP, false },
         { 636, IpProtocol::TCP, false },
         { 636, IpProtocol::UDP, false },
+        { 853, IpProtocol::TCP, false },
         { 989, IpProtocol::TCP, false },
         { 990, IpProtocol::TCP, false },
         { 992, IpProtocol::TCP, false },
@@ -759,6 +760,8 @@ AppId getSslServiceAppId(short srcPort)
         return APP_ID_SSHELL;
     case 636:
         return APP_ID_LDAPS;
+    case 853:
+        return APP_ID_DNS_OVER_TLS;
     case 989:
         return APP_ID_FTPSDATA;
     case 990: