nfqws,tpws: debug tls version

This commit is contained in:
bol-van
2025-04-13 15:27:50 +03:00
parent b12b1a5a17
commit d19f6c19a4
7 changed files with 93 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ int HttpReplyCode(const uint8_t *data, size_t len);
// must be pre-checked by IsHttpReply
bool HttpReplyLooksLikeDPIRedirect(const uint8_t *data, size_t len, const char *host);
const char *TLSVersionStr(uint16_t tlsver);
uint16_t TLSRecordDataLen(const uint8_t *data);
size_t TLSRecordLen(const uint8_t *data);
bool IsTLSRecordFull(const uint8_t *data, size_t len);