From 7078e0bfcf1a7729d1d97fa57afcd027e91d2c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dtalo=20Rossi?= Date: Thu, 11 Feb 2021 15:53:08 -0300 Subject: [PATCH] [core] Exclude RFC-6598 CGNAT private space from wan.auto acl --- src/switch_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_core.c b/src/switch_core.c index 7b7f8fe9d8..2a27b57ea3 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -1485,6 +1485,7 @@ SWITCH_DECLARE(void) switch_load_network_lists(switch_bool_t reload) switch_network_list_add_cidr(rfc_list, "172.16.0.0/12", SWITCH_FALSE); switch_network_list_add_cidr(rfc_list, "192.168.0.0/16", SWITCH_FALSE); switch_network_list_add_cidr(rfc_list, "169.254.0.0/16", SWITCH_FALSE); + switch_network_list_add_cidr(rfc_list, "100.64.0.0/10", SWITCH_FALSE); switch_network_list_add_cidr(rfc_list, "fe80::/10", SWITCH_FALSE); switch_core_hash_insert(IP_LIST.hash, tmp_name, rfc_list); @@ -1504,6 +1505,7 @@ SWITCH_DECLARE(void) switch_load_network_lists(switch_bool_t reload) switch_network_list_add_cidr(rfc_list, "172.16.0.0/12", SWITCH_FALSE); switch_network_list_add_cidr(rfc_list, "192.168.0.0/16", SWITCH_FALSE); switch_network_list_add_cidr(rfc_list, "169.254.0.0/16", SWITCH_FALSE); + switch_network_list_add_cidr(rfc_list, "100.64.0.0/10", SWITCH_FALSE); switch_network_list_add_cidr(rfc_list, "::/0", SWITCH_FALSE); switch_core_hash_insert(IP_LIST.hash, tmp_name, rfc_list);