aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
Commit message (Collapse)AuthorAge
* Warnign fixesLuca Deri2019-01-17
| | | | Updated test results
* Improved skype, teredo, netbios heuristicsLuca Deri2018-11-21
| | | | Changed ndpi_detection_giveup() API: guess is now part of the call
* Added DPDK support to ndpiReaderLuca Deri2018-11-10
|
* Fix for https://github.com/ntop/nDPI/issues/572Luca Deri2018-05-28
|
* Implemented Facebook Messenger (mobile) supportLuca Deri2018-05-18
| | | | Code cleanup
* Hidden ndpi_detection_module_struct definitionLuca Deri2018-05-14
|
* Improved hyperscan support and category definitionLuca Deri2018-05-10
|
* Implemented custom category loading.Luca2018-04-26
| | | | Modified ndpiReader with -c <file> (use mining_hosts.txt as example) for loading name-based categories
* Moved ndpi_config.h from ndpi_main.h to ndpi_main.c, and example source files.Darryl Sokoloski2018-04-24
|
* fix wrong increment for MPLS double headerCampus2018-02-15
|
* Fix MPLS header parsing in ndpiReader.Ludovico Cavedon2018-01-09
| | | | | | | | | | | | | | | | | 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.
* Fix ndpiReader long run crash due to dupilicate nodes exist, causeqianguozheng2017-12-19
| | | | double free failed.
* Simplified IPv6 datatypesLuca Deri2017-12-08
|
* Refactoring the debugging output.Vitaly Lavrov2017-10-26
| | | | | | | | | | | | | | 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()
* Code reworkLuca Deri2017-09-17
|
* Implemented flow sort based on total bytes so that we can (with -v X) ↵Luca2017-08-02
| | | | immediately spot elephants and mice
* fix wrong datalink type for Cisco PPPCampus2017-07-29
|
* Updated tests to match new SSL server certificate fix/additionMicah Lyle2017-07-18
|
* Implementation for extra packet processing if desiredMicah Lyle2017-07-17
|
* Fixed bug that was forcing the reader to pass several times the same flowLuca2017-05-24
| | | | renamed some variables
* Split src2dst / dst2src trafficLuca Deri2017-05-24
|
* compilation fixesAlfredo Cardigliano2017-05-23
|
* crc32 fixAlfredo Cardigliano2017-05-23
|
* Remove unused variable and clarify operator precedence in ndpi_util.cPavlos Antoniou2017-05-18
|
* Reworked flow structure handlerLuca Deri2017-05-17
|
* Fix out-of-bounds heap read caused by using header->len instead of ↵alexei-argus2017-05-10
| | | | header->caplen (as provided in pcap_loop)
* Added missing direction update with non TCP-UDP protocolsLuca2017-05-08
|
* Added -m for splitting analysis in sub-analysis stepsLuca Deri2017-04-30
|
* Improved SSL dissectionLuca2017-04-27
|
* Initial Wireshark nDPI integrationLuca Deri2017-04-23
|
* fix for https://github.com/ntop/nDPI/issues/364Campus2017-04-20
|
* ndpiReader now prints (-v) the flows with the correct directionLuca Deri2017-04-19
|
* Compilation fix for old compilersLuca2017-04-18
|
* Added ethernet checksum reforging and nDPI protocol export in nDPI-extcap readerLuca2017-04-17
|
* name correction for llc_snap header and minor fixCampus2017-04-15
|
* fix segmentation fault caused by missing spanning tree check - add control ↵Campus2017-04-15
| | | | for threads return values
* Initial wireshark integration via extcap interfaceLuca Deri2017-04-14
|
* Added Ookla (SpeedTest) protocol detectionLuca Deri2017-04-01
|
* Merge branch 'set_memory_functions' of https://github.com/vpiserchia/nDPI ↵Campus2017-03-29
|\ | | | | | | into vpiserchia-set_memory_functions
| * Added ndpi_flow_ free/malloc and set_ functions:Vito Piserchia2017-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ideally these two new functions will provide more flexibility in regards of application that want to use specific allocation approaches, for example storage queues for this structures from where the application can pop and release the data it needs. Semantically they can be set up as the other ndpi_malloc and ndpi_free functions, that is via the set_ndpi_flow_malloc and set_ndpi_flow_free. In case a NULL parameter is passed to the above functions the old approach will be used, that means that the ndpi_malloc will be used as the ndpi_flow_malloc function and ndpi_free_flow as the ndpi_flow_free one. Application that use the old functions will be not affected by this change, and the ndpi_free_flow can be deprecated in the future and made private.
* | SSL server certificate is now detectedLuca Deri2017-03-21
|/
* change behaviour for https://github.com/ntop/nDPI/issues/344 - fix skype ↵Campus2017-03-15
| | | | detection deleting parts that detect host name and ip addr (duplicate behaviour) - improved any detection after fix - added skype host name
* spelling: platformJosh Soref2017-03-12
|
* added double tagging 802.1Q in dissection of vlan pktCampus2017-02-21
|
* Merge branch 'dev-numeronove-openbsd' of https://github.com/numeronove/nDPI ↵Campus2017-02-13
|\ | | | | | | into numeronove-dev-numeronove-openbsd
| * Easing OpenBSD buildNumeronove2017-02-11
| | | | | | | | | | | | | | | | | | | | Addedd macro AM_PROG_CC_C_O in configure.ac, needed to have autogen.sh manage the error: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac' Modified case instance in example/ndpi_util.c, since DLT_LINUX_SLL isn't defined in OpenBSD pcap.h.
* | Improvements for exporting info in MDNS and UBNTAC2 protocolsLuca Deri2017-02-13
| | | | | | | | Added test pcap file for UBNTAC2
* | Dissected SSH client/server versions and reported in data structuresLuca Deri2017-02-11
|/
* Removed some magic numbersDenis Volpato Martins2016-12-06
|
* added comment to function process_packetCampus2016-12-02
|