]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Update ssl parser protocol detection pattern strings.
authorAnoop Saldanha <anoopsaldanha@gmail.com>
Tue, 1 Oct 2013 15:43:07 +0000 (21:13 +0530)
committerAnoop Saldanha <anoopsaldanha@gmail.com>
Tue, 8 Oct 2013 16:17:35 +0000 (21:47 +0530)
src/app-layer-ssl.c

index 63df5d582be477b9c94d4084b752b06b5dc68855..5ec0a02f0d97f8ecc3de35b9c7a2101431aca44d 100644 (file)
@@ -1040,6 +1040,13 @@ void RegisterSSLParsers(void)
         AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_TLS, "|16 03 02|", 3, 0, STREAM_TOCLIENT); /* server hello */
         /** TLSv1.2 */
         AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_TLS, "|16 03 03|", 3, 0, STREAM_TOCLIENT); /* server hello */
+        AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_TLS, "|17 03 00|", 3, 0, STREAM_TOCLIENT); /* server hello */
+        /** TLSv1 */
+        AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_TLS, "|17 03 01|", 3, 0, STREAM_TOCLIENT); /* server hello */
+        /** TLSv1.1 */
+        AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_TLS, "|17 03 02|", 3, 0, STREAM_TOCLIENT); /* server hello */
+        /** TLSv1.2 */
+        AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_TLS, "|17 03 03|", 3, 0, STREAM_TOCLIENT); /* server hello */
 
         if (RunmodeIsUnittests()) {
             AppLayerRegisterProbingParser(&alp_proto_ctx,