Remove "zoom" cache (#2420)

This cache was added in b6b4967aa, when there was no real Zoom support.
With 63f349319, a proper identification of multimedia stream has been
added, making this cache quite useless: any improvements on Zoom
classification should be properly done in Zoom dissector.

Tested for some months with a few 10Gbits links of residential traffic: the
cache pretty much never returned a valid hit.
This commit is contained in:
Ivan Nardi
2024-05-06 12:51:45 +02:00
committed by GitHub
parent b7d77972bc
commit 95fe21015d
549 changed files with 5 additions and 676 deletions
-9
View File
@@ -157,9 +157,6 @@ struct ndpi_global_context {
/* NDPI_PROTOCOL_BITTORRENT */
struct ndpi_lru_cache *bittorrent_global_cache;
/* NDPI_PROTOCOL_ZOOM */
struct ndpi_lru_cache *zoom_global_cache;
/* NDPI_PROTOCOL_STUN and subprotocols */
struct ndpi_lru_cache *stun_global_cache;
struct ndpi_lru_cache *stun_zoom_global_cache;
@@ -211,9 +208,6 @@ struct ndpi_detection_module_config_struct {
int bittorrent_cache_num_entries;
int bittorrent_cache_ttl;
int bittorrent_cache_scope;
int zoom_cache_num_entries;
int zoom_cache_ttl;
int zoom_cache_scope;
int stun_cache_num_entries;
int stun_cache_ttl;
int stun_cache_scope;
@@ -360,9 +354,6 @@ struct ndpi_detection_module_struct {
/* NDPI_PROTOCOL_BITTORRENT */
struct ndpi_lru_cache *bittorrent_cache;
/* NDPI_PROTOCOL_ZOOM */
struct ndpi_lru_cache *zoom_cache;
/* NDPI_PROTOCOL_STUN and subprotocols */
struct ndpi_lru_cache *stun_cache;
struct ndpi_lru_cache *stun_zoom_cache;
-1
View File
@@ -742,7 +742,6 @@ struct ndpi_automa_stats {
typedef enum {
NDPI_LRUCACHE_OOKLA = 0,
NDPI_LRUCACHE_BITTORRENT,
NDPI_LRUCACHE_ZOOM,
NDPI_LRUCACHE_STUN,
NDPI_LRUCACHE_TLS_CERT,
NDPI_LRUCACHE_MINING,