summaryrefslogtreecommitdiff
path: root/src/tsg_entry.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-09-06 18:42:57 +0800
committerliuxueli <[email protected]>2023-09-06 18:42:57 +0800
commit8934001da67933f5fabc1a0effc68bb5b1a1f135 (patch)
tree68e2afb6ee9938b6871662cd2df56f85fcd5d727 /src/tsg_entry.cpp
parent12a97dede4cb6e58f71bbb53562d9f88357a3b15 (diff)
TSG-16294: client hello分数据包传输时,支持识别SSL协议v6.1.8
Diffstat (limited to 'src/tsg_entry.cpp')
-rw-r--r--src/tsg_entry.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp
index 8cb48c1..c1580af 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -1487,6 +1487,16 @@ int session_l7_protocol_identify(const struct streaminfo *a_stream, struct sessi
return 1;
}
+ if(chello!=NULL)
+ {
+ if(chello->is_ssl==1)
+ {
+ srt_process_context->proto=PROTO_SSL;
+ ssl_chello_free(chello);
+ return 1;
+ }
+ }
+
ssl_chello_free(chello);
}