Toni
2e25c36396
Add TiVoConnect dissector. Fixes #1697 . ( #1699 )
...
* added static assert if supported, to complain if the flow struct changes
Signed-off-by: lns <matzeton@googlemail.com >
2022-08-08 19:04:20 +02:00
Toni
ac24b35b1f
Add Discord dissector. ( #1694 )
...
* fixed RiotGames false positive
Signed-off-by: lns <matzeton@googlemail.com >
2022-08-03 12:03:36 +02:00
Toni
26aafd931c
Add Activision dissector. ( #1693 )
...
Signed-off-by: lns <matzeton@googlemail.com >
2022-08-02 16:15:07 +02:00
Ivan Nardi
013212c67c
TLS: avoid useless extra dissection ( #1690 )
...
If we have seen Application Data blocks in both directions, it means we
are after the handshake. At that point, extra dissection is useless.
Useful feature with TLS mid-sessions, i.e. sessions without initial
packets.
2022-07-31 16:57:17 +02:00
Toni
ed4f106a0d
Add Softether dissector. ( #1679 )
...
Signed-off-by: lns <matzeton@googlemail.com >
2022-07-29 19:29:54 +02:00
Ivan Nardi
405a52ed65
Patricia tree, Ahocarasick automa, LRU cache: add statistics ( #1683 )
...
Add (basic) internal stats to the main data structures used by the
library; they might be usefull to check how effective these structures
are.
Add an option to `ndpiReader` to dump them; enabled by default in the
unit tests.
This new option enables/disables dumping of "num dissectors calls"
values, too (see b4cb14ec ).
2022-07-29 15:25:00 +02:00
Ivan Nardi
d8d525fff2
Update the protocol bitmask for some protocols ( #1675 )
...
Tcp retransmissions should be ignored.
Remove some unused protocol bitmasks.
Update script to download Whatsapp IP list.
2022-07-27 11:46:45 +02:00
Nardi Ivan
d66aa49787
DTLS: fix exclusion of DTLS protocol
...
Add an helper to exclude a generic protocol
2022-07-20 19:16:18 +02:00
Toni
ae2bedce3a
Improved Jabber/XMPP detection. ( #1661 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2022-07-13 17:55:33 +02:00
Ivan Nardi
b4cb14ec19
Keep track of how many dissectors calls we made for each flow ( #1657 )
2022-07-11 09:47:47 +02:00
Ivan Nardi
ff4e010501
Avoid spurious calls to extra dissection ( #1648 )
...
If the extra callabck is not set, calling the extra dissection is only a
waste of resources...
2022-07-07 17:49:35 +02:00
Ivan Nardi
7645909460
Fix handling of NDPI_UNIDIRECTIONAL_TRAFFIC risk ( #1636 )
2022-07-05 17:01:00 +02:00
Luca Deri
ab09b8ce2e
Added unidirectional traffic flow risk
2022-06-20 00:22:13 +02:00
Luca Deri
1da9f1a36f
Updated tests results
...
Code cleanup
2022-05-30 00:54:17 +02:00
Ivan Nardi
71636dcafd
Sync unit tests results ( #1533 )
2022-04-27 18:22:11 +02:00
Toni
10161448bc
Improved TLS application data detection. ( #1532 )
...
Signed-off-by: lns <matzeton@googlemail.com >
2022-04-27 17:22:53 +02:00
Ivan Nardi
3a087e951d
Add a "confidence" field about the reliability of the classification. ( #1395 )
...
As a general rule, the higher the confidence value, the higher the
"reliability/precision" of the classification.
In other words, this new field provides an hint about "how" the flow
classification has been obtained.
For example, the application may want to ignore classification "by-port"
(they are not real DPI classifications, after all) or give a second
glance at flows classified via LRU caches (because of false positives).
Setting only one value for the confidence field is a bit tricky: more
work is probably needed in the next future to tweak/fix/improve the logic.
2022-01-11 15:23:39 +01:00
Ivan Nardi
b1e9245d94
ndpiReader: slight simplificaton of the output ( #1378 )
2021-11-27 17:32:23 +01:00
Ivan Nardi
b6d9536533
Fixed cleartext protocol assignment ( #1357 )
2021-10-25 15:04:04 +02:00
Luca Deri
9e97d20c25
Refreshed results list
2021-10-16 12:03:16 +02:00
Luca Deri
e8455236bd
Updated output
2021-08-07 17:38:33 +02:00
Ivan Nardi
cccf794265
ndpiReader: add statistics about nDPI performance ( #1240 )
...
The goal is to have a (roughly) idea about how many packets nDPI needs
to properly classify a flow.
Log this information (and guessed flows number too) during unit tests,
to keep track of improvements/regressions across commits.
2021-07-13 12:28:39 +02:00
Luca Deri
732bcecd17
Added flow risk score
2021-05-18 21:05:47 +02:00
Luca Deri
ac1eaca8a6
Added browser TLS heuristic
2021-05-13 20:00:27 +02:00
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
Nardi Ivan
7d5a0e1f04
QUIC: extract User Agent information
2020-09-08 11:03:22 +02:00
Nardi Ivan
23ec82b59d
Major rework of QUIC dissector
...
Improve support for GQUIC (up to Q046) and add support for Q050 and (IETF-)QUIC
Still no sub-classification for Q050 and QUIC
2020-08-21 22:04:55 +02:00
Luca Deri
2ae4c6675d
Fixed partial TLS dissection
2020-07-30 18:30:07 +02:00
Luca Deri
e71df49b3e
Changed due to bin size extension
2020-07-30 00:06:46 +02:00
Luca Deri
12abcd516b
Updated test results due to bin changes
2020-07-09 17:28:02 +02:00
Luca Deri
d9af1562f0
Fixes #906
...
Packet bins are not printed wehn empty
2020-06-22 14:30:26 +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
da22aa5fc7
Added NDPI_TLS_CERTIFICATE_EXPIRED, NDPI_TLS_CERTIFICATE_MISMATCH, to ndpi_risk
2020-05-15 18:57:49 +02:00
Luca Deri
4a09b4efa0
Added TLS issuerDN and subjectDN
2020-05-07 18:44:51 +02:00
Luca Deri
748df7972a
Results update
2020-04-17 10:36:27 +02:00
emanuele-f
fd94270507
Remove decimals in test results for IAT, packet lengths and goodput ratio
2020-02-14 11:42:20 +01:00
Luca Deri
5cad39f0e8
Added export of TLS supported version in TLS header
2020-02-07 23:26:03 +01:00
Luca Deri
3be263aafc
Added TLS ALPN support
2020-02-07 21:54:04 +01:00
Luca
daae1cc9b1
Reworked TLS dissection
2020-01-01 12:59:19 +01:00
Luca Deri
e98b994a39
Updated results
2019-11-21 13:35:04 +01:00
Luca Deri
4fd7e5734a
Manual merge of pull #769
2019-10-02 23:01:29 +02:00
Luca
0ed679e795
Improves IAT calculation
2019-09-24 16:37:42 +02:00
Luca Deri
11e9fd8cef
As TLS certificate fingerprint is computed, TLS without certificate protocol has been removed
...
Various improvemenets in detection quality
2019-09-15 12:18:24 +02:00
Luca Deri
0f9107bef3
Fixed timezone conversion
2019-09-10 22:15:23 +02:00
Luca Deri
068611e8ba
Changes in validity format
2019-09-10 21:44:42 +02:00
Luca Deri
65bdd0de9a
Uddated results
2019-09-10 00:43:03 +02:00
Luca Deri
086c511a11
Parsed TLS certificate validity
2019-09-10 00:34:48 +02:00
Luca
886d575157
Added -C to generate CSV analysis files
...
Improved IAT and byte distribution
2019-09-03 18:38:54 +02:00
Luca
b1270fc7bb
Uodated results
2019-08-29 15:23:01 +02:00
Luca
e4e40e3c70
Added entropy, average, stddev, variance, bytes ratio calculation
2019-08-28 14:02:39 +02:00