mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 17:32:23 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user