aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2024-06-14 20:20:58 +0200
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-06-17 10:19:55 +0200
commit526cf6f2919398e1c9c5698b1b5783f18ed41fff (patch)
tree52efef17aefb9aa01ca702b53b4831a199b17b5e /src/include
parent2bedd14aae1294528bafbe03b9307a4eacb09bcb (diff)
Zoom: remove "stun_zoom" LRU cache
Since 070a0908b we are able to detect P2P calls directly from the packet content, without any correlation among flows
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h6
-rw-r--r--src/include/ndpi_typedefs.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index fbd10509b..bd2da14a3 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -159,7 +159,6 @@ struct ndpi_global_context {
/* NDPI_PROTOCOL_STUN and subprotocols */
struct ndpi_lru_cache *stun_global_cache;
- struct ndpi_lru_cache *stun_zoom_global_cache;
/* NDPI_PROTOCOL_TLS and subprotocols */
struct ndpi_lru_cache *tls_cert_global_cache;
@@ -221,9 +220,6 @@ struct ndpi_detection_module_config_struct {
int msteams_cache_num_entries;
int msteams_cache_ttl;
int msteams_cache_scope;
- int stun_zoom_cache_num_entries;
- int stun_zoom_cache_ttl;
- int stun_zoom_cache_scope;
/* Protocols */
@@ -356,7 +352,6 @@ struct ndpi_detection_module_struct {
/* NDPI_PROTOCOL_STUN and subprotocols */
struct ndpi_lru_cache *stun_cache;
- struct ndpi_lru_cache *stun_zoom_cache;
/* NDPI_PROTOCOL_TLS and subprotocols */
struct ndpi_lru_cache *tls_cert_cache;
@@ -664,7 +659,6 @@ int search_into_bittorrent_cache(struct ndpi_detection_module_struct *ndpi_struc
/* Stun */
-int stun_search_into_zoom_cache(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
int is_stun(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow,
u_int16_t *app_proto);
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 0c51fba1f..acee346c1 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -747,7 +747,6 @@ typedef enum {
NDPI_LRUCACHE_TLS_CERT,
NDPI_LRUCACHE_MINING,
NDPI_LRUCACHE_MSTEAMS,
- NDPI_LRUCACHE_STUN_ZOOM,
NDPI_LRUCACHE_MAX /* Last one! */
} lru_cache_type;