Commit graph

536 commits

Author SHA1 Message Date
Luca Deri
63c4eaae9b Invalid function definition fix 2020-04-13 22:40:20 +02:00
Nardi Ivan
a60854bae6 Fix some debug messages 2020-04-08 15:15:34 +02:00
Nardi Ivan
b40732d8a5 Fix an harmless memory leak
Leak introduced in 90e08b35, while fixing #845
2020-04-08 15:15:34 +02:00
Luca Deri
db8497778d Fixes #853 and adds a self check for duplicates 2020-04-07 19:17:37 +02:00
Luca Deri
0d223ada3f Compilation fix 2020-03-27 08:46:03 +01:00
Luca Deri
890e8644ac
Merge pull request #861 from havup/dev
pull request with s7comm
2020-03-27 08:38:44 +01:00
emanuele-f
9cf016c5f1 Fix ndpi_get_api_version version truncation 2020-03-25 14:00:47 +01:00
havup
ac17e0bea7
Update ndpi_main.c 2020-03-25 19:06:36 +08:00
havup
4d95dae2ae
Update ndpi_main.c 2020-03-25 19:05:49 +08:00
Zied Aouini
5a0f609086 Add ndpi_flow_tcp_struct and ndpi_flow_udp_struct api calls. 2020-02-21 15:49:46 +01:00
Luca Deri
080e23e30e
Merge pull request #846 from catenacyber/fuzzofix
Fix various buffer over reads
2020-02-19 22:55:18 +01:00
Luca Deri
edce5a8c1f Fix for disabling guess when not requested 2020-02-19 12:24:26 +01:00
Philippe Antoine
ee979ac14a Fix kerberos leak 2020-02-18 13:32:20 +01:00
Luca Deri
37121a9b58 Added protocol range check 2020-02-17 19:34:47 +01:00
emanuele-f
3fa61a394b Fix little leak on the proto_defaults strdup 2020-02-12 17:15:01 +01:00
Luca Deri
5cad39f0e8 Added export of TLS supported version in TLS header 2020-02-07 23:26:03 +01:00
Luca Deri
3be263aafc Added TLS ALPN support 2020-02-07 21:54:04 +01:00
emanuele-f
ec15089208 Little enhancements 2020-02-06 18:22:00 +01:00
Luca Deri
4613515635 Category matching fix 2020-02-05 08:37:24 +01:00
Alfredo Cardigliano
e20c4acbde Implement ndpi_flowv6_flow_hash ndpi_flowv4_flow_hash. Add ndpi_base64_encode. 2020-01-24 18:36:38 +01:00
Luca Deri
931f51bd77 ndpi_load_categories_file() now returns the number of loaded hosts or -1 in case of error 2020-01-20 23:37:09 +01:00
Luca Deri
3ba7667887 Various ethereum improvements 2020-01-08 22:01:45 +01:00
Luca Deri
691778df33 Cosmetic fixes 2020-01-06 22:25:20 +01:00
Luca Deri
ef16591f3f Merge branch 'dev' of https://github.com/ntop/nDPI into dev 2020-01-05 18:25:44 +01:00
Luca Deri
29dd45838d Updated (C) 2020-01-05 18:24:58 +01:00
emanuele-f
798bb6e2e1 Fix leaks and sha1 certificate detection 2020-01-02 14:39:51 +01:00
emanuele-f
2332cbfefe Fix invalid free on non-tls flows 2020-01-02 14:10:21 +01:00
Luca
8b01056b21 Renamed TLS requested server name 2020-01-02 07:37:03 +01:00
Luca
daae1cc9b1 Reworked TLS dissection 2020-01-01 12:59:19 +01:00
Luca
257ec7cc5f Removed disable_metadata_export preference that is no longer useful
since ndpi_process_extra_packet() can drive limited or full metadata export
2019-12-29 08:07:35 +01:00
emanuele-f
73c7ccdb65 Fix crash in ndpi_fill_ip_protocol_category when both saddr and daddr are 0
In this corner case, the "prefix" variable was not initialized leading to a failed assertion and crash:

ndpi_patricia_search_best2: Assertion `prefix->bitlen <= patricia->maxbits' failed.
2019-12-23 15:20:09 +01:00
Luca Deri
1cab9fe838 Fix for custom protocol detection 2019-12-18 19:35:40 +01:00
Simone Mainardi
09cd95d54a Fixes informative subprotocols
Wrongly marked subprotocols were causing issues on ntopng.
This fixes https://github.com/ntop/ntopng/issues/3129
2019-12-17 18:12:15 +01:00
Luca Deri
14e5adc7c2 Win fixes 2019-12-14 15:05:47 +01:00
Luca Deri
65d526d8f6 Code cleanup 2019-12-09 15:28:44 +01:00
Luca Deri
c8d6f2845f Improved memory management in the kerberos dissector 2019-12-08 23:59:53 +01:00
Luca Deri
11401edfe7 Merge branch 'dev' of https://github.com/ntop/nDPI into dev 2019-12-08 23:47:25 +01:00
Luca Deri
239842b821 Major kerberos rework 2019-12-08 23:47:04 +01:00
emanuele-f
d37b69ce9c Fix corner case causing access to already freed memory 2019-12-04 18:36:54 +01:00
emanuele-f
226a9abf22 Additional memory bounds checks 2019-12-04 18:34:08 +01:00
Luca Deri
a7b0457753 Improved category detection with HTTP 2019-12-01 21:40:04 +01:00
Luca Deri
7da7ae622b Improvements to stop dissection when the first protocol is detected
Used IP-based detection to compute the application protocol
Improved application detection
2019-11-28 23:20:40 +01:00
Luca Deri
509cfcb556 Fixed invalid category matching in HTTP
Fixed overlapping categories
2019-11-23 19:54:06 +01:00
Luca Deri
68d66b780c Added new test pcaps
Renamed protocol 104 to IEC60870 (more meaningful)
2019-11-23 13:27:34 +01:00
Luca Deri
537c11a985 Fixes for uninitialized variables 2019-11-23 11:39:23 +01:00
Luca Deri
fc82cdfa4a Implemented telnet password export 2019-11-21 19:36:01 +01:00
emanuele-f
68b7986d9b Expose API to calculate the MD5 hash 2019-11-20 11:57:21 +01:00
emanuele-f
0b819badd2 Possible leak fix 2019-11-19 11:42:04 +01:00
Luca Deri
da029607a0 Removed (unreliable) line protocol detection 2019-11-18 21:21:52 +01:00
Luca Deri
7a1940e1f7 Modified Diameter category to network
Updated test results
2019-11-14 15:13:13 +01:00