Alfredo Cardigliano
031cd04b7c
Add serialization of values list in TLV
2020-10-15 10:45:43 +02:00
Luca
05d93790e4
Added ndpi_quick_16_byte_hash
...
Warning fix
2020-10-05 08:26:24 +02:00
Luca Deri
addc775811
Added fix for invalid SNI check when SNI is missing
2020-10-02 21:26:43 +02:00
Ivan Nardi
2c1b7cf1bd
QUIC: fix dissection of "offset" field ( #1025 )
...
The "offset" field is a variable-length integer.
This bug hasn't any practical effects right now, since we are ignoring any
packet with "offset" != 0 (and the value 0 is always encoded in only one byte).
But extracting a correct "offset" is important if we are ever going to handle
fragmented Client Hello messages.
2020-09-29 17:59:03 +02:00
Luca Deri
58538b7d19
Added extra boundary checks
2020-09-26 12:33:57 +02:00
Luca Deri
8413faf2ef
Boundary fix
2020-09-25 09:56:24 +02:00
Luca Deri
044ed14b4f
Various optimizations to reduce not-necessary calls
...
Optimized various UDP dissectors
Removed dead protocols such as pando and pplive
2020-09-24 23:26:03 +02:00
Luca Deri
05dfae6430
Improved boundary check to prevent overflow
2020-09-23 17:14:40 +02:00
Luca Deri
5f99433ee7
Minor UA handling improvement to avoid heap-overflow
2020-09-22 08:56:35 +02:00
Luca Deri
362baa6321
Minor change for alignment issue
2020-09-21 21:15:52 +02:00
Luca Deri
60a9f6610d
Added risks for checking
...
- invalid DNS traffic (probably carrying exfiltrated data)
- TLS traffic with no SNI extension
2020-09-21 19:57:23 +02:00
Toni Uhlig
87c43450f3
Do not re-define libc functions for mingw builds.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-20 23:29:23 +02:00
Luca Deri
ff1cc1fa41
Merge pull request #1019 from IvanNardi/quic_fb
...
QUIC: add support for MVFST EXPERIMENTAL version
2020-09-20 18:34:27 +02:00
Luca Deri
ea9177cc93
Merge pull request #1018 from lnslbrty/fix/make-dist
...
Fixed broken `make dist' and added CI check.
2020-09-20 18:33:57 +02:00
Luca Deri
1385f05713
Merge pull request #1017 from lnslbrty/fix/mingw-xcompile
...
Added support for mingw xcompile.
2020-09-20 18:33:40 +02:00
Nardi Ivan
dcac633878
QUIC: add support for MVFST EXPERIMENTAL version
2020-09-20 16:38:28 +02:00
Toni Uhlig
fdef6f3545
Fixed broken `make dist' and added CI check.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-19 02:23:53 +02:00
Toni Uhlig
d0052fd5b2
Using NDPI_I64_FORMAT, NDPI_U64_FORMAT format string to differentiate between Windows and non-Windows.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-18 19:46:20 +02:00
Toni Uhlig
bcce122665
Fixed mingw build w/o examples/tests/fuzzer.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-18 19:46:07 +02:00
Luca Deri
b5b4512022
Added MDNS in extra packet dissection function
2020-09-18 00:08:27 +02:00
Luca Deri
d81bc1add6
Reworked MDNS dissector that is not based on the DNS dissector
2020-09-17 23:24:02 +02:00
Luca Deri
753b5dde16
Merge pull request #1012 from IvanNardi/ua
...
QUIC: extract User Agent information
2020-09-17 21:32:25 +02:00
Luca Deri
9189aee83b
Disabled QUIC tracing that pollutes the output
2020-09-17 14:37:56 +02:00
Luca
ad8318e247
Commented unused function
2020-09-13 09:48:29 +02:00
Alfredo Cardigliano
91e3292e6b
Temporarily keep using snprintf
2020-09-11 19:17:10 +02:00
Luca Deri
98a81cb163
Reworked DGA checks
2020-09-11 10:31:19 +02:00
Alfredo Cardigliano
3a6ba7fa12
Replace snprintf with ndpi_snappend
2020-09-11 10:04:43 +02:00
Luca Deri
37abe0daea
Added boundary check
2020-09-10 20:06:25 +02:00
Luca Deri
1c0e617d80
Added buffer check in DGA analysis
2020-09-10 19:58:31 +02:00
Nardi Ivan
8db084ab06
TLS: fix memory accesses in QUIC transport parameters extension
2020-09-10 18:19:18 +02:00
lucaderi
ea4240055d
Complation fix as not on all platforms isnumber() is available
2020-09-10 00:05:02 +02:00
Luca Deri
5ac870074b
Merge pull request #1014 from lnslbrty/improved/teamspeak
...
Improved Teamspeak(3) protocol detection.
2020-09-09 23:28:21 +02:00
Luca Deri
7086197047
Added extension to detect nested subdomains as used in Browsertunnel attack tool
...
https://github.com/veggiedefender/browsertunnel
2020-09-09 23:25:19 +02:00
Toni Uhlig
8ca13bc46a
Improved Teamspeak(3) protocol detection.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-09 21:57:31 +02:00
Alfredo Cardigliano
842c00e681
Add missing low-level serializer calls to the API
2020-09-09 17:09:01 +02:00
Toni Uhlig
4c776501a6
Fixed shlib xcompile for x86_64-w64-mingw32
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-08 19:52:46 +02:00
Nardi Ivan
7d5a0e1f04
QUIC: extract User Agent information
2020-09-08 11:03:22 +02:00
Nardi Ivan
a1014e8895
http: create a common function to parse User Agent field
...
Prepare the code to handle UA information from flows other than HTTP
2020-09-08 10:34:05 +02:00
Toni Uhlig
41d35fc7d0
Updated DoT/DoH provider.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-07 20:22:45 +02:00
Toni Uhlig
799a6abfe6
Improved dnscrypt v1/v2 protocol detection.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-06 23:24:55 +02:00
Alfredo Cardigliano
8ed6409b35
Add start_of_block/end_of_block support to TLV
2020-09-04 17:23:04 +02:00
Luca Deri
3f49062db9
Added some additional TLS mappings
2020-09-02 23:35:22 +02:00
Toni Uhlig
7051acc0b5
Fixed off-by-one error in Kerberos protocol.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-02 07:37:26 +02:00
Toni Uhlig
580859a47d
Fixed false positive detection for Skype.SkypeCall (affects at least Cisco HSRP and RADIUS).
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-02 07:29:33 +02:00
Luca Deri
5d2551ff3e
Added boundary check
2020-09-01 22:31:34 +02:00
Luca Deri
8575a07113
Added check for ndpi_ssl_version2str()
2020-08-31 17:23:00 +02:00
Luca Deri
460ff3c7ab
Added (optional) notifier for LRU add
2020-08-31 08:47:16 +02:00
Luca Deri
029448759b
Merge pull request #999 from IvanNardi/quic
...
QUIC: add support for GQUIC T050 and T051
2020-08-30 20:56:15 +02:00
Nardi Ivan
7da4abe6ad
QUIC: add support for GQUIC T050 and T051
...
QUIC versioning wasn't complex enough without T05X family...
These versions are very similar to Q050, but use TLS as their handshake
protocol.
2020-08-30 20:51:33 +02:00
Luca Deri
638624869a
Added new risk for NDPI_UNSAFE_PROTOCOL that identifies protocols that are not condidered safe/secure
2020-08-30 20:48:58 +02:00