Commit graph

655 commits

Author SHA1 Message Date
Luca Deri
61bc528159 Simplified IPv6 datatypes 2017-12-08 18:13:31 +01:00
Michele Campus
cb8f4f87bf
Merge branch 'dev' into dev 2017-12-07 22:45:28 +01:00
Luca Deri
8af18763cc Compilation fixes 2017-11-28 22:05:34 +01:00
Luca Deri
d6176ff668 Improved ndpiReader output
Updated tests
2017-11-19 18:35:26 +01:00
Hidde van der Heide
ee957e0831 Merge remote-tracking branch 'upstream/dev' into dev 2017-11-09 10:14:02 +01:00
Luca
c9f32ee76d Fixed begin/end type when capturing live traffic 2017-11-03 17:15:04 +01:00
Vitaly Lavrov
50645e11d8
Merge branch 'dev' into dev 2017-11-02 10:59:21 +03:00
Alfredo Cardigliano
6e6b623057 Merge branch 'dev' of https://github.com/ntop/nDPI into dev 2017-10-30 11:30:14 +01:00
Alfredo Cardigliano
159e6228fe --ndpi-proto-filter now accepts also protocol name 2017-10-30 11:30:09 +01:00
Luca Deri
cf07c92538 Dropbox and apple improvements
Fixed warning
2017-10-29 18:31:31 +01:00
Vitaly Lavrov
2787c2390c Refactoring the debugging output.
levels of debug output:
 0 - ERROR: Only for errors.
 1 - TRACE: Start of each packets and if found protocol.
 2 - DEBUG: Start of searching each protocol and excluding protocols.
 3 - DEBUG_EXTRA: For all other messages.

Added field ndpi_struct->debug_logging for enable debug output of each protocols.

Simple macros for debugging output are added:
NDPI_LOG_ERR(), NDPI_LOG_INFO(), NDPI_LOG_DBG(), NDPI_LOG_DBG2(),
NDPI_EXCLUDE_PROTO()
2017-10-26 20:41:22 +03:00
Hidde van der Heide
441e43c167 Revert the revert of 2155dd9 after fixing ntopng Travis
This reverts commit 4f72b954da.
2017-10-24 17:05:48 +02:00
Simone Mainardi
4f72b954da Undoes 2155dd9 that breaks ntopng Travis 2017-10-23 15:20:30 +02:00
Hidde van der Heide
2155dd9153 Add libcache to installed headers and removed relative import 2017-10-19 16:10:56 +02:00
berat
d273b67fd7 fixed bug 2017-10-12 11:18:05 +02:00
berat
98d1c762cd extended (-b flag) statistics with top receiver stats 2017-10-09 22:21:40 +02:00
Luca Deri
2476c3c1b6 Fixed bug in someip dissector (access out of boundary)
Fixed memory leak in ndpiReader
2017-10-08 18:55:40 +02:00
Luca Deri
27d66f6845 Typo 2017-10-06 09:51:42 +02:00
Luca Deri
b10e526364 Leak fix 2017-10-05 16:21:32 +02:00
Vitaly Lavrov
b2f0558080 A more predictable sorting of the flows list.
It is necessary for correct testing.
2017-09-29 12:46:27 +03:00
berat
f255b10524 memory improvement again for (-b flag) statistics 2017-09-26 17:20:51 +02:00
berat
4ba6ba70c5 memory usage is improved (-b flag) 2017-09-26 17:01:10 +02:00
Michele Campus
0827a6bf8b Merge pull request #457 from la10736/fix_ndpiReader_dependencies
Fix #456: ndpiReader depend from uthash.h heder
2017-09-25 15:21:51 +02:00
Michele d'Amico
59097a2d30 Fix #456: ndpiReader depend from uthash.h heder 2017-09-25 15:08:55 +02:00
berat
2c014c5693 improved memory usage by (-b flag) statistics 2017-09-25 12:45:30 +02:00
berat
688d7c33e4 improved (-x flag) bpf filter condition 2017-09-25 11:14:57 +02:00
berat
b0f3852fed improved (-x flag) bpf filter condition 2017-09-25 11:06:47 +02:00
berat
807db80afc fixed another memory leak 2017-09-24 18:43:31 +02:00
berat
baae16ec2f memory leak fixed 2017-09-23 19:55:47 +02:00
berat
41b40ddf18 memory leak fixed 2017-09-23 19:50:52 +02:00
berat
f575959cd2 typos and renames 2017-09-22 19:00:27 +02:00
Luca Deri
9fb5981128 Added ndpi_category_set_name() API call 2017-09-19 22:39:00 +02:00
Luca Deri
1a4e57e736 Code rework 2017-09-17 23:34:46 +02:00
berat
ecb048a7bc Extended filter produced by -b flag 2017-09-08 18:00:32 +02:00
Luca
3ba3a08141 Implemented flow sort based on total bytes so that we can (with -v X) immediately spot elephants and mice 2017-08-02 20:15:21 +02:00
Campus
a90b97bc10 fix wrong datalink type for Cisco PPP 2017-07-29 23:44:47 +02:00
Alexis La Goutte
5ebc85e705 ndpiReader.c: fix variable ‘fileName’ set but not used [-Werror=unused-but-set-variable] 2017-07-28 13:45:59 +00:00
Alexis La Goutte
b021f5bce1 ndpiReader.c fix ‘getTopStats/deleteTopStats/top_stats_sort/scanners_port_sort/scanners_sort/deleteScanners’ defined but not used [-Werror=unused-function] 2017-07-28 13:45:56 +00:00
Alexis La Goutte
5f1131cae2 ndpiReader: fix file_first_time/_statsFilePath defined but not used [-Werror=unused-variable] 2017-07-28 13:45:49 +00:00
Michele Campus
6ca6d96821 Merge branch 'dev' into ssl-certificate-fix 2017-07-27 13:10:08 +02:00
Luca Deri
be52d4e9ad Removed unused variable 2017-07-25 16:56:15 +02:00
Micah Lyle
55d1362924 Updated tests to match new SSL server certificate fix/addition 2017-07-18 12:53:02 -07:00
Micah Lyle
6e85b93442 Implementation for extra packet processing if desired 2017-07-17 18:06:07 -07:00
Campus
6d7f5552de changed name from _bpf_filter to bpfFilter to avoid compilation error in OpenBSD caused by redefinition by https://github.com/openbsd/src/blob/master/sys/net/bpf.h#L296 2017-07-13 16:22:34 +02:00
Campus
c5bc91145f removed warning compilation for - warning: passing argument 3 of 'pcap_compile' from incompatible pointer type 2017-07-09 18:10:10 +02:00
Campus
cfa9a79f67 fix for OpenBSD compile error https://github.com/ntop/nDPI/issues/417 2017-07-07 12:50:06 +02:00
Luca Deri
d66e473a2c Code cleanup
Updated test results
Renamed SOMEIP -> someip
2017-07-06 09:28:15 +02:00
berat
e857c5fb41 extended bpf filter produced by -x flag to include hosts 2017-06-30 09:52:26 +02:00
MaYuming
a40507b8b2 fix compiler error about json 2017-06-25 16:58:50 +08:00
berat
7235c9a73a Added -x flag. Produces a bpf filter based on diagnose information generated by -b flag 2017-06-23 12:14:31 +02:00