diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-07-27 11:46:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 11:46:45 +0200 |
commit | d8d525fff2dc34db62de2598767046de813e4f0d (patch) | |
tree | 7765f694052f5ce12c9fd8e4d483524892052bcd /src/lib/protocols/websocket.c | |
parent | ab3a678ad423fcd431037093220a145925f64148 (diff) |
Update the protocol bitmask for some protocols (#1675)
Tcp retransmissions should be ignored.
Remove some unused protocol bitmasks.
Update script to download Whatsapp IP list.
Diffstat (limited to 'src/lib/protocols/websocket.c')
-rw-r--r-- | src/lib/protocols/websocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/websocket.c b/src/lib/protocols/websocket.c index eef20ade5..e009e7916 100644 --- a/src/lib/protocols/websocket.c +++ b/src/lib/protocols/websocket.c @@ -122,8 +122,8 @@ void init_websocket_dissector(struct ndpi_detection_module_struct *ndpi_struct, NDPI_PROTOCOL_BITMASK *detection_bitmask) { ndpi_set_bitmask_protocol_detection("WEBSOCKET", ndpi_struct, detection_bitmask, *id, NDPI_PROTOCOL_WEBSOCKET, - ndpi_search_websocket, NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_TCP_WITH_PAYLOAD, - SAVE_DETECTION_BITMASK_AS_UNKNOWN, ADD_TO_DETECTION_BITMASK); + ndpi_search_websocket, NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_TCP_WITH_PAYLOAD_WITHOUT_RETRANSMISSION, + SAVE_DETECTION_BITMASK_AS_UNKNOWN, ADD_TO_DETECTION_BITMASK); *id += 1; } |