Luca Deri
3303dac7cf
Improved fragmented DNS detection
2021-09-17 15:17:39 +02:00
Luca Deri
119a14c6e3
DNS dissection fixes
2021-09-17 12:20:19 +02:00
deboracerretini and Luca Deri
8f113c1d37
Progetto esame Gestione di Reti - Debora Cerretini ( #1290 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2021-09-17 11:01:50 +02:00
Luca Deri
61fc5be202
Reworked flow risk implementation
2021-07-23 17:27:15 +02:00
Luca Deri
d5b395f35a
Fixed invalid DNS dissection
2021-04-26 23:08:00 +02:00
Luca Deri
56bfb439f8
Improved DGA detection with trigrams. Disadvantage: slower startup time
...
Reworked Tor dissector embedded in TLS (fixes #1141 )
Removed false positive on HTTP User-Agent
2021-03-03 00:41:07 +01:00
Luca Deri
fba61adf5e
Improved DNS dissector
2021-02-26 00:42:15 +01:00
Luca Deri
ea0309d21b
Removed now obsolete NDPI_DETECTION_SUPPORT_IPV6: code is more readeable now
2021-02-10 19:09:11 +01:00
Luca Deri
68b6ac7da8
(C) Update
2021-01-07 11:13:36 +01:00
Luca Deri
044ed14b4f
Various optimizations to reduce not-necessary calls
...
Optimized various UDP dissectors
Removed dead protocols such as pando and pplive
2020-09-24 23:26:03 +02:00
Luca Deri
60a9f6610d
Added risks for checking
...
- invalid DNS traffic (probably carrying exfiltrated data)
- TLS traffic with no SNI extension
2020-09-21 19:57:23 +02:00
Luca Deri
d81bc1add6
Reworked MDNS dissector that is not based on the DNS dissector
2020-09-17 23:24:02 +02:00
Luca Deri
7086197047
Added extension to detect nested subdomains as used in Browsertunnel attack tool
...
https://github.com/veggiedefender/browsertunnel
2020-09-09 23:25:19 +02:00
Luca Deri
8566288e43
Added malformed packet risk support
2020-06-26 22:37:52 +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
Philippe Antoine
c6acf97bfb
Adds different checks against overflows
2020-03-19 16:54:31 +01:00
Philippe Antoine
fe513014a8
Fix buffer over read in dns
2020-03-12 14:13:04 +01:00
Philippe Antoine
3eb9907dd7
Fix various buffer over reads
2020-02-18 11:50:22 +01:00
Luca
452ba1f339
Improvements for DNS continuous flow dissection
2020-02-06 19:19:36 +01:00
Luca Deri
0703ab5ac5
Improved DNS response decoding
...
The first decoded address is now reported by ndpiReader
2020-02-04 22:16:54 +01:00
Philippe Antoine
b5b2260f2e
Fix undefined shift in dns
2020-01-31 14:50:18 +01:00
Luca Deri
29dd45838d
Updated (C)
2020-01-05 18:24:58 +01:00
Luca Deri
6d7f3976f3
Code cleanup
2019-12-09 18:02:48 +01:00
Luca Deri
c223bb1f10
Fixed buffer overflow in DNS dissection
2019-11-26 17:42:59 +01:00
Luca Deri
0974075fa0
Major cleanup
...
Removed ndpi_pref_http_dont_dissect_response and ndpi_pref_dns_dont_dissect_response as the ndpi_extra_dissection_possible() call will now handle everything
2019-10-24 19:48:55 +02:00
Luca Deri
0ffe5cf1ff
Added extra processing for POP and SMTP
2019-10-22 00:57:35 +02:00
emanuele-f
37cb113c45
Handle TCP DNS replies and add is_reply flag
2019-10-03 16:19:15 +02:00
emanuele-f
04a97fa72b
Fix DNS reply dissection issues
2019-10-03 15:52:55 +02:00
Luca Deri
c839dcb74c
Improved category handlign in subprotocols
...
Further DNS dissection fixes
Fixed WeChat invalid category
2019-09-27 17:34:22 +02:00
Luca Deri
7c788f0779
Fixed partial string matches
2019-09-27 13:42:41 +02:00
Luca Deri
17f560a1cd
Added ndpi_extra_dissection_possible() API call
2019-09-26 23:50:02 +02:00
emanuele-f
4dc60f151d
Restructure DNS search code
2019-09-26 13:20:13 +02:00
Luca Deri
ab9246f51f
Adedd DTLS check in STUN
...
Uodated (C)
2019-09-21 09:16:56 +02:00
Luca Deri
3e044a759b
Code cleanup
2019-07-27 17:24:32 +02:00
emanuele-f
4dd51a165c
Fix DNS rsp_addr missing in some tiny responses
2019-04-15 19:54:17 +02:00
Luca Deri
1915a63cf2
Implemented ndpi_process_partial_detection() API call to handle partial matches due to the nDPI specified configuration
2019-04-01 12:30:51 +02:00
emanuele-f
c496c7975f
Add DNS response address
2019-03-29 19:58:10 +01:00
Luca Deri
e2ad6bf79f
Merge pull request #673 from vel21ripn/dns_fix_name
...
More accurate hostname verification in a DNS query.
2019-03-23 09:51:53 +01:00
Simone Mainardi
59f683858b
Fixes possibly broken dissection of invalid DNS responses
2019-03-04 18:48:38 +01:00
Vitaly Lavrov
a99754d88b
More accurate hostname verification in a DNS query.
2019-02-27 15:26:11 +03:00
emanuele-f
ab3833a708
Fix invalid TCP DNS dissection
2019-02-19 17:17:02 +01:00
Luca Deri
ddf0066c11
Aligned DNS to HTTP dissection
2019-02-07 22:44:48 +01:00
Luca Deri
01bf295a19
Completed custom category implementation
2018-08-16 14:57:44 +02:00
Luca
667e77c609
Major code cleanup
...
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-07-21 16:02:54 +02:00
Michele Campus
cb8f4f87bf
Merge branch 'dev' into dev
2017-12-07 22:45:28 +01:00
Darryl Sokoloski
3577072b12
Return before calling ndpi_match_host_subprotocol when dns_dissect_response enabled.
...
Otherwise responses will never be seen if a host sub-protocol matched.
2017-11-30 14:54:23 -05:00
Vitaly Lavrov
2787c2390c
Refactoring the debugging output.
...
levels of debug output:
0 - ERROR: Only for errors.
1 - TRACE: Start of each packets and if found protocol.
2 - DEBUG: Start of searching each protocol and excluding protocols.
3 - DEBUG_EXTRA: For all other messages.
Added field ndpi_struct->debug_logging for enable debug output of each protocols.
Simple macros for debugging output are added:
NDPI_LOG_ERR(), NDPI_LOG_INFO(), NDPI_LOG_DBG(), NDPI_LOG_DBG2(),
NDPI_EXCLUDE_PROTO()
2017-10-26 20:41:22 +03:00
theirix
d1f0b56adc
Fixed payload overflow in MQTT, DNS
2016-07-25 12:58:27 +03:00
Luca Deri
6fb81f146e
Refreshed DNS implementation
2016-06-27 11:19:47 +02:00