From 3d59a92dd67a5f24fea233963ab49b644075a691 Mon Sep 17 00:00:00 2001 From: 刘学利 Date: Mon, 11 Mar 2024 10:31:48 +0000 Subject: TSG-19861: Support client hello fragment --- include/ssl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/ssl.h b/include/ssl.h index 96d2835..16a7300 100644 --- a/include/ssl.h +++ b/include/ssl.h @@ -82,6 +82,13 @@ struct ssl_extenstions struct ssl_l2tv extension[MAX_EXTENSION_NUM]; }; +#define MAX_JA_MD5_STR_LEN 128 +struct ssl_ja_fingerprint +{ + int md5_len; + char md5[MAX_JA_MD5_STR_LEN]; +}; + #define MAX_SERVER_NAME_LEN 512 struct ssl_client_hello { @@ -97,6 +104,7 @@ struct ssl_client_hello struct ssl_extenstions extensions; struct ssl_encrypt_server_name esni; char server_name[MAX_SERVER_NAME_LEN]; + struct ssl_ja_fingerprint ja3; }; #define MAX_JA3S_FINGERPRINT_LEN 128 -- cgit v1.2.3