Usenet: improve dissection (#1622)
This commit is contained in:
@@ -81,6 +81,10 @@ void ndpi_search_usenet_tcp(struct ndpi_detection_module_struct
|
|||||||
NDPI_LOG_DBG2(ndpi_struct,
|
NDPI_LOG_DBG2(ndpi_struct,
|
||||||
"no login necessary but we are a client.\n");
|
"no login necessary but we are a client.\n");
|
||||||
|
|
||||||
|
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_LOG_INFO(ndpi_struct, "found usenet\n");
|
||||||
ndpi_int_usenet_add_connection(ndpi_struct, flow);
|
ndpi_int_usenet_add_connection(ndpi_struct, flow);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user