From 50be7eac462b17347ed9390c1354458c733e87e3 Mon Sep 17 00:00:00 2001 From: xuhaoyang Date: Thu, 29 Jul 2021 10:47:08 +0800 Subject: [PATCH 1/4] Reset correct Netflix Clash Rules --- Clash/Provider/Media/Netflix.yaml | 209 ++++-------------------------- 1 file changed, 24 insertions(+), 185 deletions(-) diff --git a/Clash/Provider/Media/Netflix.yaml b/Clash/Provider/Media/Netflix.yaml index cdb8880..d85db96 100644 --- a/Clash/Provider/Media/Netflix.yaml +++ b/Clash/Provider/Media/Netflix.yaml @@ -1,6 +1,6 @@ payload: # > Netflix - # - USER-AGENT,Argo* + - PROCESS-NAME,com.netflix.mediaclient - DOMAIN-KEYWORD,netflix - DOMAIN,netflix.com.edgesuite.net - DOMAIN-SUFFIX,netflix.com @@ -15,194 +15,33 @@ payload: - DOMAIN-SUFFIX,netflixdnstest6.com - DOMAIN-SUFFIX,netflixdnstest7.com - DOMAIN-SUFFIX,netflixdnstest8.com + - DOMAIN-SUFFIX,netflixdnstest9.com - DOMAIN-SUFFIX,nflxext.com - DOMAIN-SUFFIX,nflximg.com - DOMAIN-SUFFIX,nflximg.net - DOMAIN-SUFFIX,nflxso.net - DOMAIN-SUFFIX,nflxvideo.net - - IP-CIDR,23.246.0.0/18,no-resolve - - IP-CIDR,23.246.2.0/24,no-resolve - - IP-CIDR,23.246.3.0/24,no-resolve - - IP-CIDR,23.246.6.0/24,no-resolve - - IP-CIDR,23.246.7.0/24,no-resolve - - IP-CIDR,23.246.10.0/24,no-resolve - - IP-CIDR,23.246.12.0/24,no-resolve - - IP-CIDR,23.246.13.0/24,no-resolve - - IP-CIDR,23.246.14.0/24,no-resolve - - IP-CIDR,23.246.15.0/24,no-resolve - - IP-CIDR,23.246.16.0/24,no-resolve - - IP-CIDR,23.246.17.0/24,no-resolve - - IP-CIDR,23.246.20.0/24,no-resolve - - IP-CIDR,23.246.21.0/24,no-resolve - - IP-CIDR,23.246.26.0/24,no-resolve - - IP-CIDR,23.246.27.0/24,no-resolve - - IP-CIDR,23.246.30.0/24,no-resolve - - IP-CIDR,23.246.31.0/24,no-resolve - - IP-CIDR,23.246.36.0/24,no-resolve - - IP-CIDR,23.246.37.0/24,no-resolve - - IP-CIDR,23.246.41.0/24,no-resolve - - IP-CIDR,23.246.42.0/24,no-resolve - - IP-CIDR,23.246.44.0/24,no-resolve - - IP-CIDR,23.246.45.0/24,no-resolve - - IP-CIDR,23.246.46.0/24,no-resolve - - IP-CIDR,23.246.47.0/24,no-resolve - - IP-CIDR,23.246.48.0/24,no-resolve - - IP-CIDR,23.246.49.0/24,no-resolve - - IP-CIDR,23.246.50.0/24,no-resolve - - IP-CIDR,23.246.51.0/24,no-resolve - - IP-CIDR,23.246.52.0/24,no-resolve - - IP-CIDR,23.246.54.0/24,no-resolve - - IP-CIDR,23.246.55.0/24,no-resolve - - IP-CIDR,23.246.56.0/24,no-resolve - - IP-CIDR,23.246.57.0/24,no-resolve - - IP-CIDR,23.246.58.0/24,no-resolve - - IP-CIDR,23.246.59.0/24,no-resolve - - IP-CIDR,37.77.184.0/21,no-resolve - - IP-CIDR,37.77.184.0/24,no-resolve - - IP-CIDR,37.77.186.0/24,no-resolve - - IP-CIDR,37.77.187.0/24,no-resolve - - IP-CIDR,37.77.188.0/24,no-resolve - - IP-CIDR,37.77.189.0/24,no-resolve - - IP-CIDR,45.57.0.0/17,no-resolve - - IP-CIDR,45.57.0.0/24,no-resolve - - IP-CIDR,45.57.1.0/24,no-resolve - - IP-CIDR,45.57.2.0/24,no-resolve - - IP-CIDR,45.57.3.0/24,no-resolve - - IP-CIDR,45.57.4.0/24,no-resolve - - IP-CIDR,45.57.5.0/24,no-resolve - - IP-CIDR,45.57.6.0/24,no-resolve - - IP-CIDR,45.57.7.0/24,no-resolve - - IP-CIDR,45.57.10.0/24,no-resolve - - IP-CIDR,45.57.11.0/24,no-resolve - - IP-CIDR,45.57.12.0/24,no-resolve - - IP-CIDR,45.57.13.0/24,no-resolve - - IP-CIDR,45.57.14.0/24,no-resolve - - IP-CIDR,45.57.15.0/24,no-resolve - - IP-CIDR,45.57.16.0/24,no-resolve - - IP-CIDR,45.57.17.0/24,no-resolve - - IP-CIDR,45.57.18.0/24,no-resolve - - IP-CIDR,45.57.19.0/24,no-resolve - - IP-CIDR,45.57.20.0/24,no-resolve - - IP-CIDR,45.57.21.0/24,no-resolve - - IP-CIDR,45.57.22.0/24,no-resolve - - IP-CIDR,45.57.23.0/24,no-resolve - - IP-CIDR,45.57.24.0/24,no-resolve - - IP-CIDR,45.57.25.0/24,no-resolve - - IP-CIDR,45.57.28.0/24,no-resolve - - IP-CIDR,45.57.29.0/24,no-resolve - - IP-CIDR,45.57.36.0/24,no-resolve - - IP-CIDR,45.57.37.0/24,no-resolve - - IP-CIDR,45.57.44.0/24,no-resolve - - IP-CIDR,45.57.45.0/24,no-resolve - - IP-CIDR,45.57.48.0/24,no-resolve - - IP-CIDR,45.57.49.0/24,no-resolve - - IP-CIDR,45.57.50.0/24,no-resolve - - IP-CIDR,45.57.51.0/24,no-resolve - - IP-CIDR,45.57.56.0/24,no-resolve - - IP-CIDR,45.57.58.0/24,no-resolve - - IP-CIDR,45.57.59.0/24,no-resolve - - IP-CIDR,45.57.60.0/24,no-resolve - - IP-CIDR,45.57.62.0/24,no-resolve - - IP-CIDR,45.57.63.0/24,no-resolve - - IP-CIDR,45.57.64.0/24,no-resolve - - IP-CIDR,45.57.65.0/24,no-resolve - - IP-CIDR,45.57.68.0/24,no-resolve - - IP-CIDR,45.57.69.0/24,no-resolve - - IP-CIDR,45.57.70.0/24,no-resolve - - IP-CIDR,45.57.71.0/24,no-resolve - - IP-CIDR,45.57.72.0/24,no-resolve - - IP-CIDR,45.57.73.0/24,no-resolve - - IP-CIDR,45.57.74.0/24,no-resolve - - IP-CIDR,45.57.75.0/24,no-resolve - - IP-CIDR,45.57.78.0/24,no-resolve - - IP-CIDR,45.57.79.0/24,no-resolve - - IP-CIDR,45.57.80.0/24,no-resolve - - IP-CIDR,45.57.81.0/24,no-resolve - - IP-CIDR,45.57.82.0/24,no-resolve - - IP-CIDR,45.57.83.0/24,no-resolve - - IP-CIDR,45.57.88.0/24,no-resolve - - IP-CIDR,45.57.89.0/24,no-resolve - - IP-CIDR,45.57.92.0/24,no-resolve - - IP-CIDR,45.57.93.0/24,no-resolve - - IP-CIDR,45.57.94.0/24,no-resolve - - IP-CIDR,45.57.95.0/24,no-resolve - - IP-CIDR,45.57.98.0/24,no-resolve - - IP-CIDR,45.57.99.0/24,no-resolve - - IP-CIDR,45.57.100.0/24,no-resolve - - IP-CIDR,45.57.101.0/24,no-resolve - - IP-CIDR,45.57.102.0/24,no-resolve - - IP-CIDR,45.57.103.0/24,no-resolve - - IP-CIDR,45.57.104.0/24,no-resolve - - IP-CIDR,45.57.105.0/24,no-resolve - - IP-CIDR,45.57.106.0/24,no-resolve - - IP-CIDR,45.57.107.0/24,no-resolve - - IP-CIDR,45.57.108.0/24,no-resolve - - IP-CIDR,45.57.109.0/24,no-resolve - - IP-CIDR,64.120.128.0/17,no-resolve - - IP-CIDR,66.197.128.0/17,no-resolve - - IP-CIDR,69.53.224.0/19,no-resolve - - IP-CIDR,69.53.225.0/24,no-resolve - - IP-CIDR,69.53.230.0/24,no-resolve - - IP-CIDR,69.53.231.0/24,no-resolve - - IP-CIDR,69.53.232.0/24,no-resolve - - IP-CIDR,69.53.233.0/24,no-resolve - - IP-CIDR,69.53.234.0/24,no-resolve - - IP-CIDR,69.53.235.0/24,no-resolve - - IP-CIDR,69.53.240.0/24,no-resolve - - IP-CIDR,69.53.241.0/24,no-resolve - - IP-CIDR,69.53.245.0/24,no-resolve - - IP-CIDR,69.53.246.0/24,no-resolve - - IP-CIDR,69.53.247.0/24,no-resolve - - IP-CIDR,69.53.248.0/24,no-resolve - - IP-CIDR,69.53.249.0/24,no-resolve - - IP-CIDR,69.53.254.0/24,no-resolve - - IP-CIDR,108.175.32.0/20,no-resolve - - IP-CIDR,185.2.220.0/22,no-resolve - - IP-CIDR,185.9.188.0/22,no-resolve - - IP-CIDR,192.173.64.0/18,no-resolve - - IP-CIDR,192.173.65.0/24,no-resolve - - IP-CIDR,192.173.67.0/24,no-resolve - - IP-CIDR,192.173.68.0/24,no-resolve - - IP-CIDR,192.173.70.0/24,no-resolve - - IP-CIDR,192.173.72.0/24,no-resolve - - IP-CIDR,192.173.73.0/24,no-resolve - - IP-CIDR,192.173.74.0/24,no-resolve - - IP-CIDR,192.173.75.0/24,no-resolve - - IP-CIDR,192.173.76.0/24,no-resolve - - IP-CIDR,192.173.77.0/24,no-resolve - - IP-CIDR,192.173.78.0/24,no-resolve - - IP-CIDR,192.173.79.0/24,no-resolve - - IP-CIDR,192.173.80.0/24,no-resolve - - IP-CIDR,192.173.82.0/24,no-resolve - - IP-CIDR,192.173.83.0/24,no-resolve - - IP-CIDR,192.173.84.0/24,no-resolve - - IP-CIDR,192.173.86.0/24,no-resolve - - IP-CIDR,192.173.87.0/24,no-resolve - - IP-CIDR,192.173.88.0/24,no-resolve - - IP-CIDR,192.173.89.0/24,no-resolve - - IP-CIDR,192.173.92.0/24,no-resolve - - IP-CIDR,192.173.94.0/24,no-resolve - - IP-CIDR,192.173.95.0/24,no-resolve - - IP-CIDR,192.173.96.0/24,no-resolve - - IP-CIDR,192.173.99.0/24,no-resolve + - DOMAIN-KEYWORD,dualstack.apiproxy- + - DOMAIN-KEYWORD,dualstack.ichnaea-web- + + - IP-CIDR,208.75.76.0/22,no-resolve + - IP-CIDR,207.45.72.0/22,no-resolve + - IP-CIDR,185.2.0.0/16,no-resolve + - IP-CIDR,185.9.0.0/16,no-resolve - IP-CIDR,198.38.96.0/19,no-resolve - - IP-CIDR,198.38.98.0/24,no-resolve - - IP-CIDR,198.38.99.0/24,no-resolve - - IP-CIDR,198.38.100.0/24,no-resolve - - IP-CIDR,198.38.108.0/24,no-resolve - - IP-CIDR,198.38.109.0/24,no-resolve - - IP-CIDR,198.38.110.0/24,no-resolve - - IP-CIDR,198.38.111.0/24,no-resolve - - IP-CIDR,198.38.112.0/24,no-resolve - - IP-CIDR,198.38.113.0/24,no-resolve - - IP-CIDR,198.38.114.0/24,no-resolve - - IP-CIDR,198.38.115.0/24,no-resolve - - IP-CIDR,198.38.120.0/24,no-resolve - - IP-CIDR,198.38.121.0/24,no-resolve - - IP-CIDR,198.38.122.0/24,no-resolve - IP-CIDR,198.45.48.0/20,no-resolve - - IP-CIDR,198.45.48.0/24,no-resolve - - IP-CIDR,198.45.49.0/24,no-resolve - - IP-CIDR,198.45.50.0/24,no-resolve - - IP-CIDR,198.45.56.0/24,no-resolve - - IP-CIDR,208.75.76.0/22,no-resolve + - IP-CIDR,192.173.64.0/18,no-resolve + - IP-CIDR,108.175.32.0/20,no-resolve + - IP-CIDR,103.87.204.0/22,no-resolve + - IP-CIDR,103.87.205.0/24,no-resolve + - IP-CIDR,103.87.206.0/24,no-resolve + - IP-CIDR,103.87.207.0/24,no-resolve + - IP-CIDR,69.53.224.0/19,no-resolve + - IP-CIDR,64.120.128.0/17,no-resolve + - IP-CIDR,66.197.128.0/17,no-resolve + - IP-CIDR,45.57.0.0/17,no-resolve + - IP-CIDR,37.77.184.0/21,no-resolve + - IP-CIDR,34.210.42.111/32,no-resolve + - IP-CIDR,52.89.124.203/32,no-resolve + - IP-CIDR,54.148.37.5/32,no-resolve + - IP-CIDR,23.246.0.0/18,no-resolve From ac0dff3257d4bdb5aee1bda5a350c6c7be2a1afc Mon Sep 17 00:00:00 2001 From: xuhaoyang Date: Thu, 29 Jul 2021 11:12:12 +0800 Subject: [PATCH 2/4] Netflix add ip 203 --- Clash/Provider/Media/Netflix.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Clash/Provider/Media/Netflix.yaml b/Clash/Provider/Media/Netflix.yaml index d85db96..ffd924a 100644 --- a/Clash/Provider/Media/Netflix.yaml +++ b/Clash/Provider/Media/Netflix.yaml @@ -26,6 +26,15 @@ payload: - IP-CIDR,208.75.76.0/22,no-resolve - IP-CIDR,207.45.72.0/22,no-resolve + + # > 实际捕捉 + - IP-CIDR,203.75.84.0/24,no-resolve + - IP-CIDR,203.83.220.0/22,no-resolve + - IP-CIDR,203.116.0.0/16,no-resolve + - IP-CIDR,203.198.0.0/20,no-resolve + - IP-CIDR,203.198.80.0/21,no-resolve + # > 实际捕捉 + - IP-CIDR,185.2.0.0/16,no-resolve - IP-CIDR,185.9.0.0/16,no-resolve - IP-CIDR,198.38.96.0/19,no-resolve From 5968603500c8659ec459ba601d3ee3c875dae3d4 Mon Sep 17 00:00:00 2001 From: xuhaoyang Date: Thu, 29 Jul 2021 11:31:59 +0800 Subject: [PATCH 3/4] Netflix add unconfirmed ip --- Clash/Provider/Media/Netflix.yaml | 35 +++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/Clash/Provider/Media/Netflix.yaml b/Clash/Provider/Media/Netflix.yaml index ffd924a..3aa7d3e 100644 --- a/Clash/Provider/Media/Netflix.yaml +++ b/Clash/Provider/Media/Netflix.yaml @@ -24,17 +24,9 @@ payload: - DOMAIN-KEYWORD,dualstack.apiproxy- - DOMAIN-KEYWORD,dualstack.ichnaea-web- + # > AS BGP Search - IP-CIDR,208.75.76.0/22,no-resolve - IP-CIDR,207.45.72.0/22,no-resolve - - # > 实际捕捉 - - IP-CIDR,203.75.84.0/24,no-resolve - - IP-CIDR,203.83.220.0/22,no-resolve - - IP-CIDR,203.116.0.0/16,no-resolve - - IP-CIDR,203.198.0.0/20,no-resolve - - IP-CIDR,203.198.80.0/21,no-resolve - # > 实际捕捉 - - IP-CIDR,185.2.0.0/16,no-resolve - IP-CIDR,185.9.0.0/16,no-resolve - IP-CIDR,198.38.96.0/19,no-resolve @@ -49,8 +41,29 @@ payload: - IP-CIDR,64.120.128.0/17,no-resolve - IP-CIDR,66.197.128.0/17,no-resolve - IP-CIDR,45.57.0.0/17,no-resolve - - IP-CIDR,37.77.184.0/21,no-resolve - - IP-CIDR,34.210.42.111/32,no-resolve - IP-CIDR,52.89.124.203/32,no-resolve - IP-CIDR,54.148.37.5/32,no-resolve - IP-CIDR,23.246.0.0/18,no-resolve + + + # > 实际捕捉 + - IP-CIDR,203.75.84.0/24,no-resolve + - IP-CIDR,203.83.220.0/22,no-resolve + - IP-CIDR,203.116.0.0/16,no-resolve + - IP-CIDR,203.198.0.0/20,no-resolve + - IP-CIDR,203.198.80.0/21,no-resolve + # > 实际捕捉 + + # > 暂不准确 + - IP-CIDR,218.102.32.0/19,no-resolve + - IP-CIDR,219.76.0.0/17,no-resolve + - IP-CIDR,23.78.0.0/16,no-resolve + - IP-CIDR,34.192.0.0/16,no-resolve + - IP-CIDR,34.208.0.0/12,no-resolve + - IP-CIDR,34.248.0.0/13,no-resolve + - IP-CIDR,35.160.0.0/13,no-resolve + - IP-CIDR,38.72.126.0/24,no-resolve + - IP-CIDR,37.77.184.0/21,no-resolve + - IP-CIDR,37.77.0.0/16,no-resolve + + \ No newline at end of file From 3a6b81808f6ee3233b323fd48200749d0e0f5d94 Mon Sep 17 00:00:00 2001 From: xuhaoyang Date: Thu, 29 Jul 2021 11:53:07 +0800 Subject: [PATCH 4/4] Netflix Add AS 2906/40027 IP --- Clash/Provider/Media/Netflix.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Clash/Provider/Media/Netflix.yaml b/Clash/Provider/Media/Netflix.yaml index 3aa7d3e..09d6bd2 100644 --- a/Clash/Provider/Media/Netflix.yaml +++ b/Clash/Provider/Media/Netflix.yaml @@ -45,7 +45,6 @@ payload: - IP-CIDR,54.148.37.5/32,no-resolve - IP-CIDR,23.246.0.0/18,no-resolve - # > 实际捕捉 - IP-CIDR,203.75.84.0/24,no-resolve - IP-CIDR,203.83.220.0/22,no-resolve @@ -54,6 +53,19 @@ payload: - IP-CIDR,203.198.80.0/21,no-resolve # > 实际捕捉 + # BGP AS 2906 + - IP-CIDR,31.223.224.0/21,no-resolve + - IP-CIDR,103.148.240.0/24,no-resolve + - IP-CIDR,103.164.7.0/24,no-resolve + - IP-CIDR,159.221.224.0/22,no-resolve + - IP-CIDR,159.221.244.0/22,no-resolve + - IP-CIDR,185.16.228.0/22,no-resolve + - IP-CIDR,185.159.140.0/24,no-resolve + - IP-CIDR,195.47.253.0/24,no-resolve + - IP-CIDR,195.177.72.0/22,no-resolve + # BGP AS 40027 + - IP-CIDR,103.149.180.0/24,no-resolve + # > 暂不准确 - IP-CIDR,218.102.32.0/19,no-resolve - IP-CIDR,219.76.0.0/17,no-resolve