summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-10-12 15:51:16 +0800
committeryangwei <[email protected]>2024-10-12 15:51:16 +0800
commit260787167a81a8f7ac311ed394ceb5d990451136 (patch)
tree2a762fbbe7a09f20a9bea72ca794c20d7efc2176 /decoders
parent70d21f28c36fc93280352c9284de6529afcbe5be (diff)
✨ feat(lpip match quic): remove port pattern
Diffstat (limited to 'decoders')
-rw-r--r--decoders/lpi_plus/lpip_extend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/decoders/lpi_plus/lpip_extend.c b/decoders/lpi_plus/lpip_extend.c
index 79b3849..334e557 100644
--- a/decoders/lpi_plus/lpip_extend.c
+++ b/decoders/lpi_plus/lpip_extend.c
@@ -448,8 +448,7 @@ lpi_module_t* lpi_plus_extended_guess(struct lpi_plus_detect_context *ctx, lpi_p
}
//QUIC
- if((sport==443 || dport==443 || sport==80 || dport==80 || sport==8443 || dport==8443)
- && (lpi_proto==LPI_PROTO_UNKNOWN || lpi_proto==LPI_PROTO_UDP))
+ if((lpi_proto==LPI_PROTO_UNKNOWN || lpi_proto==LPI_PROTO_UDP))
{
if(lpi_plus_match_quic(ctx->current_is_c2s_flow, (const unsigned char *)payload, payload_sz))
{