Alfredo Cardigliano
c92e0d13fd
Serialized doxygen doc
2020-10-05 11:25:48 +02:00
Luca
05d93790e4
Added ndpi_quick_16_byte_hash
...
Warning fix
2020-10-05 08:26:24 +02:00
Luca Deri
32e4922c5a
Warning fix
2020-10-03 17:14:40 +02:00
Luca Deri
d4d82c27a5
Tests update
2020-10-02 21:35:15 +02:00
Luca Deri
addc775811
Added fix for invalid SNI check when SNI is missing
2020-10-02 21:26:43 +02:00
Luca Deri
b68a3707f6
Updated serialization test unit
2020-10-02 12:39:08 +02:00
b0c4d01734
don't pass arguments to ./configure as 1 string ( #1027 )
...
this causes the following error if there are arguments after --host :
'checking host system type... config.sub: too many arguments'
Co-authored-by: sahnalys12 <boris.vanhoof_ext@softathome.com >
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2020-09-29 18:02:08 +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
Toni
656323c334
Added missing files to `make dist' target which are not required to build nDPI but still somehow essential. ( #1024 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-29 17:58:33 +02:00
Luca Deri
8e1a3f5cdc
Added JSON-C check for unit tests
2020-09-26 12:50:30 +02:00
Luca Deri
58538b7d19
Added extra boundary checks
2020-09-26 12:33:57 +02:00
Luca Deri
d0dbcf6dd6
Added back ndpi_check_flow_func (correct) prototype
2020-09-25 10:39:33 +02:00
Luca Deri
8413faf2ef
Boundary fix
2020-09-25 09:56:24 +02:00
Luca Deri
204f3ddff5
Compilation fix
2020-09-25 09:36:10 +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
51e86346d3
Added -fno-sanitize=alignment in clang-7
2020-09-24 16:46:28 +02:00
Luca Deri
8e7a707be1
-O0 -> -Og
2020-09-23 18:49:44 +02:00
Luca Deri
837ce7306b
Attempt to avoid errors due to misaligned packet headers
2020-09-23 18:17:51 +02:00
Luca Deri
05dfae6430
Improved boundary check to prevent overflow
2020-09-23 17:14:40 +02:00
Luca Deri
d29a0241ee
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2020-09-22 12:45:44 +02:00
Luca Deri
cbf1be5789
Macro redefinition
2020-09-22 12:23:44 +02:00
Luca Deri
5f99433ee7
Minor UA handling improvement to avoid heap-overflow
2020-09-22 08:56:35 +02:00
lucaderi
27bad14738
Added missing install target in newly added unit tsts
2020-09-22 08:42:50 +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
Alfredo Cardigliano
0259ff58e1
Exclude sanitizer on unit tests involving json-c due to a bug in the lib
2020-09-21 17:59:06 +02:00
Alfredo Cardigliano
d700ab3994
Add distdir directive
2020-09-21 17:32:57 +02:00
Alfredo Cardigliano
e6d206fd15
Add unit tests to travis. Move ndpi serializer tests to unit tests.
2020-09-21 17:24:06 +02:00
Luca Deri
a263ac9024
Merge pull request #1022 from lnslbrty/fix/ndpi-mingw-fn-redef
...
Do not re-define libc functions for mingw builds.
2020-09-21 14:42:06 +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
8ba1baace1
Added sample Windows MSVC project
2020-09-20 18:44:57 +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
6a7139bb24
Updated results
2020-09-18 00:17:43 +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
aouinizied
4cc4efa228
Update example.
2020-09-14 16:42:33 +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