Commit graph

169 commits

Author SHA1 Message Date
Luca
622519e90e Warning fix 2018-11-29 07:53:41 +01:00
Luca Deri
f15aed6c46 Renamed internal function 2018-11-21 23:25:27 +01:00
Luca Deri
e9dd5985b3 Made configure more friendly
Added time measurement in ndpiReader (processing and setup time)
2018-11-21 17:22:15 +01:00
Luca Deri
669fdf6b5f Improved skype, teredo, netbios heuristics
Changed ndpi_detection_giveup() API: guess is now part of the call
2018-11-21 00:32:32 +01:00
Luca Deri
582da8d4bb Improved WeChat support
Removed Musical.ly protocol as the service has been merged with another one and thus it is no longer used
Improved guess for UDP protocols
2018-11-19 18:24:33 +01:00
emanuele-f
0ee451040d Warning fix 2018-11-18 12:50:53 +01:00
Luca Deri
71b2c19cf2 Added DPDK support to ndpiReader 2018-11-10 16:10:22 +01:00
Luca Deri
01bf295a19 Completed custom category implementation 2018-08-16 14:57:44 +02:00
Luca Deri
90ffa1fc2c Updated twitter invalid address range
Using content substring match in category search
2018-07-16 09:21:34 +02:00
Luca
3986a951d8 Suppressed invalid messages with -q
-j now accepts - as stdout
2018-06-21 16:13:18 +02:00
Luca Deri
e00b06926e Fix for handling IP address based custom categories 2018-06-11 16:22:02 +02:00
Luca Deri
6dd42d19f7 Implemented Facebook Messenger (mobile) support
Code cleanup
2018-05-18 23:10:00 +02:00
Luca Deri
dcdd7562f4 Implemented hash-based categories 2018-05-16 00:09:12 +02:00
Luca Deri
66b759ca69 Hidden ndpi_detection_module_struct definition 2018-05-14 22:58:14 +02:00
Luca Deri
1076455c01 Added ndpi_set_detection_preferences() APi call 2018-05-14 21:40:27 +02:00
Luca Deri
50216991bd Improved hyperscan support and category definition 2018-05-10 23:46:35 +02:00
Luca
3adccc98f7 Implemented custom category loading.
Modified ndpiReader with -c <file> (use mining_hosts.txt as example) for loading name-based categories
2018-04-26 21:10:59 +02:00
Darryl Sokoloski
c54a8f8cfa Moved ndpi_config.h from ndpi_main.h to ndpi_main.c, and example source files. 2018-04-24 10:21:47 -04:00
Luca
a2acd09263 Added ndpi_get_api_version() API call to be used in applications that
are dynamically linking with nDPI, to make sure the APIs are in sync
2018-03-21 18:33:08 +01:00
ZengYingpei
aea81e4a1a Add an Xcode project for debugging under MacOS (add all missed files) 2018-02-04 14:21:52 +08:00
Luca Deri
78feabfad7 Inital hyperscan work 2018-01-24 22:11:05 +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
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
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
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
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
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