Luca Deri
1010520cc4
Merge pull request #936 from lnslbrty/fix/h323-off-by-one
...
Fixed off-by-one error in h323.
2020-06-28 07:28:55 +02:00
Toni Uhlig
fbfa54eee6
Fixed off-by-one error in h323.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-27 22:58:05 +02:00
Luca Deri
ff67e09101
Restored compiler check for fuzzy targets
2020-06-27 19:34:57 +02:00
Luca Deri
76e6c38459
Use clang where available and fallback to gcc when missing
2020-06-27 19:15:52 +02:00
Luca Deri
243104a8c2
Merge pull request #935 from lnslbrty/fix/fuzzing-tests
...
fixed fuzzing tests in a way that ./tests/do.sh is now able to use co…
2020-06-27 18:57:56 +02:00
Toni Uhlig
1f4523e331
fixed fuzzing tests in a way that ./tests/do.sh is now able to use corpus *.pcap files from ./tests/pcap
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-27 18:41:03 +02:00
Luca Deri
b5f3facf7c
Added notes whenever a new flow risk is added
2020-06-26 23:39:48 +02:00
Luca Deri
8566288e43
Added malformed packet risk support
2020-06-26 22:37:52 +02:00
Luca Deri
8de62c6d34
Values stored in patricia tree are now 32 bit (they used to be 16 bit) long
2020-06-26 17:49:45 +02:00
lucaderi
ebfb5e7f01
Check for CentOS 6
2020-06-26 09:01:58 +02:00
Luca Deri
d805611fcb
Merge pull request #931 from lnslbrty/fix/autogen.sh
...
fixed autoconf version check
2020-06-25 23:31:10 +02:00
Luca Deri
9742dcc45c
Merge pull request #930 from IvanNardi/extcap
...
Extcap
2020-06-25 23:30:20 +02:00
Toni Uhlig
f38a8bd7a5
fixed autoconf version check
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-25 20:02:23 +02:00
Nardi Ivan
3c66ca236b
Make lua script more robust
2020-06-25 18:02:03 +02:00
Nardi Ivan
70a926088f
Fixed harmless memory leak in extcap initialization
2020-06-25 18:02:03 +02:00
Nardi Ivan
6b69e7ebbc
Restore extcap functionality, i.e. integration with wireshark
2020-06-25 18:02:03 +02:00
Luca Deri
0b53bc2aab
Disabled unused code
2020-06-25 10:50:39 +02:00
lucaderi
ecdf7df454
Compilation fixes for non-Linux (or outdated Linux) platforms
2020-06-25 10:25:24 +02:00
lucaderi
3034e53d00
CentOS6 fix (santize won't work as too old system)
...
Fixes warning
2020-06-25 10:22:16 +02:00
Luca Deri
2350daa2dc
Merge pull request #928 from lnslbrty/added/yet-another-ndpi-integration-example
...
PROPOSAL: ndpiSimpleIntegration: added another integration example
2020-06-25 10:05:49 +02:00
Luca Deri
d710b8291d
Merge pull request #927 from lnslbrty/fix/fbzero-missing-length-check
...
Fixed missing length check in fbzero.
2020-06-24 22:17:35 +02:00
Luca Deri
485e56d855
Merge pull request #926 from lnslbrty/added/hulustream-sni-pattern
...
Added hulustream SNI pattern. Fixes #904 .
2020-06-24 22:17:09 +02:00
Luca Deri
38c0d927a9
Merge pull request #925 from lnslbrty/fix/ndpi-rader-unitialized-values
...
Fixed unitialized values in ndpiReader protocol detection bitmask dur…
2020-06-24 22:16:48 +02:00
Luca Deri
94a68451df
Merge pull request #924 from lnslbrty/improved/autoconf-sanitizer-compile-flag-checks
...
Allow -fsanitize for LLVM as well as for GCC.
2020-06-24 22:15:11 +02:00
Toni Uhlig
17c26911fb
ndpiSimpleIntegration: added another integration example
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-24 22:03:18 +02:00
Toni Uhlig
ca68beda85
Fixed missing length check in fbzero.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-23 18:35:50 +02:00
Toni Uhlig
2f5766d2f5
Added hulustream SNI pattern. Fixes #904 .
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-23 17:30:37 +02:00
Toni Uhlig
39800c88fa
Fixed unitialized values in ndpiReader protocol detection bitmask during dga selftest.
...
* make ./tests/vagrind_test.sh directory agnostic
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-23 17:23:56 +02:00
Toni Uhlig
678fbcdfd6
Allow -fsanitize for LLVM as well as for GCC.
...
* renamed --with-llvm-sanitizer to --with-sanitizer
* disable all optimisations (-O0) if --with-sanitizer set,
no functions/paramaters/variables will be optimised, improves debugging
* enable undefined behaviour sanitizer (ubsan)
* enable leak sanitizer (lsan)
* check if -fsanitize=fuzzer is available and --enable-fuzztargets set,
fail if not (only supported by clang)
* include level 3 debugging information (-g3), improves macro debugging
* disabled ubsan misaligned pointer access and lshift overflow
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-23 00:22:33 +02:00
Luca Deri
d9af1562f0
Fixes #906
...
Packet bins are not printed wehn empty
2020-06-22 14:30:26 +02:00
Luca Deri
e29e14b7aa
Merge pull request #921 from lnslbrty/improved/test-sh
...
make tests/do.sh directory agnostic
2020-06-22 12:51:17 +02:00
Luca Deri
c9d8efc2a4
Warning fix
2020-06-22 10:20:05 +02:00
Luca Deri
1a62f4c799
Added ndpi_bin_XXX API
...
Added packet lenght distribution bins
2020-06-22 01:02:54 +02:00
Luca Deri
2a137100da
Merge pull request #922 from lnslbrty/fix/http-content-disposition-crash
...
Fixed use after free caused by dangling pointer
2020-06-22 00:57:15 +02:00
Toni Uhlig
6a9f5e4f7c
Fixed use after free caused by dangling pointer
...
* This fix also improved RCE Injection detection
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-21 20:05:38 +02:00
Luca Deri
fd0591b4fc
Merge pull request #920 from lnslbrty/fix/tls-rdn-crash
...
Fixed stack overflow caused by missing length check
2020-06-19 11:44:37 +02:00
Luca Deri
48758d28ea
Added GoogleDNS DoH on Android 10
2020-06-19 09:55:58 +02:00
Toni Uhlig
14f514134d
make tests/do.sh directory agnostic
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-19 07:15:20 +02:00
Luca Deri
63670927e7
Fixed API documentation: packet tiestamp is expressed in milliseconds
2020-06-18 14:15:18 +02:00
Toni Uhlig
23594f0365
Fixed stack overflow caused by missing length check
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-18 00:52:04 +02:00
Luca Deri
b2c24558c5
DGA detection improvements
2020-06-18 00:17:30 +02:00
Luca Deri
46d96e7f32
Added checks for DGA detection
2020-06-17 19:46:37 +02:00
Luca Deri
ffd20ebdf9
Merge pull request #919 from lnslbrty/new/protocol/anydesk
...
Implemented proprietary AnyDesk protocol
2020-06-17 06:47:35 +02:00
Toni Uhlig
da37f2444f
Implemented proprietary AnyDesk protocol
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-17 01:23:03 +02:00
Alfredo Cardigliano
073e3a027b
Add API ndpi_serializer_get_format
2020-06-16 18:40:17 +02:00
Luca Deri
0ddc3a0052
Fixed invalid assignment (typo)
2020-06-14 09:37:56 +02:00
Luca Deri
38e4910636
Added improved boundary check
2020-06-14 09:29:52 +02:00
aouinizied
4247dd8322
Synchronize type definitions.
2020-06-12 22:58:58 +02:00
Luca Deri
55364ef0b4
Added DGA risk for names that look like a DGA
2020-06-11 18:51:53 +02:00
Luca Deri
60aaa80570
Added HyperLogLog cardinality estimator API calls
...
/* Memory lifecycle */
int ndpi_hll_init(struct ndpi_hll *hll, u_int8_t bits);
void ndpi_hll_destroy(struct ndpi_hll *hll);
/* Add values */
void ndpi_hll_add(struct ndpi_hll *hll, const char *data, size_t data_len);
void ndpi_hll_add_number(struct ndpi_hll *hll, u_int32_t value) ;
/* Get cardinality estimation */
double ndpi_hll_count(struct ndpi_hll *hll);
2020-06-10 23:43:35 +02:00