Loading nfq/desync.c +2 −0 Original line number Diff line number Diff line Loading @@ -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; Loading nfq/protocol.c +3 −3 Original line number Diff line number Diff line Loading @@ -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++) { Loading @@ -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; } Loading Loading
nfq/desync.c +2 −0 Original line number Diff line number Diff line Loading @@ -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; Loading
nfq/protocol.c +3 −3 Original line number Diff line number Diff line Loading @@ -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++) { Loading @@ -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; } Loading