aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_define.h.in
Commit message (Collapse)AuthorAge
...
* Added HyperLogLog cardinality estimator API callsLuca Deri2020-06-10
| | | | | | | | | | | | | /* Memory lifecycle */ int ndpi_hll_init(struct ndpi_hll *hll, u_int8_t bits); void ndpi_hll_destroy(struct ndpi_hll *hll); /* Add values */ void ndpi_hll_add(struct ndpi_hll *hll, const char *data, size_t data_len); void ndpi_hll_add_number(struct ndpi_hll *hll, u_int32_t value) ; /* Get cardinality estimation */ double ndpi_hll_count(struct ndpi_hll *hll);
* Updated (C)Luca Deri2020-06-08
|
* Win fixesLuca Deri2020-06-08
|
* Added check for invalid HTTP URLsLuca Deri2020-05-16
|
* Added check for binary scriptsLuca Deri2020-05-15
| | | | | Added NDPI_HTTP_NUMERIC_IP_HOST risk ndpi_risk moved to 32 bit
* Added NDPI_XXX_BIT_16Luca Deri2020-05-11
|
* Fix alignment issue on IPv6 structsemanuele-f2019-08-29
|
* Added missing definitionsLuca Deri2019-05-20
|
* QUIC: convert little endian offsets to host endiannessLudovico Cavedon2019-01-15
| | | | | | | Offset in the QUIC protocol are little endian. Reading them as uint32_t works on little endian architectures, but breaks on big endian ones. This change applies the proper conversion and fixes running the http_ipv6 and quic tests on big endian architectures.
* Added NDPI_MIN_NUM_STUN_DETECTION constantLuca2018-10-29
|
* Added checks for missing protocol initializationLuca Deri2018-07-23
| | | | | Fixed missing LOG_ERR initialization Fixed logging warnings
* Increased number of protocols to 512Luca Deri2018-03-01
| | | | Implemented WhatsApp file exchage support (added test pcap)
* 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()
* Fix undefined behavior (detected by gcc):Vitaly Lavrov2017-10-03
| | | | | | | | | | | | | | ndpi_define.h.in:218: Macros NDPI_SET(), NDPI_CLR(), NDPI_ISSET() runtime error: left shift of 1 by 31 places cannot be represented in type 'int' http.c:364: strncpy((char*)flow->protos.http.nat_ip,(char*)packet->forwarded_line.ptr,len); runtime error: null pointer passed as argument 2, which is declared to never be null ndpi_patricia.c:ndpi_comp_with_mask(): int m = ((-1) << (8 - (mask % 8))); runtime error: left shift of negative value -1 Original function ndpi_comp_with_mask() is unreadable and slow. We have only 2 type of address: 32 bit and 128 bit. The optimized version works 6 times faster (IPv4).
* Implements #376Luca2017-08-29