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
e2f6569adb
Fixed CPHA missing protocol initialization
...
Improved IEC104 and IRC detection
2021-02-10 15:22:20 +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
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
45e9c3c438
Partial fix for #1129
2021-02-05 22:22:33 +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
Ivan Nardi
8c0ea694f8
HTTP: fix user-agent parsing ( #1124 )
...
User-agent information is used to try to detect the user OS; since the
UA is extracted for QUIC traffic too, the "detected_os" field must be
generic and not associated to HTTP flows only.
Otherwise, you might overwrite some "tls_quic_stun" fields (SNI...) with
random data.
Strangely enough, the "detected_os" field is never used: it is never
logged, or printed, or exported...
2021-02-03 11:54:11 +01:00
b70ad0e2f1
fragments management added ( #1122 )
...
Management of tcp segments managements.
Co-authored-by: ragostino <ragostino73@gmail.com >
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2021-02-03 10:28:51 +01:00
Luca Deri
a31bd5ac3c
Cleaned up tls/quic datatypes
2021-01-21 19:17:33 +01:00
Luca Deri
15295ef4c5
Reworked TLS fingerprint calcolation
...
Modified TLS memory free
2021-01-21 19:06:05 +01:00
Luca Deri
3e5e9569ff
Added simple hash implementation to the nDPI API
2021-01-20 21:30:19 +01:00
Luca
0809956e5f
Rewored UPnP protocol that in essence was WSD hence it has been renamed
...
Cleaned up TLS code for DTLS detection by defining a new DTLS protocol
2021-01-20 09:53:30 +01:00
Luca Deri
68b6ac7da8
(C) Update
2021-01-07 11:13:36 +01:00
Darryl Sokoloski
5f7b9d8024
Increase SNI hostname buffer length to 256. ( #1111 )
...
According to RFC 4366, SNI host names can be up to 255 bytes.
Previous size of 64 resulted in failed application matches due to truncation.
For example:
0976e041e65b1aece3e720df36ac6bd7.safeframe.googlesyndication.co|m
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca >
2021-01-07 10:58:48 +01:00
Ivan Nardi
2080cc7365
QUIC: add suppport for DNS-over-QUIC ( #1107 )
...
Even if it is only an early internet draft, DoQ has already (at least)
one deployed implementation.
See: https://www.zdnet.com/article/ad-blocker-adguard-deploys-worlds-first-dns-over-quic-resolver/
Draft: https://tools.ietf.org/html/draft-huitema-dprive-dnsoquic-00
In the future, if this protocol will be really used, it might be worth to
rename NDPI_PROTOCOL_DOH_DOT in NDPI_PROTOCOL_DOH_DOT_DOQ
2021-01-07 10:56:39 +01:00
Luca Deri
eb37f8f1fb
Split HTTP request from response Content-Type. Request Content-Type should be present with POSTs and not with other methods such as GET
2021-01-06 18:28:24 +01:00
Luca Deri
cd21f0d316
Added check for invalid HTTP content
2021-01-06 12:25:32 +01:00
Ivan Nardi
23b84cd3ee
Remove FB_ZERO protocol ( #1102 )
...
FB_ZERO was an experimental protocol run by Facebook.
They switched to QUIC/TLS1.3 more than 2 years ago; no one ever used it but
them so it is definitely dead.
See: https://engineering.fb.com/2018/08/06/security/fizz/
2021-01-04 15:49:19 +01:00
Toni
53ee6db795
Added a new API function `ndpi_free_flow_data' which free's all members of ndpi_flow_struct but not the struct itself. ( #1101 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-01-04 12:47:05 +01:00
Luca Deri
05d76525b0
Added HTTP suspicious content securirty risk (useful for tracking trickbot)
2021-01-02 21:11:42 +01:00
Luca Deri
32f0446c9c
Updated ndpi_ptree_match_addr() prototype
2020-12-30 18:23:40 +01:00
Luca Deri
dc401f8a74
Split ptree user data in 32 and 64 bit entries
2020-12-30 12:12:33 +01:00
Luca Deri
cf00ffed32
Removed test code
2020-12-26 18:13:10 +01:00
Luca Deri
34fc9d5d50
Introduced fix on TLS for discarding traffic out of sequence that might invalidate dissection
2020-12-22 09:47:39 +01:00
Luca Deri
b231982286
Win fixes
2020-12-17 15:34:17 +01:00
Luca Deri
df1b3367a9
Type change to avoid Windows compilation issues
2020-12-17 12:58:12 +01:00
Luca Deri
5cb6ddfd22
Rule changes work in progress
2020-12-11 17:25:57 +01:00
Alfredo Cardigliano
499897219e
Add NDPI_PROTOCOL_ANY_CATEGORY to ndpi_protocol_category_t enum
2020-12-11 15:56:57 +01:00
Toni
62cd852c6f
Rename Jabber detection name as we are not sure if it is unencrypted e.g. if START_TLS used. ( #1079 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-12-08 15:49:17 +01:00
Luca Deri
1fb1848586
Added chec for avoiding doung ntop_config.h include
2020-12-01 08:57:09 +00:00
Luca Deri
eb689b2069
nDPI rules (work in progress) implementation
2020-11-30 22:01:49 +01:00
Luca Deri
6b9155589a
Removed unnecessary field
2020-11-29 19:04:26 +01:00
Zied Aouini and Luca Deri
bfabb0ddf4
Add Virtual Asssitant (Alexa, Siri) support. ( #1057 )
...
* Add AmazonAlexa protocol.
* Add AmazonAlexa test file and result.
* Include pcapng as file format.
* Rename Category to VirtualAssistant.
* Add AppleSiri virtual assistant.
* Fix pcapng test files format support.
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2020-11-16 21:19:38 +01:00
Zied Aouini and Luca Deri
3529268df8
Add Tumblr support. ( #1061 )
...
* Add Tumblr protocol.
* Add Tumblr test file and result.
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2020-11-16 21:14:06 +01:00
Zied Aouini and Luca Deri
22780da8d5
Add Reddit support. ( #1060 )
...
* Add Reddit protocol.
* Add Reddit test file and result.
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2020-11-16 21:13:01 +01:00
Zied Aouini and Luca Deri
13dab51cc7
Add Pinterest support. ( #1059 )
...
* Add Pinterest protocol.
* Add Pinterest test file and result.
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2020-11-16 21:11:43 +01:00
Zied Aouini
f35fad13c3
Add DisneyPlus protocol. ( #1058 )
2020-11-16 21:10:11 +01:00
Luca Deri
419483f128
File nor necessary and generated by configure
2020-11-12 23:22:15 +01:00
Luca Deri
328ff24657
Renumbered AmongUs protocol
2020-11-09 16:23:01 +01:00
Toni
6b5bdf773d
Added support for AmongUs. ( #1054 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-11-09 16:19:00 +01:00
Luca Deri
017e395ed1
Cosmetic changes
2020-11-03 16:46:30 +01:00
Leonn
0576dc2a49
💡 Add mongodb protocol dissector ( #1048 )
2020-11-03 16:16:02 +01:00
Igor Duarte
ba6a48c9fe
Improve skype detection ( #1039 )
...
* Add new skype pcap
PCAP extracted from SkypeIRC.cap (available in https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=SkypeIRC.cap )
* Improve skype detection
2020-10-27 08:45:09 +01:00
Luca Deri
948a906037
Added -D flag for detecting DoH in the wild
...
Removed heuristic from CiscoVPN as it leads to false positives
2020-10-26 21:40:59 +01:00
Luca Deri
9873972acb
Various improvemement when using ndpi_pref_enable_tls_block_dissection:
...
application data TLS blocks are now ignored when exchanged before
- the end of certificate negotiation (up to TLS 1.2)
- change cipher
2020-10-24 19:22:56 +02:00
Luca Deri
833d0eee53
Added CPHA - CheckPoint High Availability Protocol protocl support
2020-10-22 18:39:13 +02:00
Luca Deri
9dac9945c9
Fixes #1033
2020-10-21 20:59:02 +02:00
Alfredo Cardigliano
031cd04b7c
Add serialization of values list in TLV
2020-10-15 10:45:43 +02:00