Stuart Reilly
8b1c68aed3
Add compiler warnings and fix them
2019-07-12 16:01:22 +01:00
Luca Deri
81d3fc8a24
Dissection improvements
2019-06-27 16:38:36 +02:00
Luca Deri
c4f513f6e7
Merge pull request #717 from weiyanhua100/dev
...
add null process for malloc.
2019-06-22 15:40:25 +02:00
Luca Deri
00ed2653fe
Further WhatsApp improvements
2019-06-21 19:06:41 +02:00
Luca
5f26149938
Added DHCP fingerpring handling
2019-06-18 17:36:39 +02:00
Luca Deri
1a3f2b3f0d
Reworked SSL cipher handling
2019-06-16 16:05:13 +02:00
Luca Deri
5b7a08bac3
Added SSL cipher print
2019-06-16 10:08:21 +02:00
weiyanhua
e814cd0b9e
add null process for malloc.
2019-06-13 15:05:22 +08:00
Luca Deri
5da363cbde
Fixed MySQL dissector
...
SSL dissector now reports the protocol version
Fixed bug in ndpiReader that ivalidates in some cases the protocl dissection and used to slow down the dissection
2019-05-28 23:35:49 +02:00
Luca Deri
53119e71f4
Added ndpi_is_safe_ssl_cipher(0 call
2019-05-23 00:16:05 +02:00
Luca Deri
0d2f8f4498
Implements #705
2019-05-20 22:02:21 +02:00
Luca Deri
f97be61e8b
Fixed JA3 decoding
...
Made ndpi_process_extra_packet() optional
2019-05-20 15:32:50 +02:00
Luca Deri
a00ad9fc92
Initial JA3 support ( https://github.com/salesforce/ja3 ) for SSL
2019-05-11 00:50:56 +02:00
Luca Deri
f47be6ef60
Added SSL organization support
2019-03-23 10:32:18 +01:00
Luca Deri
f3b0878a37
Warnign fixes
...
Updated test results
2019-01-17 00:39:45 +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
71b2c19cf2
Added DPDK support to ndpiReader
2018-11-10 16:10:22 +01:00
Luca Deri
326a2fb7ed
Fix for https://github.com/ntop/nDPI/issues/572
2018-05-28 18:18:19 +02:00
Luca Deri
6dd42d19f7
Implemented Facebook Messenger (mobile) support
...
Code cleanup
2018-05-18 23:10:00 +02:00
Luca Deri
66b759ca69
Hidden ndpi_detection_module_struct definition
2018-05-14 22:58:14 +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
Campus
9e47e49ade
fix wrong increment for MPLS double header
2018-02-15 21:26:38 +01:00
Ludovico Cavedon
35dc6e27ae
Fix MPLS header parsing in ndpiReader.
...
Reported at https://bugs.debian.org/886133 .
The current parsing for the MPLS header in examples/ndpi_util.c has
multiple issues:
- the bitfield order is incorrect for little endian architectures
- ntohl() is applied to a 20 bit label, which has unclear purpose
- if multiple labels are detected, the while loop parsing labels will
never exit due to a missing re-read of the mpls label
- the last label is identified by looking inside the label field, while
it should be done by looking at the S bit
This change fixes the above issues.
Notice that bitfield ordering is implementation-dependent, so C
bitfields should not be used in the first place to parse network
packets.
2018-01-09 10:26:10 -08:00
qianguozheng
9561f37998
Fix ndpiReader long run crash due to dupilicate nodes exist, cause
...
double free failed.
2017-12-19 17:37:46 +08:00
Luca Deri
61bc528159
Simplified IPv6 datatypes
2017-12-08 18:13: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
Luca Deri
1a4e57e736
Code rework
2017-09-17 23:34:46 +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
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
Luca
993605d4f3
Fixed bug that was forcing the reader to pass several times the same flow
...
renamed some variables
2017-05-24 18:53:51 +02:00
Luca Deri
904210e87c
Split src2dst / dst2src traffic
2017-05-24 16:06:23 +02:00
Alfredo Cardigliano
1a20029c82
compilation fixes
2017-05-23 18:56:43 +02:00
Alfredo Cardigliano
26bd42a71c
crc32 fix
2017-05-23 18:02:53 +02:00
Pavlos Antoniou
73b3ee51d1
Remove unused variable and clarify operator precedence in ndpi_util.c
2017-05-18 14:08:01 +03:00
Luca Deri
0091f35e02
Reworked flow structure handler
2017-05-17 15:50:59 +02:00
alexei-argus
8a7dc10f51
Fix out-of-bounds heap read caused by using header->len instead of header->caplen (as provided in pcap_loop)
2017-05-10 14:16:46 +03:00
Luca
21567e8686
Added missing direction update with non TCP-UDP protocols
2017-05-08 08:29:18 +02:00
Luca Deri
064b50df81
Added -m for splitting analysis in sub-analysis steps
2017-04-30 10:12:28 +02:00
Luca
e1b905124f
Improved SSL dissection
2017-04-27 14:57:04 +02:00
Luca Deri
b9a2511ea8
Initial Wireshark nDPI integration
2017-04-23 19:58:41 +02:00
Campus
9a94c34b91
fix for https://github.com/ntop/nDPI/issues/364
2017-04-20 23:00:11 +02:00
Luca Deri
a9c01ded17
ndpiReader now prints (-v) the flows with the correct direction
2017-04-19 21:55:49 +02:00
Luca
c1db9a830d
Compilation fix for old compilers
2017-04-18 17:20:43 +02:00
Luca
4c5de9ef8e
Added ethernet checksum reforging and nDPI protocol export in nDPI-extcap reader
2017-04-17 09:38:30 +02:00
Campus
2b0809f3dc
name correction for llc_snap header and minor fix
2017-04-15 00:40:01 +02:00
Campus
29cd6ef994
fix segmentation fault caused by missing spanning tree check - add control for threads return values
2017-04-15 00:29:53 +02:00