nDPI/tests/cfgs/disable_protocols
Ivan Nardi 78f4b60efe
A new interface for dissectors registration (#2843)
We use `registr_dissector()` instead of
`ndpi_set_bitmask_protocol_detection()`.

Every file in `src/lib/protocols/*.c` is a dissector.

Every dissector can handle multiple protocols.

The real goal is this small change:
```
 struct call_function_struct {
-  NDPI_PROTOCOL_BITMASK detection_bitmask;
```
i.e. getting rid of another protocol bitmask: this is mandatory to try
to fix #2136 (see also e845e8205b68752c997d05224d8b2fd45acde714)

As a nice side effect, we remove a bitmask comparison in the hot function
`check_ndpi_detection_func()`

TODO: change logging configuration from per-protocol to per-dissector
2025-05-24 13:17:46 +02:00
..
pcap Fix classification when non tcp/udp protocols are disabled (#2824) 2025-05-19 11:04:29 +02:00
result A new interface for dissectors registration (#2843) 2025-05-24 13:17:46 +02:00
config.txt ospf, ipsec: use different ids for protocols at layer3 (#2838) 2025-05-21 16:43:50 +02:00
README.txt Test multiple ndpiReader configurations (#1931) 2023-04-06 11:30:36 +02:00

Try disabling some protocols:
* a master protocol (QUIC)
* DNS
* an HTTP sub-protocol (SOAP)
* a protocol identified via content match (Pluralsight)