Luca Deri
6904935934
Restored TLS dissection
2020-07-30 00:06:35 +02:00
Luca Deri
a828ac0191
Tiny changes for TLS block lenght dissection
2020-07-29 22:36:27 +02:00
Luca Deri
32bd3d7a59
TLS dissection improvements
2020-07-28 01:06:38 +02:00
Luca Deri
da87cc3157
Added NDPI_SMB_INSECURE_VERSION for detecting insecure SMB versions (e.g. v1)
2020-07-27 13:05:06 +02:00
Luca Deri
69f140878c
Boundary check on QUIC
2020-07-27 07:40:50 +02:00
Luca Deri
4b1cae2c2b
Boundary check
2020-07-27 06:52:35 +02:00
Luca Deri
1c405e382a
SSH code cleanup
2020-07-25 16:43:54 +02:00
MrRadix
6719fa30f9
added other ssh implementations to check
2020-07-24 20:53:02 +02:00
MrRadix
a9ca47fcdb
added cipher check
2020-07-22 17:17:12 +02:00
MrRadix
1c1be5a0d1
Resolved conflicts on fetch
2020-07-22 16:25:01 +02:00
Luca Deri
3cd1ec5c9a
Added changes for handlign SSSH cipher detection
2020-07-22 15:58:46 +02:00
MrRadix
a3ba9253ef
fixed bug inside set bit macro call
2020-07-22 15:39:44 +02:00
MrRadix
af5d792c08
added sscanf error handling
2020-07-22 13:06:08 +02:00
MrRadix
8e2cd9ff43
improved performance and legibility
2020-07-22 12:42:26 +02:00
MrRadix
0a182c6d18
Merge remote-tracking branch 'ntop_origin/dev' into dev
2020-07-22 11:15:02 +02:00
MrRadix
847eb7b180
improved performance by removing linear scan
2020-07-22 10:54:55 +02:00
MrRadix
f66cd5aabc
added ssh_analyse_signature_version and ssh_has_old_signature for check old signature version of ssh
2020-07-21 19:31:02 +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
91d132ea3d
Check for avoiding buffer overflow in netbios dissector
2020-07-14 22:16:43 +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
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
Luca Deri
db707e0829
Merge pull request #932 from IvanNardi/log
...
Log
2020-07-07 14:43:32 +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
Nardi Ivan
c08693fda5
Incorporated some feedback
2020-07-01 20:16:16 +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
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
8566288e43
Added malformed packet risk support
2020-06-26 22:37:52 +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
lucaderi
3034e53d00
CentOS6 fix (santize won't work as too old system)
...
Fixes warning
2020-06-25 10:22:16 +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
Luca Deri
d9af1562f0
Fixes #906
...
Packet bins are not printed wehn empty
2020-06-22 14:30:26 +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
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
46d96e7f32
Added checks for DGA detection
2020-06-17 19:46:37 +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
64fab4a478
Win fixes
2020-06-08 23:08:12 +02:00
Luca Deri
3506a07864
Added check in TLS 1.2+ for reporting a risk when TLS is not used to carry HTTPS
2020-06-08 14:20:10 +02:00
Luca Deri
1479c0a278
Added TLS bounadry check
2020-06-07 09:25:19 +02:00
Luca Deri
801c9481cb
Removed some obsolete protocols (battlefield, oscar, pcanywhere, tvants)
2020-06-06 11:29:03 +02:00
Luca Deri
605d548d4a
removed obsolete yahoo plugin
2020-06-06 09:38:19 +02:00
Luca Deri
597d6e5d60
Merge pull request #913 from yskcg/fix_segment_fault_dev
...
Fix segment fault dev
2020-06-05 16:57:46 +02:00
ysk
86a3dc5bea
Merge branch 'dev' of github.com:yskcg/nDPI into dev
2020-06-03 10:41:40 +08:00
Luca Deri
af2a44ae5f
Added boundary check in kerberos protocol
2020-06-01 18:22:10 +02:00
Luca Deri
241af016e9
Added check for spotify payload lenght
2020-06-01 16:36:12 +02:00
Luca Deri
16dc0ec29e
Check to avoid allocating twice the esni memory
2020-06-01 16:34:24 +02:00