Luca Deri
f6242f0e46
HLL memory usage notes
2020-07-22 11:28:14 +02:00
Luca Deri
879cec94b2
User agent detection improvements
2020-07-21 12:06:34 +02:00
Luca Deri
9f4f228832
Added skeleton for checking SSH signature
2020-07-20 17:25:17 +02:00
Luca Deri
f452dabd92
Fix for invalid boundary check
2020-07-17 23:26:28 +02:00
Luca Deri
64fb40d21e
Added ndpi_reset_data_analysis() API call
2020-07-17 13:16:01 +02:00
Luca Deri
6e1dcba9dd
Indendentation fix
2020-07-16 17:56:37 +02:00
Luca Deri
ebf18a0c61
Merge pull request #964 from yskcg/dev
...
1:add free pointer NULL check;2:fix xbox and teredo protocol detected…
2020-07-16 17:05:40 +02:00
ysk
a268952068
remove the unused code
2020-07-16 17:26:46 +08:00
Luca Deri
acd05b171e
Added ndpi_data_last() API call
2020-07-16 11:22:06 +02:00
ysk
69ca98ca35
1:add free pointer NULL check;2:fix xbox and teredo protocol detected error when use the commm udp port 3544
2020-07-16 16:07:04 +08:00
Luca Deri
46e97d5da3
Added ndpi_data_window_variance() and ndpi_data_window_stddev() API calls
2020-07-15 18:13:06 +02:00
Luca Deri
9f3e3e8456
Add ndpi_hll_reset() API call
...
Fixes bug in ndpi_data_window_average() with zero points
2020-07-15 10:30:45 +02:00
Luca Deri
91d132ea3d
Check for avoiding buffer overflow in netbios dissector
2020-07-14 22:16:43 +02:00
Luca Deri
3fd3153089
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2020-07-13 15:48:53 +02:00
Luca Deri
a8ad99aca5
Fixed makefile error message
...
Code hardedning fix
2020-07-13 15:46:19 +02:00
aouinizied
7744c225f9
Add note for sync with cffi bindings.
2020-07-13 12:51:32 +02:00
Luca Deri
9d8717a0c7
Merge pull request #963 from yskcg/dev
...
add improved boundary check and check malloc return is NULL
2020-07-13 10:24:23 +02:00
Toni Uhlig
23c0721538
Fixed race condition in ndpi_ssl_version2str() caused by static qualifier in the version string buffer.
...
* added also GREASE supported tls versions as specified in
https://tools.ietf.org/html/draft-davidben-tls-grease-01#page-4
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-07-11 01:05:39 +02:00
ysk
35f1c362b9
add improved boundary check and check malloc return is NULL
2020-07-10 17:49:35 +08:00
Luca Deri
014fdd9a02
Various fixes in bins implementation
...
Added -b flag in ndpiReader to test bins
2020-07-09 17:28:02 +02:00
aouinizied
b8d406b1f8
Update note.
2020-07-09 00:58:48 +02:00
Luca Deri
d658ac9e61
Added -b to ndpiReader to evaluate bins
2020-07-09 00:15:21 +02:00
Luca Deri
4f794aec22
Merge pull request #955 from lnslbrty/fix/heap-overflow-thunder
...
Fixed thunder protocol detection heap overflow caused by missing leng…
2020-07-08 17:14:45 +02:00
Alfredo Cardigliano
5be9370cd2
Fix warnings
2020-07-08 09:15:48 +02:00
Toni Uhlig
ccb30a04ad
Fixed thunder protocol detection heap overflow caused by missing lengthcheck.
...
* triggered by fuzz traces from wireshark
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-07-08 00:21:00 +02:00
Toni Uhlig
e308e59002
fixed memory leak in ndpi_cluster_bins / binUnitTest
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-07-07 17:07:20 +02:00
Luca Deri
1c60c22893
Added ndpi_cluster_bins() for clustering bins and ancillary functions for bins manipulation
2020-07-07 15:10:51 +02:00
Luca Deri
db707e0829
Merge pull request #932 from IvanNardi/log
...
Log
2020-07-07 14:43:32 +02:00
Luca Deri
b4edb75824
Merge pull request #950 from lnslbrty/improved/http-line-parsing
...
Improved HTTP line parsing if request splitted into multiple packets.
2020-07-06 10:23:29 +02:00
Toni Uhlig
4b8c8608d1
Improved HTTP line parsing if request splitted into multiple packets.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-07-05 18:36:57 +02:00
Luca Deri
503e3bb495
Added comment on stddev
2020-07-03 14:45:58 +02:00
Toni Uhlig
8f53c231df
Improved TeamViewer IP range ( fixes #944 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-07-02 18:11:39 +02:00
Nardi Ivan
c08693fda5
Incorporated some feedback
2020-07-01 20:16:16 +02:00
Luca Deri
08698c65e5
Merge pull request #943 from lnslbrty/fix/missing-lengthcheck-in-tls-esni
...
Fixed heap overflow in tls esni extraction triggered by manipulated p…
2020-07-01 12:37:29 +02:00
Luca Deri
be35d423b4
Make clean enhancement
2020-07-01 12:34:28 +02:00
Luca Deri
cf9c0b96b8
Indent
2020-06-30 16:25:53 +02:00
Alfredo Cardigliano
ea6332e004
Fix segfault on ndpi_guess_protocol_id with flow = null
2020-06-30 15:54:52 +02:00
Luca Deri
392ce44573
Added ndpi_print_bin() API call
2020-06-29 22:36:46 +02:00
Toni Uhlig
05d7400563
Fixed heap overflow in tls esni extraction triggered by manipulated packets.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-06-29 21:51:46 +02:00
Luca Deri
2c263bc726
Added ndpi_bin_similarity() for computing bin similarity
2020-06-29 19:09:38 +02:00
Nardi Ivan
317d3ffd3e
Fix undefined behaviour in internal tests
...
Error messages:
ndpiReader.c:3211:2: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
ndpiReader.c:3207:5: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
The errors started popping up since 3d9285f1
2020-06-28 12:13:21 +02:00
Nardi Ivan
d6a97219ea
Fix use-after-free in http content parsing
2020-06-28 12:05:12 +02:00
Nardi Ivan
3669c14afd
DNP3: add missing initialization
2020-06-28 12:05:12 +02:00
Nardi Ivan
b68b45f3bb
TLS: extract JA3 signatures in some corner cases
...
In some (rare) cases, Client Hello message contains lots of cipher
suits.
2020-06-28 12:05:12 +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
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
Nardi Ivan
0cd0905400
mqtt: add boundary check in log message
2020-06-26 12:04:02 +02:00
Nardi Ivan
56d87186f7
Fix compilation with --enable-debug-messages flag
...
NDPI_LOG* macros dereference ndpi_detection_module_struct object which is
private to ndpi library (via NDPI_LIB_COMPILATION define). So we can't use
them outside the library itself, i.e. in ndpiReader code
Therefore, in files in example/, convert all (rare) uses of NDPI_LOG* macros
to a new very simple macro, private to ndpiReader program. If necessary,
such macro may be improved.
According to a comment in ndpi_define.h, each dissector must define its own
NDPI_CURRENT_PROTO macro before including ndpi_api.h file
2020-06-26 12:04:02 +02:00