diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | examples/py-flow-dashboard/dashboard.png | bin | 0 -> 85964 bytes | |||
-rw-r--r-- | nDPIsrvd.c | 4 |
3 files changed, 9 insertions, 1 deletions
@@ -155,5 +155,9 @@ e.g.: `./test/run_tests.sh [${HOME}/git/nDPI] [${HOME}/git/nDPId/build/nDPId-test]` Remember that all test results are tied to a specific libnDPI commit hash -as part of the `git submodule`. Using `test/run_tests.s` for other commit hashes +as part of the `git submodule`. Using `test/run_tests.sh` for other commit hashes will most likely result in PCAP diff's. + +Why not use `examples/py-flow-dashboard/flow-dash.py` to visualize nDPId's output: + + diff --git a/examples/py-flow-dashboard/dashboard.png b/examples/py-flow-dashboard/dashboard.png Binary files differnew file mode 100644 index 000000000..e5b5ac9af --- /dev/null +++ b/examples/py-flow-dashboard/dashboard.png diff --git a/nDPIsrvd.c b/nDPIsrvd.c index 4e48c9ca1..c5d2e2a4e 100644 --- a/nDPIsrvd.c +++ b/nDPIsrvd.c @@ -477,6 +477,10 @@ static void disconnect_client(int epollfd, struct remote_desc * const current) current->fd = -1; remotes.desc_used--; } + if (current->buf_cache != NULL) + { + utarray_clear(current->buf_cache); + } nDPIsrvd_buffer_free(¤t->buf); } |