Ivan Nardi
6edb7bedd7
Avoid overwriting valid protocol in ndpi_detection_giveup ( #1360 )
...
We should avoid updating any valid protocol in `ndpi_detection_giveup`; we
should try to find a proper classification only if the flow is still
completely unclassified.
For example in the attached pcap there is a valid TLS session, recognized
as such by TLS dissector. However, the `ndpi_detection_giveup`function
updates it to "HTTP/TLS" (!?) simply because the server port is 80.
Note that the real issue is not the wrong classification, but the
wrong access to `flow->protos` union. If we already set some fields of
`flow->protos` and we change the protocol in `ndpi_detection_giveup`, we
might end up freeing some invalid pointers in `ndpi_free_flow_data`
(no wonder this issue has been found while fuzzing #1354 )
Fix GIT and TLS dissectors (issues found by CI fuzzer)
2021-10-27 09:23:07 +02:00
..
2021-10-26 21:34:01 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2020-03-23 10:06:16 +01:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-14 22:18:34 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-09-19 17:29:22 +02:00
2021-09-09 22:47:58 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-10-16 12:03:16 +02:00
2021-10-26 21:34:01 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-14 22:18:34 +02:00
2021-09-21 20:53:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-26 21:34:01 +02:00
2021-10-16 12:03:16 +02:00
2021-10-16 11:57:32 +02:00
2021-04-18 21:37:51 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-09-10 22:00:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 12:03:16 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-26 21:34:01 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-09-17 12:20:19 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-09-13 18:25:04 +02:00
2021-09-13 18:25:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 12:03:16 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 12:03:16 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 12:03:16 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 12:03:16 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-10-22 14:57:49 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-27 09:23:07 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-27 09:23:07 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-10-25 15:04:04 +02:00