From fe53fb13a9e32b29976118bdc1de4164a798ed55 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Tue, 9 Aug 2022 19:30:01 +0300 Subject: [PATCH] Fix yt3.ggpht.com for nossl list yt3.ggpht.com is proxied to fbtw server only in ssl list, while nossl uses regular nossl proxy. yt3.ggpht.com should present both in special array and in regular list to work properly for nossl list. --- config/exclude-hosts-dist.txt | 1 - scripts/getzones.awk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/exclude-hosts-dist.txt b/config/exclude-hosts-dist.txt index 3127530..26f9297 100644 --- a/config/exclude-hosts-dist.txt +++ b/config/exclude-hosts-dist.txt @@ -40,7 +40,6 @@ amazonaws.com azureedge.net web.app ftcdn.net -ggpht.com bizml.ru ampproject.org r.appspot.com diff --git a/scripts/getzones.awk b/scripts/getzones.awk index 028be31..a4c11d4 100644 --- a/scripts/getzones.awk +++ b/scripts/getzones.awk @@ -17,7 +17,7 @@ {sub(/\.$/, "", $1)} { - if (/\.(ru|co|cu|com|info|net|org|gov|edu|int|mil|biz|pp|ne|msk|spb|nnov|od|in|ho|cc|dn|i|tut|v|dp|sl|ddns|dyndns|livejournal|herokuapp|azurewebsites|cloudfront|ucoz|3dn|nov|linode|sl-reverse|kiev|beget|kirov|akadns|scaleway|fastly|hldns|appspot|my1|hwcdn|deviantart|wixmp|wix|netdna-ssl|brightcove|berlogovo|edgecastcdn|trafficmanager|pximg|github|hopto|u-stream|google|keenetic|eu|googleusercontent|3nx|itch|notion|maryno|vercel|pythonanywhere|force|tilda)\.[^.]+$/) + if (/\.(ru|co|cu|com|info|net|org|gov|edu|int|mil|biz|pp|ne|msk|spb|nnov|od|in|ho|cc|dn|i|tut|v|dp|sl|ddns|dyndns|livejournal|herokuapp|azurewebsites|cloudfront|ucoz|3dn|nov|linode|sl-reverse|kiev|beget|kirov|akadns|scaleway|fastly|hldns|appspot|my1|hwcdn|deviantart|wixmp|wix|netdna-ssl|brightcove|berlogovo|edgecastcdn|trafficmanager|pximg|github|hopto|u-stream|google|keenetic|eu|googleusercontent|3nx|itch|notion|maryno|vercel|pythonanywhere|force|tilda|ggpht)\.[^.]+$/) {$1 = gensub(/(.+)\.([^.]+\.[^.]+\.[^.]+$)/, "\\2", 1)} else {$1 = gensub(/(.+)\.([^.]+\.[^.]+$)/, "\\2", 1)}