Ivan Nardi
b8a5358e80
QUIC: improve handling of SNI ( #1105 )
...
* QUIC: SNI should be always saved in flow->protos.stun_ssl.ssl.client_requested_server_name
Close #1077
* QUIC: fix matching of custom categories
* QUIC: add NDPI_TLS_MISSING_SNI support for older GQUIC versions
* QUIC: fix serialization
* QUIC: add DGA check for older GQUIC versions
2021-01-07 10:55:23 +01:00
Luca Deri
eb37f8f1fb
Split HTTP request from response Content-Type. Request Content-Type should be present with POSTs and not with other methods such as GET
2021-01-06 18:28:24 +01:00
Luca Deri
cd21f0d316
Added check for invalid HTTP content
2021-01-06 12:25:32 +01:00
Ivan Nardi
1b524f5538
QUIC: update to draft-33 ( #1104 )
...
QUIC (final!?) constants for v1 are defined in draft-33
2021-01-04 15:50:14 +01:00
Ivan Nardi
3aa16b63e8
Fix some warnings when compiling with "-W -Wall" flags ( #1103 )
2021-01-04 15:49:39 +01:00
Ivan Nardi
23b84cd3ee
Remove FB_ZERO protocol ( #1102 )
...
FB_ZERO was an experimental protocol run by Facebook.
They switched to QUIC/TLS1.3 more than 2 years ago; no one ever used it but
them so it is definitely dead.
See: https://engineering.fb.com/2018/08/06/security/fizz/
2021-01-04 15:49:19 +01:00
Toni
53ee6db795
Added a new API function `ndpi_free_flow_data' which free's all members of ndpi_flow_struct but not the struct itself. ( #1101 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2021-01-04 12:47:05 +01:00
Ivan Nardi
3bb12fde63
Fix memory leak introduced in b7376cc6 ( #1100 )
2021-01-04 12:46:30 +01:00
Luca Deri
4ddb5f4245
Added TLS test with long certificate
2021-01-04 11:31:25 +01:00
Luca Deri
a91e6179c5
Fixed missing symbol
2021-01-02 21:21:15 +01:00
Luca Deri
05d76525b0
Added HTTP suspicious content securirty risk (useful for tracking trickbot)
2021-01-02 21:11:42 +01:00
Luca Deri
32f0446c9c
Updated ndpi_ptree_match_addr() prototype
2020-12-30 18:23:40 +01:00
Luca Deri
b7376cc690
Restored QUIC stats
2020-12-30 12:12:33 +01:00
Luca Deri
dc401f8a74
Split ptree user data in 32 and 64 bit entries
2020-12-30 12:12:33 +01:00
pengtian
ab037e2c82
Bugfix for host check ( #1097 )
...
this bug is from commit `427002d14` `2020-05-06 00:31:40`
2020-12-29 14:41:41 +01:00
Luca Deri
84132c6735
Added known protocol on unknown port for ntop
2020-12-28 16:11:39 +01:00
Luca Deri
7f944cc43b
Initialization fix
2020-12-28 11:57:20 +01:00
Luca Deri
0fceb6576a
Free flow fix
2020-12-28 09:32:06 +01:00
Luca Deri
9c1827a77b
Fixed output when tLS (nad not QUIC) is used
2020-12-28 09:19:39 +01:00
Luca Deri
cf00ffed32
Removed test code
2020-12-26 18:13:10 +01:00
Luca Deri
e1be363037
Removed space from protocol name
2020-12-23 20:38:02 +00:00
Luca Deri
34fc9d5d50
Introduced fix on TLS for discarding traffic out of sequence that might invalidate dissection
2020-12-22 09:47:39 +01:00
Luca Deri
6462f4671c
Fixed invalid TLS check for extra processing detection
2020-12-21 22:42:05 +01:00
Luca Deri
b231982286
Win fixes
2020-12-17 15:34:17 +01:00
Luca Deri
df1b3367a9
Type change to avoid Windows compilation issues
2020-12-17 12:58:12 +01:00
Luca Deri
2768da0637
Improved HTTP dissection
2020-12-16 14:45:29 +01:00
Luca Deri
a89642ad04
Fixes bug introduced by https://github.com/ntop/nDPI/pull/1085
2020-12-12 12:32:44 +01:00
Zied Aouini
5bd5461f96
Fix minimum packet length condition ( #1087 )
2020-12-12 11:12:59 +01:00
Toni
74a77e7b3d
Added --ignore-vlanid / -I to exclude VLAN ids for flow hash calculation. #1073 ( #1085 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-12-11 21:01:51 +01:00
Toni
edf3a57a6a
Added `fast.com' host pattern to Netflix detection. #1080 ( #1084 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-12-11 21:01:28 +01:00
Ivan Nardi
5587010cfb
soulseek: fix heap buffer overflow ( #1083 )
...
Close #1082
2020-12-11 21:01:07 +01:00
Luca Deri
5cb6ddfd22
Rule changes work in progress
2020-12-11 17:25:57 +01:00
Luca Deri
21ad3a1775
Added initialization
2020-12-11 17:25:57 +01:00
Alfredo Cardigliano
499897219e
Add NDPI_PROTOCOL_ANY_CATEGORY to ndpi_protocol_category_t enum
2020-12-11 15:56:57 +01:00
Luca Deri
9c5fbb5208
Added FreeBSD ibuils instructions
2020-12-10 14:19:59 +00:00
Luca Deri
4cb8712a35
Added --with-mipsel for building nDPI on mipsel devices
2020-12-09 11:01:40 +00:00
Toni
62cd852c6f
Rename Jabber detection name as we are not sure if it is unencrypted e.g. if START_TLS used. ( #1079 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-12-08 15:49:17 +01:00
rafaliusz and rafal
1ecc6d323e
Add a connectionless DCE/RPC detection ( #1078 )
...
* Add connectionless DCE/RPC detection
* Add DCE/RPC pcap file as well as its test result
Co-authored-by: rafal <rafal.burzynski@cryptomage.com >
2020-12-08 15:48:53 +01:00
Ivan Nardi
860ef58ace
QUIC: sync with Wireshark latest changes ( #1074 )
...
Most of the QUIC crypto code has been "copied-and-pasted" from Wireshark;
try to stay in sync with the original sources to ease backporting of fixes.
Only cosmetic changes and code refactoring; no behaviour changes or bugfixes.
See:
https://gitlab.com/wireshark/wireshark/-/commit/5e45f770fd79ca979c41ed397fee72d2e8fb5f1e
https://gitlab.com/wireshark/wireshark/-/commit/5798b91c1526747bf688b6746b33562c1b24a9e0
2020-12-08 15:47:58 +01:00
Luca Deri
1fb1848586
Added chec for avoiding doung ntop_config.h include
2020-12-01 08:57:09 +00:00
Luca Deri
eb689b2069
nDPI rules (work in progress) implementation
2020-11-30 22:01:49 +01:00
Luca Deri
b77a4276f9
Fixed JSON-C check
2020-11-30 16:41:58 +01:00
Luca Deri
d4a42ed733
Improved JSON-C detection
2020-11-30 16:30:38 +01:00
Luca Deri
6b9155589a
Removed unnecessary field
2020-11-29 19:04:26 +01:00
Luca Deri
23a15bae5f
Fixes #1029
2020-11-27 18:51:56 +01:00
Luca Deri
6c119c0b06
Fixes #1032
2020-11-27 18:48:25 +01:00
Toni
daa1c8ef8c
Fix/overflow and libgerror check ( #1068 )
...
* Fixed stack overflow caused by missing buffer space for the trailing \0 added by sprintf()
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
* Remove the autoconf cache value from the previous and failed check before checking again.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-11-26 19:46:31 +01:00
Alfredo Cardigliano
7437ecaab0
Warning fix
2020-11-23 10:19:35 +01:00
Luca Deri
38984af03e
Updated disney definition
2020-11-22 18:49:28 +01:00
Luca Deri
78f762bd36
Typo
2020-11-22 16:51:13 +01:00