nDPI/tests/cfgs
Ivan Nardi efccc7d5e4
Rework flow breed (#2926)
Right now, there is, in essence, a static mapping between flow protocols
and flow breeds.
Make it dynamic: allow to have different flows, with the same
classification but differents breeds. This is the same logic that we
already have for categories....

Preliminary work to support breed in category lists.

API change from the app POV: to get the flow breed don't use anymore
`ndpi_get_proto_breed()`, but access directly `struct ndpi_proto->breed`

The functions `ndpi_domain_classify_*()` and
`ndpi_get_host_domain_suffix()` now have a `u_int32_t` parameter as
`class_id` (instead of `u_int_16_t`), with the following logic:
```
class_id = (breed << 16) | category
```
instead of the old:
```
class_id = category
```
Please note that this change is back-compatible: if you are not
interested into breeds, you don't need to update the application code.
2025-09-02 16:54:34 +02:00
..
caches_cfg Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
caches_global Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
classification_only Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
default Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
disable_aggressiveness Tests update 2025-08-29 11:53:35 +02:00
disable_protocols Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
disable_use_client_ip Tests update 2025-08-29 11:53:35 +02:00
disable_use_client_port Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
dns_sub_enable Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
dns_subclassification_and_process_response_disable Tests update 2025-08-29 11:53:35 +02:00
enable_doh_heuristic Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00
enable_payload_stat Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
flow_risk_infos_disabled Tests update 2025-08-29 11:53:35 +02:00
flow_risk_list_disable Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00
fpc Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
fpc_disabled Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
guess_ip_before_port_enabled Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
guessing_disable Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
hostname_dns_check Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00
http_process_response_disable Tests update 2025-08-29 11:53:35 +02:00
huge_number_of_custom_protocols Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
ip_lists_disable Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
monitoring Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
ndpireader_conf_file Rework flow breed (#2926) 2025-09-02 16:54:34 +02:00
openvpn_heuristic_enabled Add Mudfish protocol dissector (#2932) 2025-08-06 21:07:27 +02:00
packets_limit_per_flow Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00
stun_extra_dissection Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00
stun_only_peer_address_enabled Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00
subclassification_disable Tests update 2025-08-29 11:53:35 +02:00
tls_heuristics_enabled Tests update 2025-08-29 11:53:35 +02:00
zoom_extra_dissection Revert "Always compute nDPI fingerprint (#2950)" 2025-08-31 19:07:13 +02:00