Added nDPIsrvd-analysed to generate CSV files from analyse events.

* nDPIsrvd.h: iterate over JSON arrays
 * nDPId: calculate l3 payload packet entropies for analysis

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2022-09-30 18:42:10 +02:00
parent 74f71643da
commit 14f6b87551
531 changed files with 5337 additions and 4325 deletions

View File

@@ -675,7 +675,7 @@ static void * distributor_client_mainloop_thread(void * const arg)
case READ_PEER_DISCONNECT:
del_event(dis_epollfd, mock_testfds[PIPE_TEST_READ]);
pipe_read_finished = 1;
continue;
break;
}
enum nDPIsrvd_parse_return parse_ret = nDPIsrvd_parse_all(mock_sock);
@@ -712,7 +712,6 @@ static void * distributor_client_mainloop_thread(void * const arg)
{
del_event(dis_epollfd, mock_nullfds[PIPE_NULL_READ]);
null_read_finished = 1;
continue;
}
printf("%.*s", (int)bytes_read, buf);
@@ -730,7 +729,6 @@ static void * distributor_client_mainloop_thread(void * const arg)
{
del_event(dis_epollfd, mock_arpafds[PIPE_ARPA_READ]);
arpa_read_finished = 1;
continue;
}
/*