diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-07-03 18:08:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-03 18:08:04 +0200 |
commit | 060e894d5b7822bdb4c1a2d565490c7c1de80c0c (patch) | |
tree | 06d138661e6ec5f901b3db31699084580e498cf6 /src | |
parent | fdb1649a49ee376853eace751002ef422f06623c (diff) |
Usenet: improve dissection (#1622)
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/usenet.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/protocols/usenet.c b/src/lib/protocols/usenet.c index 819a13829..67dc7d9de 100644 --- a/src/lib/protocols/usenet.c +++ b/src/lib/protocols/usenet.c @@ -84,6 +84,10 @@ void ndpi_search_usenet_tcp(struct ndpi_detection_module_struct NDPI_LOG_INFO(ndpi_struct, "found usenet\n"); ndpi_int_usenet_add_connection(ndpi_struct, flow); return; + } else if (packet->payload_packet_len == 6 && (memcmp(packet->payload, "HELP\r\n", 6) == 0)) { + NDPI_LOG_INFO(ndpi_struct, "found usenet\n"); + ndpi_int_usenet_add_connection(ndpi_struct, flow); + return; } } |