aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-05-06 12:51:45 +0200
committerGitHub <noreply@github.com>2024-05-06 12:51:45 +0200
commit95fe21015d295632c45c40cabffebd7509eab7b6 (patch)
tree4cf91b43067ca905a8e29ee2f9ae01eebc0cf155 /src/include
parentb7d77972bceb250e888139319d64d125112ee502 (diff)
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h9
-rw-r--r--src/include/ndpi_typedefs.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index c5192f2be..ce689354d 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -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;
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index aa59c5081..51b12595b 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -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,