diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-04-06 09:32:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 09:32:57 +0200 |
commit | 5c28dbbae24718aecd8ca36363059db81199b31b (patch) | |
tree | 50b6ff636b74e6612a4c5e08ff162ea6ba89a0c6 /src/lib/protocols/cassandra.c | |
parent | 25c111191189f64c4077f9d0609b0fdbdc12c4ad (diff) |
H323: fix false positives (#1916)
Diffstat (limited to 'src/lib/protocols/cassandra.c')
-rw-r--r-- | src/lib/protocols/cassandra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/cassandra.c b/src/lib/protocols/cassandra.c index 25180ac31..56c536bb1 100644 --- a/src/lib/protocols/cassandra.c +++ b/src/lib/protocols/cassandra.c @@ -119,7 +119,7 @@ static void ndpi_search_cassandra(struct ndpi_detection_module_struct *ndpi_stru ndpi_check_valid_cassandra_opcode(get_u_int8_t(packet->payload, 4)) && ntohl(get_u_int32_t(packet->payload, 5)) <= CASSANDRA_MAX_BODY_SIZE && ntohl(get_u_int32_t(packet->payload, 5)) >= (uint32_t) (packet->payload_packet_len - CASSANDRA_HEADER_LEN) && - flow->l4.tcp.h323_valid_packets == 0 /* To avoid clashing with H323 */ && + flow->h323_valid_packets == 0 /* To avoid clashing with H323 */ && flow->socks4_stage == 0 /* To avoid clashing with SOCKS */) { if (flow->packet_counter > 3) { |