aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
Commit message (Collapse)AuthorAge
...
* OpenBSD: Introduce pkt_timeval to deal with (bpf_)_timevalAdrian Zgorzałek2020-08-09
| | | | | | Some BSD APIs called in example/ return `struct bpf_timeval`, where nDPI APIs expect `struct timeval`. These two structs, besides having a different name, share the exact same set of fields.
* Tiny changes for TLS block lenght dissectionLuca Deri2020-07-29
|
* wrapper cleanupLuca Deri2020-07-13
|
* Fixed heap overflow caused by missing lengthcheck in 802.11 LLC header parsing.Toni Uhlig2020-07-11
| | | | | | * triggered by fuzz traces from wireshark Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed csv_fp as external symbol. Instead passing csv_fp through as argument.Toni Uhlig2020-07-08
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added ndpi_cluster_bins() for clustering bins and ancillary functions for ↵Luca Deri2020-07-07
| | | | bins manipulation
* Merge pull request #932 from IvanNardi/logLuca Deri2020-07-07
|\ | | | | Log
| * Fix compilation with --enable-debug-messages flagNardi Ivan2020-06-26
| | | | | | | | | | | | | | | | | | | | | | | | NDPI_LOG* macros dereference ndpi_detection_module_struct object which is private to ndpi library (via NDPI_LIB_COMPILATION define). So we can't use them outside the library itself, i.e. in ndpiReader code Therefore, in files in example/, convert all (rare) uses of NDPI_LOG* macros to a new very simple macro, private to ndpiReader program. If necessary, such macro may be improved. According to a comment in ndpi_define.h, each dissector must define its own NDPI_CURRENT_PROTO macro before including ndpi_api.h file
* | Fixed heap overflow caused by missing lengthcheck in reader uutil.Toni Uhlig2020-07-06
| | | | | | | | | | | | * triggered by fuzz traces from wireshark Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | Fix memory leak about purged/expired flowsNardi Ivan2020-06-28
| | | | | | | | | | Create an helper to avoid similar errors in the future Fixes: 1a62f4c7
* | Fix (harmless) memory leaks when DPDK is enabledNardi Ivan2020-06-28
|/
* Added ndpi_bin_XXX APILuca Deri2020-06-22
| | | | Added packet lenght distribution bins
* Added checks for DGA detectionLuca Deri2020-06-17
|
* Removed some obsolete protocols (battlefield, oscar, pcanywhere, tvants)Luca Deri2020-06-06
|
* Merge pull request #913 from yskcg/fix_segment_fault_devLuca Deri2020-06-05
|\ | | | | Fix segment fault dev
| * fix segment fault cause by the ssl.server_names when it may NULLysk2020-06-03
| |
* | Added support for Encrypted TLS SNI dissectionLuca Deri2020-05-28
|/ | | | https://datatracker.ietf.org/doc/draft-ietf-tls-sni-encryption/
* Added the ability to detect when a known protocol is using a non-standard portLuca Deri2020-05-10
| | | | Added check to spot executables exchanged via HTTP
* Added TLS issuerDN and subjectDNLuca Deri2020-05-07
|
* Fix heap-overflow error in CAPWAP detunneling codeNardi Ivan2020-04-24
|
* Add basic support for some ip-in-ip tunnelsNardi Ivan2020-04-23
| | | | | | | | Add support for 4in4, 6in6 and 4in6 encapsulations Add support for ipv6 traffic in gtp tunnels, too To allow gtp unit test, gtp detunneling flag has been globally enabled in the test suite
* Merge pull request #879 from IvanNardi/warningsLuca Deri2020-04-21
|\ | | | | Fix some compilation warnings
| * Fix some compilation warningsNardi Ivan2020-04-20
| |
* | Gets right protocol after IPv6 headerPhilippe Antoine2020-04-21
|/
* Compilation fixesLuca Deri2020-04-20
|
* Seeting right flow protocol after IP6 extensionsPhilippe Antoine2020-04-18
| | | | Finally fixing https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20727
* Adds bound check before calling ndpi_handle_ipv6_extension_headersPhilippe Antoine2020-04-17
|
* additional csv semicolon fixAlexander Czyrny2020-04-16
| | | | Created function correct_csv_data_field to pevent duplicated code. Additionally used for _flow->ndpi_flow->protos.stun_ssl.ssl.alpn_ and _flow->ndpi_flow->protos.stun_ssl.ssl.tls_supported_versions_ to guarantee a valid csv output (commas replaced by semicolon) .
* Use ndpi_handle_ipv6_extension_headers in reader_utilPhilippe Antoine2020-04-15
|
* Adds bound check for TZSPPhilippe Antoine2020-04-15
|
* ndpiReader: fix memory leak in idle sessions purgingNardi Ivan2020-04-08
|
* Checks enough data for UDP headerPhilippe Antoine2020-03-19
|
* Compilation fixLuca Deri2020-02-28
|
* Run ndpi_detection_process_packet only with payloadPhilippe Antoine2020-02-26
| | | | Real problem is decapsulation of all ipv6 headers
* Fix read overflow before UDP headerPhilippe Antoine2020-02-26
|
* Fix various buffer over readsPhilippe Antoine2020-02-18
|
* Minor fixLuca Deri2020-02-17
|
* Checks length for next ip headerPhilippe Antoine2020-02-14
|
* Checks l4 size against l3 sizePhilippe Antoine2020-02-14
|
* Compliation warning fixesLuca Deri2020-02-08
|
* Merge pull request #838 from catenacyber/fix2Luca Deri2020-02-08
|\ | | | | Adds missing checks
| * Adds missing checksPhilippe Antoine2020-02-03
| | | | | | | | Found by fuzzing
* | Added export of TLS supported version in TLS headerLuca Deri2020-02-07
| |
* | Added TLS ALPN supportLuca Deri2020-02-07
| |
* | Fix for IPv6 address format across the various platforms/distributionsLuca Deri2020-02-04
| |
* | Warnign fixLuca Deri2020-02-04
| |
* | Improved DNS response decodingLuca Deri2020-02-04
|/ | | | The first decoded address is now reported by ndpiReader
* Uses ip_size in get_ndpi_flow_info6Philippe Antoine2020-01-31
|
* Fix infinite loop in ndpi_workflow_process_packetPhilippe Antoine2020-01-31
|
* Added sanity checkLuca2020-01-15
|