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
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
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
d9af1562f0
Fixes #906
...
Packet bins are not printed wehn empty
2020-06-22 14:30:26 +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
48758d28ea
Added GoogleDNS DoH on Android 10
2020-06-19 09:55:58 +02:00
Luca Deri
63670927e7
Fixed API documentation: packet tiestamp is expressed in milliseconds
2020-06-18 14:15:18 +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
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
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
Luca Deri
0b9e46e65a
Updated (C)
2020-06-08 23:11:20 +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
d318285cae
Added HTTP check
2020-06-07 09:46:27 +02:00
Luca Deri
1479c0a278
Added TLS bounadry check
2020-06-07 09:25:19 +02:00
Luca Deri
43ddbfdfba
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2020-06-06 11:30:47 +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
07c54f9992
Added ndpi_dpi2json() API call
2020-06-05 16:08:23 +02:00
Luca Deri
16ca69733a
Improved teamviewer detection
2020-06-03 10:14:27 +02:00
Luca Deri
5afa3ad818
Improved spotify detection
2020-06-02 15:00:14 +02: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
Luca Deri
29d9c2d2c8
Reworked HTTP header processing workflow
2020-06-01 09:54:05 +02:00
Luca Deri
669b7579ff
HTTP comparison optimization
2020-05-31 19:31:01 +02:00
Luca Deri
a4f8d913ea
Minor changes
2020-05-31 19:11:12 +02:00
Luca Deri
dc5b4cbde0
Reworked ndpi_strncasestr
2020-05-31 18:50:25 +02:00
Luca Deri
b0bf66c436
Added offset check in kerberos dissector
2020-05-31 08:30:55 +02:00
Luca Deri
c793e16050
Added extra TLS memory boundary checks
2020-05-31 08:28:02 +02:00
Luca Deri
b6eef17e54
Added check to avoid producing alerts for known protocol on unknown port when using TLS
2020-05-30 19:33:13 +02:00
Luca Deri
374a24a1fb
HTTP dissector improvements
2020-05-30 18:40:15 +02:00
Luca Deri
cbb0b864a2
Minor cleanup
2020-05-29 21:51:51 +02:00
Luca Deri
61066fb106
Added check for heap buffer overflow read
2020-05-29 21:43:06 +02:00
Luca Deri
4ceff1dc77
Fixes for https://github.com/ntop/nDPI/pull/911
...
Added code for dumping invalid HTTP header
2020-05-29 21:23:46 +02:00
Luca Deri
0271e29097
Added references to ESNI
2020-05-29 21:23:34 +02:00
Luca Deri
3085d8e4ff
Refreshed test pcap
2020-05-28 21:23:02 +02:00
Luca Deri
9c3bfeca80
Added support for Encrypted TLS SNI dissection
...
https://datatracker.ietf.org/doc/draft-ietf-tls-sni-encryption/
2020-05-28 17:44:18 +02:00
Luca Deri
f6038c358a
Added ndpi_serialize_risk() API function
2020-05-27 17:35:11 +02:00
Luca Deri
3108c75059
Result update
2020-05-27 15:26:30 +02:00
Luca Deri
811d7a39b5
Added pcap with encrypted SNI
...
- https://blog.cloudflare.com/encrypted-sni/
- https://www.inmotionhosting.com/support/website/security/dns-over-https-encrypted-sni-in-firefox/
2020-05-27 15:00:55 +02:00
Luca Deri
030e9dddb7
Extended the cache for services that need to be reconciled such as Microsoft Teams
...
Added JSON-formatted Microsoft list of IP/services
2020-05-27 12:40:35 +02:00
Luca Deri
8fa5c31996
Added ndpi_serialize_risk() to the nDPI API
2020-05-24 08:54:38 +02:00
Luca Deri
ee35834be6
Added flow risk serilization
2020-05-24 08:46:10 +02:00
Luca Deri
bbbc5fdbae
Added memory boundary checks
2020-05-22 07:24:02 +02:00
Luca Deri
3874f0e0e0
Added stub for checking HTTP header
...
Updated Teams result
2020-05-21 15:19:55 +02:00
Luca Deri
c02b00e0ce
MS Teams uses as underlying protocol for voice/video. This commit adds the ability
...
to mark as MS Teams all Skype traffic made by a host with active MS Teams flows
2020-05-21 00:06:22 +02:00
Luca Deri
07d9e4f9ba
Fixed valse positive whatsapp detection
...
Cleaned Microsoft IP addresses list
2020-05-20 23:28:21 +02:00
Luca Deri
e9519c9aca
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2020-05-20 23:14:46 +02:00
Luca Deri
329eff069e
Removed bittorrent false positive detection
2020-05-20 23:14:09 +02:00
Luca Deri
b7e666e465
Added fix to avoid potential heap buffer overflow in H.323 dissector
...
Modified HTTP report information to make it closer to the HTTP field names
2020-05-19 08:31:05 +02:00
Luca Deri
3d9285f1be
Added check for invalid HTTP URLs
2020-05-16 00:10:35 +02:00
Luca Deri
c375782b96
Added check for binary scripts
...
Added NDPI_HTTP_NUMERIC_IP_HOST risk
ndpi_risk moved to 32 bit
2020-05-15 22:49:55 +02:00
Luca Deri
8e7b1ea7a1
Fix for potential heap-buffer-overflow in ndpi_search_openvpn
2020-05-15 21:10:37 +02:00
Luca Deri
e90c5c7c32
Added NDPI_HTTP_SUSPICIOUS_USER_AGENT ndpi_risk
2020-05-15 19:19:17 +02:00
Luca Deri
7dfbfff743
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2020-05-15 18:58:10 +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
adfe6b763c
Gotomeeting address range fix
2020-05-15 11:20:21 +02:00
Luca Deri
9ed94a722c
Improvements on GotoMeeting
...
Added pcap for testing malware
2020-05-15 10:52:23 +02:00
Luca Deri
fb64346e28
Code clenup for PR #902
2020-05-14 09:49:47 +02:00
Luca Deri
9dfd0d0071
Code cleanup
2020-05-13 17:49:02 +02:00
Luca Deri
f7f705406f
Invalid TLS check
2020-05-12 12:25:07 +02:00
Luca Deri
cd765c08d6
Added NDPI_XXX_BIT_16
2020-05-11 09:07:30 +02:00
Luca Deri
ee15c6149d
Added TLS weak cipher and obsolete protocol version detection
2020-05-10 21:55:35 +02:00
Luca Deri
ae803c8b51
Added detection of self-signed TLS certificates
2020-05-10 21:40:35 +02:00
Luca Deri
e5e69d0f7a
Added the ability to detect when a known protocol is using a non-standard port
...
Added check to spot executables exchanged via HTTP
2020-05-10 21:25:38 +02:00
Luca Deri
39ae57e6a3
Cleaned hyperscan leftover
...
Added further hyperscan hooks
2020-05-08 18:24:07 +02:00
Luca Deri
c9b37b92f5
Added self signed certificate test pcap
2020-05-08 09:09:58 +02:00
Luca Deri
4a09b4efa0
Added TLS issuerDN and subjectDN
2020-05-07 18:44:51 +02:00
Luca Deri
fd646bd05f
Reworked TLS dissector with a certificate RDN sequence reader
2020-05-07 17:22:01 +02:00
Luca Deri
6a1b8baa00
Fixed category matching
2020-05-06 23:50:35 +02:00
Luca Deri
2ccd2c204b
API cleanup for indetifying explicitly in automa's what we're searching (protocol or category)
...
Removed hyperscan support that is apperently unused
2020-05-06 23:19:59 +02:00
Luca Deri
263547e77d
Updated automa API to use 32 bit values splits from protocol/categpry
2020-05-06 21:57:32 +02:00
Luca Deri
86e34fbf6d
Added support for Telegram v6
2020-05-06 18:06:30 +02:00
Luca Deri
84f66b4d6b
Introduced custom protocols with IP and (optional) port support
...
Example
- Single IP address
ip:213.75.170.11@CustomProtocol
- IP address with CIDR
ip:213.75.170.11/32@CustomProtocol
- IP address with CIDR and port
ip:213.75.170.11/32:443@CustomProtocol
Please note that there are some restrictions on the port
usage. They have been listed in example/protos.txt
2020-05-06 12:51:44 +02:00
Luca Deri
7855e0318d
Various fixes to patricia tree handling
2020-05-06 11:13:57 +02:00
Luca Deri
48282369e2
False positive fixes
2020-05-06 01:34:55 +02:00
Luca Deri
7d63149ced
Updated API
2020-05-06 00:41:07 +02:00
Luca Deri
427002d14f
Reworked protocol handling chnging it is u_int16_t
2020-05-06 00:31:40 +02:00
Luca Deri
4148c5e065
Removed now obsolete MSN protocol
...
Added nats.io protocol dissector
2020-05-03 18:20:21 +02:00
Luca Deri
c120cca662
SSH boundary check rework
2020-04-30 20:08:03 +02:00
Luca Deri
7344bf65bc
Minor cleanup
2020-04-30 19:58:07 +02:00
Luca Deri
0b702c20d3
Warning fix
2020-04-22 18:52:36 +02:00
Luca Deri
65b428899d
Fix for nDPI code not downlooaded from git
2020-04-22 16:15:15 +02:00
Luca Deri
e8cae3cff9
Updated results
2020-04-21 19:26:49 +02:00
Luca Deri
e603549967
Office365 renamed to Microsoft365 (by Microsoft)
2020-04-20 15:44:27 +02:00
Luca Deri
3bdec5ae5f
Updated node list ( fixes #766 )
2020-04-20 15:16:31 +02:00
Luca Deri
25cd2a23a6
Compilation fixes
2020-04-20 15:08:51 +02:00
Luca Deri
493bffb3e0
Added check for pkg-config presence
2020-04-19 21:48:24 +02:00
Luca Deri
94eee66a7b
CiscoVPN dissection improvements
2020-04-17 16:56:55 +02:00