Added -a <num> to ndpiReader for generating OPNsense configuration

See https://github.com/ntop/opnsense
This commit is contained in:
Luca Deri
2021-10-04 22:34:49 +02:00
parent fd0e65cb57
commit bb7aff6526
4 changed files with 139 additions and 67 deletions
+1 -1
View File
@@ -933,7 +933,7 @@ static uint8_t *decrypt_initial_packet(struct ndpi_detection_module_struct *ndpi
uint8_t first_byte;
uint32_t pkn32, pn_offset, pkn_len, offset;
quic_ciphers ciphers; /* Client initial ciphers */
quic_decrypt_result_t decryption = {0};
quic_decrypt_result_t decryption = { 0, 0};
uint8_t client_secret[HASH_SHA2_256_LENGTH];
memset(&ciphers, '\0', sizeof(ciphers));