Ivan Nardi
afc2b641eb
Fix writes to flow->protos union fields ( #1354 )
...
We can write to `flow->protos` only after a proper classification.
This issue has been found in Kerberos, DHCP, HTTP, STUN, IMO, FTP,
SMTP, IMAP and POP code.
There are two kinds of fixes:
* write to `flow->protos` only if a final protocol has been detected
* move protocol state out of `flow->protos`
The hard part is to find, for each protocol, the right tradeoff between
memory usage and code complexity.
Handle Kerberos like DNS: if we find a request, we set the protocol
and an extra callback to further parsing the reply.
For all the other protocols, move the state out of `flow->protos`. This
is an issue only for the FTP/MAIL stuff.
Add DHCP Class Identification value to the output of ndpiReader and to
the Jason serialization.
Extend code coverage of fuzz tests.
Close #1343
Close #1342
2021-11-15 16:20:57 +01:00
..
2021-11-15 16:20:57 +01: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-11-15 16:20:57 +01: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-11-04 00:20:45 +01: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-11-15 16:20:57 +01: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-11-04 00:20:45 +01: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-11-04 00:20:45 +01: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-11-15 16:20:57 +01: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-27 23:04:29 +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-11-04 00:20:45 +01: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-11-11 11:55:56 +01:00
2021-11-11 11:55:56 +01: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-11-02 12:08:20 +01:00
2021-11-04 00:20:45 +01:00
2021-11-04 00:20:45 +01:00
2021-11-15 16:20:57 +01: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-11-04 00:20:45 +01:00
2021-08-07 17:38:33 +02:00
2021-10-16 11:57:32 +02:00
2021-11-04 00:20:45 +01: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-11-04 00:20:45 +01:00
2021-11-11 12:36:55 +01: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-11-11 11:55:56 +01:00
2021-10-16 12:03:16 +02:00
2021-11-04 00:20:45 +01: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-11-04 00:20:45 +01: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-11-11 11:55:56 +01:00
2021-11-11 11:55:56 +01: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-11-04 00:20:45 +01:00
2021-11-15 16:20:57 +01:00
2021-08-07 17:38:33 +02:00
2021-11-15 16:20:57 +01: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-11-04 00:20:45 +01: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-11-04 00:20:45 +01: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-11-04 00:20:45 +01:00
2021-08-07 17:38:33 +02:00
2021-10-25 15:04:04 +02:00
2021-11-04 00:20:45 +01: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-11-15 16:20:57 +01:00