Luca Deri
5c33fbf19b
Added extraction of hostname in SMTP
...
Fixed mail incalid subprotocol calculation
2021-08-11 11:52:24 +02:00
Alfredo Cardigliano
846b546dbc
Fix typo
2021-08-10 11:43:32 +02:00
Luca Deri
c1acb6d801
Typo
2021-08-09 18:36:36 +02:00
Luca Deri
0fbe895103
Addef ETH_ARP definition
2021-08-09 18:33:33 +02:00
Luca Deri
05492ec8e8
Defined more standard ethernet protocol types
2021-08-09 17:01:10 +02:00
Luca Deri
58ca7b5a7f
Added protocol defines
2021-08-09 16:45:03 +02:00
Luca Deri
0df8aa19ec
Clode cleanup (after last merge)
2021-08-08 17:10:08 +02:00
Toni and Luca Deri
259b60f574
Added entropy calculation to check for suspicious (encrypted) payload. ( #1270 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2021-08-08 17:03:23 +02:00
Toni
4e856a41d6
Skip whitespaces between HTTP method and URL. ( #1271 )
...
* be less case-restrictive, RFC2616 wants it that way
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-08-08 17:00:10 +02:00
Toni
8e996f7f7c
Fixed broken SonarCloud-CI. ( #1272 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-08-08 16:59:36 +02:00
Luca Deri
3706267d68
Updated test output
2021-08-07 19:43:55 +02:00
Luca Deri
0522e562e8
Added testing pcap for TLS fatal alert
2021-08-07 19:42:53 +02:00
Luca Deri
4183718952
Added TLS fatal alert flow risk
2021-08-07 19:40:44 +02:00
Luca Deri
e8455236bd
Updated output
2021-08-07 17:38:33 +02:00
Luca Deri
a13f1fe52f
Report whether a protocol is encrypted
2021-08-07 17:35:34 +02:00
Luca Deri
46ebd7128f
Added ability to report whether a protocol is encrypted
...
Added new API calls
- u_int8_t ndpi_is_valid_protoId(u_int16_t protoId);
Cleaned up code and organized in a function.
- u_int8_t ndpi_is_encrypted_proto(struct ndpi_detection_module_struct *ndpi_str, ndpi_protocol proto);
Check whether a protocol is encrypted or not based on master and app protocols
2021-08-07 17:10:18 +02:00
Luca Deri
dc841574af
Win fix
2021-08-03 09:44:50 +02:00
Luca Deri
6b7e5fa8d2
Added legacy whatsapp rules used to match old pcaps that need to be removed in the future
2021-07-31 23:49:48 +02:00
Toni
ad57af9f79
Improved RTSP detection and fixed HTTP false-positive. Fixes #1229 . ( #1266 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-31 23:31:49 +02:00
Fábio Depin
ce597b4806
Updated WhatsAPP and Instagram addresses ( #1264 )
...
* Updated WhatsAPP addresses
* Added Instagram addresses
2021-07-31 23:30:34 +02:00
Toni
13c5d6801e
Improved libm check via Autoconf. ( #1263 )
...
* libm will now be part of @ADDITIONAL_LIBS@ (if required)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-28 22:24:03 +02:00
Luca Deri
cb26a8c82d
Moved to 4.1.0
2021-07-26 09:40:50 +02:00
Luca Deri
4cafa7cb1e
Improved risk detection mask algorithm
2021-07-26 09:38:53 +02:00
Toni
29ec34f66d
Improved TFTP detection. Fixes #1242 , #1256 ( #1262 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-25 21:54:19 +02:00
Luca Deri
a482e1c0be
Typo (Thanks Ivan)
2021-07-24 18:12:09 +02:00
Luca Deri
1d9a830b2f
Update changelog
2021-07-24 17:54:32 +02:00
Luca Deri
51e4888442
Implemented ALPN automa for checking uncommon ALPNs
2021-07-24 17:50:32 +02:00
Luca Deri
526568fcd5
Risk check improvement
2021-07-24 16:18:18 +02:00
Alfredo Cardigliano
c73501f859
Typo
2021-07-23 18:14:11 +02:00
Alfredo Cardigliano
d5a60880d0
Fix prototype
2021-07-23 18:12:54 +02:00
Luca Deri
61fc5be202
Reworked flow risk implementation
2021-07-23 17:27:15 +02:00
Ivan Nardi
4ffe1eb3c0
Fix unit tests when "--disable-gcrypt" flag is used ( #1255 )
2021-07-23 10:37:36 +02:00
Toni
6ad0d6666c
Implemented function to retrieve flow information. #1253 ( #1254 )
...
* fixed [h]euristic typo
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-23 10:37:20 +02:00
Luca Deri
8ea8ba8e9b
Fixed risk mask implementation
2021-07-23 08:29:36 +02:00
Luca Deri
b01b60a2b5
Implementation of flow risk eception (work in progress)
2021-07-22 01:35:57 +02:00
Alfredo Cardigliano
fc9901292d
Update changelog
2021-07-20 17:04:35 +00:00
Toni
32275543c4
Added risk: TLS_EXTENSION_SUSPICIOUS ( #1252 )
...
* validates client/server hello TLS extensions
* inspects content for some extensions
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-19 16:23:24 +02:00
Ivan Nardi
57b8969a3d
Fix setting of flow risks on 32 bit machines ( #1251 )
...
Since 19a29e1e (NDPI_TLS_CERT_VALIDITY_TOO_LONG is 32), unit tests are
failing on 32 bit machines (i.e Raspberry 4)
2021-07-19 16:22:39 +02:00
Luca Deri
0adcd28450
Updated download category name
2021-07-16 14:04:47 +02:00
Vitaly Lavrov
295cb3ee6a
Bug fix. ( #1250 )
...
Restore part of the fields flow->packet after cleaning flow structure.
2021-07-16 13:53:36 +02:00
pacant and pacant
488166833e
Fixed TLS certificate threshold ( #1248 )
...
Co-authored-by: pacant <a.pace97@outlook.com >
2021-07-16 13:52:55 +02:00
Vitaly Lavrov
daf1fbfc7b
Code cleanup. ( #1246 )
...
ndpi_utils.c: use ndpi_malloc,ndpi_calloc,ndpi_free
genshin_impact.c, git.c, hpvirtgrp.c, http.c, z3950.c: removed "#include stdlib.h"
2021-07-16 13:51:54 +02:00
Luca Deri
a6de94a930
hulu and netflix dissection improvements
2021-07-14 12:53:03 +02:00
Luca Deri
3eba8cc5b5
Temporary fix for avoiding wireshark errors
2021-07-14 12:51:42 +02:00
Luca Deri
b95bd0358f
Code cleanup
2021-07-14 11:19:24 +02:00
pacant and pacant
19a29e1e22
TLS Risks - Certificate Validity Too Long ( #1239 )
...
* Added flow risk: TLS certificate too long
* Added flow risk: TLS certificate too long
* Date for TLS limit added
* TLS certificate check fixed
Co-authored-by: pacant <a.pace97@outlook.com >
2021-07-14 11:13:22 +02:00
Toni
c411df523e
Added AVAST SecureDNS protocol. ( #1244 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-14 11:11:59 +02:00
Toni
62bae30a4a
Improved Steam detection (Steam Datagram Relay - SDR). ( #1243 )
...
* improved DNSCrypt midstream detection again (sufficient for all tested use-cases)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-14 11:09:58 +02:00
Toni
e4453938d5
Improved dnscrypt midstream detection. ( #1241 )
...
* fixed skype false-positive detection of dnscrypt traffic
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-07-13 15:10:18 +02:00
Ivan Nardi
cccf794265
ndpiReader: add statistics about nDPI performance ( #1240 )
...
The goal is to have a (roughly) idea about how many packets nDPI needs
to properly classify a flow.
Log this information (and guessed flows number too) during unit tests,
to keep track of improvements/regressions across commits.
2021-07-13 12:28:39 +02:00