Luca Deri
f1b22b199f
Added NDPI_MALICIOUS_JA3 flow risk
...
Added ndpi_load_malicious_ja3_file() API call
2021-02-22 23:19:23 +01:00
Luca Deri
fc3db8f169
Implemented TLS Certificate Sibject matching
...
Improved AnyDesk detection
2021-02-22 22:37:33 +01:00
Luca Deri
a21ad2fbe4
Added new data for risky domains test
2021-02-21 22:08:01 +01:00
Luca Deri
5ad056e99b
Removed unused NDPI_RISKY_COUNTRY
2021-02-21 21:45:46 +01:00
Luca Deri
fc16c9368e
Added risky domain flow-risk support
2021-02-21 21:45:46 +01:00
Luca Deri
6db20b3ba9
Updated dependency
2021-02-19 17:59:40 +01:00
Luca Deri
09559611cc
Fixes #1136
2021-02-19 15:15:02 +01:00
Luca Deri
dee24f7acf
Removed old unused code
2021-02-19 15:12:03 +01:00
Alfredo Cardigliano
e9350d8fc7
Fix leak
2021-02-19 09:27:24 +01:00
Luca Deri
92e8d95f38
Added ndpi_get_geoip() APi call
2021-02-18 23:15:27 +01:00
Luca Deri
bdf95a5c22
Package fix
2021-02-18 22:08:15 +00:00
Luca Deri
393a844c9a
GeoIP support
2021-02-18 22:40:57 +01:00
Luca Deri
bce54079d8
Initial geoip support
2021-02-18 22:35:25 +01:00
Luca Deri
a2c5adc374
Improved nDPI string matching algorithm
2021-02-18 21:47:09 +01:00
Luca Deri
fb4cdecb68
Fixes due to the fragment mananegr code
2021-02-18 13:31:02 +01:00
Luca Deri
413dc287b4
Added paper citation
2021-02-17 08:22:38 +01:00
Luca Deri
4609e2084b
Added new risks (future use)
...
- NDPI_RISKY_ASN
- NDPI_RISKY_DOMAIN
- NDPI_RISKY_COUNTRY
2021-02-16 18:23:19 +01:00
Alfredo Cardigliano
177f1785da
Fix warning
2021-02-12 09:11:14 +01:00
Luca Deri
813df77d07
Performance optimization to avoid un-necessary calls and thus increase the overall performance
2021-02-11 17:54:55 +01:00
Luca Deri
d99d636696
Some optimizations during flow guess
2021-02-10 19:51:26 +01:00
Luca Deri
fffff3760b
Code refactory
2021-02-10 19:28:35 +01:00
Luca Deri
ea0309d21b
Removed now obsolete NDPI_DETECTION_SUPPORT_IPV6: code is more readeable now
2021-02-10 19:09:11 +01:00
Luca Deri
76ac551ed3
Improved FTP_CONTROL detection
2021-02-10 17:55:07 +01:00
Luca Deri
79102ef4f2
Added check for avoiding long dissections
2021-02-10 17:36:09 +01:00
Ivan Nardi
421609475e
Fix small memory leak ( #1133 )
...
Now function definition matches the prototype in ndpi_api.h.in
2021-02-10 15:24:34 +01:00
Toni
1e12c90c66
Fixed memory leaks caused by conditional free'ing for some TLS connec… ( #1132 )
...
* Fixed memory leaks caused by conditional free'ing for some TLS connections.
* Members of tls_quic struct should also free'd if the detected master protocol is IMAPS / POPS / SMTPS / etc.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
* Prevent reader_util.c from exit()'ing if maximum flow count reached.
This confuses the fuzzer.
* Improved fuzz/Makefile.am to use LDADD for ../example/libndpiReader.a instead of LDFLAGS.
That way, fuzz_ndpi_reader re-links to ../example/libndpiReader.a if something changed there.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-02-10 15:24:11 +01:00
Luca Deri
c408df1b0e
STUN improvements
2021-02-10 15:22:20 +01:00
Luca Deri
e2f6569adb
Fixed CPHA missing protocol initialization
...
Improved IEC104 and IRC detection
2021-02-10 15:22:20 +01:00
Luca Deri
0de3d4c37a
Dissection inprovements
2021-02-09 21:48:46 +01:00
Luca Deri
512f73f381
Added checks for giving up faster on IRC and SMTP
2021-02-09 21:27:09 +01:00
Luca Deri
1a557d0918
IRC test files
2021-02-09 21:25:48 +01:00
Luca Deri
1331e0aec9
Extended the API to calculate jitter
...
- ndpi_jitter_init()
- ndpi_jitter_free()
- ndpi_jitter_add_value()
2021-02-09 15:56:03 +01:00
Luca Deri
b960809d3e
Minor code improvements
2021-02-09 12:55:11 +01:00
Luca Deri
4abaf3e279
Removed debug statement
2021-02-09 10:05:29 +01:00
Luca Deri
732579b72b
Added timeseries forecasting support implementing Holt-Winters with confidence interval
...
New API calls added
- ndpi_hw_init()
- ndpi_hw_add_value()
- ndpi_hw_free()
2021-02-08 19:10:25 +01:00
Luca Deri
d9da752aa8
Updated skype addresses
2021-02-07 19:05:56 +01:00
Luca Deri
3ecda45bc4
IP address matching update
2021-02-07 17:42:31 +01:00
Luca Deri
8297dacfe5
Added Makefile for building the development version of libndpi for OpenWRT
2021-02-07 09:29:01 +00:00
Luca Deri
be58d78417
(Temporarely) Disabled fragment manager ( #1129 )
2021-02-05 23:03:08 +01:00
Luca Deri
45e9c3c438
Partial fix for #1129
2021-02-05 22:22:33 +01:00
Alfredo Cardigliano
95a6a2072b
Code cleanup and safety checks in the fragment manager ( #1129 )
2021-02-05 17:16:11 +01:00
Luca Deri
8dd7716ae5
Implemented more efficient and memory savvy RSI
2021-02-05 12:38:41 +01:00
Luca Deri
60b58dbd67
RSI enhancements
2021-02-05 10:59:09 +01:00
Luca Deri
1eedf734be
Implemented API for computing RSI (Relative Strenght Index)
...
void ndpi_init_rsi(struct ndpi_rsi_struct *s, u_int16_t num_learning_values);
void ndpi_free_rsi(struct ndpi_rsi_struct *s);
float ndpi_rsi_add_value(struct ndpi_rsi_struct *s, const u_int32_t value);
2021-02-04 23:52:33 +01:00
Luca Deri
54636a3213
Improved (partial) TLS dissection
2021-02-04 22:06:18 +01:00
Ivan Nardi
679c317c57
Fix utests when "--disable-gcrypt" flag is used ( #1128 )
...
Fix: d6684f4b
2021-02-04 19:29:48 +01:00
Ivan Nardi
2a65321884
Fix some memory leakes in reassembler code ( #1127 )
2021-02-04 19:29:27 +01:00
Toni and Luca Deri
7255dbe4b7
Added fuzzy targets conditional in tests/do.sh.in which prevents the fuzzer from running if nDPI was configured previously --enable-fuzztargets but not for the current config (may produce invalid results). ( #1126 )
...
* fixed possible NULL pointer dereference for memcpy(), src pointer should never be NULL
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2021-02-04 19:28:52 +01:00
Luca Deri
c68c8c79c9
Added missing check
2021-02-04 18:17:45 +01:00
Luca Deri
6c366d73e2
Fixed leak with DTLS
2021-02-03 23:36:11 +01:00