区分未安装证书的客户端和pinning的客户端。若开启tfe.conf中[SSL]root_cert_not_installed_is_not_pinning=1,则未安装证书的客户端不再视为pinning。
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
#define PINNING_ST_MAYBE_PINNING 2
|
||||
struct ssl_service_status
|
||||
{
|
||||
char pinning_status;
|
||||
char cli_pinning_status;
|
||||
char is_app_not_pinning;
|
||||
char is_ev;
|
||||
char is_ct;
|
||||
char is_mutual_auth;
|
||||
@@ -29,5 +30,6 @@ struct ssl_service_cache_statistics
|
||||
long long proto_err_cli_cnt;
|
||||
long long ev_srv_cnt;
|
||||
long long ct_srv_cnt;
|
||||
long long app_not_pinning_cnt;
|
||||
};
|
||||
void ssl_service_cache_stat(struct ssl_service_cache* svc_cache, struct ssl_service_cache_statistics* result);
|
||||
|
||||
Reference in New Issue
Block a user