nfqws: remove debug printfs

This commit is contained in:
bol-van 2025-03-24 11:14:38 +03:00
parent e56e4f5f35
commit 60b97dbed0
2 changed files with 5 additions and 3 deletions

View File

@ -1963,6 +1963,8 @@ static uint8_t dpi_desync_udp_packet_play(bool replay, size_t reasm_offset, uint
{
if (bFull)
{
DLOG("QUIC initial contains CRYPTO with full fragment coverage\n");
bool bIsHello = IsQUICCryptoHello(defrag, defrag_len, &hello_offset, &hello_len);
bool bReqFull = bIsHello ? IsTLSHandshakeFull(defrag+hello_offset,hello_len) : false;

View File

@ -916,8 +916,8 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
qsort(ranges, range, sizeof(*ranges), cmp_range64);
for(i=0 ; i<range ; i++)
printf("RANGE %zu len %zu\n",ranges[i].offset,ranges[i].len);
//for(i=0 ; i<range ; i++)
// printf("RANGE %zu len %zu\n",ranges[i].offset,ranges[i].len);
for(i=0,offset=0,*bFull=true ; i<range ; i++)
{
@ -929,7 +929,7 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
offset += ranges[i].len;
}
printf("bFull=%d\n",*bFull);
//printf("bFull=%u\n",*bFull);
}
return found;
}