├── README.md ├── sing ├── ruleset │ ├── apple.srs │ ├── pcdn.srs │ ├── adguard.srs │ ├── adrules.srs │ ├── reject.srs │ ├── adguard_convert.srs │ ├── geolocation-!cn.srs │ ├── geolocation-cn.srs │ ├── pcdn.json │ ├── apple.json │ └── reject.json ├── sing.pac ├── README.md ├── winsw.xml ├── nftables.d │ └── sing-box.nft └── default.json ├── clash ├── clash.pac ├── README.md ├── winsw.xml ├── provider │ ├── pcdn.yaml │ ├── apple.yaml │ └── reject.yaml └── sample-config.yaml ├── quanx ├── list │ ├── wb_intl.snippet │ ├── bilibili.snippet │ ├── fanqie.snippet │ ├── pcdn.snippet │ ├── apple.snippet │ └── reject.snippet ├── location-with-script.min.js ├── rewrite │ ├── wb_intl.snippet │ ├── bilibili.snippet │ └── fanqie.snippet ├── location-with-script.js └── sample-profile.conf ├── js ├── bili_top.min.js ├── bili_index.min.js ├── bili_splash.min.js ├── bilibili_splash.js ├── bili_high.min.js ├── weibo_timeline.min.js ├── weibo_launch.min.js ├── wps_ad.js ├── ad_networks.js ├── bili_tab.min.js └── bili_mine.min.js ├── oscp.nft ├── go.mod ├── surge ├── module │ ├── bilibili_proto.sgmodule │ ├── ad_base.sgmodule │ ├── weibo_intl_jq.sgmodule │ ├── weibo_intl.sgmodule │ ├── bilibili_jq.sgmodule │ ├── bilibili.sgmodule │ └── fanqie.sgmodule ├── list │ ├── pcdn.list │ ├── apple.list │ └── reject.list └── sample-profile.conf ├── .gitignore ├── go.sum ├── LICENSE ├── .github └── workflows │ └── daily-build.yml ├── dae └── config.dae └── main.go /README.md: -------------------------------------------------------------------------------- 1 | # 简介 2 | 3 | 自用配置 4 | -------------------------------------------------------------------------------- /sing/ruleset/apple.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/apple.srs -------------------------------------------------------------------------------- /sing/ruleset/pcdn.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/pcdn.srs -------------------------------------------------------------------------------- /sing/ruleset/adguard.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/adguard.srs -------------------------------------------------------------------------------- /sing/ruleset/adrules.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/adrules.srs -------------------------------------------------------------------------------- /sing/ruleset/reject.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/reject.srs -------------------------------------------------------------------------------- /sing/sing.pac: -------------------------------------------------------------------------------- 1 | function FindProxyForURL(url, host) { 2 | return "SOCKS5 127.0.0.1:7000"; 3 | } 4 | -------------------------------------------------------------------------------- /clash/clash.pac: -------------------------------------------------------------------------------- 1 | function FindProxyForURL(url, host) { 2 | return "SOCKS5 192.168.1.22:7890"; 3 | } 4 | -------------------------------------------------------------------------------- /quanx/list/wb_intl.snippet: -------------------------------------------------------------------------------- 1 | host, bootpreload.uve.weibo.com, reject 2 | host, adimg.uve.weibo.com, reject 3 | -------------------------------------------------------------------------------- /sing/ruleset/adguard_convert.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/adguard_convert.srs -------------------------------------------------------------------------------- /sing/ruleset/geolocation-!cn.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/geolocation-!cn.srs -------------------------------------------------------------------------------- /sing/ruleset/geolocation-cn.srs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/srk24/profile/HEAD/sing/ruleset/geolocation-cn.srs -------------------------------------------------------------------------------- /js/bili_top.min.js: -------------------------------------------------------------------------------- 1 | function modify(d){return d.data.hash="deprecated",d.data.online.icon="",d}let body=$response.body;body=modify(JSON.parse(body)),$done({body:JSON.stringify(body)}); -------------------------------------------------------------------------------- /quanx/location-with-script.min.js: -------------------------------------------------------------------------------- 1 | if(200!==$response.statusCode){$done(Null)}const obj=JSON.parse($response.body),title=obj.city,subtitle=obj.isp,ip=obj.query,description=ip+"\n"+obj.timezone+"\n"+obj.as;$done({title:title,subtitle:subtitle,ip:ip,description:description}); -------------------------------------------------------------------------------- /oscp.nft: -------------------------------------------------------------------------------- 1 | #!/usr/sbin/nft -f 2 | 3 | table inet dscp { 4 | chain prerouting { 5 | type filter hook prerouting priority raw; policy return; 6 | meta nfproto ipv4 ip dscp 0x04 accept; 7 | meta nfproto ipv6 ip6 dscp 0x04 accept; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module profile 2 | 3 | go 1.24.1 4 | 5 | require gopkg.in/yaml.v3 v3.0.1 6 | 7 | require ( 8 | github.com/kr/text v0.2.0 // indirect 9 | github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect 10 | gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect 11 | ) 12 | -------------------------------------------------------------------------------- /js/bili_index.min.js: -------------------------------------------------------------------------------- 1 | function modify(t){return t.data.items=filter(t.data.items,t=>t.card_type.startsWith("small_cover_v")&&"av"===t.goto),t}function filter(t,o){let e=-1,n=0;const r=null==t?0:t.length,d=[];for(;++e=0&&(a.data.show=[a.data.show[0]],a.data.show[0].stime+=432e3,a.data.show[0].etime+=432e3,a.data.show[0].splash_content=[],a.data.keep_ids=[a.data.show[0].id])}catch(t){a={}}return a}let body=$response.body;body=modify(JSON.parse(body)),$done({body:JSON.stringify(body)}); -------------------------------------------------------------------------------- /js/bilibili_splash.js: -------------------------------------------------------------------------------- 1 | function modify(a){try{a.data.pull_interval+=432e3,a.data.list=[],a.data.show.length>=0&&(a.data.show=[a.data.show[0]],a.data.show[0].stime+=432e3,a.data.show[0].etime+=432e3,a.data.show[0].splash_content=[],a.data.keep_ids=[a.data.show[0].id])}catch(t){a={}}return a}let body=$response.body;body=modify(JSON.parse(body)),$done({body:JSON.stringify(body)}); -------------------------------------------------------------------------------- /js/bili_high.min.js: -------------------------------------------------------------------------------- 1 | function modify(t){return t.data.vip.status&&(t.data.vip.type=2,t.data.vip.status=1,t.data.vip.vip_pay_type=1,t.data.vip.due_date=(new Date).setHours(0,0,0,0)+31536e6,t.data.vip.tv_vip_status=1,t.data.vip.tv_vip_pay_type=1,t.data.vip.tv_due_date=(new Date).setHours(0,0,0,0)/1e3+31536e3),t}let body=$response.body;body=modify(JSON.parse(body)),$done({body:JSON.stringify(body)}); -------------------------------------------------------------------------------- /quanx/list/bilibili.snippet: -------------------------------------------------------------------------------- 1 | ; hw-sh-pcdn-35.biliapi.net 2 | ; hw-gz-live-p2p-06.chat.bilibili.com 3 | ; cn-jsyz-ccc-live-tracker-02.chat.bilibili.com 4 | host, stun.chat.bilibili.com, reject 5 | host, tracker.chat.bilibili.com, reject 6 | host, broadcast.chat.bilibili.com, reject 7 | host-wildcard, *-pcdn-*.biliapi.net, reject 8 | host-wildcard, *-p2p-*.chat.bilibili.com, reject 9 | host-wildcard, *-live-tracker-*.chat.bilibili.com, reject 10 | -------------------------------------------------------------------------------- /quanx/rewrite/wb_intl.snippet: -------------------------------------------------------------------------------- 1 | hostname = api.weibo.cn, api.weibo.com, sdkapp.uve.weibo.com, wbapp.uve.weibo.com 2 | 3 | ^https?:\/\/(sdk|wb)app\.uve\.weibo\.com\/(interface\/sdk\/sdkad\.php|wbapplua\/wbpullad\.lua) url reject-dict 4 | 5 | ^https?:\/\/api\.weibo\.(cn|com)\/2\/((ad\/weibointl)|(statuses\/(friends_timeline|(friends\/timeline)|(extend)))|(profile\/container_timeline)|(searchall)) url script-response-body https://github.com/srk24/profile/raw/master/js/weibo_timeline.min.js 6 | -------------------------------------------------------------------------------- /clash/README.md: -------------------------------------------------------------------------------- 1 | # 文件介绍 2 | 3 | ## 1. winsw.xml 4 | 5 | 目的: 6 | 在Windows下使用winsw后台运行,在启动服务的时候会自动下载mmdb数据库。 7 | 8 | 使用方法: 9 | 10 | 1. 下载winsw,修改名称为“winsw.exe”,放在clash目录中 11 | 2. 将clash-\*.exe放在clash/bin目录下,将配置文件放在clash目录下 12 | 3. 配置环境变量,将winsw所在文件夹添加到PATH后重启 13 | 4. 执行 14 | 15 | ```sh 16 | winsw install 17 | winsw start 18 | ``` 19 | 20 | ## 2. update_dashboard.bat 21 | 22 | 目的:利用git下载、更新clash-dashboard 23 | 24 | 使用方法: 25 | 26 | 1. 将该文件放在clash路径下 27 | 2. 执行该脚本 28 | -------------------------------------------------------------------------------- /surge/module/bilibili_proto.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= Block Bilibili Advertising 2 | #!desc= 去除B站动态广告 3 | #!system=ios 4 | 5 | [Script] 6 | bilibili_dynamic = type=http-response,pattern=^https?:\/\/((app\.bilibili\.com)|(grpc\.biliapi\.net))\/bilibili\.app\.dynamic\.v2\.Dynamic\/(DynAll|DynVideo)$,requires-body=1,binary-body-mode=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bilibili_proto.js,script-update-interval=0 7 | 8 | [MITM] 9 | hostname = %APPEND% app.bilibili.com, *.biliapi.net -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | bin/* 8 | 9 | # Test binary, build with `go test -c` 10 | *.test 11 | 12 | # Output of the go coverage tool, specifically when used with LiteIDE 13 | *.out 14 | 15 | # go mod vendor 16 | vendor 17 | 18 | # IDE 19 | .idea/* 20 | .vscode/* 21 | 22 | # macOS file 23 | .DS_Store 24 | 25 | # test suite 26 | test/config/cache* 27 | 28 | # build file 29 | profile 30 | generator 31 | 32 | tmp/* 33 | -------------------------------------------------------------------------------- /surge/module/ad_base.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= Advertising Base Remove 2 | #!desc= 去除广告 3 | 4 | [URL Rewrite] 5 | 6 | [Script] 7 | ad_networks = type=http-response,pattern=^https:\/\/((api-access\.pangolin-sdk-toutiao|is\.snssdk)\.com\/api\/ad\/union\/sdk\/get_ads|open\.e\.kuaishou\.com\/rest\/e\/v3\/open\/univ$|mi\.gdt\.qq\.com\/gdt_mview\.fcg\?),requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/ad_networks.js 8 | 9 | [MITM] 10 | hostname = %APPEND% api-access.pangolin-sdk-toutiao.com, is.snssdk.com, mi.gdt.qq.com, open.e.kuaishou.com 11 | -------------------------------------------------------------------------------- /sing/README.md: -------------------------------------------------------------------------------- 1 | # 准备工作 2 | 3 | ## openwrt pcocd 4 | 5 | ```bash 6 | mv sing.init /etc/init.d/sing 7 | ``` 8 | 9 | ## download or update to /opt/sing-box 10 | 11 | [Releases Page](https://github.com/SagerNet/sing-box/releases/latest) 12 | 13 | ## 添加 oscp 流量直连 14 | 15 | ```bash 16 | nft add table inet oscp_table 17 | nft add chain inet oscp_table oscp_chain { type filter hook prerouting priority raw \; } 18 | nft add rule inet oscp_table oscp_chain meta l4proto ip ip dscp 0x04 accept 19 | nft add rule inet oscp_table oscp_chain meta l4proto ip6 ip6 dscp 0x04 accept 20 | ``` 21 | -------------------------------------------------------------------------------- /js/weibo_timeline.min.js: -------------------------------------------------------------------------------- 1 | function modify(e){return url.includes("statuses/friends/timeline")||url.includes("statuses/friends_timeline")?(e.advertises=[],e.ad=[]):url.includes("ad/weibointl")?e.data=[]:url.includes("profile/container_timeline")||url.includes("searchall")?e.items=filter(e.items,e=>0===e.data.mblogtype):url.includes("statuses/extend ")&&(e.head_cards=[]),e}function filter(e,t){let s=-1,i=0;const l=null==e?0:e.length,n=[];for(;++s 2 | ClashSvc 3 | Clash Service 4 | Clash daemon, A rule-based proxy in Go. 5 | ./bin/clash-windows-amd64.exe 6 | -d ./bin -f ./config.yaml 7 | 8 | 9 | ./log 10 | Automatic 11 | 12 | 13 | 14 | High 15 | 16 | -------------------------------------------------------------------------------- /js/wps_ad.js: -------------------------------------------------------------------------------- 1 | function modify(e){var i=e.userid;return e={exp:0,level:3,privilege:[{spid:"data_recover",times:0,expire_time:1631619709},{spid:"ocr",times:0,expire_time:1631619709},{spid:"pdf2doc",times:0,expire_time:1631619709},{spid:"pdf_merge",times:0,expire_time:1631619709},{spid:"pdf_sign",times:0,expire_time:1631619709},{spid:"pdf_split",times:0,expire_time:1631619709}],result:"ok",total_buy:0,total_cost:-30,userid:0,vip:{name:"超级会员",has_ad:0,memberid:40,expire_time:1631619709,enabled:[{memberid:40,name:"超级会员",expire_time:1631619709},{memberid:20,name:"WPS会员",expire_time:1631619709},{memberid:12,name:"稻壳会员",expire_time:1631619709}]},wealth:0,expire_time:1631619709},e.userid=i,e}let body=$response.body;body=JSON.stringify(modify(JSON.parse(body)));$done({body:body}); -------------------------------------------------------------------------------- /surge/list/pcdn.list: -------------------------------------------------------------------------------- 1 | p2p.huya.com 2 | p2p.qq.com 3 | p2ptun.qq.com 4 | p2pupdate.gamedl.qq.com 5 | p2pupgrade.gamedl.qq.com 6 | pcdn.yximgs.com 7 | stun.hitv.com 8 | .bsccdn.net 9 | .gjfzpt.cn 10 | .jomodns.cn 11 | .kuiniuca.com 12 | .pkoplink.com 13 | .saxysec.com 14 | .szbdyd.com 15 | .uhabo.com 16 | .xycdn.com 17 | .mcdn.bilivideo.cn 18 | .onethingpcs.com 19 | .pcdn.xmcdn.com 20 | .tpa-hcdn.iqiyi.com 21 | .stun.douyucdn.cn 22 | .stun1.douyucdn.cn 23 | .dyp2p-ali.douyucdn.cn 24 | .dyp2p-hw.douyucdn.cn 25 | .p2p-ali.douyucdn.cn 26 | .p2pchunk-hw.douyucdn.cn 27 | .p2pchunk-table.douyucdn.cn 28 | .p2pchunk-ws.douyucdn.cn 29 | .p2perrorlog.douyucdn.cn 30 | .p2plive-ali.douyucdn.cn 31 | .p2plive-ws.douyucdn.cn 32 | .p2plog.douyucdn.cn 33 | .p2pvod-ws.douyucdn.cn 34 | -------------------------------------------------------------------------------- /sing/winsw.xml: -------------------------------------------------------------------------------- 1 | 2 | sing-box-svc 3 | Sing-box Service 4 | The service runs sing-box continuous integration system. 5 | ./sing-box.exe 6 | run -D ./ -C ./config --disable-color 7 | run 8 | 9 | ./log 10 | Automatic 11 | 12 | 13 | 14 | High 15 | 16 | ./sing-outbound-parser.exe 17 | -c ./sing-outbound-parser-config.json 18 | 19 | -------------------------------------------------------------------------------- /clash/provider/pcdn.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - p2p.huya.com 3 | - p2p.qq.com 4 | - p2ptun.qq.com 5 | - p2pupdate.gamedl.qq.com 6 | - p2pupgrade.gamedl.qq.com 7 | - pcdn.yximgs.com 8 | - stun.hitv.com 9 | - .bsccdn.net 10 | - .gjfzpt.cn 11 | - .jomodns.cn 12 | - .kuiniuca.com 13 | - .pkoplink.com 14 | - .saxysec.com 15 | - .szbdyd.com 16 | - .uhabo.com 17 | - .xycdn.com 18 | - .mcdn.bilivideo.cn 19 | - .onethingpcs.com 20 | - .pcdn.xmcdn.com 21 | - .tpa-hcdn.iqiyi.com 22 | - .stun.douyucdn.cn 23 | - .stun1.douyucdn.cn 24 | - .dyp2p-ali.douyucdn.cn 25 | - .dyp2p-hw.douyucdn.cn 26 | - .p2p-ali.douyucdn.cn 27 | - .p2pchunk-hw.douyucdn.cn 28 | - .p2pchunk-table.douyucdn.cn 29 | - .p2pchunk-ws.douyucdn.cn 30 | - .p2perrorlog.douyucdn.cn 31 | - .p2plive-ali.douyucdn.cn 32 | - .p2plive-ws.douyucdn.cn 33 | - .p2plog.douyucdn.cn 34 | - .p2pvod-ws.douyucdn.cn 35 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= 2 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 3 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 4 | github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= 5 | github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= 6 | github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= 7 | github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= 8 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 9 | gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= 10 | gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 11 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 12 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 13 | -------------------------------------------------------------------------------- /js/ad_networks.js: -------------------------------------------------------------------------------- 1 | function modify(o,e,s){const n="GET",t="POST",d="广告联盟";return o.includes("feed/index")&&((o.includes("api-access.pangolin-sdk-toutiao.com/api/ad/union/sdk")||o.includes("is.snssdk.com/api/ad/union/sdk"))&&e===t?(console.log("穿山甲-get_ads"),s.message?(console.log(Object.keys(s)),s={request_id:"F5617E54-3FF4-4052-9B09-4227D09B5105",status_code:20001,reason:112,desc:"该代码位请求量过大且消耗过低,因此填充率控制在10%以内,该策略每日生效,如果当天该代码位的消耗上涨或请求量小于5000,则次日不会命中该策略"},console.log("成功")):(console.log(`body:${$response.body}`),"status_code"in s?console.log("广告为空"):$notification.post(d,"穿山甲","message/status_code字段错误"))):o.includes("mi.gdt.qq.com")&&e===n?(console.log("优量汇"),"ret"in s?0===s.ret?(s.ret=102006,console.log("修改ret成功")):console.log("ret不为0,不处理"):(console.log(`body:${$response.body}`),$notification.post(d,"优量汇","无ret"))):o.includes("open.e.kuaishou.com")&&e===t?(console.log("快手联盟"),1===s.result?(s.result=40003,console.log("修改result成功")):console.log("无需修改result")):$notification.post(d,"路径/请求方法匹配错误:",e+","+o)),s}const url=$request.url,method=$request.method;let body=$response.body;body||$done({}),body=JSON.stringify(modify(url,method,JSON.parse(body)));$done({body:body}); -------------------------------------------------------------------------------- /surge/module/weibo_intl_jq.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Weibo.Intl 配置 2 | #!desc=删除微博国际版广告 3 | #!system=ios 4 | 5 | [Rule] 6 | DOMAIN,adimg.uve.weibo.com,REJECT,pre-matching 7 | 8 | [Body Rewrite] 9 | http-response-jq ^https?:\/\/weibointl\.api\.weibo\.c(n|om)\/portal\.php.* '.data.display_ad = 1' 10 | http-response-jq ^https?:\/\/boot.*weibo\.com\/v\d\/ad\/preload '.ads[] |= (.start_time += 864000 | .end_time += 864000 | .display_duration = 0 | .daily_display_cnt = 0 | .total_display_cnt = 0)' 11 | http-response-jq ^https?:\/\/api\.weibo\.(cn|com)\/2\/(profile\/container_timeline|searchall) 'del(.items[] | select(.data.mblogtype != 0))' 12 | http-response-jq ^https?:\/\/api\.weibo\.(cn|com)\/2\/statuses\/(friends_timeline|(friends\/timeline)) '.ad = [] | .advertises = [] | .ad_version_2_weibo = []' 13 | http-response-jq ^https?:\/\/api\.weibo\.(cn|com)\/2\/ad\/weibointl '.data = []' 14 | http-response-jq ^https?:\/\/api\.weibo\.(cn|com)\/2\/statuses\/extend '.head_cards = []' 15 | http-response-jq ^https?:\/\/boot.*weibo\.com\/v\d\/ad\/realtime '. = {}' 16 | 17 | [MITM] 18 | hostname = %APPEND% api.weibo.cn, api.weibo.com, boot.biz.weibo.com, *.uve.weibo.com 19 | -------------------------------------------------------------------------------- /sing/nftables.d/sing-box.nft: -------------------------------------------------------------------------------- 1 | #!/usr/sbin/nft -f 2 | 3 | include "/etc/nftables.d/cn-list.nft" 4 | 5 | table inet sing_box_transparent_proxy { 6 | chain prerouting { 7 | type filter hook prerouting priority mangle; policy accept; 8 | 9 | # Skip already marked traffic 10 | meta mark 0x2024 accept 11 | 12 | # Skip traffic with specific DSCP value 13 | ip dscp 0x04 accept 14 | ip6 dscp 0x04 accept 15 | 16 | # Apply redirects to sing 17 | meta l4proto udp tproxy to 127.0.0.1:6153 18 | meta l4proto tcp redirect to 127.0.0.1:6152 19 | } 20 | 21 | chain output { 22 | type filter hook output priority mangle; policy accept; 23 | 24 | # skip user=sing-box 25 | skuid sing-box accept 26 | 27 | # Skip already marked traffic 28 | meta mark 0x2024 accept 29 | 30 | # Skip traffic with specific DSCP value 31 | ip dscp 0x04 accept 32 | ip6 dscp 0x04 accept 33 | 34 | # Apply redirects to sing 35 | meta l4proto udp tproxy to 127.0.0.1:6153 36 | meta l4proto tcp redirect to 127.0.0.1:6152 37 | } 38 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Wayne 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /surge/module/weibo_intl.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Weibo.Intl 配置 2 | #!desc=删除微博国际版广告 3 | #!system=ios 4 | 5 | [Rule] 6 | DOMAIN,bootpreload.uve.weibo.com,REJECT-TINYGIF 7 | DOMAIN,adimg.uve.weibo.com,REJECT-TINYGIF 8 | 9 | [Map Local] 10 | ^https?:\/\/boot.*weibo\.com\/v\d\/ad\/realtime data-type=text data="{}" 11 | 12 | [Script] 13 | weibo_portal = type=http-response,pattern=^https?:\/\/weibointl\.api\.weibo\.c(n|om)\/portal\.php.*get_coopen_ads,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/weibo_json.js 14 | weibo_preload = type=http-response,pattern=^https?:\/\/boot.*weibo\.com\/v\d\/ad\/preload,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/weibo_json.js 15 | weibo_timeline = type=http-response,pattern=^https?:\/\/api\.weibo\.(cn|com)\/2\/((ad\/weibointl)|(statuses\/(friends_timeline|(friends\/timeline)|(extend)))|(profile\/container_timeline)|(searchall)),requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/weibo_timeline.min.js,script-update-interval=0 16 | 17 | [MITM] 18 | hostname = %APPEND% api.weibo.cn, api.weibo.com, boot.biz.weibo.com, *.uve.weibo.com 19 | -------------------------------------------------------------------------------- /quanx/list/fanqie.snippet: -------------------------------------------------------------------------------- 1 | ; 番茄小说广告,version = 3.0 @zqzess 2 | host, p6-ad-sign.byteimg.com, reject 3 | host, p9-ad-sign.byteimg.com, reject 4 | host, i.snssdk.com, reject 5 | host, i-lq.snssdk.com, reject 6 | host, dig.bdurl.net, reject 7 | host-suffix, zijieapi.com, reject 8 | host, activity-ag.awemeughun.com, reject 9 | host, mcs.snssdk.com, reject 10 | host, tnc3-alisc1.snssdk.com, reject 11 | host, security-lq.snssdk.com, reject 12 | host, tnc3-aliec2.snssdk.com, reject 13 | host, is.snssdk.com, reject 14 | host, msync-im1-vip6-std.easemob.com, reject 15 | host, apd-pcdnwxlogin.teg.tencent-cloud.net, reject 16 | host, api.iegadp.qq.com, reject 17 | host, sf3-ttcdn-tos.pstatp.com, reject 18 | host-suffix, pglstatp-toutiao.com, reject 19 | host, *default.ixigua.com, reject 20 | host, v6-novelapp.ixigua.com, reject 21 | host, *novelapp.ixigua.com, reject 22 | host-suffix, byteorge.com, reject 23 | host-suffix, bytegoofy.com, reject 24 | host-suffix, bytedance.com, reject 25 | ip-cidr, 49.71.37.101/32, reject 26 | ip-cidr, 117.71.105.23/32, reject 27 | ip-cidr, 218.94.207.205/32, reject 28 | ip-cidr, 117.92.229.188/32, reject 29 | ip-cidr, 101.36.166.16/32, reject 30 | ip-cidr, 180.96.2.114/32, reject -------------------------------------------------------------------------------- /quanx/rewrite/bilibili.snippet: -------------------------------------------------------------------------------- 1 | hostname = app.bili*.com, app.bili*.net, api.bili*.com, api.bili*.net, grpc.bili*.com, grpc.bili*.net, api.vc.bilibili.com 2 | 3 | ^https?:\/\/(?:api|app|grpc)\.bili[^.]*\.(?:com|net).+\.Search\/DefaultWords$ url reject 4 | ^https?:\/\/(?:api|app|grpc)\.bili[^.]*\.(?:com|net).+\/search\/(defaultwords|square) url reject 5 | 6 | ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/pgc\/season\/app\/related\/recommend\? url reject-dict 7 | ^https?:\/\/api\.vc\.bilibili\.com\/topic_svr\/v\d\/topic_svr url reject-dict 8 | ^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v\d\/dynamic_svr\/mix_uplist url reject-dict 9 | 10 | ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/feed\/index\? url script-response-body https://github.com/srk24/profile/raw/master/js/bili_index.min.js 11 | ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/splash\/(show|list) url script-response-body https://github.com/srk24/profile/raw/master/js/bili_splash.min.js 12 | ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/account\/mine\? url script-response-body https://github.com/srk24/profile/raw/master/js/bili_mine.min.js 13 | ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/resource\/show\/tab\/v2\? url script-response-body https://github.com/srk24/profile/raw/master/js/bili_tab.min.js 14 | -------------------------------------------------------------------------------- /.github/workflows/daily-build.yml: -------------------------------------------------------------------------------- 1 | name: Daily Build 2 | 3 | on: 4 | schedule: 5 | - cron: '0 21 * * *' 6 | push: 7 | branches: 8 | - master 9 | 10 | jobs: 11 | build: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | 17 | - name: Setup Go 18 | uses: actions/setup-go@v5 19 | with: 20 | go-version: '1.24' 21 | 22 | - name: Set Timezone 23 | run: sudo timedatectl set-timezone Asia/Shanghai 24 | 25 | - name: Install Sing-Box 26 | run: | 27 | bash <(curl -fsSL https://sing-box.app/deb-install.sh) 28 | 29 | - name: Generate Rule file 30 | run: | 31 | sing-box version 32 | go run main.go 33 | 34 | - name: Set env variables 35 | run: echo "GEN_MSG=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV 36 | shell: bash 37 | 38 | - name: Commit & Push 39 | run: | 40 | git init 41 | git config user.name "github-actions[bot]" 42 | git config user.email "github-actions[bot]@users.noreply.github.com" 43 | if [ -n "$(git status -s)" ]; then 44 | git add . 45 | git commit -am "${{ env.GEN_MSG }}" 46 | git push -f -u origin master 47 | fi 48 | -------------------------------------------------------------------------------- /quanx/list/pcdn.snippet: -------------------------------------------------------------------------------- 1 | host, p2p.huya.com, direct 2 | host, p2p.qq.com, direct 3 | host, p2ptun.qq.com, direct 4 | host, p2pupdate.gamedl.qq.com, direct 5 | host, p2pupgrade.gamedl.qq.com, direct 6 | host, pcdn.yximgs.com, direct 7 | host, stun.hitv.com, direct 8 | host-suffix, bsccdn.net, direct 9 | host-suffix, gjfzpt.cn, direct 10 | host-suffix, jomodns.cn, direct 11 | host-suffix, kuiniuca.com, direct 12 | host-suffix, pkoplink.com, direct 13 | host-suffix, saxysec.com, direct 14 | host-suffix, szbdyd.com, direct 15 | host-suffix, uhabo.com, direct 16 | host-suffix, xycdn.com, direct 17 | host-suffix, mcdn.bilivideo.cn, direct 18 | host-suffix, onethingpcs.com, direct 19 | host-suffix, pcdn.xmcdn.com, direct 20 | host-suffix, tpa-hcdn.iqiyi.com, direct 21 | host-suffix, stun.douyucdn.cn, direct 22 | host-suffix, stun1.douyucdn.cn, direct 23 | host-suffix, dyp2p-ali.douyucdn.cn, direct 24 | host-suffix, dyp2p-hw.douyucdn.cn, direct 25 | host-suffix, p2p-ali.douyucdn.cn, direct 26 | host-suffix, p2pchunk-hw.douyucdn.cn, direct 27 | host-suffix, p2pchunk-table.douyucdn.cn, direct 28 | host-suffix, p2pchunk-ws.douyucdn.cn, direct 29 | host-suffix, p2perrorlog.douyucdn.cn, direct 30 | host-suffix, p2plive-ali.douyucdn.cn, direct 31 | host-suffix, p2plive-ws.douyucdn.cn, direct 32 | host-suffix, p2plog.douyucdn.cn, direct 33 | host-suffix, p2pvod-ws.douyucdn.cn, direct 34 | -------------------------------------------------------------------------------- /sing/ruleset/pcdn.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "rules": [ 4 | { 5 | "domain": [ 6 | "p2p.huya.com", 7 | "p2p.qq.com", 8 | "p2ptun.qq.com", 9 | "p2pupdate.gamedl.qq.com", 10 | "p2pupgrade.gamedl.qq.com", 11 | "pcdn.yximgs.com", 12 | "stun.hitv.com" 13 | ], 14 | "domain_suffix": [ 15 | "bsccdn.net", 16 | "gjfzpt.cn", 17 | "jomodns.cn", 18 | "kuiniuca.com", 19 | "pkoplink.com", 20 | "saxysec.com", 21 | "szbdyd.com", 22 | "uhabo.com", 23 | "xycdn.com", 24 | "mcdn.bilivideo.cn", 25 | "onethingpcs.com", 26 | "pcdn.xmcdn.com", 27 | "tpa-hcdn.iqiyi.com", 28 | "stun.douyucdn.cn", 29 | "stun1.douyucdn.cn", 30 | "dyp2p-ali.douyucdn.cn", 31 | "dyp2p-hw.douyucdn.cn", 32 | "p2p-ali.douyucdn.cn", 33 | "p2pchunk-hw.douyucdn.cn", 34 | "p2pchunk-table.douyucdn.cn", 35 | "p2pchunk-ws.douyucdn.cn", 36 | "p2perrorlog.douyucdn.cn", 37 | "p2plive-ali.douyucdn.cn", 38 | "p2plive-ws.douyucdn.cn", 39 | "p2plog.douyucdn.cn", 40 | "p2pvod-ws.douyucdn.cn" 41 | ], 42 | "domain_regex": [ 43 | ".*pcdn.*biliapi.net", 44 | ".*pcdn.*youku.com", 45 | ".*p2p.*qq.com" 46 | ] 47 | } 48 | ] 49 | } -------------------------------------------------------------------------------- /dae/config.dae: -------------------------------------------------------------------------------- 1 | # config see more at https://github.com/daeuniverse/dae/blob/main/example.dae 2 | # dscp see more at https://github.com/daeuniverse/dae/discussions/295 3 | 4 | global { 5 | log_level: info 6 | dial_mode: domain 7 | disable_waiting_network: false 8 | wan_interface: auto 9 | lan_interface: br-lan 10 | tcp_check_url: 'http://cp.cloudflare.com' 11 | udp_check_dns: '8.8.8.8' 12 | check_interval: 30s 13 | check_tolerance: 10ms 14 | sniffing_timeout: 30ms 15 | } 16 | 17 | dns { 18 | ipversion_prefer: 4 19 | upstream { 20 | localdns: 'udp://223.5.5.5:53' 21 | remotedns: 'tcp+udp://8.8.8.8:53' 22 | } 23 | routing { 24 | request { 25 | qname(geosite:cn) -> localdns 26 | qname(suffix:steamserver.net) -> localdns 27 | qname(suffix:steamcontent.com) -> localdns 28 | qname(geosite:geolocation-!cn) -> remotedns 29 | fallback: localdns 30 | } 31 | } 32 | } 33 | 34 | routing { 35 | pname(NetworkManager, systemd-resolved, dnsmasq) -> must_direct 36 | dscp(0x4) -> direct 37 | domain(geosite:cn) -> direct 38 | domain(suffix:steamserver.net) -> direct 39 | domain(suffix:steamcontent.com) -> direct 40 | domain(geosite:geolocation-!cn) -> direct 41 | dip(geoip:cn) -> direct 42 | dip(geoip:private) -> direct 43 | fallback: proxy 44 | } 45 | 46 | node { 47 | socks5: 'socks5://127.0.0.1:7000' 48 | } 49 | 50 | group { 51 | proxy { 52 | policy: min_moving_avg 53 | } 54 | } -------------------------------------------------------------------------------- /js/bili_tab.min.js: -------------------------------------------------------------------------------- 1 | function modify(i){return i.data.tab=[{id:2036,name:"直播",uri:"bilibili://live/home",tab_id:"直播tab",pos:1},{id:2037,name:"推荐",uri:"bilibili://pegasus/promo",tab_id:"推荐tab",pos:2,default_selected:1},{id:780,name:"热门",uri:"bilibili://pegasus/hottopic",tab_id:"hottopic",pos:3},{id:545,name:"追番",uri:"bilibili://pgc/home",tab_id:"bangumi",pos:4},{id:151,name:"影视",uri:"bilibili://pgc/cinema-tab",tab_id:"film",pos:5}],i.data.top=[{id:176,icon:"http://i0.hdslb.com/bfs/archive/d43047538e72c9ed8fd8e4e34415fbe3a4f632cb.png",name:"消息",uri:"bilibili://link/im_home",tab_id:"消息Top",pos:2}],i.data.bottom=[{id:177,icon:"http://i0.hdslb.com/bfs/archive/63d7ee88d471786c1af45af86e8cb7f607edf91b.png",icon_selected:"http://i0.hdslb.com/bfs/archive/e5106aa688dc729e7f0eafcbb80317feb54a43bd.png",name:"首页",uri:"bilibili://main/home/",tab_id:"home",pos:1},{id:179,icon:"http://i0.hdslb.com/bfs/archive/86dfbe5fa32f11a8588b9ae0fccb77d3c27cedf6.png",icon_selected:"http://i0.hdslb.com/bfs/archive/25b658e1f6b6da57eecba328556101dbdcb4b53f.png",name:"动态",uri:"bilibili://following/home/",tab_id:"dynamic",pos:2},{id:2757,icon:"https://i0.hdslb.com/bfs/legacy/c811e52cdf289d2a62efbd252bc18248d9a4a60e.png",icon_selected:"https://i0.hdslb.com/bfs/legacy/9bb2057bb4076cdd1ae83af30a6d7a13c63a0c30.png",name:"会员购",uri:"bilibili://mall/home",tab_id:"会员购Bottom",pos:3},{id:181,icon:"http://i0.hdslb.com/bfs/archive/4b0b2c49ffeb4f0c2e6a4cceebeef0aab1c53fe1.png",icon_selected:"http://i0.hdslb.com/bfs/archive/a54a8009116cb896e64ef14dcf50e5cade401e00.png",name:"我的",uri:"bilibili://user_center/",tab_id:"我的Bottom",pos:4}],i}let body=$response.body;body=modify(JSON.parse(body)),$done({body:JSON.stringify(body)}); -------------------------------------------------------------------------------- /js/bili_mine.min.js: -------------------------------------------------------------------------------- 1 | function modify(i){return i.data.sections_v2=[{items:[{id:396,title:"离线缓存",uri:"bilibili://user_center/download",icon:"http://i0.hdslb.com/bfs/archive/5fc84565ab73e716d20cd2f65e0e1de9495d56f8.png"},{id:397,title:"历史记录",uri:"bilibili://user_center/history",icon:"http://i0.hdslb.com/bfs/archive/8385323c6acde52e9cd52514ae13c8b9481c1a16.png"},{id:398,title:"我的收藏",uri:"bilibili://user_center/favourite",icon:"http://i0.hdslb.com/bfs/archive/d79b19d983067a1b91614e830a7100c05204a821.png"},{id:2830,title:"稍后再看",uri:"bilibili://user_center/watch_later_v2",icon:"http://i0.hdslb.com/bfs/archive/63bb768caa02a68cb566a838f6f2415f0d1d02d6.png",need_login:1},{id:400,title:"我的课程",uri:"https://m.bilibili.com/cheese/mine?navhide=1&native.theme=1&night=0&spm_id_from=main.my-information.0.0.pv&csource=Me_myclass",icon:"http://i0.hdslb.com/bfs/archive/aa3a13c287e4d54a62b75917dd9970a3cde472e1.png",need_login:1},{id:404,title:"我的钱包",uri:"bilibili://bilipay/mine_wallet",icon:"http://i0.hdslb.com/bfs/archive/f416634e361824e74a855332b6ff14e2e7c2e082.png",need_login:1},{id:406,title:"我的直播",uri:"bilibili://user_center/live_center",icon:"http://i0.hdslb.com/bfs/archive/1db5791746a0112890b77a0236baf263d71ecb27.png",need_login:1},{id:1559,title:"充电",uri:"https://www.bilibili.com/h5/upower/order?mid=27515255&navhide=1",icon:"http://i0.hdslb.com/bfs/legacy/1388659942fb26ffe42c93de34e2d21b78a991ee.png",need_login:1}],style:1,button:{}},{items:[{id:410,title:"设置",icon:"http://i0.hdslb.com/bfs/archive/e932404f2ee62e075a772920019e9fbdb4b5656a.png",uri:"bilibili://user_center/setting"}],style:2,button:{}}],i}let body=$response.body;body=modify(JSON.parse(body)),$done({body:JSON.stringify(body)}); -------------------------------------------------------------------------------- /quanx/rewrite/fanqie.snippet: -------------------------------------------------------------------------------- 1 | ; 番茄小说,version = 3.0 @zqzess 2 | 3 | ; 番茄小说去章末广告 4 | ^https?:\/\/.+\.pangolin-sdk-toutiao\.com\/api\/ad\/union\/sdk\/(get_ads|stats|settings)\/ url reject 5 | ^https?:\/\/.+\.pglstatp-toutiao\.com\/.+\/toutiao\.mp4 url reject 6 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(obj|img)\/(ad-app-package|ad)\/.+ url reject 7 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(obj|img)\/web\.business\.image\/.+ url reject 8 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/obj\/ad-pattern\/renderer url reject 9 | ^https?:\/\/gurd\.snssdk\.com\/src\/server\/v3\/package url reject 10 | ^https?:\/\/.+\.byteimg.com/tos-cn-i-1yzifmftcy\/(.+)-jpeg\.jpeg url reject 11 | ^https?:\/\/.+\.pstatp\.com\/obj\/mosaic-legacy\/.+\?from\=ad url reject 12 | ^https?:\/\/.+\.pstatp\.com\/bytecom\/resource\/track_log\/src\/.+ url reject 13 | ^https?:\/\/.+\.snssdk\.com\/video\/play\/1\/toutiao\/.+\/mp4 url reject 14 | ^https?:\/\/.+\.snssdk.com\/api\/ad\/.+ url reject 15 | ^http:\/\/.+\.byteimg\.com\/ad-app-package url reject 16 | ^http:\/\/.+\.byteimg\.com\/web\.business\.image url reject 17 | # .+web\.business\.image url reject 18 | 19 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(ad-app-package|ad)\/.+ url reject 20 | ^https?:\/\/adim\.pinduoduo\.com\/.+\/toutiao\?.+ url reject 21 | ^https?:\/\/.+novelapp\.fqnovelvod\.com\/.+\/video\/.+ url reject 22 | ^http:\/\/.+\.douyincdn\.com\/stage\/.+\.flv url reject 23 | 24 | hostname = *.pangolin-sdk-toutiao,*.pangolin-sdk-toutiao.*,*.pstatp.com,*.pstatp.com.*,*.pglstatp-toutiao.com.*,*.pglstatp-toutiao.com,gurd.snssdk.com,gurd.snssdk.com.*,*default.ixigua.com,adim.pinduoduo.com,v6-novelapp.fqnovelvod.com -------------------------------------------------------------------------------- /surge/sample-profile.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | internet-test-url = http://taobao.com 3 | proxy-test-url = http://cp.cloudflare.com 4 | ipv6 = true 5 | ipv6-vif = auto 6 | allow-wifi-access = false 7 | allow-hotspot-access = false 8 | skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local 9 | exclude-simple-hostnames = true 10 | read-etc-hosts = true 11 | dns-server = 119.29.29.29, 223.5.5.5 12 | # encrypted-dns-server = h3://223.5.5.5/dns-query 13 | loglevel = warning 14 | show-error-page-for-reject = true 15 | udp-policy-not-supported-behaviour = DIRECT 16 | # always-real-ip = *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.logon.battlenet.com.cn, *.logon.battle.net, stun.l.google.com 17 | # force-http-engine-hosts = *.ott.cibntv.net, 123.59.31.1,119.18.193.135, 122.14.246.33, 175.102.178.52, 116.253.24.*, 175.6.26.*, 220.169.153.* 18 | 19 | [Replica] 20 | hide-apple-request = 1 21 | hide-crash-reporter-request = 1 22 | hide-udp = 0 23 | keyword-filter-type = none 24 | 25 | [Proxy Group] 26 | PROXY = select, 27 | 28 | [Rule] 29 | DOMAIN-SET,https://github.com/srk24/profile/raw/master/surge/list/reject.list,REJECT 30 | RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/blocked.list,PROXY 31 | RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/cn.list,DIRECT 32 | DOMAIN-SUFFIX,ls.apple.com,DIRECT 33 | DOMAIN-SUFFIX,store.apple.com,DIRECT 34 | RULE-SET,SYSTEM,PROXY 35 | RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/apple.list,PROXY 36 | RULE-SET,LAN,DIRECT 37 | GEOIP,CN,DIRECT 38 | FINAL,PROXY,dns-failed 39 | 40 | [URL Rewrite] 41 | ^https?:\/\/www\.google\.cn https://www.google.com 302 42 | 43 | [MITM] 44 | skip-server-cert-verify = true 45 | h2 = true 46 | hostname = www.google.cn 47 | -------------------------------------------------------------------------------- /surge/module/bilibili_jq.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= Block Bilibili Advertising 2 | #!desc= 去除B站客户端广告,调整其UI 3 | #!system=ios 4 | 5 | [Rule] 6 | AND,((OR,((DOMAIN-KEYWORD,pcdn), (DOMAIN-KEYWORD,stun), (DOMAIN-KEYWORD,tracker), (DOMAIN-KEYWORD,broadcast), (DOMAIN-KEYWORD,p2p))), (OR,((DOMAIN-KEYWORD,biliapi), (DOMAIN-KEYWORD,bilibili)))),REJECT,pre-matching 7 | 8 | [URL Rewrite] 9 | ^https?:\/\/(?:api|app|grpc)\.bili[^.]*\.(?:com|net).+\.Search\/DefaultWords$ - reject 10 | ^https?:\/\/(?:api|app|grpc)\.bili[^.]*\.(?:com|net).+\/search\/(defaultwords|square) - reject 11 | 12 | [Body Rewrite] 13 | http-response-jq ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/feed\/index\? 'del(.data.items[] | select(.card_type[:13] != "small_cover_v" or .goto != "av"))' 14 | http-response-jq ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/splash\/(show|list) '.data.list = [] | .data.pull_interval += 432000 | .data.show = [.data.show[0] | .splash_content = [] | .stime += 432000 | .etime += 432000] | .data.keep_ids = [.data.show[0].id]' 15 | http-response-jq ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/pgc\/season\/app\/related\/recommend\? '. = {}' 16 | http-response-jq ^https?:\/\/api\.vc\.bilibili\.com\/topic_svr\/v\d\/topic_svr '. = {}' 17 | http-response-jq ^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v\d\/dynamic_svr\/mix_uplist '. = {}' 18 | 19 | [Script] 20 | bili_mine = type=http-response,pattern=^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/account\/mine\?,requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bili_mine.min.js,script-update-interval=0 21 | bili_tab = type=http-response, pattern=^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/resource\/show\/tab\/v2\?,requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bili_tab.min.js,script-update-interval=0 22 | 23 | [MITM] 24 | hostname = %APPEND% app.bili*.com, app.bili*.net, api.bili*.com, api.bili*.net, grpc.bili*.com, grpc.bili*.net, api.vc.bilibili.com 25 | -------------------------------------------------------------------------------- /surge/module/bilibili.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= Block Bilibili Advertising 2 | #!desc= 去除B站客户端广告,调整其UI 3 | #!system=ios 4 | 5 | [Rule] 6 | AND,((OR,((DOMAIN-KEYWORD,pcdn), (DOMAIN-KEYWORD,stun), (DOMAIN-KEYWORD,tracker), (DOMAIN-KEYWORD,broadcast), (DOMAIN-KEYWORD,p2p))), (OR,((DOMAIN-KEYWORD,biliapi), (DOMAIN-KEYWORD,bilibili)))),REJECT-DROP 7 | 8 | [URL Rewrite] 9 | ^https?:\/\/(?:api|app|grpc)\.bili[^.]*\.(?:com|net).+\.Search\/DefaultWords$ - reject 10 | ^https?:\/\/(?:api|app|grpc)\.bili[^.]*\.(?:com|net).+\/search\/(defaultwords|square) - reject 11 | 12 | [Map Local] 13 | ^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/pgc\/season\/app\/related\/recommend\? data-type=text data="{}" 14 | ^https?:\/\/api\.vc\.bilibili\.com\/topic_svr\/v\d\/topic_svr data-type=text data="{}" 15 | ^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v\d\/dynamic_svr\/mix_uplist data-type=text data="{}" 16 | 17 | [Script] 18 | bili_index = type=http-response,pattern=^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/feed\/index\?,requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bili_index.min.js,script-update-interval=0 19 | bili_splash = type=http-response,pattern=^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/splash\/(show|list),requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bili_splash.min.js,script-update-interval=0 20 | bili_mine = type=http-response,pattern=^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/v2\/account\/mine\?,requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bili_mine.min.js,script-update-interval=0 21 | bili_tab = type=http-response, pattern=^https?:\/\/(?:api|app)\.bili[^.]*\.(?:com|net)\/x\/resource\/show\/tab\/v2\?,requires-body=1,max-size=0,script-path=https://github.com/srk24/profile/raw/master/js/bili_tab.min.js,script-update-interval=0 22 | 23 | [MITM] 24 | hostname = %APPEND% app.bili*.com, app.bili*.net, api.bili*.com, api.bili*.net, grpc.bili*.com, grpc.bili*.net, api.vc.bilibili.com 25 | -------------------------------------------------------------------------------- /quanx/sample-profile.conf: -------------------------------------------------------------------------------- 1 | [general] 2 | geo_location_checker=http://ip-api.com/json/?fields=11024,https://github.com/srk24/profile/raw/master/quanx/location-with-script.min.js 3 | dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com 4 | excluded_routes=239.255.255.250/32, 24.105.30.129/32, 185.60.112.157/32, 185.60.112.158/32, 182.162.132.1/32 5 | ;udp_whitelist=53, 123, 1900, 80-443 6 | fallback_udp_policy=direct 7 | server_check_url=http://cp.cloudflare.com 8 | 9 | [dns] 10 | ;no-system 11 | ;prefer-doh3 12 | server=119.29.29.29 13 | server=223.5.5.5 14 | ;doh-server=https://223.5.5.5/dns-query 15 | ;doh-server=https://i.passcloud.xyz/dns-query 16 | 17 | [policy] 18 | ;static=CHOOSE, proxy, HK, JP, US, img-url=pencil.and.outline.system 19 | ;url-latency-benchmark=HK, server-tag-regex=港, check-interval=600, tolerance=0, alive-checking=false, img-url=paperplane.system 20 | ;url-latency-benchmark=JP, server-tag-regex=日, check-interval=600, tolerance=0, alive-checking=false, img-url=paperplane.system 21 | ;url-latency-benchmark=US, server-tag-regex=美, check-interval=600, tolerance=0, alive-checking=false, img-url=paperplane.system 22 | 23 | [server_remote] 24 | 25 | [filter_remote] 26 | https://github.com/srk24/profile/raw/master/quanx/list/reject.snippet, tag=reject, update-interval=172800, opt-parser=false, inserted-resource=true, enabled=true 27 | https://github.com/srk24/profile/raw/master/quanx/list/proxy.snippet, tag=proxy, update-interval=172800, opt-parser=false, inserted-resource=true, enabled=true 28 | https://github.com/srk24/profile/raw/master/quanx/list/cn.snippet, tag=direct, update-interval=172800, opt-parser=false, inserted-resource=true, enabled=true 29 | https://github.com/srk24/profile/raw/master/quanx/list/apple.snippet, tag=apple, update-interval=172800, opt-parser=false, inserted-resource=true, enabled=true 30 | https://github.com/srk24/profile/raw/master/quanx/list/lan.snippet, tag=lan, update-interval=172800, opt-parser=false, inserted-resource=true, enabled=true 31 | 32 | [rewrite_remote] 33 | https://github.com/srk24/profile/raw/master/quanx/rewrite/bilibili.snippet, tag=Bilibili, update-interval=172800, opt-parser=false, enabled=true 34 | https://github.com/srk24/profile/raw/master/quanx/rewrite/weibo_intl.snippet, tag=Weibo, update-interval=172800, opt-parser=false, enabled=true 35 | 36 | [server_local] 37 | 38 | [filter_local] 39 | geoip, cn, direct 40 | final, proxy 41 | 42 | [rewrite_local] 43 | ^https://www\.google\.cn url 302 https://www.google.com 44 | 45 | [task_local] 46 | 47 | [mitm] 48 | hostname = www.google.cn 49 | -------------------------------------------------------------------------------- /surge/module/fanqie.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=番茄小说 2 | #!desc=番茄小说广告屏蔽 3 | [Rule] 4 | # 番茄小说 5 | DOMAIN,p6-ad-sign.byteimg.com,REJECT 6 | DOMAIN,p9-ad-sign.byteimg.com,REJECT 7 | # DOMAIN-SUFFIX,byteimg.com,DIRECT 8 | DOMAIN,i.snssdk.com,REJECT 9 | DOMAIN,i-lq.snssdk.com,REJECT 10 | DOMAIN,dig.bdurl.net,REJECT 11 | DOMAIN-KEYWORD,zijieapi,REJECT 12 | # DOMAIN,ads3-normal-lq.zijieapi.com,REJECT 13 | # DOMAIN,ads5-normal-lq.zijieapi.com,REJECT 14 | # DOMAIN,polaris3-normal-lq.zijieapi.com,REJECT 15 | DOMAIN,activity-ag.awemeughun.com,REJECT 16 | 17 | DOMAIN,mcs.snssdk.com,REJECT 18 | DOMAIN,tnc3-alisc1.snssdk.com,REJECT 19 | DOMAIN,security-lq.snssdk.com,REJECT 20 | DOMAIN,tnc3-aliec2.snssdk.com,REJECT 21 | DOMAIN,is.snssdk.com,REJECT 22 | 23 | DOMAIN,msync-im1-vip6-std.easemob.com,REJECT 24 | 25 | DOMAIN,apd-pcdnwxlogin.teg.tencent-cloud.net,REJECT 26 | DOMAIN,api.iegadp.qq.com,REJECT 27 | 28 | DOMAIN,sf3-ttcdn-tos.pstatp.com,REJECT 29 | DOMAIN-SUFFIX,pglstatp-toutiao.com,REJECT 30 | # DOMAIN,p3-be-pack-sign.pglstatp-toutiao.com,REJECT 31 | # DOMAIN,sf3-be-pack.pglstatp-toutiao.com,REJECT 32 | 33 | DOMAIN,*default.ixigua.com,REJECT 34 | DOMAIN,v6-novelapp.ixigua.com,REJECT 35 | DOMAIN,*novelapp.ixigua.com,REJECT 36 | # DOMAIN,v3-default.ixigua.com,REJECT 37 | # DOMAIN,v9-default.ixigua.com,REJECT 38 | # DOMAIN,v6-default.ixigua.com,REJECT 39 | 40 | DOMAIN-SUFFIX,byteorge.com,REJECT 41 | DOMAIN-SUFFIX,bytegoofy.com,REJECT 42 | DOMAIN-SUFFIX,bytedance.com,REJECT 43 | 44 | IP-CIDR,49.71.37.101/32,REJECT,no-resolve 45 | IP-CIDR,117.71.105.23/32,REJECT,no-resolve 46 | IP-CIDR,218.94.207.205/32,REJECT,no-resolve 47 | IP-CIDR,117.92.229.188/32,REJECT,no-resolve 48 | IP-CIDR,101.36.166.16/32,REJECT,no-resolve 49 | IP-CIDR,180.96.2.114/32,REJECT,no-resolve 50 | 51 | URL-REGEX,*-default.ixigua.com,REJECT 52 | # URL-REGEX,.+web\.business\.image,REJECT 53 | URL-REGEX,^http:\/\/.+\.byteimg\.com\/ad-app-package,REJECT 54 | URL-REGEX,^http:\/\/.+\.byteimg\.com\/web\.business\.image,REJECT 55 | 56 | [URL Rewrite] 57 | # 番茄小说去章末广告 58 | ^https?:\/\/.+\.pangolin-sdk-toutiao\.com\/api\/ad\/union\/sdk\/(get_ads|stats|settings)\/ - reject 59 | ^https?:\/\/.+\.pglstatp-toutiao\.com\/.+\/toutiao\.mp4 - reject 60 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(obj|img)\/(ad-app-package|ad)\/.+ - reject 61 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(obj|img)\/web\.business\.image\/.+ - reject 62 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/obj\/ad-pattern\/renderer - reject 63 | ^https?:\/\/gurd\.snssdk\.com\/src\/server\/v3\/package - reject 64 | ^https?:\/\/.+\.byteimg.com/tos-cn-i-1yzifmftcy\/(.+)-jpeg\.jpeg - reject 65 | ^https?:\/\/.+\.pstatp\.com\/obj\/mosaic-legacy\/.+\?from\=ad - reject 66 | ^https?:\/\/.+\.pstatp\.com\/bytecom\/resource\/track_log\/src\/.+ - reject 67 | ^https?:\/\/.+\.snssdk\.com\/video\/play\/1\/toutiao\/.+\/mp4 - reject 68 | ^https?:\/\/.+\.snssdk.com\/api\/ad\/.+ - reject 69 | # 下面两条来自他人,暂不知是哪个app 70 | ^https?:\/\/.+?\.snssdk\.com\/motor\/operation\/activity\/display\/config\/V2\/ - reject 71 | 72 | [MITM] 73 | hostname = %APPEND% *.pangolin-sdk-toutiao,*.pangolin-sdk-toutiao.*,*.pstatp.com,*.pstatp.com.*,*.pglstatp-toutiao.com.*,*.pglstatp-toutiao.com,gurd.snssdk.com,gurd.snssdk.com.*,*default.ixigua.com -------------------------------------------------------------------------------- /clash/sample-config.yaml: -------------------------------------------------------------------------------- 1 | # https://github.com/alecthw/mmdb_china_ip_list/raw/release/lite/Country.mmdb 2 | 3 | mixed-port: 7890 4 | tproxy-port: 7893 5 | allow-lan: true 6 | bind-address: '*' 7 | external-controller: 0.0.0.0:9090 8 | external-ui: ./clash-dashboard 9 | ipv6: false 10 | log-level: info 11 | mode: rule 12 | routing-mark: 7777 13 | profile: 14 | tracing: true 15 | store-selected: true 16 | store-fake-ip: true 17 | 18 | interface-name: br0 19 | auto-redir: 20 | enable: true 21 | auto-route: true 22 | tun: 23 | enable: true 24 | stack: system 25 | dns-hijack: 26 | - any:53 27 | auto-route: true 28 | 29 | dns: 30 | enable: true 31 | listen: 0.0.0.0:53 32 | enhanced-mode: fake-ip 33 | fake-ip-range: 198.18.0.1/16 34 | fake-ip-filter: 35 | - '*.lan' 36 | - '*.local' 37 | - '+.ntp.*.*' 38 | - '+.stun.*.*' 39 | - '+.stun.*.*.*' 40 | - '+.stun.*.*.*.*' 41 | - '+.stun.*.*.*.*.*' 42 | - '+.srv.nintendo.net' 43 | - '+.stun.playstation.net' 44 | - 'xbox.*.*.microsoft.com' 45 | - '+.xboxlive.com' 46 | - '+.microsoft.com' 47 | - '+.msftconnecttest.com' 48 | - '+.msftncsi.com' 49 | - 'in.appcenter.ms' 50 | - '+.msn.com' 51 | - '+.nflxvideo.net' 52 | - '*.square-enix.com' 53 | - '*.finalfantasyxiv.com' 54 | - '*.ffxiv.com' 55 | - '*.mcdn.bilivideo.cn' 56 | - '+.qq.com' 57 | - '+.tencent.com' 58 | nameserver: 59 | - 119.29.29.29 60 | - 223.5.5.5 61 | # - dhcp://enp1s0 62 | # - tls://1.12.12.12 63 | # - https://1.12.12.12/dns-query 64 | nameserver-policy: 65 | '+.taobao.com': '223.5.5.5' 66 | '+.qq.com': '119.29.29.29' 67 | 68 | proxy-providers: 69 | XXXX: 70 | type: http 71 | url: 72 | interval: 3600 73 | path: ./providers/_XXXX.yaml 74 | health-check: 75 | enable: true 76 | url: http://cp.cloudflare.com 77 | interval: 600 78 | 79 | proxy-groups: 80 | - name: PROXY 81 | type: select 82 | use: 83 | - XXXX 84 | - name: AdBlock 85 | type: select 86 | proxies: 87 | - REJECT 88 | - DIRECT 89 | 90 | rule-providers: 91 | reject: 92 | type: http 93 | behavior: domain 94 | url: https://github.com/srk24/profile/raw/master/clash/provider/reject.yaml 95 | path: ./ruleset/reject.yaml 96 | interval: 86400 97 | 98 | special: 99 | type: http 100 | behavior: classical 101 | url: https://github.com/dler-io/Rules/raw/main/Clash/Provider/Special.yaml 102 | path: ./ruleset/special.yaml 103 | interval: 86400 104 | 105 | proxy: 106 | type: http 107 | behavior: classical 108 | url: https://github.com/dler-io/Rules/raw/main/Clash/Provider/Proxy.yaml 109 | path: ./ruleset/proxy.yaml 110 | interval: 86400 111 | 112 | direct: 113 | type: http 114 | behavior: classical 115 | url: https://github.com/dler-io/Rules/raw/main/Clash/Provider/Domestic.yaml 116 | path: ./ruleset/direct.yaml 117 | interval: 86400 118 | 119 | tele: 120 | type: http 121 | behavior: classical 122 | url: https://github.com/dler-io/Rules/raw/main/Clash/Provider/Telegram.yaml 123 | path: ./ruleset/telegram.yaml 124 | interval: 86400 125 | 126 | rules: 127 | - RULE-SET,reject,AdBlock 128 | - RULE-SET,special,DIRECT 129 | - RULE-SET,proxy,PROXY 130 | - RULE-SET,direct,DIRECT 131 | - RULE-SET,tele,PROXY 132 | - GEOIP,LAN,DIRECT 133 | - GEOIP,CN,DIRECT 134 | - MATCH,PROXY 135 | -------------------------------------------------------------------------------- /sing/default.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "final": "dns_encrypt", 4 | "rules": [ 5 | { 6 | "action": "route", 7 | "rule_set": ["domestic"], 8 | "server": "dns_local" 9 | }, 10 | { 11 | "action": "route", 12 | "rule_set": ["global"], 13 | "server": "dns_remote" 14 | } 15 | ], 16 | "servers": [ 17 | { 18 | "domain_resolver": "dns_local", 19 | "server": "223.5.5.5", 20 | "tag": "dns_encrypt", 21 | "type": "quic" 22 | }, 23 | { 24 | "server": "223.5.5.5", 25 | "tag": "dns_local", 26 | "type": "udp" 27 | }, 28 | { 29 | "server": "8.8.8.8", 30 | "tag": "dns_remote", 31 | "type": "udp" 32 | } 33 | ], 34 | "strategy": "ipv4_only" 35 | }, 36 | "experimental": { 37 | "cache_file": { 38 | "enabled": true, 39 | "store_fakeip": true 40 | }, 41 | "clash_api": { 42 | "access_control_allow_origin": ["http://board.zash.run.place", "http://clash.razord.top"], 43 | "access_control_allow_private_network": true, 44 | "external_controller": "0.0.0.0:9090", 45 | "external_ui": "dashboard", 46 | "external_ui_download_detour": "direct-out", 47 | "external_ui_download_url": "https://ghfast.top/https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip", 48 | "secret": "password" 49 | } 50 | }, 51 | "inbounds": [ 52 | { 53 | "address": ["172.18.0.1/30", "fdfe:dcba:9876::1/126"], 54 | "auto_redirect": true, 55 | "auto_route": true, 56 | "interface_name": "utun0", 57 | "stack": "gvisor", 58 | "tag": "tun-in", 59 | "type": "tun" 60 | } 61 | ], 62 | "log": { 63 | "level": "warn", 64 | "timestamp": true 65 | }, 66 | "outbounds": [], 67 | "route": { 68 | "auto_detect_interface": true, 69 | "default_domain_resolver": "dns_encrypt", 70 | "final": "select-out", 71 | "rule_set": [ 72 | { 73 | "download_detour": "direct-out", 74 | "tag": "global", 75 | "type": "remote", 76 | "update_interval": "6h0m0s", 77 | "url": "https://ghfast.top/https://github.com/srk24/profile/raw/master/sing/ruleset/geolocation-!cn.srs" 78 | }, 79 | { 80 | "download_detour": "direct-out", 81 | "tag": "domestic", 82 | "type": "remote", 83 | "update_interval": "6h0m0s", 84 | "url": "https://ghfast.top/https://github.com/srk24/profile/raw/master/sing/ruleset/geolocation-cn.srs" 85 | }, 86 | { 87 | "download_detour": "direct-out", 88 | "tag": "geoip_cn", 89 | "type": "remote", 90 | "update_interval": "6h0m0s", 91 | "url": "https://ghfast.top/https://github.com/Loyalsoldier/geoip/raw/release/srs/cn.srs" 92 | } 93 | ], 94 | "rules": [ 95 | { 96 | "action": "hijack-dns", 97 | "port": 53 98 | }, 99 | { 100 | "action": "sniff", 101 | "sniffer": ["http", "tls", "quic", "bittorrent"] 102 | }, 103 | { 104 | "action": "route", 105 | "outbound": "direct-out", 106 | "protocol": "bittorrent" 107 | }, 108 | { 109 | "action": "route", 110 | "outbound": "direct-out", 111 | "rule_set": ["domestic"] 112 | }, 113 | { 114 | "action": "route", 115 | "outbound": "select-out", 116 | "rule_set": ["global"] 117 | }, 118 | { 119 | "action": "route", 120 | "outbound": "direct-out", 121 | "rule_set": ["geoip_cn"] 122 | }, 123 | { 124 | "action": "route", 125 | "ip_is_private": true, 126 | "outbound": "direct-out" 127 | } 128 | ] 129 | } 130 | } 131 | -------------------------------------------------------------------------------- /surge/list/apple.list: -------------------------------------------------------------------------------- 1 | a1.mzstatic.com 2 | a2.mzstatic.com 3 | a3.mzstatic.com 4 | a4.mzstatic.com 5 | a5.mzstatic.com 6 | adcdownload.apple.com 7 | adcdownload.apple.com.akadns.net 8 | amp-api-edge-lb-cn.itunes-apple.com.akadns.net 9 | amp-api-edge-lb.itunes-apple.com.akadns.net 10 | amp-api-edge.apps.apple.com 11 | amp-api-search-edge.apps.apple.com 12 | amp-api-updates.apps.apple.com 13 | amp-api.apps.apple.com 14 | amp-api.media.apple.com 15 | amp-api.music.apple.com 16 | aod.itunes.apple.com 17 | api-edge.apps.apple.com 18 | app-site-association.cdn-apple.com 19 | appldnld.apple.com 20 | appldnld.g.aaplimg.com 21 | appleid.cdn-apple.com 22 | apps.mzstatic.com 23 | apptrailers.itunes.apple.com 24 | auth.music.apple.com 25 | bag-cdn.itunes-apple.com.akadns.net 26 | bag.itunes.apple.com 27 | bookkeeper.itunes.apple.com 28 | cdn-cn.apple-mapkit.com 29 | cdn-cn1.apple-mapkit.com 30 | cdn-cn2.apple-mapkit.com 31 | cdn-cn3.apple-mapkit.com 32 | cdn-cn4.apple-mapkit.com 33 | cdn.apple-mapkit.com 34 | cdn1.apple-mapkit.com 35 | cdn2.apple-mapkit.com 36 | cdn3.apple-mapkit.com 37 | cdn4.apple-mapkit.com 38 | cds-cdn.v.aaplimg.com 39 | cds.apple.com 40 | cds.apple.com.akadns.net 41 | cdsassets.apple.com 42 | certs-lb.apple.com.akadns.net 43 | certs.apple.com 44 | cl1-cdn.origin-apple.com.akadns.net 45 | cl1.apple.com 46 | cl2-cdn.origin-apple.com.akadns.net 47 | cl2-cn.apple.com 48 | cl2.apple.com 49 | cl3-cdn.origin-apple.com.akadns.net 50 | cl3.apple.com 51 | cl4-cdn.origin-apple.com.akadns.net 52 | cl4-cn.apple.com 53 | cl4.apple.com 54 | cl5-cdn.origin-apple.com.akadns.net 55 | cl5.apple.com 56 | client-api.itunes.apple.com 57 | clientflow.apple.com 58 | clientflow.apple.com.akadns.net 59 | cma.itunes.apple.com 60 | cn-smp-paymentservices.apple.com 61 | communities.apple.com 62 | configuration.apple.com 63 | configuration.apple.com.akadns.net 64 | crl-lb.apple.com.akadns.net 65 | crl.apple.com 66 | cstat.apple.com 67 | cstat.cdn-apple.com 68 | dd-cdn.origin-apple.com.akadns.net 69 | dejavu.apple.com 70 | devimages-cdn.apple.com 71 | devstreaming-cdn.apple.com 72 | discussionschinese.apple.com 73 | download.developer.apple.com 74 | downloaddispatch.itunes.apple.com 75 | experiments.apple.com 76 | fides-pol.apple.com 77 | gs-loc-cn.apple.com 78 | gs-loc.apple.com 79 | gsp10-ssl-cn.ls.apple.com 80 | gsp12-cn.ls.apple.com 81 | gsp13-cn.ls.apple.com 82 | gsp4-cn.ls.apple.com 83 | gsp4-cn.ls.apple.com.edgekey.net.globalredir.akadns.net 84 | gsp5-cn.ls.apple.com 85 | gsp85-cn-ssl.ls.apple.com 86 | gspe11-2-cn-ssl.ls.apple.com 87 | gspe12-cn-ssl.ls.apple.com 88 | gspe19-2-cn-ssl.ls-apple.com.akadns.net 89 | gspe19-2-cn-ssl.ls.apple.com 90 | gspe19-cn-ssl.ls.apple.com 91 | gspe19-cn.ls-apple.com.akadns.net 92 | gspe19-cn.ls.apple.com 93 | gspe21-ssl.ls.apple.com 94 | gspe35-ssl.ls.apple.com 95 | gspe79-cn-ssl.ls.apple.com 96 | gspe85-cn-ssl.ls.apple.com 97 | guzzoni-apple-com.v.aaplimg.com 98 | guzzoni.apple.com 99 | guzzoni.smoot.apple.com 100 | icloud-cdn.icloud.com.akadns.net 101 | icloud.cdn-apple.com 102 | images.apple.com.edgekey.net.globalredir.akadns.net 103 | inappcheck-cn.itunes-apple.com.akadns.net 104 | inappcheck-lb.itunes-apple.com.akadns.net 105 | inappcheck.itunes.apple.com 106 | init-kt.apple.com 107 | init-p01md-lb.push-apple.com.akadns.net 108 | init-p01md.apple.com 109 | init-p01st-lb.push-apple.com.akadns.net 110 | init-p01st.push.apple.com 111 | init-s01st-lb.push-apple.com.akadns.net 112 | init-s01st.push.apple.com 113 | init.ess.apple.com 114 | init.gc-lb.apple.com.akadns.net 115 | init.gc.apple.com 116 | init.itunes.apple.com 117 | iosapps.itunes.apple.com 118 | iosapps.itunes.g.aaplimg.com 119 | ipcdn.apple.com 120 | iphone-ld.apple.com 121 | iphone-ld.origin-apple.com.akadns.net 122 | is-ssl.mzstatic.com-cn-lb.itunes-apple.com.akadns.net 123 | is1-ssl.mzstatic.com 124 | is1.mzstatic.com 125 | is2-ssl.mzstatic.com 126 | is2.mzstatic.com 127 | is3-ssl.mzstatic.com 128 | is3.mzstatic.com 129 | is4-ssl.mzstatic.com 130 | is4.mzstatic.com 131 | is5-ssl.mzstatic.com 132 | is5.mzstatic.com 133 | itunes-apple.com.akadns.net 134 | itunes.apple.com 135 | itunesconnect.apple.com 136 | js-cdn.music.apple.com 137 | km.support.apple.com 138 | maps.apple.com 139 | mesu-cdn.apple.com.akadns.net 140 | mesu-china.apple.com.akadns.net 141 | mesu.apple.com 142 | misc-assets.itunes.apple.com 143 | ml.cdn-apple.com 144 | music.apple.com 145 | myapp.itunes.apple.com 146 | np-edge.itunes.apple.com 147 | ocsp-lb.apple.com.akadns.net 148 | ocsp.apple.com 149 | ocsp2-lb.apple.com.akadns.net 150 | ocsp2.apple.com 151 | oscdn.apple.com 152 | oscdn.origin-apple.com.akadns.net 153 | osxapps.itunes.apple.com 154 | osxapps.itunes.g.aaplimg.com 155 | pancake.apple.com 156 | pancake.cdn-apple.com.akadns.net 157 | pba0.apple.com 158 | pd-nk.itunes.apple.com 159 | pd.itunes.apple.com 160 | play.itunes.apple.com 161 | play.music.apple.com 162 | probe.siri.apple.com 163 | prod-support.apple-support.akadns.net 164 | publicassets.cdn-apple.com 165 | reserve-prime.apple.com 166 | s.mzstatic.com 167 | s1.mzstatic.com 168 | s2.mzstatic.com 169 | s3.mzstatic.com 170 | s4.mzstatic.com 171 | s5.mzstatic.com 172 | se-edge.itunes.apple.com 173 | se2.itunes.apple.com 174 | search.itunes.apple.com 175 | seed-sequoia.siri.apple.com 176 | seed-swallow.siri.apple.com 177 | seed.siri.apple.com 178 | sequoia.apple.com 179 | sf-api-token-service.itunes.apple.com 180 | sh-pod2-smp-device.apple.com 181 | shazam-insights.cdn-apple.com 182 | smp-device-content.apple.com 183 | sp.itunes.apple.com 184 | static.gc.apple.com 185 | stocks-sparkline-lb.apple.com.akadns.net 186 | stocks-sparkline.apple.com 187 | store.apple.com 188 | store.apple.com.edgekey.net 189 | store.apple.com.edgekey.net.globalredir.akadns.net 190 | store.storeimages.apple.com.akadns.net 191 | store.storeimages.cdn-apple.com 192 | streamingaudio.itunes.apple.com 193 | su.itunes.apple.com 194 | support-china.apple-support.akadns.net 195 | support.apple.com 196 | swallow-apple-com.v.aaplimg.com 197 | swallow.apple.com 198 | swcatalog-cdn.apple.com.akadns.net 199 | swcatalog.apple.com 200 | swcdn.apple.com 201 | swcdn.g.aaplimg.com 202 | swdist.apple.com 203 | swdist.apple.com.akadns.net 204 | swscan-cdn.apple.com.akadns.net 205 | swscan.apple.com 206 | sylvan.apple.com 207 | sync.itunes.apple.com 208 | tf-feedback.itunes.apple.com 209 | tj-pod1-smp-device.apple.com 210 | updates-http.cdn-apple.com 211 | updates-http.cdn-apple.com.akadns.net 212 | updates.cdn-apple.com 213 | upp.itunes.apple.com 214 | valid.apple.com 215 | valid.origin-apple.com.akadns.net 216 | weather-data.apple.com 217 | weather-data.apple.com.akadns.net 218 | weather-map.apple.com 219 | weather-map2.apple.com 220 | weatherkit.apple.com 221 | www.apple.com 222 | www.apple.com.edgekey.net.globalredir.akadns.net 223 | www.support.apple.com 224 | xp.apple.com 225 | .apple-appstore.cn 226 | .apple-dns.cn 227 | .apple-dns.com.cn 228 | .apple-ibooks.cn 229 | .apple-icloud.cn 230 | .apple-itunes.cn 231 | .apple-maps.cn 232 | .apple-store.cn 233 | .apple.cn 234 | .apple.com.cn 235 | .appleappstore.cn 236 | .applecenter.cn 237 | .applecenter.com.cn 238 | .applecomputer.cn 239 | .applecomputer.com.cn 240 | .appledns.cn 241 | .appledns.com.cn 242 | .appleicloud.cn 243 | .applepaycash.cn 244 | .applepaycash.com.cn 245 | .applepaysupplies.cn 246 | .applepaysupplies.com.cn 247 | .applesiri.cn 248 | .applestore.cn 249 | .applestore.com.cn 250 | .appletv4.cn 251 | .appletv4.com.cn 252 | .appstoreapple.cn 253 | .beats1.cn 254 | .beats1.com.cn 255 | .beats2.com.cn 256 | .beats4.cn 257 | .beatsbydre.com 258 | .beatsbydre.com.cn 259 | .beatsep.cn 260 | .ecgapp.com.cn 261 | .faceshift.cn 262 | .homepod.cn 263 | .icloud-apple.cn 264 | .icloud.com.cn 265 | .icloud.net.cn 266 | .icloudapple.cn 267 | .insidear.cn 268 | .iphone-8.com.cn 269 | .ipod.com.cn 270 | .itunes-apple.cn 271 | .itunesapple.cn 272 | .itunesradio.cn 273 | .itunesradio.com.cn 274 | .livephotos.cn 275 | .livephotos.com.cn 276 | .macbookair.cn 277 | .macbookair.com.cn 278 | .researchkit.cn 279 | .researchkit.com.cn 280 | .swiftui.cn 281 | .swiftui.com.cn 282 | .xn--czrs0t4phtr3a.cn 283 | .xn--fiqs8sxootzz.cn 284 | .xn--ohq11k7pl25iyo8a.cn 285 | -------------------------------------------------------------------------------- /clash/provider/apple.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - a1.mzstatic.com 3 | - a2.mzstatic.com 4 | - a3.mzstatic.com 5 | - a4.mzstatic.com 6 | - a5.mzstatic.com 7 | - adcdownload.apple.com 8 | - adcdownload.apple.com.akadns.net 9 | - amp-api-edge-lb-cn.itunes-apple.com.akadns.net 10 | - amp-api-edge-lb.itunes-apple.com.akadns.net 11 | - amp-api-edge.apps.apple.com 12 | - amp-api-search-edge.apps.apple.com 13 | - amp-api-updates.apps.apple.com 14 | - amp-api.apps.apple.com 15 | - amp-api.media.apple.com 16 | - amp-api.music.apple.com 17 | - aod.itunes.apple.com 18 | - api-edge.apps.apple.com 19 | - app-site-association.cdn-apple.com 20 | - appldnld.apple.com 21 | - appldnld.g.aaplimg.com 22 | - appleid.cdn-apple.com 23 | - apps.mzstatic.com 24 | - apptrailers.itunes.apple.com 25 | - auth.music.apple.com 26 | - bag-cdn.itunes-apple.com.akadns.net 27 | - bag.itunes.apple.com 28 | - bookkeeper.itunes.apple.com 29 | - cdn-cn.apple-mapkit.com 30 | - cdn-cn1.apple-mapkit.com 31 | - cdn-cn2.apple-mapkit.com 32 | - cdn-cn3.apple-mapkit.com 33 | - cdn-cn4.apple-mapkit.com 34 | - cdn.apple-mapkit.com 35 | - cdn1.apple-mapkit.com 36 | - cdn2.apple-mapkit.com 37 | - cdn3.apple-mapkit.com 38 | - cdn4.apple-mapkit.com 39 | - cds-cdn.v.aaplimg.com 40 | - cds.apple.com 41 | - cds.apple.com.akadns.net 42 | - cdsassets.apple.com 43 | - certs-lb.apple.com.akadns.net 44 | - certs.apple.com 45 | - cl1-cdn.origin-apple.com.akadns.net 46 | - cl1.apple.com 47 | - cl2-cdn.origin-apple.com.akadns.net 48 | - cl2-cn.apple.com 49 | - cl2.apple.com 50 | - cl3-cdn.origin-apple.com.akadns.net 51 | - cl3.apple.com 52 | - cl4-cdn.origin-apple.com.akadns.net 53 | - cl4-cn.apple.com 54 | - cl4.apple.com 55 | - cl5-cdn.origin-apple.com.akadns.net 56 | - cl5.apple.com 57 | - client-api.itunes.apple.com 58 | - clientflow.apple.com 59 | - clientflow.apple.com.akadns.net 60 | - cma.itunes.apple.com 61 | - cn-smp-paymentservices.apple.com 62 | - communities.apple.com 63 | - configuration.apple.com 64 | - configuration.apple.com.akadns.net 65 | - crl-lb.apple.com.akadns.net 66 | - crl.apple.com 67 | - cstat.apple.com 68 | - cstat.cdn-apple.com 69 | - dd-cdn.origin-apple.com.akadns.net 70 | - dejavu.apple.com 71 | - devimages-cdn.apple.com 72 | - devstreaming-cdn.apple.com 73 | - discussionschinese.apple.com 74 | - download.developer.apple.com 75 | - downloaddispatch.itunes.apple.com 76 | - experiments.apple.com 77 | - fides-pol.apple.com 78 | - gs-loc-cn.apple.com 79 | - gs-loc.apple.com 80 | - gsp10-ssl-cn.ls.apple.com 81 | - gsp12-cn.ls.apple.com 82 | - gsp13-cn.ls.apple.com 83 | - gsp4-cn.ls.apple.com 84 | - gsp4-cn.ls.apple.com.edgekey.net.globalredir.akadns.net 85 | - gsp5-cn.ls.apple.com 86 | - gsp85-cn-ssl.ls.apple.com 87 | - gspe11-2-cn-ssl.ls.apple.com 88 | - gspe12-cn-ssl.ls.apple.com 89 | - gspe19-2-cn-ssl.ls-apple.com.akadns.net 90 | - gspe19-2-cn-ssl.ls.apple.com 91 | - gspe19-cn-ssl.ls.apple.com 92 | - gspe19-cn.ls-apple.com.akadns.net 93 | - gspe19-cn.ls.apple.com 94 | - gspe21-ssl.ls.apple.com 95 | - gspe35-ssl.ls.apple.com 96 | - gspe79-cn-ssl.ls.apple.com 97 | - gspe85-cn-ssl.ls.apple.com 98 | - guzzoni-apple-com.v.aaplimg.com 99 | - guzzoni.apple.com 100 | - guzzoni.smoot.apple.com 101 | - icloud-cdn.icloud.com.akadns.net 102 | - icloud.cdn-apple.com 103 | - images.apple.com.edgekey.net.globalredir.akadns.net 104 | - inappcheck-cn.itunes-apple.com.akadns.net 105 | - inappcheck-lb.itunes-apple.com.akadns.net 106 | - inappcheck.itunes.apple.com 107 | - init-kt.apple.com 108 | - init-p01md-lb.push-apple.com.akadns.net 109 | - init-p01md.apple.com 110 | - init-p01st-lb.push-apple.com.akadns.net 111 | - init-p01st.push.apple.com 112 | - init-s01st-lb.push-apple.com.akadns.net 113 | - init-s01st.push.apple.com 114 | - init.ess.apple.com 115 | - init.gc-lb.apple.com.akadns.net 116 | - init.gc.apple.com 117 | - init.itunes.apple.com 118 | - iosapps.itunes.apple.com 119 | - iosapps.itunes.g.aaplimg.com 120 | - ipcdn.apple.com 121 | - iphone-ld.apple.com 122 | - iphone-ld.origin-apple.com.akadns.net 123 | - is-ssl.mzstatic.com-cn-lb.itunes-apple.com.akadns.net 124 | - is1-ssl.mzstatic.com 125 | - is1.mzstatic.com 126 | - is2-ssl.mzstatic.com 127 | - is2.mzstatic.com 128 | - is3-ssl.mzstatic.com 129 | - is3.mzstatic.com 130 | - is4-ssl.mzstatic.com 131 | - is4.mzstatic.com 132 | - is5-ssl.mzstatic.com 133 | - is5.mzstatic.com 134 | - itunes-apple.com.akadns.net 135 | - itunes.apple.com 136 | - itunesconnect.apple.com 137 | - js-cdn.music.apple.com 138 | - km.support.apple.com 139 | - maps.apple.com 140 | - mesu-cdn.apple.com.akadns.net 141 | - mesu-china.apple.com.akadns.net 142 | - mesu.apple.com 143 | - misc-assets.itunes.apple.com 144 | - ml.cdn-apple.com 145 | - music.apple.com 146 | - myapp.itunes.apple.com 147 | - np-edge.itunes.apple.com 148 | - ocsp-lb.apple.com.akadns.net 149 | - ocsp.apple.com 150 | - ocsp2-lb.apple.com.akadns.net 151 | - ocsp2.apple.com 152 | - oscdn.apple.com 153 | - oscdn.origin-apple.com.akadns.net 154 | - osxapps.itunes.apple.com 155 | - osxapps.itunes.g.aaplimg.com 156 | - pancake.apple.com 157 | - pancake.cdn-apple.com.akadns.net 158 | - pba0.apple.com 159 | - pd-nk.itunes.apple.com 160 | - pd.itunes.apple.com 161 | - play.itunes.apple.com 162 | - play.music.apple.com 163 | - probe.siri.apple.com 164 | - prod-support.apple-support.akadns.net 165 | - publicassets.cdn-apple.com 166 | - reserve-prime.apple.com 167 | - s.mzstatic.com 168 | - s1.mzstatic.com 169 | - s2.mzstatic.com 170 | - s3.mzstatic.com 171 | - s4.mzstatic.com 172 | - s5.mzstatic.com 173 | - se-edge.itunes.apple.com 174 | - se2.itunes.apple.com 175 | - search.itunes.apple.com 176 | - seed-sequoia.siri.apple.com 177 | - seed-swallow.siri.apple.com 178 | - seed.siri.apple.com 179 | - sequoia.apple.com 180 | - sf-api-token-service.itunes.apple.com 181 | - sh-pod2-smp-device.apple.com 182 | - shazam-insights.cdn-apple.com 183 | - smp-device-content.apple.com 184 | - sp.itunes.apple.com 185 | - static.gc.apple.com 186 | - stocks-sparkline-lb.apple.com.akadns.net 187 | - stocks-sparkline.apple.com 188 | - store.apple.com 189 | - store.apple.com.edgekey.net 190 | - store.apple.com.edgekey.net.globalredir.akadns.net 191 | - store.storeimages.apple.com.akadns.net 192 | - store.storeimages.cdn-apple.com 193 | - streamingaudio.itunes.apple.com 194 | - su.itunes.apple.com 195 | - support-china.apple-support.akadns.net 196 | - support.apple.com 197 | - swallow-apple-com.v.aaplimg.com 198 | - swallow.apple.com 199 | - swcatalog-cdn.apple.com.akadns.net 200 | - swcatalog.apple.com 201 | - swcdn.apple.com 202 | - swcdn.g.aaplimg.com 203 | - swdist.apple.com 204 | - swdist.apple.com.akadns.net 205 | - swscan-cdn.apple.com.akadns.net 206 | - swscan.apple.com 207 | - sylvan.apple.com 208 | - sync.itunes.apple.com 209 | - tf-feedback.itunes.apple.com 210 | - tj-pod1-smp-device.apple.com 211 | - updates-http.cdn-apple.com 212 | - updates-http.cdn-apple.com.akadns.net 213 | - updates.cdn-apple.com 214 | - upp.itunes.apple.com 215 | - valid.apple.com 216 | - valid.origin-apple.com.akadns.net 217 | - weather-data.apple.com 218 | - weather-data.apple.com.akadns.net 219 | - weather-map.apple.com 220 | - weather-map2.apple.com 221 | - weatherkit.apple.com 222 | - www.apple.com 223 | - www.apple.com.edgekey.net.globalredir.akadns.net 224 | - www.support.apple.com 225 | - xp.apple.com 226 | - .apple-appstore.cn 227 | - .apple-dns.cn 228 | - .apple-dns.com.cn 229 | - .apple-ibooks.cn 230 | - .apple-icloud.cn 231 | - .apple-itunes.cn 232 | - .apple-maps.cn 233 | - .apple-store.cn 234 | - .apple.cn 235 | - .apple.com.cn 236 | - .appleappstore.cn 237 | - .applecenter.cn 238 | - .applecenter.com.cn 239 | - .applecomputer.cn 240 | - .applecomputer.com.cn 241 | - .appledns.cn 242 | - .appledns.com.cn 243 | - .appleicloud.cn 244 | - .applepaycash.cn 245 | - .applepaycash.com.cn 246 | - .applepaysupplies.cn 247 | - .applepaysupplies.com.cn 248 | - .applesiri.cn 249 | - .applestore.cn 250 | - .applestore.com.cn 251 | - .appletv4.cn 252 | - .appletv4.com.cn 253 | - .appstoreapple.cn 254 | - .beats1.cn 255 | - .beats1.com.cn 256 | - .beats2.com.cn 257 | - .beats4.cn 258 | - .beatsbydre.com 259 | - .beatsbydre.com.cn 260 | - .beatsep.cn 261 | - .ecgapp.com.cn 262 | - .faceshift.cn 263 | - .homepod.cn 264 | - .icloud-apple.cn 265 | - .icloud.com.cn 266 | - .icloud.net.cn 267 | - .icloudapple.cn 268 | - .insidear.cn 269 | - .iphone-8.com.cn 270 | - .ipod.com.cn 271 | - .itunes-apple.cn 272 | - .itunesapple.cn 273 | - .itunesradio.cn 274 | - .itunesradio.com.cn 275 | - .livephotos.cn 276 | - .livephotos.com.cn 277 | - .macbookair.cn 278 | - .macbookair.com.cn 279 | - .researchkit.cn 280 | - .researchkit.com.cn 281 | - .swiftui.cn 282 | - .swiftui.com.cn 283 | - .xn--czrs0t4phtr3a.cn 284 | - .xn--fiqs8sxootzz.cn 285 | - .xn--ohq11k7pl25iyo8a.cn 286 | -------------------------------------------------------------------------------- /sing/ruleset/apple.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "rules": [ 4 | { 5 | "domain": [ 6 | "a1.mzstatic.com", 7 | "a2.mzstatic.com", 8 | "a3.mzstatic.com", 9 | "a4.mzstatic.com", 10 | "a5.mzstatic.com", 11 | "adcdownload.apple.com", 12 | "adcdownload.apple.com.akadns.net", 13 | "amp-api-edge-lb-cn.itunes-apple.com.akadns.net", 14 | "amp-api-edge-lb.itunes-apple.com.akadns.net", 15 | "amp-api-edge.apps.apple.com", 16 | "amp-api-search-edge.apps.apple.com", 17 | "amp-api-updates.apps.apple.com", 18 | "amp-api.apps.apple.com", 19 | "amp-api.media.apple.com", 20 | "amp-api.music.apple.com", 21 | "aod.itunes.apple.com", 22 | "api-edge.apps.apple.com", 23 | "app-site-association.cdn-apple.com", 24 | "appldnld.apple.com", 25 | "appldnld.g.aaplimg.com", 26 | "appleid.cdn-apple.com", 27 | "apps.mzstatic.com", 28 | "apptrailers.itunes.apple.com", 29 | "auth.music.apple.com", 30 | "bag-cdn.itunes-apple.com.akadns.net", 31 | "bag.itunes.apple.com", 32 | "bookkeeper.itunes.apple.com", 33 | "cdn-cn.apple-mapkit.com", 34 | "cdn-cn1.apple-mapkit.com", 35 | "cdn-cn2.apple-mapkit.com", 36 | "cdn-cn3.apple-mapkit.com", 37 | "cdn-cn4.apple-mapkit.com", 38 | "cdn.apple-mapkit.com", 39 | "cdn1.apple-mapkit.com", 40 | "cdn2.apple-mapkit.com", 41 | "cdn3.apple-mapkit.com", 42 | "cdn4.apple-mapkit.com", 43 | "cds-cdn.v.aaplimg.com", 44 | "cds.apple.com", 45 | "cds.apple.com.akadns.net", 46 | "cdsassets.apple.com", 47 | "certs-lb.apple.com.akadns.net", 48 | "certs.apple.com", 49 | "cl1-cdn.origin-apple.com.akadns.net", 50 | "cl1.apple.com", 51 | "cl2-cdn.origin-apple.com.akadns.net", 52 | "cl2-cn.apple.com", 53 | "cl2.apple.com", 54 | "cl3-cdn.origin-apple.com.akadns.net", 55 | "cl3.apple.com", 56 | "cl4-cdn.origin-apple.com.akadns.net", 57 | "cl4-cn.apple.com", 58 | "cl4.apple.com", 59 | "cl5-cdn.origin-apple.com.akadns.net", 60 | "cl5.apple.com", 61 | "client-api.itunes.apple.com", 62 | "clientflow.apple.com", 63 | "clientflow.apple.com.akadns.net", 64 | "cma.itunes.apple.com", 65 | "cn-smp-paymentservices.apple.com", 66 | "communities.apple.com", 67 | "configuration.apple.com", 68 | "configuration.apple.com.akadns.net", 69 | "crl-lb.apple.com.akadns.net", 70 | "crl.apple.com", 71 | "cstat.apple.com", 72 | "cstat.cdn-apple.com", 73 | "dd-cdn.origin-apple.com.akadns.net", 74 | "dejavu.apple.com", 75 | "devimages-cdn.apple.com", 76 | "devstreaming-cdn.apple.com", 77 | "discussionschinese.apple.com", 78 | "download.developer.apple.com", 79 | "downloaddispatch.itunes.apple.com", 80 | "experiments.apple.com", 81 | "fides-pol.apple.com", 82 | "gs-loc-cn.apple.com", 83 | "gs-loc.apple.com", 84 | "gsp10-ssl-cn.ls.apple.com", 85 | "gsp12-cn.ls.apple.com", 86 | "gsp13-cn.ls.apple.com", 87 | "gsp4-cn.ls.apple.com", 88 | "gsp4-cn.ls.apple.com.edgekey.net.globalredir.akadns.net", 89 | "gsp5-cn.ls.apple.com", 90 | "gsp85-cn-ssl.ls.apple.com", 91 | "gspe11-2-cn-ssl.ls.apple.com", 92 | "gspe12-cn-ssl.ls.apple.com", 93 | "gspe19-2-cn-ssl.ls-apple.com.akadns.net", 94 | "gspe19-2-cn-ssl.ls.apple.com", 95 | "gspe19-cn-ssl.ls.apple.com", 96 | "gspe19-cn.ls-apple.com.akadns.net", 97 | "gspe19-cn.ls.apple.com", 98 | "gspe21-ssl.ls.apple.com", 99 | "gspe35-ssl.ls.apple.com", 100 | "gspe79-cn-ssl.ls.apple.com", 101 | "gspe85-cn-ssl.ls.apple.com", 102 | "guzzoni-apple-com.v.aaplimg.com", 103 | "guzzoni.apple.com", 104 | "guzzoni.smoot.apple.com", 105 | "icloud-cdn.icloud.com.akadns.net", 106 | "icloud.cdn-apple.com", 107 | "images.apple.com.edgekey.net.globalredir.akadns.net", 108 | "inappcheck-cn.itunes-apple.com.akadns.net", 109 | "inappcheck-lb.itunes-apple.com.akadns.net", 110 | "inappcheck.itunes.apple.com", 111 | "init-kt.apple.com", 112 | "init-p01md-lb.push-apple.com.akadns.net", 113 | "init-p01md.apple.com", 114 | "init-p01st-lb.push-apple.com.akadns.net", 115 | "init-p01st.push.apple.com", 116 | "init-s01st-lb.push-apple.com.akadns.net", 117 | "init-s01st.push.apple.com", 118 | "init.ess.apple.com", 119 | "init.gc-lb.apple.com.akadns.net", 120 | "init.gc.apple.com", 121 | "init.itunes.apple.com", 122 | "iosapps.itunes.apple.com", 123 | "iosapps.itunes.g.aaplimg.com", 124 | "ipcdn.apple.com", 125 | "iphone-ld.apple.com", 126 | "iphone-ld.origin-apple.com.akadns.net", 127 | "is-ssl.mzstatic.com-cn-lb.itunes-apple.com.akadns.net", 128 | "is1-ssl.mzstatic.com", 129 | "is1.mzstatic.com", 130 | "is2-ssl.mzstatic.com", 131 | "is2.mzstatic.com", 132 | "is3-ssl.mzstatic.com", 133 | "is3.mzstatic.com", 134 | "is4-ssl.mzstatic.com", 135 | "is4.mzstatic.com", 136 | "is5-ssl.mzstatic.com", 137 | "is5.mzstatic.com", 138 | "itunes-apple.com.akadns.net", 139 | "itunes.apple.com", 140 | "itunesconnect.apple.com", 141 | "js-cdn.music.apple.com", 142 | "km.support.apple.com", 143 | "maps.apple.com", 144 | "mesu-cdn.apple.com.akadns.net", 145 | "mesu-china.apple.com.akadns.net", 146 | "mesu.apple.com", 147 | "misc-assets.itunes.apple.com", 148 | "ml.cdn-apple.com", 149 | "music.apple.com", 150 | "myapp.itunes.apple.com", 151 | "np-edge.itunes.apple.com", 152 | "ocsp-lb.apple.com.akadns.net", 153 | "ocsp.apple.com", 154 | "ocsp2-lb.apple.com.akadns.net", 155 | "ocsp2.apple.com", 156 | "oscdn.apple.com", 157 | "oscdn.origin-apple.com.akadns.net", 158 | "osxapps.itunes.apple.com", 159 | "osxapps.itunes.g.aaplimg.com", 160 | "pancake.apple.com", 161 | "pancake.cdn-apple.com.akadns.net", 162 | "pba0.apple.com", 163 | "pd-nk.itunes.apple.com", 164 | "pd.itunes.apple.com", 165 | "play.itunes.apple.com", 166 | "play.music.apple.com", 167 | "probe.siri.apple.com", 168 | "prod-support.apple-support.akadns.net", 169 | "publicassets.cdn-apple.com", 170 | "reserve-prime.apple.com", 171 | "s.mzstatic.com", 172 | "s1.mzstatic.com", 173 | "s2.mzstatic.com", 174 | "s3.mzstatic.com", 175 | "s4.mzstatic.com", 176 | "s5.mzstatic.com", 177 | "se-edge.itunes.apple.com", 178 | "se2.itunes.apple.com", 179 | "search.itunes.apple.com", 180 | "seed-sequoia.siri.apple.com", 181 | "seed-swallow.siri.apple.com", 182 | "seed.siri.apple.com", 183 | "sequoia.apple.com", 184 | "sf-api-token-service.itunes.apple.com", 185 | "sh-pod2-smp-device.apple.com", 186 | "shazam-insights.cdn-apple.com", 187 | "smp-device-content.apple.com", 188 | "sp.itunes.apple.com", 189 | "static.gc.apple.com", 190 | "stocks-sparkline-lb.apple.com.akadns.net", 191 | "stocks-sparkline.apple.com", 192 | "store.apple.com", 193 | "store.apple.com.edgekey.net", 194 | "store.apple.com.edgekey.net.globalredir.akadns.net", 195 | "store.storeimages.apple.com.akadns.net", 196 | "store.storeimages.cdn-apple.com", 197 | "streamingaudio.itunes.apple.com", 198 | "su.itunes.apple.com", 199 | "support-china.apple-support.akadns.net", 200 | "support.apple.com", 201 | "swallow-apple-com.v.aaplimg.com", 202 | "swallow.apple.com", 203 | "swcatalog-cdn.apple.com.akadns.net", 204 | "swcatalog.apple.com", 205 | "swcdn.apple.com", 206 | "swcdn.g.aaplimg.com", 207 | "swdist.apple.com", 208 | "swdist.apple.com.akadns.net", 209 | "swscan-cdn.apple.com.akadns.net", 210 | "swscan.apple.com", 211 | "sylvan.apple.com", 212 | "sync.itunes.apple.com", 213 | "tf-feedback.itunes.apple.com", 214 | "tj-pod1-smp-device.apple.com", 215 | "updates-http.cdn-apple.com", 216 | "updates-http.cdn-apple.com.akadns.net", 217 | "updates.cdn-apple.com", 218 | "upp.itunes.apple.com", 219 | "valid.apple.com", 220 | "valid.origin-apple.com.akadns.net", 221 | "weather-data.apple.com", 222 | "weather-data.apple.com.akadns.net", 223 | "weather-map.apple.com", 224 | "weather-map2.apple.com", 225 | "weatherkit.apple.com", 226 | "www.apple.com", 227 | "www.apple.com.edgekey.net.globalredir.akadns.net", 228 | "www.support.apple.com", 229 | "xp.apple.com" 230 | ], 231 | "domain_suffix": [ 232 | "apple-appstore.cn", 233 | "apple-dns.cn", 234 | "apple-dns.com.cn", 235 | "apple-ibooks.cn", 236 | "apple-icloud.cn", 237 | "apple-itunes.cn", 238 | "apple-maps.cn", 239 | "apple-store.cn", 240 | "apple.cn", 241 | "apple.com.cn", 242 | "appleappstore.cn", 243 | "applecenter.cn", 244 | "applecenter.com.cn", 245 | "applecomputer.cn", 246 | "applecomputer.com.cn", 247 | "appledns.cn", 248 | "appledns.com.cn", 249 | "appleicloud.cn", 250 | "applepaycash.cn", 251 | "applepaycash.com.cn", 252 | "applepaysupplies.cn", 253 | "applepaysupplies.com.cn", 254 | "applesiri.cn", 255 | "applestore.cn", 256 | "applestore.com.cn", 257 | "appletv4.cn", 258 | "appletv4.com.cn", 259 | "appstoreapple.cn", 260 | "beats1.cn", 261 | "beats1.com.cn", 262 | "beats2.com.cn", 263 | "beats4.cn", 264 | "beatsbydre.com", 265 | "beatsbydre.com.cn", 266 | "beatsep.cn", 267 | "ecgapp.com.cn", 268 | "faceshift.cn", 269 | "homepod.cn", 270 | "icloud-apple.cn", 271 | "icloud.com.cn", 272 | "icloud.net.cn", 273 | "icloudapple.cn", 274 | "insidear.cn", 275 | "iphone-8.com.cn", 276 | "ipod.com.cn", 277 | "itunes-apple.cn", 278 | "itunesapple.cn", 279 | "itunesradio.cn", 280 | "itunesradio.com.cn", 281 | "livephotos.cn", 282 | "livephotos.com.cn", 283 | "macbookair.cn", 284 | "macbookair.com.cn", 285 | "researchkit.cn", 286 | "researchkit.com.cn", 287 | "swiftui.cn", 288 | "swiftui.com.cn", 289 | "xn--czrs0t4phtr3a.cn", 290 | "xn--fiqs8sxootzz.cn", 291 | "xn--ohq11k7pl25iyo8a.cn" 292 | ] 293 | } 294 | ] 295 | } -------------------------------------------------------------------------------- /quanx/list/apple.snippet: -------------------------------------------------------------------------------- 1 | host, a1.mzstatic.com, direct 2 | host, a2.mzstatic.com, direct 3 | host, a3.mzstatic.com, direct 4 | host, a4.mzstatic.com, direct 5 | host, a5.mzstatic.com, direct 6 | host, adcdownload.apple.com, direct 7 | host, adcdownload.apple.com.akadns.net, direct 8 | host, amp-api-edge-lb-cn.itunes-apple.com.akadns.net, direct 9 | host, amp-api-edge-lb.itunes-apple.com.akadns.net, direct 10 | host, amp-api-edge.apps.apple.com, direct 11 | host, amp-api-search-edge.apps.apple.com, direct 12 | host, amp-api-updates.apps.apple.com, direct 13 | host, amp-api.apps.apple.com, direct 14 | host, amp-api.media.apple.com, direct 15 | host, amp-api.music.apple.com, direct 16 | host, aod.itunes.apple.com, direct 17 | host, api-edge.apps.apple.com, direct 18 | host, app-site-association.cdn-apple.com, direct 19 | host, appldnld.apple.com, direct 20 | host, appldnld.g.aaplimg.com, direct 21 | host, appleid.cdn-apple.com, direct 22 | host, apps.mzstatic.com, direct 23 | host, apptrailers.itunes.apple.com, direct 24 | host, auth.music.apple.com, direct 25 | host, bag-cdn.itunes-apple.com.akadns.net, direct 26 | host, bag.itunes.apple.com, direct 27 | host, bookkeeper.itunes.apple.com, direct 28 | host, cdn-cn.apple-mapkit.com, direct 29 | host, cdn-cn1.apple-mapkit.com, direct 30 | host, cdn-cn2.apple-mapkit.com, direct 31 | host, cdn-cn3.apple-mapkit.com, direct 32 | host, cdn-cn4.apple-mapkit.com, direct 33 | host, cdn.apple-mapkit.com, direct 34 | host, cdn1.apple-mapkit.com, direct 35 | host, cdn2.apple-mapkit.com, direct 36 | host, cdn3.apple-mapkit.com, direct 37 | host, cdn4.apple-mapkit.com, direct 38 | host, cds-cdn.v.aaplimg.com, direct 39 | host, cds.apple.com, direct 40 | host, cds.apple.com.akadns.net, direct 41 | host, cdsassets.apple.com, direct 42 | host, certs-lb.apple.com.akadns.net, direct 43 | host, certs.apple.com, direct 44 | host, cl1-cdn.origin-apple.com.akadns.net, direct 45 | host, cl1.apple.com, direct 46 | host, cl2-cdn.origin-apple.com.akadns.net, direct 47 | host, cl2-cn.apple.com, direct 48 | host, cl2.apple.com, direct 49 | host, cl3-cdn.origin-apple.com.akadns.net, direct 50 | host, cl3.apple.com, direct 51 | host, cl4-cdn.origin-apple.com.akadns.net, direct 52 | host, cl4-cn.apple.com, direct 53 | host, cl4.apple.com, direct 54 | host, cl5-cdn.origin-apple.com.akadns.net, direct 55 | host, cl5.apple.com, direct 56 | host, client-api.itunes.apple.com, direct 57 | host, clientflow.apple.com, direct 58 | host, clientflow.apple.com.akadns.net, direct 59 | host, cma.itunes.apple.com, direct 60 | host, cn-smp-paymentservices.apple.com, direct 61 | host, communities.apple.com, direct 62 | host, configuration.apple.com, direct 63 | host, configuration.apple.com.akadns.net, direct 64 | host, crl-lb.apple.com.akadns.net, direct 65 | host, crl.apple.com, direct 66 | host, cstat.apple.com, direct 67 | host, cstat.cdn-apple.com, direct 68 | host, dd-cdn.origin-apple.com.akadns.net, direct 69 | host, dejavu.apple.com, direct 70 | host, devimages-cdn.apple.com, direct 71 | host, devstreaming-cdn.apple.com, direct 72 | host, discussionschinese.apple.com, direct 73 | host, download.developer.apple.com, direct 74 | host, downloaddispatch.itunes.apple.com, direct 75 | host, experiments.apple.com, direct 76 | host, fides-pol.apple.com, direct 77 | host, gs-loc-cn.apple.com, direct 78 | host, gs-loc.apple.com, direct 79 | host, gsp10-ssl-cn.ls.apple.com, direct 80 | host, gsp12-cn.ls.apple.com, direct 81 | host, gsp13-cn.ls.apple.com, direct 82 | host, gsp4-cn.ls.apple.com, direct 83 | host, gsp4-cn.ls.apple.com.edgekey.net.globalredir.akadns.net, direct 84 | host, gsp5-cn.ls.apple.com, direct 85 | host, gsp85-cn-ssl.ls.apple.com, direct 86 | host, gspe11-2-cn-ssl.ls.apple.com, direct 87 | host, gspe12-cn-ssl.ls.apple.com, direct 88 | host, gspe19-2-cn-ssl.ls-apple.com.akadns.net, direct 89 | host, gspe19-2-cn-ssl.ls.apple.com, direct 90 | host, gspe19-cn-ssl.ls.apple.com, direct 91 | host, gspe19-cn.ls-apple.com.akadns.net, direct 92 | host, gspe19-cn.ls.apple.com, direct 93 | host, gspe21-ssl.ls.apple.com, direct 94 | host, gspe35-ssl.ls.apple.com, direct 95 | host, gspe79-cn-ssl.ls.apple.com, direct 96 | host, gspe85-cn-ssl.ls.apple.com, direct 97 | host, guzzoni-apple-com.v.aaplimg.com, direct 98 | host, guzzoni.apple.com, direct 99 | host, guzzoni.smoot.apple.com, direct 100 | host, icloud-cdn.icloud.com.akadns.net, direct 101 | host, icloud.cdn-apple.com, direct 102 | host, images.apple.com.edgekey.net.globalredir.akadns.net, direct 103 | host, inappcheck-cn.itunes-apple.com.akadns.net, direct 104 | host, inappcheck-lb.itunes-apple.com.akadns.net, direct 105 | host, inappcheck.itunes.apple.com, direct 106 | host, init-kt.apple.com, direct 107 | host, init-p01md-lb.push-apple.com.akadns.net, direct 108 | host, init-p01md.apple.com, direct 109 | host, init-p01st-lb.push-apple.com.akadns.net, direct 110 | host, init-p01st.push.apple.com, direct 111 | host, init-s01st-lb.push-apple.com.akadns.net, direct 112 | host, init-s01st.push.apple.com, direct 113 | host, init.ess.apple.com, direct 114 | host, init.gc-lb.apple.com.akadns.net, direct 115 | host, init.gc.apple.com, direct 116 | host, init.itunes.apple.com, direct 117 | host, iosapps.itunes.apple.com, direct 118 | host, iosapps.itunes.g.aaplimg.com, direct 119 | host, ipcdn.apple.com, direct 120 | host, iphone-ld.apple.com, direct 121 | host, iphone-ld.origin-apple.com.akadns.net, direct 122 | host, is-ssl.mzstatic.com-cn-lb.itunes-apple.com.akadns.net, direct 123 | host, is1-ssl.mzstatic.com, direct 124 | host, is1.mzstatic.com, direct 125 | host, is2-ssl.mzstatic.com, direct 126 | host, is2.mzstatic.com, direct 127 | host, is3-ssl.mzstatic.com, direct 128 | host, is3.mzstatic.com, direct 129 | host, is4-ssl.mzstatic.com, direct 130 | host, is4.mzstatic.com, direct 131 | host, is5-ssl.mzstatic.com, direct 132 | host, is5.mzstatic.com, direct 133 | host, itunes-apple.com.akadns.net, direct 134 | host, itunes.apple.com, direct 135 | host, itunesconnect.apple.com, direct 136 | host, js-cdn.music.apple.com, direct 137 | host, km.support.apple.com, direct 138 | host, maps.apple.com, direct 139 | host, mesu-cdn.apple.com.akadns.net, direct 140 | host, mesu-china.apple.com.akadns.net, direct 141 | host, mesu.apple.com, direct 142 | host, misc-assets.itunes.apple.com, direct 143 | host, ml.cdn-apple.com, direct 144 | host, music.apple.com, direct 145 | host, myapp.itunes.apple.com, direct 146 | host, np-edge.itunes.apple.com, direct 147 | host, ocsp-lb.apple.com.akadns.net, direct 148 | host, ocsp.apple.com, direct 149 | host, ocsp2-lb.apple.com.akadns.net, direct 150 | host, ocsp2.apple.com, direct 151 | host, oscdn.apple.com, direct 152 | host, oscdn.origin-apple.com.akadns.net, direct 153 | host, osxapps.itunes.apple.com, direct 154 | host, osxapps.itunes.g.aaplimg.com, direct 155 | host, pancake.apple.com, direct 156 | host, pancake.cdn-apple.com.akadns.net, direct 157 | host, pba0.apple.com, direct 158 | host, pd-nk.itunes.apple.com, direct 159 | host, pd.itunes.apple.com, direct 160 | host, play.itunes.apple.com, direct 161 | host, play.music.apple.com, direct 162 | host, probe.siri.apple.com, direct 163 | host, prod-support.apple-support.akadns.net, direct 164 | host, publicassets.cdn-apple.com, direct 165 | host, reserve-prime.apple.com, direct 166 | host, s.mzstatic.com, direct 167 | host, s1.mzstatic.com, direct 168 | host, s2.mzstatic.com, direct 169 | host, s3.mzstatic.com, direct 170 | host, s4.mzstatic.com, direct 171 | host, s5.mzstatic.com, direct 172 | host, se-edge.itunes.apple.com, direct 173 | host, se2.itunes.apple.com, direct 174 | host, search.itunes.apple.com, direct 175 | host, seed-sequoia.siri.apple.com, direct 176 | host, seed-swallow.siri.apple.com, direct 177 | host, seed.siri.apple.com, direct 178 | host, sequoia.apple.com, direct 179 | host, sf-api-token-service.itunes.apple.com, direct 180 | host, sh-pod2-smp-device.apple.com, direct 181 | host, shazam-insights.cdn-apple.com, direct 182 | host, smp-device-content.apple.com, direct 183 | host, sp.itunes.apple.com, direct 184 | host, static.gc.apple.com, direct 185 | host, stocks-sparkline-lb.apple.com.akadns.net, direct 186 | host, stocks-sparkline.apple.com, direct 187 | host, store.apple.com, direct 188 | host, store.apple.com.edgekey.net, direct 189 | host, store.apple.com.edgekey.net.globalredir.akadns.net, direct 190 | host, store.storeimages.apple.com.akadns.net, direct 191 | host, store.storeimages.cdn-apple.com, direct 192 | host, streamingaudio.itunes.apple.com, direct 193 | host, su.itunes.apple.com, direct 194 | host, support-china.apple-support.akadns.net, direct 195 | host, support.apple.com, direct 196 | host, swallow-apple-com.v.aaplimg.com, direct 197 | host, swallow.apple.com, direct 198 | host, swcatalog-cdn.apple.com.akadns.net, direct 199 | host, swcatalog.apple.com, direct 200 | host, swcdn.apple.com, direct 201 | host, swcdn.g.aaplimg.com, direct 202 | host, swdist.apple.com, direct 203 | host, swdist.apple.com.akadns.net, direct 204 | host, swscan-cdn.apple.com.akadns.net, direct 205 | host, swscan.apple.com, direct 206 | host, sylvan.apple.com, direct 207 | host, sync.itunes.apple.com, direct 208 | host, tf-feedback.itunes.apple.com, direct 209 | host, tj-pod1-smp-device.apple.com, direct 210 | host, updates-http.cdn-apple.com, direct 211 | host, updates-http.cdn-apple.com.akadns.net, direct 212 | host, updates.cdn-apple.com, direct 213 | host, upp.itunes.apple.com, direct 214 | host, valid.apple.com, direct 215 | host, valid.origin-apple.com.akadns.net, direct 216 | host, weather-data.apple.com, direct 217 | host, weather-data.apple.com.akadns.net, direct 218 | host, weather-map.apple.com, direct 219 | host, weather-map2.apple.com, direct 220 | host, weatherkit.apple.com, direct 221 | host, www.apple.com, direct 222 | host, www.apple.com.edgekey.net.globalredir.akadns.net, direct 223 | host, www.support.apple.com, direct 224 | host, xp.apple.com, direct 225 | host-suffix, apple-appstore.cn, direct 226 | host-suffix, apple-dns.cn, direct 227 | host-suffix, apple-dns.com.cn, direct 228 | host-suffix, apple-ibooks.cn, direct 229 | host-suffix, apple-icloud.cn, direct 230 | host-suffix, apple-itunes.cn, direct 231 | host-suffix, apple-maps.cn, direct 232 | host-suffix, apple-store.cn, direct 233 | host-suffix, apple.cn, direct 234 | host-suffix, apple.com.cn, direct 235 | host-suffix, appleappstore.cn, direct 236 | host-suffix, applecenter.cn, direct 237 | host-suffix, applecenter.com.cn, direct 238 | host-suffix, applecomputer.cn, direct 239 | host-suffix, applecomputer.com.cn, direct 240 | host-suffix, appledns.cn, direct 241 | host-suffix, appledns.com.cn, direct 242 | host-suffix, appleicloud.cn, direct 243 | host-suffix, applepaycash.cn, direct 244 | host-suffix, applepaycash.com.cn, direct 245 | host-suffix, applepaysupplies.cn, direct 246 | host-suffix, applepaysupplies.com.cn, direct 247 | host-suffix, applesiri.cn, direct 248 | host-suffix, applestore.cn, direct 249 | host-suffix, applestore.com.cn, direct 250 | host-suffix, appletv4.cn, direct 251 | host-suffix, appletv4.com.cn, direct 252 | host-suffix, appstoreapple.cn, direct 253 | host-suffix, beats1.cn, direct 254 | host-suffix, beats1.com.cn, direct 255 | host-suffix, beats2.com.cn, direct 256 | host-suffix, beats4.cn, direct 257 | host-suffix, beatsbydre.com, direct 258 | host-suffix, beatsbydre.com.cn, direct 259 | host-suffix, beatsep.cn, direct 260 | host-suffix, ecgapp.com.cn, direct 261 | host-suffix, faceshift.cn, direct 262 | host-suffix, homepod.cn, direct 263 | host-suffix, icloud-apple.cn, direct 264 | host-suffix, icloud.com.cn, direct 265 | host-suffix, icloud.net.cn, direct 266 | host-suffix, icloudapple.cn, direct 267 | host-suffix, insidear.cn, direct 268 | host-suffix, iphone-8.com.cn, direct 269 | host-suffix, ipod.com.cn, direct 270 | host-suffix, itunes-apple.cn, direct 271 | host-suffix, itunesapple.cn, direct 272 | host-suffix, itunesradio.cn, direct 273 | host-suffix, itunesradio.com.cn, direct 274 | host-suffix, livephotos.cn, direct 275 | host-suffix, livephotos.com.cn, direct 276 | host-suffix, macbookair.cn, direct 277 | host-suffix, macbookair.com.cn, direct 278 | host-suffix, researchkit.cn, direct 279 | host-suffix, researchkit.com.cn, direct 280 | host-suffix, swiftui.cn, direct 281 | host-suffix, swiftui.com.cn, direct 282 | host-suffix, xn--czrs0t4phtr3a.cn, direct 283 | host-suffix, xn--fiqs8sxootzz.cn, direct 284 | host-suffix, xn--ohq11k7pl25iyo8a.cn, direct 285 | -------------------------------------------------------------------------------- /surge/list/reject.list: -------------------------------------------------------------------------------- 1 | ad-channel.diwodiwo.xyz 2 | ad-display.diwodiwo.xyz 3 | adeventtracker.spotify.com 4 | ads3-normal-hl.zijieapi.com 5 | ads3-normal.zijieapi.com 6 | ads5-normal-hl.zijieapi.com 7 | ads5-normal.zijieapi.com 8 | adstudio-assets.scdn.co 9 | analytics.google.com 10 | apilog-web.acfun.cn 11 | bloodhound.spotify.com 12 | log-sdk.gifshow.com 13 | log3-applog-hl.fqnovel.com 14 | log3-applog.fqnovel.com 15 | log5-applog-hl.fqnovel.com 16 | log5-applog.fqnovel.com 17 | p3-ad-sign.byteimg.com 18 | p6-ad-sign.byteimg.com 19 | p9-ad-sign.byteimg.com 20 | pinggai0.caixin.com 21 | pinggai1.caixin.com 22 | pinggai2.caixin.com 23 | pinggai3.caixin.com 24 | pinggai4.caixin.com 25 | pinggai5.caixin.com 26 | pinggai6.caixin.com 27 | pinggai7.caixin.com 28 | pinggai8.caixin.com 29 | pinggai9.caixin.com 30 | rtlog3-applog-hl.fqnovel.com 31 | rtlog3-applog.fqnovel.com 32 | rtlog5-applog-hl.fqnovel.com 33 | rtlog5-applog.fqnovel.com 34 | wlog.kuaishou.com 35 | .1rx.io 36 | .2mdn-cn.net 37 | .2mdn.net 38 | .51.la 39 | .51y5.net 40 | .7box.vip 41 | .a.adtng.com 42 | .a.alimama.cn 43 | .a.market.xiaomi.com 44 | .a.youdao.com 45 | .aaxads.com 46 | .acjs.aliyun.com 47 | .ad-delivery.net 48 | .ad-srv.net 49 | .ad.12306.cn 50 | .ad.api.3g.youku.com 51 | .ad.api.mobile.youku.com 52 | .ad.api.moji.com 53 | .ad.browser.qq.com 54 | .ad.games.dmm.com 55 | .ad.hpplay.cn 56 | .ad.intl.xiaomi.com 57 | .ad.m.iqiyi.com 58 | .ad.mi.com 59 | .ad.mobile.youku.com 60 | .ad.qq.com 61 | .ad.qun.qq.com 62 | .ad.sina.com.cn 63 | .ad.us.sinaimg.cn 64 | .ad.wang502.com 65 | .ad.weixin.qq.com 66 | .ad.xiaomi.com 67 | .ad1.xiaomi.com 68 | .adash-c.m.taobao.com 69 | .adash-c.ut.taobao.com 70 | .adash-emas.cn-hangzhou.aliyuncs.com 71 | .adash.m.taobao.com 72 | .adash.man.aliyuncs.com 73 | .adashbc.m.taobao.com 74 | .adashbc.ut.taobao.com 75 | .adashx.m.taobao.com 76 | .adashx.ut.amap.com 77 | .adashx.ut.ele.me 78 | .adashx.ut.youku.com 79 | .adashx4ae.ut.taobao.com 80 | .adashx4yt.m.taobao.com 81 | .adashxgc.ut.taobao.com 82 | .adbehavior.ximalaya.com 83 | .adbkwai.com 84 | .adbox.sina.com.cn 85 | .adbutter.net 86 | .adcolony.com 87 | .addthisedge.com 88 | .adeng.hpplay.cn 89 | .adfilter.imtt.qq.com 90 | .adimg.mobile.sina.cn 91 | .adimg.uve.weibo.com 92 | .adinplay.com 93 | .adivery.com 94 | .adivery.ir 95 | .adjust.com 96 | .adjust.io 97 | .adjust.net.in 98 | .adjust.world 99 | .adkwai.com 100 | .admob-cn.com 101 | .admob.com 102 | .admob.xiaomi.com 103 | .admusicpic.music.126.net 104 | .adnet.qq.com 105 | .adnet.sohu.com 106 | .adnxs.com 107 | .adping.qq.com 108 | .adpm.app.qq.com 109 | .adq.chinaso.com 110 | .ads-api.duolingo.com 111 | .ads-union.jd.com 112 | .ads-uo.api.leiniao.com 113 | .ads-ut.api.leiniao.com 114 | .ads.api.my7v.com 115 | .ads.huan.tv 116 | .ads.huantest.com 117 | .ads.music.126.net 118 | .ads.service.kugou.com 119 | .ads.sina.com 120 | .ads.sohu.com 121 | .ads.trafficjunky.net 122 | .ads.uc.cn 123 | .ads.union.jd.com 124 | .ads.unitychina.cn 125 | .ads.wteam.xyz 126 | .ads.yahoo.com 127 | .ads.youtube.com 128 | .adscdn.baidu.com 129 | .adsclick.qq.com 130 | .adse.wsa.ximalaya.com 131 | .adse.ximalaya.com 132 | .adsense.com 133 | .adsensecustomsearchads.com 134 | .adsenseformobileapps.com 135 | .adservice.google.com 136 | .adserviceretry.kglink.cn 137 | .adserviceretry.kugou.com 138 | .adsfile.qq.com 139 | .adsh.m.taobao.com 140 | .adshmmsg.qq.com 141 | .adslot.uc.cn 142 | .adslvfile.qq.com 143 | .adslvseed.qq.com 144 | .adsmind.apdcdn.tc.qq.com 145 | .adsqqclick.qq.com 146 | .adstats.tencentmusic.com 147 | .adstestview.qq.com 148 | .adsview.qq.com 149 | .adsview2.qq.com 150 | .adtechus.com 151 | .adtrack.quark.cn 152 | .adtrue.com 153 | .adukwai.com 154 | .adv-sv-show.focus.cn 155 | .adv-sv-stat.focus.cn 156 | .adv.app.qq.com 157 | .adv.sec.intl.miui.com 158 | .adv.sec.miui.com 159 | .advapi.joyplus.tv 160 | .advapikj.joyplus.tv 161 | .adver.qq.com 162 | .advertisercommunity.com 163 | .advertiserscommunity.com 164 | .advertising.adobe.com 165 | .advertserve.com 166 | .adwords-community.com 167 | .adwords.com 168 | .adwordsexpress.com 169 | .adx.36kr.com 170 | .adx.xiaodutv.com 171 | .adxprtz.com 172 | .afd.baidu.com 173 | .afdconf.baidu.com 174 | .afp.iqiyi.com 175 | .alimama.alicdn.com 176 | .alitui.weibo.com 177 | .amazon-adsystem.com 178 | .analytics-data.io 179 | .analytics.163.com 180 | .analytics.facebook.com 181 | .analytics.vpc.duolingo.com 182 | .api-adservices.apple.com 183 | .app-analytics-services-att.com 184 | .app-analytics-services.com 185 | .app-measurement-cn.com 186 | .app-measurement.com 187 | .apple.www.letv.com 188 | .applovin.com 189 | .applvn.com 190 | .ark.letv.com 191 | .assets.growingio.com 192 | .assp.sohu.com 193 | .atanx.alicdn.com 194 | .atanx2.alicdn.com 195 | .atm.youku.com 196 | .atom-data.io 197 | .badjs.weixinbridge.com 198 | .baichuan-sdk.alicdn.com 199 | .baifen.music.baidu.com 200 | .bds.snssdk.com 201 | .bdu.focus.cn 202 | .beacon.cdn.qq.com 203 | .beacon.qq.com 204 | .beacon.sina.com.cn 205 | .beaconcdn.qq.com 206 | .beizi.biz 207 | .biz.weibo.com 208 | .bluekai.com 209 | .browser.events.data.msn.cn 210 | .browser.events.data.msn.com 211 | .btrace.qq.com 212 | .bugly.qq.com 213 | .byteadverts.com 214 | .bzclk.baidu.com 215 | .c-adash.m.taobao.com 216 | .c-nfa.jd.com 217 | .c.uaa.iqiyi.com 218 | .casalemedia.com 219 | .cb.baidu.com 220 | .cbjs.baidu.com 221 | .cdn.banclip.com 222 | .cdn.pocoiq.cn 223 | .cfts1tifqr.com 224 | .china-caa.org 225 | .chinaciaf.org 226 | .clarity.ms 227 | .clearbit.com 228 | .clearbitjs.com 229 | .clearbitscripts.com 230 | .click.ali213.net 231 | .click.hunantv.com 232 | .click.uve.mobile.sina.cn 233 | .click.uve.weibo.com 234 | .cloudpush.iqiyi.com 235 | .cm.baidu.com 236 | .cnaa123.com 237 | .collector.github.com 238 | .collector.xhamster.com 239 | .contentabc.com 240 | .contextual.media.net 241 | .copilot-telemetry.githubusercontent.com 242 | .cpmstar.com 243 | .cpro.baidu.com 244 | .cpro.baidustatic.com 245 | .cps.360buy.com 246 | .cpu.baidu.com 247 | .crash.163.com 248 | .crash2.zhihu.com 249 | .crashlytics.163.com 250 | .cretgate.com 251 | .cstm.baidu.com 252 | .ctobsnssdk.com 253 | .cupid.iqiyi.com 254 | .da.hunantv.com 255 | .da.mgtv.com 256 | .das-rpt-log.ucloud.cn 257 | .data.flurry.com 258 | .data.mistat.india.xiaomi.com 259 | .data.mistat.intl.xiaomi.com 260 | .data.mistat.rus.xiaomi.com 261 | .data.mistat.xiaomi.com 262 | .dc.letv.com 263 | .decide.mixpanel.com 264 | .demdex.net 265 | .dig.bdurl.net 266 | .dlswbr.baidu.com 267 | .dn-growing.qbox.me 268 | .doubleclick-cn.net 269 | .doubleclick.cn 270 | .doubleclick.com 271 | .doubleclick.net 272 | .drmcmm.baidu.com 273 | .dualstack-logs.amap.com 274 | .duiwai.baidu.com 275 | .dup.baidustatic.com 276 | .e.kuaishou.cn 277 | .e.kuaishou.com 278 | .e.qq.com 279 | .e.stat.ykimg.com 280 | .eclick.baidu.com 281 | .ecma.bdimg.com 282 | .ecmb.bdimg.com 283 | .ecmc.bdimg.com 284 | .eduad.baidu.com 285 | .eiv.baidu.com 286 | .emogi.com 287 | .ems.youku.com 288 | .ero-advertising.com 289 | .eroadvertising.com 290 | .euads-o.api.leiniao.com 291 | .evt.mxplay.com 292 | .exoclick.com 293 | .exosrv.com 294 | .extlog.snssdk.com 295 | .facebookads.com 296 | .fclick.baidu.com 297 | .fclog.baidu.com 298 | .fenxi.360.cn 299 | .fenxi.com 300 | .fourier.taobao.com 301 | .fout.jp 302 | .fpb.sohu.com 303 | .g.163.com 304 | .g.click.taobao.com 305 | .g1.tagtic.cn 306 | .g3.letv.com 307 | .gdt.qq.com 308 | .gemini.yahoo.com 309 | .gia.jd.com 310 | .gmossp-sp.jp 311 | .go2.global 312 | .google-analytics-cn.com 313 | .google-analytics.com 314 | .googleadapis.com 315 | .googleadapis.l.google.com 316 | .googleads-cn.com 317 | .googleads.com 318 | .googleadservices-cn.com 319 | .googleadservices.com 320 | .googleadsserving.cn 321 | .googleanalytics.com 322 | .googleoptimize-cn.com 323 | .googleoptimize.com 324 | .googlesyndication-cn.com 325 | .googlesyndication.com 326 | .googletagmanager-cn.com 327 | .googletagmanager.com 328 | .googletagservices-cn.com 329 | .googletagservices.com 330 | .googletraveladservices-cn.com 331 | .googletraveladservices.com 332 | .googlevads-cn.com 333 | .gozendata.com 334 | .graph-fallback.instagram.com 335 | .graph.instagram.com 336 | .graph.whatsapp.com 337 | .graph.whatsapp.net 338 | .guanggaoad.youku.com 339 | .gz-data.com 340 | .gzads.com 341 | .h-adashx.ut.ele.me 342 | .h-adashx.ut.taobao.com 343 | .h-adashx.ut.youku.com 344 | .h-adashx4yt.ut.taobao.com 345 | .h2tcbox.baidu.com 346 | .hao123union.baidu.com 347 | .hm.baidu.com 348 | .hmma.baidu.com 349 | .hq-tracking.qq.com 350 | .htrace.wetvinfo.com 351 | .httpool.com 352 | .hubcloud.com.cn 353 | .hwads-t.api.my7v.com 354 | .i-mobile.co.jp 355 | .i.snssdk.com 356 | .iabchina.cn 357 | .iad.apple.com 358 | .iadmat.nosdn.127.net 359 | .iadmatapk.nosdn.127.net 360 | .iadmusicmat.music.126.net 361 | .iadmusicmatvideo.music.126.net 362 | .iadsdk.apple.com 363 | .ifacelog.iqiyi.com 364 | .im-apps.net 365 | .img-bss.csdn.net 366 | .img-x.jd.com 367 | .imglnkc.com 368 | .imglnkd.com 369 | .imgstat.baidu.com 370 | .imp.go.sohu.com 371 | .impact-ad.jp 372 | .inner-active.mobi 373 | .innovid.com 374 | .inte.sogou.com 375 | .inte.sogoucdn.com 376 | .ipinyou.com 377 | .ipinyou.com.cn 378 | .ironbeast.io 379 | .isdspeed.qq.com 380 | .iwanad.baidu.com 381 | .jads.co 382 | .jl3.yjaxa.top 383 | .js-agent.newrelic.com 384 | .juicyads.com 385 | .jzt.jd.com 386 | .kaprila.com 387 | .kepler-37b.com 388 | .kuyun.com 389 | .ladsp.com 390 | .leanplum.com 391 | .lianmeng.360.cn 392 | .lijit.com 393 | .log.hunantv.com 394 | .log.mix.sina.com.cn 395 | .log.sina.cn 396 | .log.tbs.qq.com 397 | .log.umtrack.com 398 | .log.v2.hunantv.com 399 | .log2.sina.cn 400 | .logs.amap.com 401 | .logupdate.avlyun.sec.miui.com 402 | .lqc006.com 403 | .lstat.youku.com 404 | .lu.sogou.com 405 | .lu.sogoucdn.com 406 | .m-adash.m.taobao.com 407 | .m.aty.sohu.com 408 | .mail-ads.google.com 409 | .marketing.alibaba.com 410 | .marketingplatform.google.com 411 | .mbdlog.iqiyi.com 412 | .mcs.snssdk.com 413 | .mdt.qq.com 414 | .mediav.com 415 | .metrics.duolingo.com 416 | .mfadsrvr.com 417 | .mgid.com 418 | .miao.baidu.com 419 | .miaowu.baidu.com 420 | .microad.co.jp 421 | .microad.jp 422 | .microsoftads.com 423 | .mipcache.bdstatic.com 424 | .misc.in.duokanbox.com 425 | .mixer.sina.cn 426 | .mlog.hiido.com 427 | .moat.com 428 | .moatads.com 429 | .mobads-logs.baidu.com 430 | .mobads-pre-config.cdn.bcebos.com 431 | .mobads.baidu.com 432 | .mobileads.google.com 433 | .mobilemsg.youku.com 434 | .mobwithad.com 435 | .monitor.music.qq.com 436 | .mopub.com 437 | .mountain.zhidao.baidu.com 438 | .mpush.qq.com 439 | .msads.net 440 | .msg.video.qiyi.com 441 | .msg.youku.com 442 | .msg2.video.qiyi.com 443 | .mtrace.qq.com 444 | .mvad.com 445 | .najva.com 446 | .nbsdk-baichuan.alicdn.com 447 | .nbsdk-baichuan.taobao.com 448 | .nelreports.net 449 | .new-aaid.umeng.com.gds.alibabadns.com 450 | .ns1p.net 451 | .nsclick.baidu.com 452 | .nsclickvideo.baidu.com 453 | .oct.pocoiq.cn 454 | .ogury.co 455 | .ogury.com 456 | .onesignal.com 457 | .openx.net 458 | .openxadexchange.com 459 | .openxcdn.net 460 | .openxenterprise.com 461 | .openxmarket.asia 462 | .optaim.com 463 | .optimus-ads.amap.com 464 | .p-log.ykimg.com 465 | .p.aty.sohu.com 466 | .p4p.sina.com.cn 467 | .pagead.l.google.com 468 | .pangolin-dsp-toutiao-b.com 469 | .pangolin-dsp-toutiao.com 470 | .pangolin-hl.snssdk.com 471 | .pangolin-lf.snssdk.com 472 | .pangolin-lq.snssdk.com 473 | .pangolin-sdk-toutiao-b.com 474 | .pangolin-sdk-toutiao.com 475 | .pangolin-sdk-toutiao1.com 476 | .pangolin.snssdk.com 477 | .panplayable-toutiao-b.com 478 | .panplayable-toutiao.com 479 | .partnerad.l.google.com 480 | .passport-log.youku.com 481 | .pb.i.sogou.com 482 | .pbmp.ali213.net 483 | .pgdt.gtimg.cn 484 | .pglstatp-sdk-toutiao.com 485 | .pglstatp-snssdk-toutiao.com 486 | .pglstatp-toutiao-b.com 487 | .pglstatp-toutiao.com 488 | .pimlog.baidu.com 489 | .pingjs.qq.com 490 | .pixel.facebook.com 491 | .pl.youku.com 492 | .policy.video.iqiyi.com 493 | .pos.baidu.com 494 | .presage.io 495 | .pubmatic.com 496 | .push.qq.com 497 | .pv.hd.sohu.com 498 | .pv.sohu.com 499 | .qhupdate.com 500 | .qpb.sohu.com 501 | .qpb1.sohu.com 502 | .qwapi.com 503 | .reachmax.cn 504 | .realsrv.com 505 | .reke.at.sohu.com 506 | .report.qqweb.qq.com 507 | .res.hunantv.com 508 | .retcode.taobao.com 509 | .reyun.com 510 | .rs.sinajs.cn 511 | .s-adashx.ut.youku.com 512 | .s.360.cn 513 | .s.so.360.cn 514 | .s.union.360.cn 515 | .s4yxaqyq95.com 516 | .sa.sina.cn 517 | .sabavision.com 518 | .sbeacon.sina.com.cn 519 | .sclick.baidu.com 520 | .sdkclick.mobile.sina.cn 521 | .segment.com 522 | .segment.io 523 | .segmenthub.com 524 | .segmentify.com 525 | .sentry.d.mi.com 526 | .sentry.d.xiaomi.net 527 | .sentry.music.163.com 528 | .serving-sys.com 529 | .sf3-ttcdn-tos.pstatp.com 530 | .shhs-ydd8x2.yjrmss.cn 531 | .shoppingads.cn 532 | .shuzilm.cn 533 | .slog.sina.cn 534 | .slog.sina.com.cn 535 | .snapads.com 536 | .sngmta.qq.com 537 | .socdm.com 538 | .spcode.baidu.com 539 | .splash-ads.cdn.unity.cn 540 | .splash-ads.unitychina.cn 541 | .spotxchange.com 542 | .ssacdn.com 543 | .ssp.api.tappx.com 544 | .stat.chinaso.com 545 | .stat.m.jd.com 546 | .stat.y.qq.com 547 | .stat.youku.com 548 | .static.hotjar.com 549 | .static.javhd.com 550 | .static.sensorsdata.cn 551 | .statis.api.3g.youku.com 552 | .supersonic.com 553 | .supersonicads-a.akamaihd.net 554 | .supersonicads.com 555 | .syh.zybang.com 556 | .taboola.com 557 | .tajs.qq.com 558 | .tapsell.ir 559 | .tcbox.baidu.com 560 | .tce.alicdn.com 561 | .tcss.qq.com 562 | .telecome.cn 563 | .testads.api.my7v.com 564 | .theta.sogoucdn.com 565 | .tjqonline.cn 566 | .tm-banners.gamingadult.com 567 | .tmead.y.qq.com 568 | .tmeadcomm.y.qq.com 569 | .tns.simba.taobao.com 570 | .toboads.com 571 | .trace.qq.com 572 | .track.lc.quark.cn 573 | .track.sohu.com 574 | .tracker.ai.xiaomi.com 575 | .tracking.miui.com 576 | .trafficfactory.biz 577 | .tsyndicate.com 578 | .tubemogul.com 579 | .uberads.com 580 | .ubmcvideo.baidustatic.com 581 | .ugdtimg.com 582 | .unimhk.com 583 | .union.baidu.com 584 | .unioncom.cc 585 | .unionimage.baidu.com 586 | .unityads.unity.cn 587 | .unityads.unity3d.com 588 | .unityads.unitychina.cn 589 | .upapi.net 590 | .uranus.sogou.com 591 | .urchin.com 592 | .v6-adashx.ut.amap.com 593 | .v6-adashx.ut.cainiao.com 594 | .v6-adashx.ut.ele.me 595 | .v6-adashx.ut.taobao.com 596 | .v6-adashx.ut.youku.com 597 | .w.cnzz.com 598 | .wangmeng.baidu.com 599 | .wapwbclick.mobile.sina.cn 600 | .wbclick.mobile.sina.cn 601 | .wit.qq.com 602 | .wkctj.baidu.com 603 | .wm.baidu.com 604 | .wuliao.epro.sogou.com 605 | .wwads.cn 606 | .xy-log.tagtic.cn 607 | .yektanet.com 608 | .yfanads.cn 609 | .yfanads.com 610 | .yk-ssp.ad.youku.com 611 | .ykad-data.youku.com 612 | .ylog.hiido.com 613 | .ysm.yahoo.com 614 | .z.gds.cnzz.com 615 | .zhihu-web-analytics.zhihu.com 616 | .zhugeapi.com 617 | .zhugeapi.net 618 | .zhugeio.com 619 | .zxid-api.mobileservice.cn 620 | .zxid-m.mobileservice.cn 621 | .zz.bdstatic.com 622 | .tanx.com 623 | .miaozhen.com 624 | .tqt.weibo.cn 625 | .qzs.gdtimg.com 626 | .adsmind.gdtimg.com 627 | .umeng.com 628 | .umengcloud.com 629 | .fapi.xdrun.com 630 | .mix-mind.com 631 | .in-neo.com 632 | .rtbasia.com 633 | .gridsum.com 634 | .addnewer.com 635 | .msmp.abchina.com.cn 636 | -------------------------------------------------------------------------------- /clash/provider/reject.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - ad-channel.diwodiwo.xyz 3 | - ad-display.diwodiwo.xyz 4 | - adeventtracker.spotify.com 5 | - ads3-normal-hl.zijieapi.com 6 | - ads3-normal.zijieapi.com 7 | - ads5-normal-hl.zijieapi.com 8 | - ads5-normal.zijieapi.com 9 | - adstudio-assets.scdn.co 10 | - analytics.google.com 11 | - apilog-web.acfun.cn 12 | - bloodhound.spotify.com 13 | - log-sdk.gifshow.com 14 | - log3-applog-hl.fqnovel.com 15 | - log3-applog.fqnovel.com 16 | - log5-applog-hl.fqnovel.com 17 | - log5-applog.fqnovel.com 18 | - p3-ad-sign.byteimg.com 19 | - p6-ad-sign.byteimg.com 20 | - p9-ad-sign.byteimg.com 21 | - pinggai0.caixin.com 22 | - pinggai1.caixin.com 23 | - pinggai2.caixin.com 24 | - pinggai3.caixin.com 25 | - pinggai4.caixin.com 26 | - pinggai5.caixin.com 27 | - pinggai6.caixin.com 28 | - pinggai7.caixin.com 29 | - pinggai8.caixin.com 30 | - pinggai9.caixin.com 31 | - rtlog3-applog-hl.fqnovel.com 32 | - rtlog3-applog.fqnovel.com 33 | - rtlog5-applog-hl.fqnovel.com 34 | - rtlog5-applog.fqnovel.com 35 | - wlog.kuaishou.com 36 | - .1rx.io 37 | - .2mdn-cn.net 38 | - .2mdn.net 39 | - .51.la 40 | - .51y5.net 41 | - .7box.vip 42 | - .a.adtng.com 43 | - .a.alimama.cn 44 | - .a.market.xiaomi.com 45 | - .a.youdao.com 46 | - .aaxads.com 47 | - .acjs.aliyun.com 48 | - .ad-delivery.net 49 | - .ad-srv.net 50 | - .ad.12306.cn 51 | - .ad.api.3g.youku.com 52 | - .ad.api.mobile.youku.com 53 | - .ad.api.moji.com 54 | - .ad.browser.qq.com 55 | - .ad.games.dmm.com 56 | - .ad.hpplay.cn 57 | - .ad.intl.xiaomi.com 58 | - .ad.m.iqiyi.com 59 | - .ad.mi.com 60 | - .ad.mobile.youku.com 61 | - .ad.qq.com 62 | - .ad.qun.qq.com 63 | - .ad.sina.com.cn 64 | - .ad.us.sinaimg.cn 65 | - .ad.wang502.com 66 | - .ad.weixin.qq.com 67 | - .ad.xiaomi.com 68 | - .ad1.xiaomi.com 69 | - .adash-c.m.taobao.com 70 | - .adash-c.ut.taobao.com 71 | - .adash-emas.cn-hangzhou.aliyuncs.com 72 | - .adash.m.taobao.com 73 | - .adash.man.aliyuncs.com 74 | - .adashbc.m.taobao.com 75 | - .adashbc.ut.taobao.com 76 | - .adashx.m.taobao.com 77 | - .adashx.ut.amap.com 78 | - .adashx.ut.ele.me 79 | - .adashx.ut.youku.com 80 | - .adashx4ae.ut.taobao.com 81 | - .adashx4yt.m.taobao.com 82 | - .adashxgc.ut.taobao.com 83 | - .adbehavior.ximalaya.com 84 | - .adbkwai.com 85 | - .adbox.sina.com.cn 86 | - .adbutter.net 87 | - .adcolony.com 88 | - .addthisedge.com 89 | - .adeng.hpplay.cn 90 | - .adfilter.imtt.qq.com 91 | - .adimg.mobile.sina.cn 92 | - .adimg.uve.weibo.com 93 | - .adinplay.com 94 | - .adivery.com 95 | - .adivery.ir 96 | - .adjust.com 97 | - .adjust.io 98 | - .adjust.net.in 99 | - .adjust.world 100 | - .adkwai.com 101 | - .admob-cn.com 102 | - .admob.com 103 | - .admob.xiaomi.com 104 | - .admusicpic.music.126.net 105 | - .adnet.qq.com 106 | - .adnet.sohu.com 107 | - .adnxs.com 108 | - .adping.qq.com 109 | - .adpm.app.qq.com 110 | - .adq.chinaso.com 111 | - .ads-api.duolingo.com 112 | - .ads-union.jd.com 113 | - .ads-uo.api.leiniao.com 114 | - .ads-ut.api.leiniao.com 115 | - .ads.api.my7v.com 116 | - .ads.huan.tv 117 | - .ads.huantest.com 118 | - .ads.music.126.net 119 | - .ads.service.kugou.com 120 | - .ads.sina.com 121 | - .ads.sohu.com 122 | - .ads.trafficjunky.net 123 | - .ads.uc.cn 124 | - .ads.union.jd.com 125 | - .ads.unitychina.cn 126 | - .ads.wteam.xyz 127 | - .ads.yahoo.com 128 | - .ads.youtube.com 129 | - .adscdn.baidu.com 130 | - .adsclick.qq.com 131 | - .adse.wsa.ximalaya.com 132 | - .adse.ximalaya.com 133 | - .adsense.com 134 | - .adsensecustomsearchads.com 135 | - .adsenseformobileapps.com 136 | - .adservice.google.com 137 | - .adserviceretry.kglink.cn 138 | - .adserviceretry.kugou.com 139 | - .adsfile.qq.com 140 | - .adsh.m.taobao.com 141 | - .adshmmsg.qq.com 142 | - .adslot.uc.cn 143 | - .adslvfile.qq.com 144 | - .adslvseed.qq.com 145 | - .adsmind.apdcdn.tc.qq.com 146 | - .adsqqclick.qq.com 147 | - .adstats.tencentmusic.com 148 | - .adstestview.qq.com 149 | - .adsview.qq.com 150 | - .adsview2.qq.com 151 | - .adtechus.com 152 | - .adtrack.quark.cn 153 | - .adtrue.com 154 | - .adukwai.com 155 | - .adv-sv-show.focus.cn 156 | - .adv-sv-stat.focus.cn 157 | - .adv.app.qq.com 158 | - .adv.sec.intl.miui.com 159 | - .adv.sec.miui.com 160 | - .advapi.joyplus.tv 161 | - .advapikj.joyplus.tv 162 | - .adver.qq.com 163 | - .advertisercommunity.com 164 | - .advertiserscommunity.com 165 | - .advertising.adobe.com 166 | - .advertserve.com 167 | - .adwords-community.com 168 | - .adwords.com 169 | - .adwordsexpress.com 170 | - .adx.36kr.com 171 | - .adx.xiaodutv.com 172 | - .adxprtz.com 173 | - .afd.baidu.com 174 | - .afdconf.baidu.com 175 | - .afp.iqiyi.com 176 | - .alimama.alicdn.com 177 | - .alitui.weibo.com 178 | - .amazon-adsystem.com 179 | - .analytics-data.io 180 | - .analytics.163.com 181 | - .analytics.facebook.com 182 | - .analytics.vpc.duolingo.com 183 | - .api-adservices.apple.com 184 | - .app-analytics-services-att.com 185 | - .app-analytics-services.com 186 | - .app-measurement-cn.com 187 | - .app-measurement.com 188 | - .apple.www.letv.com 189 | - .applovin.com 190 | - .applvn.com 191 | - .ark.letv.com 192 | - .assets.growingio.com 193 | - .assp.sohu.com 194 | - .atanx.alicdn.com 195 | - .atanx2.alicdn.com 196 | - .atm.youku.com 197 | - .atom-data.io 198 | - .badjs.weixinbridge.com 199 | - .baichuan-sdk.alicdn.com 200 | - .baifen.music.baidu.com 201 | - .bds.snssdk.com 202 | - .bdu.focus.cn 203 | - .beacon.cdn.qq.com 204 | - .beacon.qq.com 205 | - .beacon.sina.com.cn 206 | - .beaconcdn.qq.com 207 | - .beizi.biz 208 | - .biz.weibo.com 209 | - .bluekai.com 210 | - .browser.events.data.msn.cn 211 | - .browser.events.data.msn.com 212 | - .btrace.qq.com 213 | - .bugly.qq.com 214 | - .byteadverts.com 215 | - .bzclk.baidu.com 216 | - .c-adash.m.taobao.com 217 | - .c-nfa.jd.com 218 | - .c.uaa.iqiyi.com 219 | - .casalemedia.com 220 | - .cb.baidu.com 221 | - .cbjs.baidu.com 222 | - .cdn.banclip.com 223 | - .cdn.pocoiq.cn 224 | - .cfts1tifqr.com 225 | - .china-caa.org 226 | - .chinaciaf.org 227 | - .clarity.ms 228 | - .clearbit.com 229 | - .clearbitjs.com 230 | - .clearbitscripts.com 231 | - .click.ali213.net 232 | - .click.hunantv.com 233 | - .click.uve.mobile.sina.cn 234 | - .click.uve.weibo.com 235 | - .cloudpush.iqiyi.com 236 | - .cm.baidu.com 237 | - .cnaa123.com 238 | - .collector.github.com 239 | - .collector.xhamster.com 240 | - .contentabc.com 241 | - .contextual.media.net 242 | - .copilot-telemetry.githubusercontent.com 243 | - .cpmstar.com 244 | - .cpro.baidu.com 245 | - .cpro.baidustatic.com 246 | - .cps.360buy.com 247 | - .cpu.baidu.com 248 | - .crash.163.com 249 | - .crash2.zhihu.com 250 | - .crashlytics.163.com 251 | - .cretgate.com 252 | - .cstm.baidu.com 253 | - .ctobsnssdk.com 254 | - .cupid.iqiyi.com 255 | - .da.hunantv.com 256 | - .da.mgtv.com 257 | - .das-rpt-log.ucloud.cn 258 | - .data.flurry.com 259 | - .data.mistat.india.xiaomi.com 260 | - .data.mistat.intl.xiaomi.com 261 | - .data.mistat.rus.xiaomi.com 262 | - .data.mistat.xiaomi.com 263 | - .dc.letv.com 264 | - .decide.mixpanel.com 265 | - .demdex.net 266 | - .dig.bdurl.net 267 | - .dlswbr.baidu.com 268 | - .dn-growing.qbox.me 269 | - .doubleclick-cn.net 270 | - .doubleclick.cn 271 | - .doubleclick.com 272 | - .doubleclick.net 273 | - .drmcmm.baidu.com 274 | - .dualstack-logs.amap.com 275 | - .duiwai.baidu.com 276 | - .dup.baidustatic.com 277 | - .e.kuaishou.cn 278 | - .e.kuaishou.com 279 | - .e.qq.com 280 | - .e.stat.ykimg.com 281 | - .eclick.baidu.com 282 | - .ecma.bdimg.com 283 | - .ecmb.bdimg.com 284 | - .ecmc.bdimg.com 285 | - .eduad.baidu.com 286 | - .eiv.baidu.com 287 | - .emogi.com 288 | - .ems.youku.com 289 | - .ero-advertising.com 290 | - .eroadvertising.com 291 | - .euads-o.api.leiniao.com 292 | - .evt.mxplay.com 293 | - .exoclick.com 294 | - .exosrv.com 295 | - .extlog.snssdk.com 296 | - .facebookads.com 297 | - .fclick.baidu.com 298 | - .fclog.baidu.com 299 | - .fenxi.360.cn 300 | - .fenxi.com 301 | - .fourier.taobao.com 302 | - .fout.jp 303 | - .fpb.sohu.com 304 | - .g.163.com 305 | - .g.click.taobao.com 306 | - .g1.tagtic.cn 307 | - .g3.letv.com 308 | - .gdt.qq.com 309 | - .gemini.yahoo.com 310 | - .gia.jd.com 311 | - .gmossp-sp.jp 312 | - .go2.global 313 | - .google-analytics-cn.com 314 | - .google-analytics.com 315 | - .googleadapis.com 316 | - .googleadapis.l.google.com 317 | - .googleads-cn.com 318 | - .googleads.com 319 | - .googleadservices-cn.com 320 | - .googleadservices.com 321 | - .googleadsserving.cn 322 | - .googleanalytics.com 323 | - .googleoptimize-cn.com 324 | - .googleoptimize.com 325 | - .googlesyndication-cn.com 326 | - .googlesyndication.com 327 | - .googletagmanager-cn.com 328 | - .googletagmanager.com 329 | - .googletagservices-cn.com 330 | - .googletagservices.com 331 | - .googletraveladservices-cn.com 332 | - .googletraveladservices.com 333 | - .googlevads-cn.com 334 | - .gozendata.com 335 | - .graph-fallback.instagram.com 336 | - .graph.instagram.com 337 | - .graph.whatsapp.com 338 | - .graph.whatsapp.net 339 | - .guanggaoad.youku.com 340 | - .gz-data.com 341 | - .gzads.com 342 | - .h-adashx.ut.ele.me 343 | - .h-adashx.ut.taobao.com 344 | - .h-adashx.ut.youku.com 345 | - .h-adashx4yt.ut.taobao.com 346 | - .h2tcbox.baidu.com 347 | - .hao123union.baidu.com 348 | - .hm.baidu.com 349 | - .hmma.baidu.com 350 | - .hq-tracking.qq.com 351 | - .htrace.wetvinfo.com 352 | - .httpool.com 353 | - .hubcloud.com.cn 354 | - .hwads-t.api.my7v.com 355 | - .i-mobile.co.jp 356 | - .i.snssdk.com 357 | - .iabchina.cn 358 | - .iad.apple.com 359 | - .iadmat.nosdn.127.net 360 | - .iadmatapk.nosdn.127.net 361 | - .iadmusicmat.music.126.net 362 | - .iadmusicmatvideo.music.126.net 363 | - .iadsdk.apple.com 364 | - .ifacelog.iqiyi.com 365 | - .im-apps.net 366 | - .img-bss.csdn.net 367 | - .img-x.jd.com 368 | - .imglnkc.com 369 | - .imglnkd.com 370 | - .imgstat.baidu.com 371 | - .imp.go.sohu.com 372 | - .impact-ad.jp 373 | - .inner-active.mobi 374 | - .innovid.com 375 | - .inte.sogou.com 376 | - .inte.sogoucdn.com 377 | - .ipinyou.com 378 | - .ipinyou.com.cn 379 | - .ironbeast.io 380 | - .isdspeed.qq.com 381 | - .iwanad.baidu.com 382 | - .jads.co 383 | - .jl3.yjaxa.top 384 | - .js-agent.newrelic.com 385 | - .juicyads.com 386 | - .jzt.jd.com 387 | - .kaprila.com 388 | - .kepler-37b.com 389 | - .kuyun.com 390 | - .ladsp.com 391 | - .leanplum.com 392 | - .lianmeng.360.cn 393 | - .lijit.com 394 | - .log.hunantv.com 395 | - .log.mix.sina.com.cn 396 | - .log.sina.cn 397 | - .log.tbs.qq.com 398 | - .log.umtrack.com 399 | - .log.v2.hunantv.com 400 | - .log2.sina.cn 401 | - .logs.amap.com 402 | - .logupdate.avlyun.sec.miui.com 403 | - .lqc006.com 404 | - .lstat.youku.com 405 | - .lu.sogou.com 406 | - .lu.sogoucdn.com 407 | - .m-adash.m.taobao.com 408 | - .m.aty.sohu.com 409 | - .mail-ads.google.com 410 | - .marketing.alibaba.com 411 | - .marketingplatform.google.com 412 | - .mbdlog.iqiyi.com 413 | - .mcs.snssdk.com 414 | - .mdt.qq.com 415 | - .mediav.com 416 | - .metrics.duolingo.com 417 | - .mfadsrvr.com 418 | - .mgid.com 419 | - .miao.baidu.com 420 | - .miaowu.baidu.com 421 | - .microad.co.jp 422 | - .microad.jp 423 | - .microsoftads.com 424 | - .mipcache.bdstatic.com 425 | - .misc.in.duokanbox.com 426 | - .mixer.sina.cn 427 | - .mlog.hiido.com 428 | - .moat.com 429 | - .moatads.com 430 | - .mobads-logs.baidu.com 431 | - .mobads-pre-config.cdn.bcebos.com 432 | - .mobads.baidu.com 433 | - .mobileads.google.com 434 | - .mobilemsg.youku.com 435 | - .mobwithad.com 436 | - .monitor.music.qq.com 437 | - .mopub.com 438 | - .mountain.zhidao.baidu.com 439 | - .mpush.qq.com 440 | - .msads.net 441 | - .msg.video.qiyi.com 442 | - .msg.youku.com 443 | - .msg2.video.qiyi.com 444 | - .mtrace.qq.com 445 | - .mvad.com 446 | - .najva.com 447 | - .nbsdk-baichuan.alicdn.com 448 | - .nbsdk-baichuan.taobao.com 449 | - .nelreports.net 450 | - .new-aaid.umeng.com.gds.alibabadns.com 451 | - .ns1p.net 452 | - .nsclick.baidu.com 453 | - .nsclickvideo.baidu.com 454 | - .oct.pocoiq.cn 455 | - .ogury.co 456 | - .ogury.com 457 | - .onesignal.com 458 | - .openx.net 459 | - .openxadexchange.com 460 | - .openxcdn.net 461 | - .openxenterprise.com 462 | - .openxmarket.asia 463 | - .optaim.com 464 | - .optimus-ads.amap.com 465 | - .p-log.ykimg.com 466 | - .p.aty.sohu.com 467 | - .p4p.sina.com.cn 468 | - .pagead.l.google.com 469 | - .pangolin-dsp-toutiao-b.com 470 | - .pangolin-dsp-toutiao.com 471 | - .pangolin-hl.snssdk.com 472 | - .pangolin-lf.snssdk.com 473 | - .pangolin-lq.snssdk.com 474 | - .pangolin-sdk-toutiao-b.com 475 | - .pangolin-sdk-toutiao.com 476 | - .pangolin-sdk-toutiao1.com 477 | - .pangolin.snssdk.com 478 | - .panplayable-toutiao-b.com 479 | - .panplayable-toutiao.com 480 | - .partnerad.l.google.com 481 | - .passport-log.youku.com 482 | - .pb.i.sogou.com 483 | - .pbmp.ali213.net 484 | - .pgdt.gtimg.cn 485 | - .pglstatp-sdk-toutiao.com 486 | - .pglstatp-snssdk-toutiao.com 487 | - .pglstatp-toutiao-b.com 488 | - .pglstatp-toutiao.com 489 | - .pimlog.baidu.com 490 | - .pingjs.qq.com 491 | - .pixel.facebook.com 492 | - .pl.youku.com 493 | - .policy.video.iqiyi.com 494 | - .pos.baidu.com 495 | - .presage.io 496 | - .pubmatic.com 497 | - .push.qq.com 498 | - .pv.hd.sohu.com 499 | - .pv.sohu.com 500 | - .qhupdate.com 501 | - .qpb.sohu.com 502 | - .qpb1.sohu.com 503 | - .qwapi.com 504 | - .reachmax.cn 505 | - .realsrv.com 506 | - .reke.at.sohu.com 507 | - .report.qqweb.qq.com 508 | - .res.hunantv.com 509 | - .retcode.taobao.com 510 | - .reyun.com 511 | - .rs.sinajs.cn 512 | - .s-adashx.ut.youku.com 513 | - .s.360.cn 514 | - .s.so.360.cn 515 | - .s.union.360.cn 516 | - .s4yxaqyq95.com 517 | - .sa.sina.cn 518 | - .sabavision.com 519 | - .sbeacon.sina.com.cn 520 | - .sclick.baidu.com 521 | - .sdkclick.mobile.sina.cn 522 | - .segment.com 523 | - .segment.io 524 | - .segmenthub.com 525 | - .segmentify.com 526 | - .sentry.d.mi.com 527 | - .sentry.d.xiaomi.net 528 | - .sentry.music.163.com 529 | - .serving-sys.com 530 | - .sf3-ttcdn-tos.pstatp.com 531 | - .shhs-ydd8x2.yjrmss.cn 532 | - .shoppingads.cn 533 | - .shuzilm.cn 534 | - .slog.sina.cn 535 | - .slog.sina.com.cn 536 | - .snapads.com 537 | - .sngmta.qq.com 538 | - .socdm.com 539 | - .spcode.baidu.com 540 | - .splash-ads.cdn.unity.cn 541 | - .splash-ads.unitychina.cn 542 | - .spotxchange.com 543 | - .ssacdn.com 544 | - .ssp.api.tappx.com 545 | - .stat.chinaso.com 546 | - .stat.m.jd.com 547 | - .stat.y.qq.com 548 | - .stat.youku.com 549 | - .static.hotjar.com 550 | - .static.javhd.com 551 | - .static.sensorsdata.cn 552 | - .statis.api.3g.youku.com 553 | - .supersonic.com 554 | - .supersonicads-a.akamaihd.net 555 | - .supersonicads.com 556 | - .syh.zybang.com 557 | - .taboola.com 558 | - .tajs.qq.com 559 | - .tapsell.ir 560 | - .tcbox.baidu.com 561 | - .tce.alicdn.com 562 | - .tcss.qq.com 563 | - .telecome.cn 564 | - .testads.api.my7v.com 565 | - .theta.sogoucdn.com 566 | - .tjqonline.cn 567 | - .tm-banners.gamingadult.com 568 | - .tmead.y.qq.com 569 | - .tmeadcomm.y.qq.com 570 | - .tns.simba.taobao.com 571 | - .toboads.com 572 | - .trace.qq.com 573 | - .track.lc.quark.cn 574 | - .track.sohu.com 575 | - .tracker.ai.xiaomi.com 576 | - .tracking.miui.com 577 | - .trafficfactory.biz 578 | - .tsyndicate.com 579 | - .tubemogul.com 580 | - .uberads.com 581 | - .ubmcvideo.baidustatic.com 582 | - .ugdtimg.com 583 | - .unimhk.com 584 | - .union.baidu.com 585 | - .unioncom.cc 586 | - .unionimage.baidu.com 587 | - .unityads.unity.cn 588 | - .unityads.unity3d.com 589 | - .unityads.unitychina.cn 590 | - .upapi.net 591 | - .uranus.sogou.com 592 | - .urchin.com 593 | - .v6-adashx.ut.amap.com 594 | - .v6-adashx.ut.cainiao.com 595 | - .v6-adashx.ut.ele.me 596 | - .v6-adashx.ut.taobao.com 597 | - .v6-adashx.ut.youku.com 598 | - .w.cnzz.com 599 | - .wangmeng.baidu.com 600 | - .wapwbclick.mobile.sina.cn 601 | - .wbclick.mobile.sina.cn 602 | - .wit.qq.com 603 | - .wkctj.baidu.com 604 | - .wm.baidu.com 605 | - .wuliao.epro.sogou.com 606 | - .wwads.cn 607 | - .xy-log.tagtic.cn 608 | - .yektanet.com 609 | - .yfanads.cn 610 | - .yfanads.com 611 | - .yk-ssp.ad.youku.com 612 | - .ykad-data.youku.com 613 | - .ylog.hiido.com 614 | - .ysm.yahoo.com 615 | - .z.gds.cnzz.com 616 | - .zhihu-web-analytics.zhihu.com 617 | - .zhugeapi.com 618 | - .zhugeapi.net 619 | - .zhugeio.com 620 | - .zxid-api.mobileservice.cn 621 | - .zxid-m.mobileservice.cn 622 | - .zz.bdstatic.com 623 | - .tanx.com 624 | - .miaozhen.com 625 | - .tqt.weibo.cn 626 | - .qzs.gdtimg.com 627 | - .adsmind.gdtimg.com 628 | - .umeng.com 629 | - .umengcloud.com 630 | - .fapi.xdrun.com 631 | - .mix-mind.com 632 | - .in-neo.com 633 | - .rtbasia.com 634 | - .gridsum.com 635 | - .addnewer.com 636 | - .msmp.abchina.com.cn 637 | -------------------------------------------------------------------------------- /sing/ruleset/reject.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "rules": [ 4 | { 5 | "domain": [ 6 | "ad-channel.diwodiwo.xyz", 7 | "ad-display.diwodiwo.xyz", 8 | "adeventtracker.spotify.com", 9 | "ads3-normal-hl.zijieapi.com", 10 | "ads3-normal.zijieapi.com", 11 | "ads5-normal-hl.zijieapi.com", 12 | "ads5-normal.zijieapi.com", 13 | "adstudio-assets.scdn.co", 14 | "analytics.google.com", 15 | "apilog-web.acfun.cn", 16 | "bloodhound.spotify.com", 17 | "log-sdk.gifshow.com", 18 | "log3-applog-hl.fqnovel.com", 19 | "log3-applog.fqnovel.com", 20 | "log5-applog-hl.fqnovel.com", 21 | "log5-applog.fqnovel.com", 22 | "p3-ad-sign.byteimg.com", 23 | "p6-ad-sign.byteimg.com", 24 | "p9-ad-sign.byteimg.com", 25 | "pinggai0.caixin.com", 26 | "pinggai1.caixin.com", 27 | "pinggai2.caixin.com", 28 | "pinggai3.caixin.com", 29 | "pinggai4.caixin.com", 30 | "pinggai5.caixin.com", 31 | "pinggai6.caixin.com", 32 | "pinggai7.caixin.com", 33 | "pinggai8.caixin.com", 34 | "pinggai9.caixin.com", 35 | "rtlog3-applog-hl.fqnovel.com", 36 | "rtlog3-applog.fqnovel.com", 37 | "rtlog5-applog-hl.fqnovel.com", 38 | "rtlog5-applog.fqnovel.com", 39 | "wlog.kuaishou.com" 40 | ], 41 | "domain_suffix": [ 42 | "1rx.io", 43 | "2mdn-cn.net", 44 | "2mdn.net", 45 | "51.la", 46 | "51y5.net", 47 | "7box.vip", 48 | "a.adtng.com", 49 | "a.alimama.cn", 50 | "a.market.xiaomi.com", 51 | "a.youdao.com", 52 | "aaxads.com", 53 | "acjs.aliyun.com", 54 | "ad-delivery.net", 55 | "ad-srv.net", 56 | "ad.12306.cn", 57 | "ad.api.3g.youku.com", 58 | "ad.api.mobile.youku.com", 59 | "ad.api.moji.com", 60 | "ad.browser.qq.com", 61 | "ad.games.dmm.com", 62 | "ad.hpplay.cn", 63 | "ad.intl.xiaomi.com", 64 | "ad.m.iqiyi.com", 65 | "ad.mi.com", 66 | "ad.mobile.youku.com", 67 | "ad.qq.com", 68 | "ad.qun.qq.com", 69 | "ad.sina.com.cn", 70 | "ad.us.sinaimg.cn", 71 | "ad.wang502.com", 72 | "ad.weixin.qq.com", 73 | "ad.xiaomi.com", 74 | "ad1.xiaomi.com", 75 | "adash-c.m.taobao.com", 76 | "adash-c.ut.taobao.com", 77 | "adash-emas.cn-hangzhou.aliyuncs.com", 78 | "adash.m.taobao.com", 79 | "adash.man.aliyuncs.com", 80 | "adashbc.m.taobao.com", 81 | "adashbc.ut.taobao.com", 82 | "adashx.m.taobao.com", 83 | "adashx.ut.amap.com", 84 | "adashx.ut.ele.me", 85 | "adashx.ut.youku.com", 86 | "adashx4ae.ut.taobao.com", 87 | "adashx4yt.m.taobao.com", 88 | "adashxgc.ut.taobao.com", 89 | "adbehavior.ximalaya.com", 90 | "adbkwai.com", 91 | "adbox.sina.com.cn", 92 | "adbutter.net", 93 | "adcolony.com", 94 | "addthisedge.com", 95 | "adeng.hpplay.cn", 96 | "adfilter.imtt.qq.com", 97 | "adimg.mobile.sina.cn", 98 | "adimg.uve.weibo.com", 99 | "adinplay.com", 100 | "adivery.com", 101 | "adivery.ir", 102 | "adjust.com", 103 | "adjust.io", 104 | "adjust.net.in", 105 | "adjust.world", 106 | "adkwai.com", 107 | "admob-cn.com", 108 | "admob.com", 109 | "admob.xiaomi.com", 110 | "admusicpic.music.126.net", 111 | "adnet.qq.com", 112 | "adnet.sohu.com", 113 | "adnxs.com", 114 | "adping.qq.com", 115 | "adpm.app.qq.com", 116 | "adq.chinaso.com", 117 | "ads-api.duolingo.com", 118 | "ads-union.jd.com", 119 | "ads-uo.api.leiniao.com", 120 | "ads-ut.api.leiniao.com", 121 | "ads.api.my7v.com", 122 | "ads.huan.tv", 123 | "ads.huantest.com", 124 | "ads.music.126.net", 125 | "ads.service.kugou.com", 126 | "ads.sina.com", 127 | "ads.sohu.com", 128 | "ads.trafficjunky.net", 129 | "ads.uc.cn", 130 | "ads.union.jd.com", 131 | "ads.unitychina.cn", 132 | "ads.wteam.xyz", 133 | "ads.yahoo.com", 134 | "ads.youtube.com", 135 | "adscdn.baidu.com", 136 | "adsclick.qq.com", 137 | "adse.wsa.ximalaya.com", 138 | "adse.ximalaya.com", 139 | "adsense.com", 140 | "adsensecustomsearchads.com", 141 | "adsenseformobileapps.com", 142 | "adservice.google.com", 143 | "adserviceretry.kglink.cn", 144 | "adserviceretry.kugou.com", 145 | "adsfile.qq.com", 146 | "adsh.m.taobao.com", 147 | "adshmmsg.qq.com", 148 | "adslot.uc.cn", 149 | "adslvfile.qq.com", 150 | "adslvseed.qq.com", 151 | "adsmind.apdcdn.tc.qq.com", 152 | "adsqqclick.qq.com", 153 | "adstats.tencentmusic.com", 154 | "adstestview.qq.com", 155 | "adsview.qq.com", 156 | "adsview2.qq.com", 157 | "adtechus.com", 158 | "adtrack.quark.cn", 159 | "adtrue.com", 160 | "adukwai.com", 161 | "adv-sv-show.focus.cn", 162 | "adv-sv-stat.focus.cn", 163 | "adv.app.qq.com", 164 | "adv.sec.intl.miui.com", 165 | "adv.sec.miui.com", 166 | "advapi.joyplus.tv", 167 | "advapikj.joyplus.tv", 168 | "adver.qq.com", 169 | "advertisercommunity.com", 170 | "advertiserscommunity.com", 171 | "advertising.adobe.com", 172 | "advertserve.com", 173 | "adwords-community.com", 174 | "adwords.com", 175 | "adwordsexpress.com", 176 | "adx.36kr.com", 177 | "adx.xiaodutv.com", 178 | "adxprtz.com", 179 | "afd.baidu.com", 180 | "afdconf.baidu.com", 181 | "afp.iqiyi.com", 182 | "alimama.alicdn.com", 183 | "alitui.weibo.com", 184 | "amazon-adsystem.com", 185 | "analytics-data.io", 186 | "analytics.163.com", 187 | "analytics.facebook.com", 188 | "analytics.vpc.duolingo.com", 189 | "api-adservices.apple.com", 190 | "app-analytics-services-att.com", 191 | "app-analytics-services.com", 192 | "app-measurement-cn.com", 193 | "app-measurement.com", 194 | "apple.www.letv.com", 195 | "applovin.com", 196 | "applvn.com", 197 | "ark.letv.com", 198 | "assets.growingio.com", 199 | "assp.sohu.com", 200 | "atanx.alicdn.com", 201 | "atanx2.alicdn.com", 202 | "atm.youku.com", 203 | "atom-data.io", 204 | "badjs.weixinbridge.com", 205 | "baichuan-sdk.alicdn.com", 206 | "baifen.music.baidu.com", 207 | "bds.snssdk.com", 208 | "bdu.focus.cn", 209 | "beacon.cdn.qq.com", 210 | "beacon.qq.com", 211 | "beacon.sina.com.cn", 212 | "beaconcdn.qq.com", 213 | "beizi.biz", 214 | "biz.weibo.com", 215 | "bluekai.com", 216 | "browser.events.data.msn.cn", 217 | "browser.events.data.msn.com", 218 | "btrace.qq.com", 219 | "bugly.qq.com", 220 | "byteadverts.com", 221 | "bzclk.baidu.com", 222 | "c-adash.m.taobao.com", 223 | "c-nfa.jd.com", 224 | "c.uaa.iqiyi.com", 225 | "casalemedia.com", 226 | "cb.baidu.com", 227 | "cbjs.baidu.com", 228 | "cdn.banclip.com", 229 | "cdn.pocoiq.cn", 230 | "cfts1tifqr.com", 231 | "china-caa.org", 232 | "chinaciaf.org", 233 | "clarity.ms", 234 | "clearbit.com", 235 | "clearbitjs.com", 236 | "clearbitscripts.com", 237 | "click.ali213.net", 238 | "click.hunantv.com", 239 | "click.uve.mobile.sina.cn", 240 | "click.uve.weibo.com", 241 | "cloudpush.iqiyi.com", 242 | "cm.baidu.com", 243 | "cnaa123.com", 244 | "collector.github.com", 245 | "collector.xhamster.com", 246 | "contentabc.com", 247 | "contextual.media.net", 248 | "copilot-telemetry.githubusercontent.com", 249 | "cpmstar.com", 250 | "cpro.baidu.com", 251 | "cpro.baidustatic.com", 252 | "cps.360buy.com", 253 | "cpu.baidu.com", 254 | "crash.163.com", 255 | "crash2.zhihu.com", 256 | "crashlytics.163.com", 257 | "cretgate.com", 258 | "cstm.baidu.com", 259 | "ctobsnssdk.com", 260 | "cupid.iqiyi.com", 261 | "da.hunantv.com", 262 | "da.mgtv.com", 263 | "das-rpt-log.ucloud.cn", 264 | "data.flurry.com", 265 | "data.mistat.india.xiaomi.com", 266 | "data.mistat.intl.xiaomi.com", 267 | "data.mistat.rus.xiaomi.com", 268 | "data.mistat.xiaomi.com", 269 | "dc.letv.com", 270 | "decide.mixpanel.com", 271 | "demdex.net", 272 | "dig.bdurl.net", 273 | "dlswbr.baidu.com", 274 | "dn-growing.qbox.me", 275 | "doubleclick-cn.net", 276 | "doubleclick.cn", 277 | "doubleclick.com", 278 | "doubleclick.net", 279 | "drmcmm.baidu.com", 280 | "dualstack-logs.amap.com", 281 | "duiwai.baidu.com", 282 | "dup.baidustatic.com", 283 | "e.kuaishou.cn", 284 | "e.kuaishou.com", 285 | "e.qq.com", 286 | "e.stat.ykimg.com", 287 | "eclick.baidu.com", 288 | "ecma.bdimg.com", 289 | "ecmb.bdimg.com", 290 | "ecmc.bdimg.com", 291 | "eduad.baidu.com", 292 | "eiv.baidu.com", 293 | "emogi.com", 294 | "ems.youku.com", 295 | "ero-advertising.com", 296 | "eroadvertising.com", 297 | "euads-o.api.leiniao.com", 298 | "evt.mxplay.com", 299 | "exoclick.com", 300 | "exosrv.com", 301 | "extlog.snssdk.com", 302 | "facebookads.com", 303 | "fclick.baidu.com", 304 | "fclog.baidu.com", 305 | "fenxi.360.cn", 306 | "fenxi.com", 307 | "fourier.taobao.com", 308 | "fout.jp", 309 | "fpb.sohu.com", 310 | "g.163.com", 311 | "g.click.taobao.com", 312 | "g1.tagtic.cn", 313 | "g3.letv.com", 314 | "gdt.qq.com", 315 | "gemini.yahoo.com", 316 | "gia.jd.com", 317 | "gmossp-sp.jp", 318 | "go2.global", 319 | "google-analytics-cn.com", 320 | "google-analytics.com", 321 | "googleadapis.com", 322 | "googleadapis.l.google.com", 323 | "googleads-cn.com", 324 | "googleads.com", 325 | "googleadservices-cn.com", 326 | "googleadservices.com", 327 | "googleadsserving.cn", 328 | "googleanalytics.com", 329 | "googleoptimize-cn.com", 330 | "googleoptimize.com", 331 | "googlesyndication-cn.com", 332 | "googlesyndication.com", 333 | "googletagmanager-cn.com", 334 | "googletagmanager.com", 335 | "googletagservices-cn.com", 336 | "googletagservices.com", 337 | "googletraveladservices-cn.com", 338 | "googletraveladservices.com", 339 | "googlevads-cn.com", 340 | "gozendata.com", 341 | "graph-fallback.instagram.com", 342 | "graph.instagram.com", 343 | "graph.whatsapp.com", 344 | "graph.whatsapp.net", 345 | "guanggaoad.youku.com", 346 | "gz-data.com", 347 | "gzads.com", 348 | "h-adashx.ut.ele.me", 349 | "h-adashx.ut.taobao.com", 350 | "h-adashx.ut.youku.com", 351 | "h-adashx4yt.ut.taobao.com", 352 | "h2tcbox.baidu.com", 353 | "hao123union.baidu.com", 354 | "hm.baidu.com", 355 | "hmma.baidu.com", 356 | "hq-tracking.qq.com", 357 | "htrace.wetvinfo.com", 358 | "httpool.com", 359 | "hubcloud.com.cn", 360 | "hwads-t.api.my7v.com", 361 | "i-mobile.co.jp", 362 | "i.snssdk.com", 363 | "iabchina.cn", 364 | "iad.apple.com", 365 | "iadmat.nosdn.127.net", 366 | "iadmatapk.nosdn.127.net", 367 | "iadmusicmat.music.126.net", 368 | "iadmusicmatvideo.music.126.net", 369 | "iadsdk.apple.com", 370 | "ifacelog.iqiyi.com", 371 | "im-apps.net", 372 | "img-bss.csdn.net", 373 | "img-x.jd.com", 374 | "imglnkc.com", 375 | "imglnkd.com", 376 | "imgstat.baidu.com", 377 | "imp.go.sohu.com", 378 | "impact-ad.jp", 379 | "inner-active.mobi", 380 | "innovid.com", 381 | "inte.sogou.com", 382 | "inte.sogoucdn.com", 383 | "ipinyou.com", 384 | "ipinyou.com.cn", 385 | "ironbeast.io", 386 | "isdspeed.qq.com", 387 | "iwanad.baidu.com", 388 | "jads.co", 389 | "jl3.yjaxa.top", 390 | "js-agent.newrelic.com", 391 | "juicyads.com", 392 | "jzt.jd.com", 393 | "kaprila.com", 394 | "kepler-37b.com", 395 | "kuyun.com", 396 | "ladsp.com", 397 | "leanplum.com", 398 | "lianmeng.360.cn", 399 | "lijit.com", 400 | "log.hunantv.com", 401 | "log.mix.sina.com.cn", 402 | "log.sina.cn", 403 | "log.tbs.qq.com", 404 | "log.umtrack.com", 405 | "log.v2.hunantv.com", 406 | "log2.sina.cn", 407 | "logs.amap.com", 408 | "logupdate.avlyun.sec.miui.com", 409 | "lqc006.com", 410 | "lstat.youku.com", 411 | "lu.sogou.com", 412 | "lu.sogoucdn.com", 413 | "m-adash.m.taobao.com", 414 | "m.aty.sohu.com", 415 | "mail-ads.google.com", 416 | "marketing.alibaba.com", 417 | "marketingplatform.google.com", 418 | "mbdlog.iqiyi.com", 419 | "mcs.snssdk.com", 420 | "mdt.qq.com", 421 | "mediav.com", 422 | "metrics.duolingo.com", 423 | "mfadsrvr.com", 424 | "mgid.com", 425 | "miao.baidu.com", 426 | "miaowu.baidu.com", 427 | "microad.co.jp", 428 | "microad.jp", 429 | "microsoftads.com", 430 | "mipcache.bdstatic.com", 431 | "misc.in.duokanbox.com", 432 | "mixer.sina.cn", 433 | "mlog.hiido.com", 434 | "moat.com", 435 | "moatads.com", 436 | "mobads-logs.baidu.com", 437 | "mobads-pre-config.cdn.bcebos.com", 438 | "mobads.baidu.com", 439 | "mobileads.google.com", 440 | "mobilemsg.youku.com", 441 | "mobwithad.com", 442 | "monitor.music.qq.com", 443 | "mopub.com", 444 | "mountain.zhidao.baidu.com", 445 | "mpush.qq.com", 446 | "msads.net", 447 | "msg.video.qiyi.com", 448 | "msg.youku.com", 449 | "msg2.video.qiyi.com", 450 | "mtrace.qq.com", 451 | "mvad.com", 452 | "najva.com", 453 | "nbsdk-baichuan.alicdn.com", 454 | "nbsdk-baichuan.taobao.com", 455 | "nelreports.net", 456 | "new-aaid.umeng.com.gds.alibabadns.com", 457 | "ns1p.net", 458 | "nsclick.baidu.com", 459 | "nsclickvideo.baidu.com", 460 | "oct.pocoiq.cn", 461 | "ogury.co", 462 | "ogury.com", 463 | "onesignal.com", 464 | "openx.net", 465 | "openxadexchange.com", 466 | "openxcdn.net", 467 | "openxenterprise.com", 468 | "openxmarket.asia", 469 | "optaim.com", 470 | "optimus-ads.amap.com", 471 | "p-log.ykimg.com", 472 | "p.aty.sohu.com", 473 | "p4p.sina.com.cn", 474 | "pagead.l.google.com", 475 | "pangolin-dsp-toutiao-b.com", 476 | "pangolin-dsp-toutiao.com", 477 | "pangolin-hl.snssdk.com", 478 | "pangolin-lf.snssdk.com", 479 | "pangolin-lq.snssdk.com", 480 | "pangolin-sdk-toutiao-b.com", 481 | "pangolin-sdk-toutiao.com", 482 | "pangolin-sdk-toutiao1.com", 483 | "pangolin.snssdk.com", 484 | "panplayable-toutiao-b.com", 485 | "panplayable-toutiao.com", 486 | "partnerad.l.google.com", 487 | "passport-log.youku.com", 488 | "pb.i.sogou.com", 489 | "pbmp.ali213.net", 490 | "pgdt.gtimg.cn", 491 | "pglstatp-sdk-toutiao.com", 492 | "pglstatp-snssdk-toutiao.com", 493 | "pglstatp-toutiao-b.com", 494 | "pglstatp-toutiao.com", 495 | "pimlog.baidu.com", 496 | "pingjs.qq.com", 497 | "pixel.facebook.com", 498 | "pl.youku.com", 499 | "policy.video.iqiyi.com", 500 | "pos.baidu.com", 501 | "presage.io", 502 | "pubmatic.com", 503 | "push.qq.com", 504 | "pv.hd.sohu.com", 505 | "pv.sohu.com", 506 | "qhupdate.com", 507 | "qpb.sohu.com", 508 | "qpb1.sohu.com", 509 | "qwapi.com", 510 | "reachmax.cn", 511 | "realsrv.com", 512 | "reke.at.sohu.com", 513 | "report.qqweb.qq.com", 514 | "res.hunantv.com", 515 | "retcode.taobao.com", 516 | "reyun.com", 517 | "rs.sinajs.cn", 518 | "s-adashx.ut.youku.com", 519 | "s.360.cn", 520 | "s.so.360.cn", 521 | "s.union.360.cn", 522 | "s4yxaqyq95.com", 523 | "sa.sina.cn", 524 | "sabavision.com", 525 | "sbeacon.sina.com.cn", 526 | "sclick.baidu.com", 527 | "sdkclick.mobile.sina.cn", 528 | "segment.com", 529 | "segment.io", 530 | "segmenthub.com", 531 | "segmentify.com", 532 | "sentry.d.mi.com", 533 | "sentry.d.xiaomi.net", 534 | "sentry.music.163.com", 535 | "serving-sys.com", 536 | "sf3-ttcdn-tos.pstatp.com", 537 | "shhs-ydd8x2.yjrmss.cn", 538 | "shoppingads.cn", 539 | "shuzilm.cn", 540 | "slog.sina.cn", 541 | "slog.sina.com.cn", 542 | "snapads.com", 543 | "sngmta.qq.com", 544 | "socdm.com", 545 | "spcode.baidu.com", 546 | "splash-ads.cdn.unity.cn", 547 | "splash-ads.unitychina.cn", 548 | "spotxchange.com", 549 | "ssacdn.com", 550 | "ssp.api.tappx.com", 551 | "stat.chinaso.com", 552 | "stat.m.jd.com", 553 | "stat.y.qq.com", 554 | "stat.youku.com", 555 | "static.hotjar.com", 556 | "static.javhd.com", 557 | "static.sensorsdata.cn", 558 | "statis.api.3g.youku.com", 559 | "supersonic.com", 560 | "supersonicads-a.akamaihd.net", 561 | "supersonicads.com", 562 | "syh.zybang.com", 563 | "taboola.com", 564 | "tajs.qq.com", 565 | "tapsell.ir", 566 | "tcbox.baidu.com", 567 | "tce.alicdn.com", 568 | "tcss.qq.com", 569 | "telecome.cn", 570 | "testads.api.my7v.com", 571 | "theta.sogoucdn.com", 572 | "tjqonline.cn", 573 | "tm-banners.gamingadult.com", 574 | "tmead.y.qq.com", 575 | "tmeadcomm.y.qq.com", 576 | "tns.simba.taobao.com", 577 | "toboads.com", 578 | "trace.qq.com", 579 | "track.lc.quark.cn", 580 | "track.sohu.com", 581 | "tracker.ai.xiaomi.com", 582 | "tracking.miui.com", 583 | "trafficfactory.biz", 584 | "tsyndicate.com", 585 | "tubemogul.com", 586 | "uberads.com", 587 | "ubmcvideo.baidustatic.com", 588 | "ugdtimg.com", 589 | "unimhk.com", 590 | "union.baidu.com", 591 | "unioncom.cc", 592 | "unionimage.baidu.com", 593 | "unityads.unity.cn", 594 | "unityads.unity3d.com", 595 | "unityads.unitychina.cn", 596 | "upapi.net", 597 | "uranus.sogou.com", 598 | "urchin.com", 599 | "v6-adashx.ut.amap.com", 600 | "v6-adashx.ut.cainiao.com", 601 | "v6-adashx.ut.ele.me", 602 | "v6-adashx.ut.taobao.com", 603 | "v6-adashx.ut.youku.com", 604 | "w.cnzz.com", 605 | "wangmeng.baidu.com", 606 | "wapwbclick.mobile.sina.cn", 607 | "wbclick.mobile.sina.cn", 608 | "wit.qq.com", 609 | "wkctj.baidu.com", 610 | "wm.baidu.com", 611 | "wuliao.epro.sogou.com", 612 | "wwads.cn", 613 | "xy-log.tagtic.cn", 614 | "yektanet.com", 615 | "yfanads.cn", 616 | "yfanads.com", 617 | "yk-ssp.ad.youku.com", 618 | "ykad-data.youku.com", 619 | "ylog.hiido.com", 620 | "ysm.yahoo.com", 621 | "z.gds.cnzz.com", 622 | "zhihu-web-analytics.zhihu.com", 623 | "zhugeapi.com", 624 | "zhugeapi.net", 625 | "zhugeio.com", 626 | "zxid-api.mobileservice.cn", 627 | "zxid-m.mobileservice.cn", 628 | "zz.bdstatic.com", 629 | "tanx.com", 630 | "miaozhen.com", 631 | "tqt.weibo.cn", 632 | "qzs.gdtimg.com", 633 | "adsmind.gdtimg.com", 634 | "umeng.com", 635 | "umengcloud.com", 636 | "fapi.xdrun.com", 637 | "mix-mind.com", 638 | "in-neo.com", 639 | "rtbasia.com", 640 | "gridsum.com", 641 | "addnewer.com", 642 | "msmp.abchina.com.cn" 643 | ], 644 | "domain_regex": [ 645 | "^adservice\\.google\\.([a-z]{2}|com?)(\\.[a-z]{2})?$", 646 | "^speed\\.(coe|open)\\.ad\\.[a-z]{2,6}\\.prod\\.hosts\\.ooklaserver\\.net$" 647 | ] 648 | } 649 | ] 650 | } -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "bufio" 5 | "encoding/json" 6 | "fmt" 7 | "io" 8 | "log" 9 | "net/http" 10 | "os" 11 | "os/exec" 12 | "path/filepath" 13 | "regexp" 14 | "sort" 15 | "strings" 16 | "sync" 17 | 18 | "gopkg.in/yaml.v3" 19 | ) 20 | 21 | type Payloads struct { 22 | Payload []string `yaml:"payload"` 23 | } 24 | 25 | type SingRuleSet struct { 26 | Version int `json:"version,omitempty"` 27 | Rules []SingRule `json:"rules,omitempty"` 28 | } 29 | 30 | type SingRule struct { 31 | Domain []string `json:"domain,omitempty"` 32 | DomainSuffix []string `json:"domain_suffix,omitempty"` 33 | DomainKeyword []string `json:"domain_keyword,omitempty"` 34 | DomainRegex []string `json:"domain_regex,omitempty"` 35 | ProcessName []string `json:"process_name,omitempty"` 36 | Invert bool `json:"invert,omitempty"` 37 | 38 | Type string `json:"type,omitempty"` 39 | Mode string `json:"mode,omitempty"` 40 | Rules []SingRule `json:"rules,omitempty"` 41 | } 42 | 43 | func main() { 44 | 45 | allow_block_domain_suffix := []string{ 46 | "httpdns.bilivideo.com", 47 | } 48 | 49 | block_domain_suffix := []string{ 50 | "tanx.com", 51 | "miaozhen.com", 52 | "tqt.weibo.cn", 53 | "qzs.gdtimg.com", 54 | "adsmind.gdtimg.com", 55 | "gdt.qq.com", 56 | "e.kuaishou.cn", 57 | "e.kuaishou.com", 58 | "umeng.com", 59 | "umengcloud.com", 60 | "fapi.xdrun.com", 61 | "mix-mind.com", 62 | "in-neo.com", 63 | "rtbasia.com", 64 | "gridsum.com", 65 | "addnewer.com", 66 | "msmp.abchina.com.cn", 67 | } 68 | 69 | direct_domain := []string{ 70 | "captive.apple.com", 71 | "time.apple.com", 72 | "api.github.com", 73 | } 74 | 75 | direct_domain_suffix := []string{ 76 | "lcdn-locator.apple.com", 77 | "lcdn-registration.apple.com", 78 | "ls.apple.com", 79 | "steamserver.net", 80 | "steamcontent.com", 81 | } 82 | 83 | proxy_domain_suffix := []string{ 84 | "alicesw.com", 85 | "uhdnow.com", 86 | } 87 | 88 | // 定义变量 89 | var err error 90 | var domain, domain_suffix, domain_keyword, domain_regex []string 91 | 92 | // 定义临时目录 93 | if err := os.MkdirAll("tmp", 0755); err != nil { 94 | log.Fatalf("Failed to create tmp directory: %v", err) 95 | } 96 | 97 | // 处理 AdGuard SDNS 规则转换为 sing-box 格式 98 | convertAdguard(block_domain_suffix, "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt", "adguard_convert") 99 | 100 | // 处理AdGuard SDNS过滤器数据 101 | domain_suffix, err = parseAdGuardSDNSFilter("https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt") 102 | if err == nil { 103 | // 移除白名单域名 104 | allowSet := make(map[string]struct{}, len(allow_block_domain_suffix)) 105 | for _, s := range allow_block_domain_suffix { 106 | allowSet[s] = struct{}{} 107 | } 108 | cleaned_domain_suffix := make([]string, 0, len(domain_suffix)) 109 | for _, s := range domain_suffix { 110 | if _, ok := allowSet[s]; ok { 111 | continue 112 | } 113 | cleaned_domain_suffix = append(cleaned_domain_suffix, s) 114 | } 115 | domain_suffix = cleaned_domain_suffix 116 | 117 | // 添加内置列表 118 | for _, item := range block_domain_suffix { 119 | domain_suffix = append(domain_suffix, item) 120 | } 121 | 122 | release(nil, domain_suffix, nil, nil, "adguard") 123 | } else { 124 | log.Printf("Failed to parse AdGuard SDNS filter list: %v", err) 125 | } 126 | 127 | // 处理AdRules数据 128 | domain, domain_suffix = parseClashDomainSetFile("https://github.com/Cats-Team/AdRules/raw/main/adrules_domainset.txt") 129 | if err == nil { 130 | // 添加内置列表 131 | for _, item := range block_domain_suffix { 132 | domain_suffix = append(domain_suffix, item) 133 | } 134 | release(domain, domain_suffix, domain_keyword, domain_regex, "adrules") 135 | } else { 136 | log.Printf("Failed to parse AdRules list: %v", err) 137 | } 138 | 139 | // 处理PCDN数据 140 | domain, domain_suffix, domain_keyword, domain_regex, err = parseSurgeFile("https://github.com/uselibrary/PCDN/raw/main/pcdn.list") 141 | if err == nil { 142 | release(domain, domain_suffix, domain_keyword, domain_regex, "pcdn") 143 | } else { 144 | log.Printf("Failed to parse PCDN list: %v", err) 145 | } 146 | 147 | // 处理 v2ray 广告 148 | domain, domain_suffix, domain_keyword, domain_regex, err = parseSingboxSrs("https://github.com/SagerNet/sing-geosite/raw/rule-set/geosite-category-ads-all.srs") 149 | if err == nil { 150 | // 添加内置列表 151 | for _, item := range block_domain_suffix { 152 | domain_suffix = append(domain_suffix, item) 153 | } 154 | release(domain, domain_suffix, domain_keyword, domain_regex, "reject") 155 | } else { 156 | log.Printf("Failed to parse ads-all.srs: %v", err) 157 | } 158 | 159 | // 处理 v2ray apple 160 | domain, domain_suffix, domain_keyword, domain_regex, err = parseSingboxSrs("https://github.com/SagerNet/sing-geosite/raw/rule-set/geosite-apple@cn.srs") 161 | if err == nil { 162 | release(domain, domain_suffix, domain_keyword, domain_regex, "apple") 163 | } else { 164 | log.Printf("Failed to parse geosite-apple.srs: %v", err) 165 | } 166 | 167 | // 处理 v2ray 非中国地理位置数据 168 | domain, domain_suffix, domain_keyword, domain_regex, err = parseSingboxSrs("https://github.com/SagerNet/sing-geosite/raw/rule-set/geosite-geolocation-!cn.srs") 169 | if err == nil { 170 | // 添加内置列表 171 | for _, item := range proxy_domain_suffix { 172 | domain_suffix = append(domain_suffix, item) 173 | } 174 | release(domain, domain_suffix, domain_keyword, domain_regex, "geolocation-!cn") 175 | } else { 176 | log.Printf("Failed to parse ads-all.srs: %v", err) 177 | } 178 | 179 | // 处理 v2ray 中国地理位置数据 180 | domain, domain_suffix, domain_keyword, domain_regex, err = parseSingboxSrs("https://github.com/SagerNet/sing-geosite/raw/rule-set/geosite-geolocation-cn.srs") 181 | if err == nil { 182 | // 添加内置列表 183 | for _, item := range direct_domain { 184 | domain = append(domain, item) 185 | } 186 | for _, item := range direct_domain_suffix { 187 | domain_suffix = append(domain_suffix, item) 188 | } 189 | release(domain, domain_suffix, domain_keyword, domain_regex, "geolocation-cn") 190 | } else { 191 | log.Printf("Failed to parse ads-all.srs: %v", err) 192 | } 193 | 194 | // 清理临时目录 195 | defer os.RemoveAll("tmp") 196 | } 197 | 198 | // ======= parse various format files ======= 199 | 200 | func parseSurgeFile(fileUrl string) (domain, domain_suffix, domain_keyword, domain_regex []string, err error) { 201 | f, err := download(fileUrl) 202 | if err != nil { 203 | log.Printf("Failed to download surge file: %v", err) 204 | return 205 | } 206 | 207 | file, err := os.Open(f.Name()) 208 | if err != nil { 209 | log.Printf("Failed to open file: %v", err) 210 | return 211 | } 212 | defer file.Close() 213 | 214 | scanner := bufio.NewScanner(file) 215 | for scanner.Scan() { 216 | line := strings.TrimSpace(scanner.Text()) 217 | if line == "" { 218 | continue 219 | } 220 | 221 | parts := strings.SplitN(line, ",", 2) 222 | if len(parts) != 2 { 223 | log.Printf("Invalid line format: %s", line) 224 | continue 225 | } 226 | 227 | typ, value := strings.ToUpper(parts[0]), parts[1] 228 | switch typ { 229 | case "DOMAIN": 230 | domain = append(domain, value) 231 | case "DOMAIN-SUFFIX": 232 | domain_suffix = append(domain_suffix, value) 233 | case "DOMAIN-KEYWORD": 234 | domain_keyword = append(domain_keyword, value) 235 | case "DOMAIN-REGEX": 236 | domain_regex = append(domain_regex, value) 237 | default: 238 | log.Printf("Unknown rule type: %s", typ) 239 | } 240 | } 241 | return 242 | } 243 | 244 | func parseClashDomainSetFile(fileUrl string) (domain, domain_suffix []string) { 245 | f, err := download(fileUrl) 246 | if err != nil { 247 | log.Printf("Failed to download clash domain set file: %v", err) 248 | return 249 | } 250 | 251 | file, err := os.Open(f.Name()) 252 | if err != nil { 253 | log.Printf("Failed to open file: %v", err) 254 | return 255 | } 256 | defer file.Close() 257 | 258 | byteValue, _ := io.ReadAll(file) 259 | for line := range strings.SplitSeq(string(byteValue), "\n") { 260 | line = strings.TrimSpace(line) 261 | if line == "" || strings.HasPrefix(line, "#") { 262 | continue 263 | } 264 | 265 | if trimmed, ok := strings.CutPrefix(line, "+."); ok { 266 | domain_suffix = append(domain_suffix, trimmed) 267 | } else { 268 | domain = append(domain, line) 269 | } 270 | } 271 | 272 | if len(domain) == 0 && len(domain_suffix) == 0 { 273 | return 274 | } 275 | return 276 | } 277 | 278 | func parseSingboxSrs(fileUrl string) (domain, domain_suffix, domain_keyword, domain_regex []string, err error) { 279 | f, err := download(fileUrl) 280 | if err != nil { 281 | log.Printf("Failed to download sing-geosite file: %v", err) 282 | return 283 | } 284 | 285 | var jsonFile string 286 | 287 | if strings.HasSuffix(fileUrl, ".srs") { 288 | err = decompileSingboxFile(f.Name()) 289 | if err != nil { 290 | log.Printf("Failed to decompile sing-geosite file: %v", err) 291 | return 292 | } 293 | jsonFile = strings.TrimSuffix(f.Name(), filepath.Ext(f.Name())) + ".json" 294 | } else { 295 | jsonFile = f.Name() 296 | } 297 | 298 | var rules SingRuleSet 299 | byteValue, _ := os.ReadFile(jsonFile) 300 | json.Unmarshal(byteValue, &rules) 301 | 302 | domain_map := make(map[string]bool) 303 | domain_suffix_map := make(map[string]bool) 304 | domain_keyword_map := make(map[string]bool) 305 | domain_regex_map := make(map[string]bool) 306 | for _, rule := range rules.Rules { 307 | for _, item := range rule.Domain { 308 | if _, v := domain_map[item]; !v { 309 | domain_map[item] = true 310 | domain = append(domain, strings.TrimLeft(item, ".")) 311 | } 312 | } 313 | for _, item := range rule.DomainSuffix { 314 | if _, v := domain_suffix_map[item]; !v { 315 | domain_suffix_map[item] = true 316 | domain_suffix = append(domain_suffix, strings.TrimLeft(item, ".")) 317 | } 318 | } 319 | for _, item := range rule.DomainKeyword { 320 | if _, v := domain_keyword_map[item]; !v { 321 | domain_keyword_map[item] = true 322 | domain_keyword = append(domain_keyword, item) 323 | } 324 | } 325 | for _, item := range rule.DomainRegex { 326 | if _, v := domain_regex_map[item]; !v { 327 | domain_regex_map[item] = true 328 | domain_regex = append(domain_regex, item) 329 | } 330 | } 331 | } 332 | return 333 | } 334 | 335 | func parseAdGuardSDNSFilter(fileUrl string) (domainSuffix []string, err error) { 336 | var ignore_list []string 337 | 338 | f, err := download(fileUrl) 339 | if err != nil { 340 | log.Printf("Failed to download AdGuard SDNS filter file: %v", err) 341 | return 342 | } 343 | 344 | file, err := os.Open(f.Name()) 345 | if err != nil { 346 | log.Printf("Failed to open file: %v", err) 347 | return 348 | } 349 | defer file.Close() 350 | 351 | // 匹配规则 352 | reDomainSuffix_1 := regexp.MustCompile(`^(\|\|)?\s*(([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})\^?(\$important)?$`) 353 | reDomainSuffix_2 := regexp.MustCompile(`^(\|\|)?\*\.\s*(([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})\^?(\$important)?$`) 354 | reDomainSuffix_3 := regexp.MustCompile(`^(\.)\s*(([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})\^?(\$important)?$`) // 355 | 356 | scanner := bufio.NewScanner(file) 357 | for scanner.Scan() { 358 | line := strings.TrimSpace(scanner.Text()) 359 | if line == "" || 360 | strings.HasPrefix(line, "!") || // 注释 361 | strings.HasPrefix(line, "@@") || // 例外 362 | strings.HasPrefix(line, "[Adblock") || // 元数据头 363 | strings.HasPrefix(line, "/") { // 正则过滤规则 364 | ignore_list = append(ignore_list, line) 365 | continue 366 | } 367 | 368 | switch { 369 | case reDomainSuffix_1.MatchString(line): 370 | // 处理 example.com^ 371 | m := reDomainSuffix_1.FindStringSubmatch(line) 372 | domainSuffix = append(domainSuffix, m[2]) 373 | case reDomainSuffix_2.MatchString(line): 374 | // 处理 *.example.com^ 375 | m := reDomainSuffix_2.FindStringSubmatch(line) 376 | domainSuffix = append(domainSuffix, m[2]) 377 | case reDomainSuffix_3.MatchString(line): 378 | // 处理 .example.com^ 379 | m := reDomainSuffix_3.FindStringSubmatch(line) 380 | domainSuffix = append(domainSuffix, m[2]) 381 | default: 382 | // 忽略其他类型(如 IP、脚本规则等) 383 | ignore_list = append(ignore_list, line) 384 | continue 385 | } 386 | } 387 | 388 | // 实现 排序 domain and domainSuffix 389 | sort.Strings(domainSuffix) 390 | 391 | // write ignore_list to file 392 | if len(ignore_list) > 0 { 393 | ignoreFilename := "adguard_ignore.list" 394 | log.Printf("Writing ignore list to file: %s", ignoreFilename) 395 | ignoreFile, err := os.Create(ignoreFilename) 396 | if err != nil { 397 | log.Printf("Failed to create ignore file: %v", err) 398 | return nil, err 399 | } 400 | defer ignoreFile.Close() 401 | 402 | writer := bufio.NewWriter(ignoreFile) 403 | for _, item := range ignore_list { 404 | if _, err := writer.WriteString(item + "\n"); err != nil { 405 | log.Printf("Failed to write to ignore file: %v", err) 406 | return nil, err 407 | } 408 | } 409 | writer.Flush() 410 | } 411 | return 412 | } 413 | 414 | // ======= release various format files ======= 415 | 416 | func release(domain, domain_suffix, domain_keyword, domain_regex []string, tag string) { 417 | log.Printf("Releasing tag: %s", tag) 418 | if len(domain) == 0 && len(domain_suffix) == 0 { 419 | return 420 | } 421 | 422 | // 清理覆盖的域名 423 | domain, domain_suffix = cleanDomains(domain, domain_suffix) 424 | 425 | // 并行生成各种格式文件 426 | var wg sync.WaitGroup 427 | wg.Add(4) 428 | 429 | go func() { 430 | defer wg.Done() 431 | if err := releaseSurgeFile(tag, domain, domain_suffix); err != nil { 432 | log.Printf("Failed to generate surge file, tag: %v, err: %v", tag, err) 433 | } 434 | }() 435 | 436 | go func() { 437 | defer wg.Done() 438 | if err := releaseClashFile(tag, domain, domain_suffix); err != nil { 439 | log.Printf("Failed to generate clash file, tag: %v, err: %v", tag, err) 440 | } 441 | }() 442 | 443 | go func() { 444 | defer wg.Done() 445 | if err := releaseQuanXFile(tag, domain, domain_suffix, domain_keyword); err != nil { 446 | log.Printf("Failed to generate quanx file, tag: %v, err: %v", tag, err) 447 | } 448 | }() 449 | 450 | go func() { 451 | defer wg.Done() 452 | if err := releaseSingboxFile(tag, domain, domain_suffix, domain_regex, domain_keyword, nil); err != nil { 453 | log.Printf("Failed to generate singbox file, tag: %v, err: %v", tag, err) 454 | } 455 | filename := fmt.Sprintf("sing/ruleset/%s.json", tag) 456 | if err := compileSingboxFile(filename); err != nil { 457 | log.Printf("Failed to compile singbox file, tag: %v, err: %v", tag, err) 458 | } 459 | }() 460 | 461 | wg.Wait() 462 | } 463 | 464 | func releaseSurgeFile(tag string, domain, domainSuffix []string) error { 465 | filename := fmt.Sprintf("surge/list/%s.list", tag) 466 | // 确保目录存在 467 | if err := os.MkdirAll(filepath.Dir(filename), 0755); err != nil { 468 | return fmt.Errorf("failed to create directory: %w", err) 469 | } 470 | 471 | f, err := os.Create(filename) 472 | if err != nil { 473 | return fmt.Errorf("failed to create file: %w", err) 474 | } 475 | defer f.Close() 476 | 477 | writer := bufio.NewWriter(f) 478 | 479 | for _, s := range domain { 480 | if _, err := writer.WriteString(s + "\n"); err != nil { 481 | return fmt.Errorf("write error: %w", err) 482 | } 483 | } 484 | 485 | for _, s := range domainSuffix { 486 | if _, err := writer.WriteString("." + s + "\n"); err != nil { 487 | return fmt.Errorf("write error: %w", err) 488 | } 489 | } 490 | 491 | return writer.Flush() 492 | } 493 | 494 | func releaseClashFile(tag string, domain, domainSuffix []string) error { 495 | filename := fmt.Sprintf("clash/provider/%s.yaml", tag) 496 | // 确保目录存在 497 | if err := os.MkdirAll(filepath.Dir(filename), 0755); err != nil { 498 | return fmt.Errorf("failed to create directory: %w", err) 499 | } 500 | 501 | // 预分配适当大小的切片来减少重新分配 502 | combinedDomain := make([]string, len(domain), len(domain)+len(domainSuffix)) 503 | copy(combinedDomain, domain) 504 | 505 | for _, s := range domainSuffix { 506 | combinedDomain = append(combinedDomain, "."+s) 507 | } 508 | 509 | p := Payloads{Payload: combinedDomain} 510 | out, err := yaml.Marshal(&p) 511 | if err != nil { 512 | return fmt.Errorf("yaml marshal error: %w", err) 513 | } 514 | 515 | return os.WriteFile(filename, out, 0644) 516 | } 517 | 518 | func releaseQuanXFile(tag string, domain, domainSuffix, domainKeyword []string) error { 519 | filename := fmt.Sprintf("quanx/list/%s.snippet", tag) 520 | // 确保目录存在 521 | if err := os.MkdirAll(filepath.Dir(filename), 0755); err != nil { 522 | return fmt.Errorf("failed to create directory: %w", err) 523 | } 524 | 525 | f, err := os.Create(filename) 526 | if err != nil { 527 | return fmt.Errorf("failed to create file: %w", err) 528 | } 529 | defer f.Close() 530 | 531 | const d = ", direct\n" 532 | writer := bufio.NewWriter(f) 533 | 534 | // 预估总容量以优化内存分配 535 | totalItems := len(domain) + len(domainSuffix) + len(domainKeyword) 536 | if totalItems > 1000 { 537 | writer = bufio.NewWriterSize(f, 65536) // 使用更大的缓冲区 538 | } 539 | 540 | for _, s := range domain { 541 | if _, err := writer.WriteString("host, " + s + d); err != nil { 542 | return fmt.Errorf("write error: %w", err) 543 | } 544 | } 545 | 546 | for _, s := range domainSuffix { 547 | if _, err := writer.WriteString("host-suffix, " + s + d); err != nil { 548 | return fmt.Errorf("write error: %w", err) 549 | } 550 | } 551 | 552 | for _, s := range domainKeyword { 553 | if _, err := writer.WriteString("host-keyword, " + s + d); err != nil { 554 | return fmt.Errorf("write error: %w", err) 555 | } 556 | } 557 | 558 | return writer.Flush() 559 | } 560 | 561 | func releaseSingboxFile(tag string, domain, domainSuffix, domainRegex, domainKeyword, processName []string) error { 562 | filename := fmt.Sprintf("sing/ruleset/%s.json", tag) 563 | // 确保目录存在 564 | if err := os.MkdirAll(filepath.Dir(filename), 0755); err != nil { 565 | return fmt.Errorf("failed to create directory: %w", err) 566 | } 567 | 568 | rule := SingRule{ 569 | Domain: domain, 570 | DomainSuffix: domainSuffix, 571 | DomainRegex: domainRegex, 572 | DomainKeyword: domainKeyword, 573 | ProcessName: processName, 574 | } 575 | 576 | data := SingRuleSet{ 577 | Version: 2, 578 | Rules: []SingRule{rule}, 579 | } 580 | 581 | json, err := json.MarshalIndent(data, "", " ") 582 | if err != nil { 583 | return fmt.Errorf("json marshal error: %w", err) 584 | } 585 | 586 | return os.WriteFile(filename, json, 0644) 587 | } 588 | 589 | // ======= sing-box command ======= 590 | 591 | func convertAdguard(block_domain_suffix []string, fileUrl, tag string) error { 592 | filename := fmt.Sprintf("sing/ruleset/%s.srs", tag) 593 | 594 | f, err := download(fileUrl) 595 | if err != nil { 596 | log.Printf("Failed to download AdGuard SDNS filter file: %v", err) 597 | return err 598 | } 599 | f.Close() // Close the file handle from download function 600 | 601 | file, err := os.OpenFile(f.Name(), os.O_APPEND|os.O_WRONLY, 0644) 602 | if err != nil { 603 | log.Printf("Failed to open file for appending: %v", err) 604 | return err 605 | } 606 | defer file.Close() 607 | 608 | // write block_domain_suffix to download file 609 | writer := bufio.NewWriter(file) 610 | if _, err := writer.WriteString("\n"); err != nil { 611 | log.Printf("Failed to write newline: %v", err) 612 | return err 613 | } 614 | for _, item := range block_domain_suffix { 615 | line := fmt.Sprintf("||%s^\n", item) 616 | if _, err := writer.WriteString(line); err != nil { 617 | log.Printf("Failed to write to temp file: %v", err) 618 | return err 619 | } 620 | } 621 | writer.Flush() 622 | 623 | // use sing-box convert command 624 | // sing-box rule-set convert --type adguard [--output .srs] .txt 625 | cmd := exec.Command("sing-box", "rule-set", "convert", "--type", "adguard", "--output", filename, f.Name()) 626 | if err := cmd.Run(); err != nil { 627 | log.Printf("Failed to convert AdGuard SDNS filter to sing-box format: %v", err) 628 | return err 629 | } 630 | 631 | log.Printf("Converted AdGuard rules to sing-box format: %s", filename) 632 | return nil 633 | } 634 | 635 | func compileSingboxFile(filename string) error { 636 | log.Printf("Compiling sing-box file: %s", filename) 637 | cmd := exec.Command("sing-box", "rule-set", "compile", filename) 638 | if err := cmd.Run(); err != nil { 639 | return fmt.Errorf("compile failed: %w", err) 640 | } 641 | return nil 642 | } 643 | 644 | func decompileSingboxFile(filename string) error { 645 | log.Printf("Decompiling sing-box file: %s", filename) 646 | cmd := exec.Command("sing-box", "rule-set", "decompile", filename) 647 | if err := cmd.Run(); err != nil { 648 | return fmt.Errorf("decompile failed: %w", err) 649 | } 650 | return nil 651 | } 652 | 653 | // ======= download ======= 654 | 655 | func download(downloadURL string) (*os.File, error) { 656 | if len(downloadURL) == 0 { 657 | return nil, fmt.Errorf("url is required") 658 | } 659 | 660 | // 发起HTTP GET请求 661 | log.Println("downloading", downloadURL) 662 | response, err := http.Get(downloadURL) 663 | if err != nil { 664 | return nil, fmt.Errorf("HTTP request failed: %w", err) 665 | } 666 | defer response.Body.Close() 667 | 668 | // 检查HTTP响应状态码 669 | if response.StatusCode != http.StatusOK { 670 | return nil, fmt.Errorf("HTTP status error: %d %s", response.StatusCode, response.Status) 671 | } 672 | 673 | // 写入临时文件 674 | filename := filepath.Base(downloadURL) 675 | tempFile, err := os.CreateTemp("tmp", "*_"+filename) 676 | if err != nil { 677 | return nil, fmt.Errorf("failed to create temp file: %w", err) 678 | } 679 | defer tempFile.Close() 680 | 681 | _, err = io.Copy(tempFile, response.Body) 682 | if err != nil { 683 | return nil, fmt.Errorf("failed to write to temp file: %w", err) 684 | } 685 | 686 | // 重置文件指针到开头 687 | if _, err := tempFile.Seek(0, io.SeekStart); err != nil { 688 | return nil, fmt.Errorf("failed to seek temp file: %w", err) 689 | } 690 | 691 | return tempFile, nil 692 | } 693 | 694 | // ======= utils ======= 695 | // 清理覆盖的域名 696 | func cleanDomains(domain, domainSuffix []string) ([]string, []string) { 697 | log.Printf("Cleaning domains: %d domains, %d suffixes", len(domain), len(domainSuffix)) 698 | suffixSet := make(map[string]struct{}, len(domainSuffix)) 699 | for _, s := range domainSuffix { 700 | suffixSet[s] = struct{}{} 701 | } 702 | 703 | cleanedDomain := make([]string, 0, len(domain)) 704 | domainSeen := make(map[string]struct{}, len(domain)) 705 | for _, d := range domain { 706 | if _, seen := domainSeen[d]; seen { 707 | continue 708 | } 709 | domainSeen[d] = struct{}{} 710 | 711 | covered := false 712 | for parent := parentDomain(d); parent != ""; parent = parentDomain(parent) { 713 | if _, ok := suffixSet[parent]; ok { 714 | covered = true 715 | break 716 | } 717 | } 718 | 719 | if !covered { 720 | cleanedDomain = append(cleanedDomain, d) 721 | } 722 | } 723 | 724 | cleanedSuffix := make([]string, 0, len(domainSuffix)) 725 | suffixSeen := make(map[string]struct{}, len(domainSuffix)) 726 | for _, s := range domainSuffix { 727 | if _, seen := suffixSeen[s]; seen { 728 | continue 729 | } 730 | 731 | covered := false 732 | for parent := parentDomain(s); parent != ""; parent = parentDomain(parent) { 733 | if _, ok := suffixSet[parent]; ok { 734 | covered = true 735 | break 736 | } 737 | } 738 | 739 | if !covered { 740 | cleanedSuffix = append(cleanedSuffix, s) 741 | suffixSeen[s] = struct{}{} 742 | } 743 | } 744 | 745 | return cleanedDomain, cleanedSuffix 746 | } 747 | 748 | func parentDomain(s string) string { 749 | if idx := strings.IndexByte(s, '.'); idx >= 0 && idx+1 < len(s) { 750 | return s[idx+1:] 751 | } 752 | return "" 753 | } 754 | -------------------------------------------------------------------------------- /quanx/list/reject.snippet: -------------------------------------------------------------------------------- 1 | host, ad-channel.diwodiwo.xyz, direct 2 | host, ad-display.diwodiwo.xyz, direct 3 | host, adeventtracker.spotify.com, direct 4 | host, ads3-normal-hl.zijieapi.com, direct 5 | host, ads3-normal.zijieapi.com, direct 6 | host, ads5-normal-hl.zijieapi.com, direct 7 | host, ads5-normal.zijieapi.com, direct 8 | host, adstudio-assets.scdn.co, direct 9 | host, analytics.google.com, direct 10 | host, apilog-web.acfun.cn, direct 11 | host, bloodhound.spotify.com, direct 12 | host, log-sdk.gifshow.com, direct 13 | host, log3-applog-hl.fqnovel.com, direct 14 | host, log3-applog.fqnovel.com, direct 15 | host, log5-applog-hl.fqnovel.com, direct 16 | host, log5-applog.fqnovel.com, direct 17 | host, p3-ad-sign.byteimg.com, direct 18 | host, p6-ad-sign.byteimg.com, direct 19 | host, p9-ad-sign.byteimg.com, direct 20 | host, pinggai0.caixin.com, direct 21 | host, pinggai1.caixin.com, direct 22 | host, pinggai2.caixin.com, direct 23 | host, pinggai3.caixin.com, direct 24 | host, pinggai4.caixin.com, direct 25 | host, pinggai5.caixin.com, direct 26 | host, pinggai6.caixin.com, direct 27 | host, pinggai7.caixin.com, direct 28 | host, pinggai8.caixin.com, direct 29 | host, pinggai9.caixin.com, direct 30 | host, rtlog3-applog-hl.fqnovel.com, direct 31 | host, rtlog3-applog.fqnovel.com, direct 32 | host, rtlog5-applog-hl.fqnovel.com, direct 33 | host, rtlog5-applog.fqnovel.com, direct 34 | host, wlog.kuaishou.com, direct 35 | host-suffix, 1rx.io, direct 36 | host-suffix, 2mdn-cn.net, direct 37 | host-suffix, 2mdn.net, direct 38 | host-suffix, 51.la, direct 39 | host-suffix, 51y5.net, direct 40 | host-suffix, 7box.vip, direct 41 | host-suffix, a.adtng.com, direct 42 | host-suffix, a.alimama.cn, direct 43 | host-suffix, a.market.xiaomi.com, direct 44 | host-suffix, a.youdao.com, direct 45 | host-suffix, aaxads.com, direct 46 | host-suffix, acjs.aliyun.com, direct 47 | host-suffix, ad-delivery.net, direct 48 | host-suffix, ad-srv.net, direct 49 | host-suffix, ad.12306.cn, direct 50 | host-suffix, ad.api.3g.youku.com, direct 51 | host-suffix, ad.api.mobile.youku.com, direct 52 | host-suffix, ad.api.moji.com, direct 53 | host-suffix, ad.browser.qq.com, direct 54 | host-suffix, ad.games.dmm.com, direct 55 | host-suffix, ad.hpplay.cn, direct 56 | host-suffix, ad.intl.xiaomi.com, direct 57 | host-suffix, ad.m.iqiyi.com, direct 58 | host-suffix, ad.mi.com, direct 59 | host-suffix, ad.mobile.youku.com, direct 60 | host-suffix, ad.qq.com, direct 61 | host-suffix, ad.qun.qq.com, direct 62 | host-suffix, ad.sina.com.cn, direct 63 | host-suffix, ad.us.sinaimg.cn, direct 64 | host-suffix, ad.wang502.com, direct 65 | host-suffix, ad.weixin.qq.com, direct 66 | host-suffix, ad.xiaomi.com, direct 67 | host-suffix, ad1.xiaomi.com, direct 68 | host-suffix, adash-c.m.taobao.com, direct 69 | host-suffix, adash-c.ut.taobao.com, direct 70 | host-suffix, adash-emas.cn-hangzhou.aliyuncs.com, direct 71 | host-suffix, adash.m.taobao.com, direct 72 | host-suffix, adash.man.aliyuncs.com, direct 73 | host-suffix, adashbc.m.taobao.com, direct 74 | host-suffix, adashbc.ut.taobao.com, direct 75 | host-suffix, adashx.m.taobao.com, direct 76 | host-suffix, adashx.ut.amap.com, direct 77 | host-suffix, adashx.ut.ele.me, direct 78 | host-suffix, adashx.ut.youku.com, direct 79 | host-suffix, adashx4ae.ut.taobao.com, direct 80 | host-suffix, adashx4yt.m.taobao.com, direct 81 | host-suffix, adashxgc.ut.taobao.com, direct 82 | host-suffix, adbehavior.ximalaya.com, direct 83 | host-suffix, adbkwai.com, direct 84 | host-suffix, adbox.sina.com.cn, direct 85 | host-suffix, adbutter.net, direct 86 | host-suffix, adcolony.com, direct 87 | host-suffix, addthisedge.com, direct 88 | host-suffix, adeng.hpplay.cn, direct 89 | host-suffix, adfilter.imtt.qq.com, direct 90 | host-suffix, adimg.mobile.sina.cn, direct 91 | host-suffix, adimg.uve.weibo.com, direct 92 | host-suffix, adinplay.com, direct 93 | host-suffix, adivery.com, direct 94 | host-suffix, adivery.ir, direct 95 | host-suffix, adjust.com, direct 96 | host-suffix, adjust.io, direct 97 | host-suffix, adjust.net.in, direct 98 | host-suffix, adjust.world, direct 99 | host-suffix, adkwai.com, direct 100 | host-suffix, admob-cn.com, direct 101 | host-suffix, admob.com, direct 102 | host-suffix, admob.xiaomi.com, direct 103 | host-suffix, admusicpic.music.126.net, direct 104 | host-suffix, adnet.qq.com, direct 105 | host-suffix, adnet.sohu.com, direct 106 | host-suffix, adnxs.com, direct 107 | host-suffix, adping.qq.com, direct 108 | host-suffix, adpm.app.qq.com, direct 109 | host-suffix, adq.chinaso.com, direct 110 | host-suffix, ads-api.duolingo.com, direct 111 | host-suffix, ads-union.jd.com, direct 112 | host-suffix, ads-uo.api.leiniao.com, direct 113 | host-suffix, ads-ut.api.leiniao.com, direct 114 | host-suffix, ads.api.my7v.com, direct 115 | host-suffix, ads.huan.tv, direct 116 | host-suffix, ads.huantest.com, direct 117 | host-suffix, ads.music.126.net, direct 118 | host-suffix, ads.service.kugou.com, direct 119 | host-suffix, ads.sina.com, direct 120 | host-suffix, ads.sohu.com, direct 121 | host-suffix, ads.trafficjunky.net, direct 122 | host-suffix, ads.uc.cn, direct 123 | host-suffix, ads.union.jd.com, direct 124 | host-suffix, ads.unitychina.cn, direct 125 | host-suffix, ads.wteam.xyz, direct 126 | host-suffix, ads.yahoo.com, direct 127 | host-suffix, ads.youtube.com, direct 128 | host-suffix, adscdn.baidu.com, direct 129 | host-suffix, adsclick.qq.com, direct 130 | host-suffix, adse.wsa.ximalaya.com, direct 131 | host-suffix, adse.ximalaya.com, direct 132 | host-suffix, adsense.com, direct 133 | host-suffix, adsensecustomsearchads.com, direct 134 | host-suffix, adsenseformobileapps.com, direct 135 | host-suffix, adservice.google.com, direct 136 | host-suffix, adserviceretry.kglink.cn, direct 137 | host-suffix, adserviceretry.kugou.com, direct 138 | host-suffix, adsfile.qq.com, direct 139 | host-suffix, adsh.m.taobao.com, direct 140 | host-suffix, adshmmsg.qq.com, direct 141 | host-suffix, adslot.uc.cn, direct 142 | host-suffix, adslvfile.qq.com, direct 143 | host-suffix, adslvseed.qq.com, direct 144 | host-suffix, adsmind.apdcdn.tc.qq.com, direct 145 | host-suffix, adsqqclick.qq.com, direct 146 | host-suffix, adstats.tencentmusic.com, direct 147 | host-suffix, adstestview.qq.com, direct 148 | host-suffix, adsview.qq.com, direct 149 | host-suffix, adsview2.qq.com, direct 150 | host-suffix, adtechus.com, direct 151 | host-suffix, adtrack.quark.cn, direct 152 | host-suffix, adtrue.com, direct 153 | host-suffix, adukwai.com, direct 154 | host-suffix, adv-sv-show.focus.cn, direct 155 | host-suffix, adv-sv-stat.focus.cn, direct 156 | host-suffix, adv.app.qq.com, direct 157 | host-suffix, adv.sec.intl.miui.com, direct 158 | host-suffix, adv.sec.miui.com, direct 159 | host-suffix, advapi.joyplus.tv, direct 160 | host-suffix, advapikj.joyplus.tv, direct 161 | host-suffix, adver.qq.com, direct 162 | host-suffix, advertisercommunity.com, direct 163 | host-suffix, advertiserscommunity.com, direct 164 | host-suffix, advertising.adobe.com, direct 165 | host-suffix, advertserve.com, direct 166 | host-suffix, adwords-community.com, direct 167 | host-suffix, adwords.com, direct 168 | host-suffix, adwordsexpress.com, direct 169 | host-suffix, adx.36kr.com, direct 170 | host-suffix, adx.xiaodutv.com, direct 171 | host-suffix, adxprtz.com, direct 172 | host-suffix, afd.baidu.com, direct 173 | host-suffix, afdconf.baidu.com, direct 174 | host-suffix, afp.iqiyi.com, direct 175 | host-suffix, alimama.alicdn.com, direct 176 | host-suffix, alitui.weibo.com, direct 177 | host-suffix, amazon-adsystem.com, direct 178 | host-suffix, analytics-data.io, direct 179 | host-suffix, analytics.163.com, direct 180 | host-suffix, analytics.facebook.com, direct 181 | host-suffix, analytics.vpc.duolingo.com, direct 182 | host-suffix, api-adservices.apple.com, direct 183 | host-suffix, app-analytics-services-att.com, direct 184 | host-suffix, app-analytics-services.com, direct 185 | host-suffix, app-measurement-cn.com, direct 186 | host-suffix, app-measurement.com, direct 187 | host-suffix, apple.www.letv.com, direct 188 | host-suffix, applovin.com, direct 189 | host-suffix, applvn.com, direct 190 | host-suffix, ark.letv.com, direct 191 | host-suffix, assets.growingio.com, direct 192 | host-suffix, assp.sohu.com, direct 193 | host-suffix, atanx.alicdn.com, direct 194 | host-suffix, atanx2.alicdn.com, direct 195 | host-suffix, atm.youku.com, direct 196 | host-suffix, atom-data.io, direct 197 | host-suffix, badjs.weixinbridge.com, direct 198 | host-suffix, baichuan-sdk.alicdn.com, direct 199 | host-suffix, baifen.music.baidu.com, direct 200 | host-suffix, bds.snssdk.com, direct 201 | host-suffix, bdu.focus.cn, direct 202 | host-suffix, beacon.cdn.qq.com, direct 203 | host-suffix, beacon.qq.com, direct 204 | host-suffix, beacon.sina.com.cn, direct 205 | host-suffix, beaconcdn.qq.com, direct 206 | host-suffix, beizi.biz, direct 207 | host-suffix, biz.weibo.com, direct 208 | host-suffix, bluekai.com, direct 209 | host-suffix, browser.events.data.msn.cn, direct 210 | host-suffix, browser.events.data.msn.com, direct 211 | host-suffix, btrace.qq.com, direct 212 | host-suffix, bugly.qq.com, direct 213 | host-suffix, byteadverts.com, direct 214 | host-suffix, bzclk.baidu.com, direct 215 | host-suffix, c-adash.m.taobao.com, direct 216 | host-suffix, c-nfa.jd.com, direct 217 | host-suffix, c.uaa.iqiyi.com, direct 218 | host-suffix, casalemedia.com, direct 219 | host-suffix, cb.baidu.com, direct 220 | host-suffix, cbjs.baidu.com, direct 221 | host-suffix, cdn.banclip.com, direct 222 | host-suffix, cdn.pocoiq.cn, direct 223 | host-suffix, cfts1tifqr.com, direct 224 | host-suffix, china-caa.org, direct 225 | host-suffix, chinaciaf.org, direct 226 | host-suffix, clarity.ms, direct 227 | host-suffix, clearbit.com, direct 228 | host-suffix, clearbitjs.com, direct 229 | host-suffix, clearbitscripts.com, direct 230 | host-suffix, click.ali213.net, direct 231 | host-suffix, click.hunantv.com, direct 232 | host-suffix, click.uve.mobile.sina.cn, direct 233 | host-suffix, click.uve.weibo.com, direct 234 | host-suffix, cloudpush.iqiyi.com, direct 235 | host-suffix, cm.baidu.com, direct 236 | host-suffix, cnaa123.com, direct 237 | host-suffix, collector.github.com, direct 238 | host-suffix, collector.xhamster.com, direct 239 | host-suffix, contentabc.com, direct 240 | host-suffix, contextual.media.net, direct 241 | host-suffix, copilot-telemetry.githubusercontent.com, direct 242 | host-suffix, cpmstar.com, direct 243 | host-suffix, cpro.baidu.com, direct 244 | host-suffix, cpro.baidustatic.com, direct 245 | host-suffix, cps.360buy.com, direct 246 | host-suffix, cpu.baidu.com, direct 247 | host-suffix, crash.163.com, direct 248 | host-suffix, crash2.zhihu.com, direct 249 | host-suffix, crashlytics.163.com, direct 250 | host-suffix, cretgate.com, direct 251 | host-suffix, cstm.baidu.com, direct 252 | host-suffix, ctobsnssdk.com, direct 253 | host-suffix, cupid.iqiyi.com, direct 254 | host-suffix, da.hunantv.com, direct 255 | host-suffix, da.mgtv.com, direct 256 | host-suffix, das-rpt-log.ucloud.cn, direct 257 | host-suffix, data.flurry.com, direct 258 | host-suffix, data.mistat.india.xiaomi.com, direct 259 | host-suffix, data.mistat.intl.xiaomi.com, direct 260 | host-suffix, data.mistat.rus.xiaomi.com, direct 261 | host-suffix, data.mistat.xiaomi.com, direct 262 | host-suffix, dc.letv.com, direct 263 | host-suffix, decide.mixpanel.com, direct 264 | host-suffix, demdex.net, direct 265 | host-suffix, dig.bdurl.net, direct 266 | host-suffix, dlswbr.baidu.com, direct 267 | host-suffix, dn-growing.qbox.me, direct 268 | host-suffix, doubleclick-cn.net, direct 269 | host-suffix, doubleclick.cn, direct 270 | host-suffix, doubleclick.com, direct 271 | host-suffix, doubleclick.net, direct 272 | host-suffix, drmcmm.baidu.com, direct 273 | host-suffix, dualstack-logs.amap.com, direct 274 | host-suffix, duiwai.baidu.com, direct 275 | host-suffix, dup.baidustatic.com, direct 276 | host-suffix, e.kuaishou.cn, direct 277 | host-suffix, e.kuaishou.com, direct 278 | host-suffix, e.qq.com, direct 279 | host-suffix, e.stat.ykimg.com, direct 280 | host-suffix, eclick.baidu.com, direct 281 | host-suffix, ecma.bdimg.com, direct 282 | host-suffix, ecmb.bdimg.com, direct 283 | host-suffix, ecmc.bdimg.com, direct 284 | host-suffix, eduad.baidu.com, direct 285 | host-suffix, eiv.baidu.com, direct 286 | host-suffix, emogi.com, direct 287 | host-suffix, ems.youku.com, direct 288 | host-suffix, ero-advertising.com, direct 289 | host-suffix, eroadvertising.com, direct 290 | host-suffix, euads-o.api.leiniao.com, direct 291 | host-suffix, evt.mxplay.com, direct 292 | host-suffix, exoclick.com, direct 293 | host-suffix, exosrv.com, direct 294 | host-suffix, extlog.snssdk.com, direct 295 | host-suffix, facebookads.com, direct 296 | host-suffix, fclick.baidu.com, direct 297 | host-suffix, fclog.baidu.com, direct 298 | host-suffix, fenxi.360.cn, direct 299 | host-suffix, fenxi.com, direct 300 | host-suffix, fourier.taobao.com, direct 301 | host-suffix, fout.jp, direct 302 | host-suffix, fpb.sohu.com, direct 303 | host-suffix, g.163.com, direct 304 | host-suffix, g.click.taobao.com, direct 305 | host-suffix, g1.tagtic.cn, direct 306 | host-suffix, g3.letv.com, direct 307 | host-suffix, gdt.qq.com, direct 308 | host-suffix, gemini.yahoo.com, direct 309 | host-suffix, gia.jd.com, direct 310 | host-suffix, gmossp-sp.jp, direct 311 | host-suffix, go2.global, direct 312 | host-suffix, google-analytics-cn.com, direct 313 | host-suffix, google-analytics.com, direct 314 | host-suffix, googleadapis.com, direct 315 | host-suffix, googleadapis.l.google.com, direct 316 | host-suffix, googleads-cn.com, direct 317 | host-suffix, googleads.com, direct 318 | host-suffix, googleadservices-cn.com, direct 319 | host-suffix, googleadservices.com, direct 320 | host-suffix, googleadsserving.cn, direct 321 | host-suffix, googleanalytics.com, direct 322 | host-suffix, googleoptimize-cn.com, direct 323 | host-suffix, googleoptimize.com, direct 324 | host-suffix, googlesyndication-cn.com, direct 325 | host-suffix, googlesyndication.com, direct 326 | host-suffix, googletagmanager-cn.com, direct 327 | host-suffix, googletagmanager.com, direct 328 | host-suffix, googletagservices-cn.com, direct 329 | host-suffix, googletagservices.com, direct 330 | host-suffix, googletraveladservices-cn.com, direct 331 | host-suffix, googletraveladservices.com, direct 332 | host-suffix, googlevads-cn.com, direct 333 | host-suffix, gozendata.com, direct 334 | host-suffix, graph-fallback.instagram.com, direct 335 | host-suffix, graph.instagram.com, direct 336 | host-suffix, graph.whatsapp.com, direct 337 | host-suffix, graph.whatsapp.net, direct 338 | host-suffix, guanggaoad.youku.com, direct 339 | host-suffix, gz-data.com, direct 340 | host-suffix, gzads.com, direct 341 | host-suffix, h-adashx.ut.ele.me, direct 342 | host-suffix, h-adashx.ut.taobao.com, direct 343 | host-suffix, h-adashx.ut.youku.com, direct 344 | host-suffix, h-adashx4yt.ut.taobao.com, direct 345 | host-suffix, h2tcbox.baidu.com, direct 346 | host-suffix, hao123union.baidu.com, direct 347 | host-suffix, hm.baidu.com, direct 348 | host-suffix, hmma.baidu.com, direct 349 | host-suffix, hq-tracking.qq.com, direct 350 | host-suffix, htrace.wetvinfo.com, direct 351 | host-suffix, httpool.com, direct 352 | host-suffix, hubcloud.com.cn, direct 353 | host-suffix, hwads-t.api.my7v.com, direct 354 | host-suffix, i-mobile.co.jp, direct 355 | host-suffix, i.snssdk.com, direct 356 | host-suffix, iabchina.cn, direct 357 | host-suffix, iad.apple.com, direct 358 | host-suffix, iadmat.nosdn.127.net, direct 359 | host-suffix, iadmatapk.nosdn.127.net, direct 360 | host-suffix, iadmusicmat.music.126.net, direct 361 | host-suffix, iadmusicmatvideo.music.126.net, direct 362 | host-suffix, iadsdk.apple.com, direct 363 | host-suffix, ifacelog.iqiyi.com, direct 364 | host-suffix, im-apps.net, direct 365 | host-suffix, img-bss.csdn.net, direct 366 | host-suffix, img-x.jd.com, direct 367 | host-suffix, imglnkc.com, direct 368 | host-suffix, imglnkd.com, direct 369 | host-suffix, imgstat.baidu.com, direct 370 | host-suffix, imp.go.sohu.com, direct 371 | host-suffix, impact-ad.jp, direct 372 | host-suffix, inner-active.mobi, direct 373 | host-suffix, innovid.com, direct 374 | host-suffix, inte.sogou.com, direct 375 | host-suffix, inte.sogoucdn.com, direct 376 | host-suffix, ipinyou.com, direct 377 | host-suffix, ipinyou.com.cn, direct 378 | host-suffix, ironbeast.io, direct 379 | host-suffix, isdspeed.qq.com, direct 380 | host-suffix, iwanad.baidu.com, direct 381 | host-suffix, jads.co, direct 382 | host-suffix, jl3.yjaxa.top, direct 383 | host-suffix, js-agent.newrelic.com, direct 384 | host-suffix, juicyads.com, direct 385 | host-suffix, jzt.jd.com, direct 386 | host-suffix, kaprila.com, direct 387 | host-suffix, kepler-37b.com, direct 388 | host-suffix, kuyun.com, direct 389 | host-suffix, ladsp.com, direct 390 | host-suffix, leanplum.com, direct 391 | host-suffix, lianmeng.360.cn, direct 392 | host-suffix, lijit.com, direct 393 | host-suffix, log.hunantv.com, direct 394 | host-suffix, log.mix.sina.com.cn, direct 395 | host-suffix, log.sina.cn, direct 396 | host-suffix, log.tbs.qq.com, direct 397 | host-suffix, log.umtrack.com, direct 398 | host-suffix, log.v2.hunantv.com, direct 399 | host-suffix, log2.sina.cn, direct 400 | host-suffix, logs.amap.com, direct 401 | host-suffix, logupdate.avlyun.sec.miui.com, direct 402 | host-suffix, lqc006.com, direct 403 | host-suffix, lstat.youku.com, direct 404 | host-suffix, lu.sogou.com, direct 405 | host-suffix, lu.sogoucdn.com, direct 406 | host-suffix, m-adash.m.taobao.com, direct 407 | host-suffix, m.aty.sohu.com, direct 408 | host-suffix, mail-ads.google.com, direct 409 | host-suffix, marketing.alibaba.com, direct 410 | host-suffix, marketingplatform.google.com, direct 411 | host-suffix, mbdlog.iqiyi.com, direct 412 | host-suffix, mcs.snssdk.com, direct 413 | host-suffix, mdt.qq.com, direct 414 | host-suffix, mediav.com, direct 415 | host-suffix, metrics.duolingo.com, direct 416 | host-suffix, mfadsrvr.com, direct 417 | host-suffix, mgid.com, direct 418 | host-suffix, miao.baidu.com, direct 419 | host-suffix, miaowu.baidu.com, direct 420 | host-suffix, microad.co.jp, direct 421 | host-suffix, microad.jp, direct 422 | host-suffix, microsoftads.com, direct 423 | host-suffix, mipcache.bdstatic.com, direct 424 | host-suffix, misc.in.duokanbox.com, direct 425 | host-suffix, mixer.sina.cn, direct 426 | host-suffix, mlog.hiido.com, direct 427 | host-suffix, moat.com, direct 428 | host-suffix, moatads.com, direct 429 | host-suffix, mobads-logs.baidu.com, direct 430 | host-suffix, mobads-pre-config.cdn.bcebos.com, direct 431 | host-suffix, mobads.baidu.com, direct 432 | host-suffix, mobileads.google.com, direct 433 | host-suffix, mobilemsg.youku.com, direct 434 | host-suffix, mobwithad.com, direct 435 | host-suffix, monitor.music.qq.com, direct 436 | host-suffix, mopub.com, direct 437 | host-suffix, mountain.zhidao.baidu.com, direct 438 | host-suffix, mpush.qq.com, direct 439 | host-suffix, msads.net, direct 440 | host-suffix, msg.video.qiyi.com, direct 441 | host-suffix, msg.youku.com, direct 442 | host-suffix, msg2.video.qiyi.com, direct 443 | host-suffix, mtrace.qq.com, direct 444 | host-suffix, mvad.com, direct 445 | host-suffix, najva.com, direct 446 | host-suffix, nbsdk-baichuan.alicdn.com, direct 447 | host-suffix, nbsdk-baichuan.taobao.com, direct 448 | host-suffix, nelreports.net, direct 449 | host-suffix, new-aaid.umeng.com.gds.alibabadns.com, direct 450 | host-suffix, ns1p.net, direct 451 | host-suffix, nsclick.baidu.com, direct 452 | host-suffix, nsclickvideo.baidu.com, direct 453 | host-suffix, oct.pocoiq.cn, direct 454 | host-suffix, ogury.co, direct 455 | host-suffix, ogury.com, direct 456 | host-suffix, onesignal.com, direct 457 | host-suffix, openx.net, direct 458 | host-suffix, openxadexchange.com, direct 459 | host-suffix, openxcdn.net, direct 460 | host-suffix, openxenterprise.com, direct 461 | host-suffix, openxmarket.asia, direct 462 | host-suffix, optaim.com, direct 463 | host-suffix, optimus-ads.amap.com, direct 464 | host-suffix, p-log.ykimg.com, direct 465 | host-suffix, p.aty.sohu.com, direct 466 | host-suffix, p4p.sina.com.cn, direct 467 | host-suffix, pagead.l.google.com, direct 468 | host-suffix, pangolin-dsp-toutiao-b.com, direct 469 | host-suffix, pangolin-dsp-toutiao.com, direct 470 | host-suffix, pangolin-hl.snssdk.com, direct 471 | host-suffix, pangolin-lf.snssdk.com, direct 472 | host-suffix, pangolin-lq.snssdk.com, direct 473 | host-suffix, pangolin-sdk-toutiao-b.com, direct 474 | host-suffix, pangolin-sdk-toutiao.com, direct 475 | host-suffix, pangolin-sdk-toutiao1.com, direct 476 | host-suffix, pangolin.snssdk.com, direct 477 | host-suffix, panplayable-toutiao-b.com, direct 478 | host-suffix, panplayable-toutiao.com, direct 479 | host-suffix, partnerad.l.google.com, direct 480 | host-suffix, passport-log.youku.com, direct 481 | host-suffix, pb.i.sogou.com, direct 482 | host-suffix, pbmp.ali213.net, direct 483 | host-suffix, pgdt.gtimg.cn, direct 484 | host-suffix, pglstatp-sdk-toutiao.com, direct 485 | host-suffix, pglstatp-snssdk-toutiao.com, direct 486 | host-suffix, pglstatp-toutiao-b.com, direct 487 | host-suffix, pglstatp-toutiao.com, direct 488 | host-suffix, pimlog.baidu.com, direct 489 | host-suffix, pingjs.qq.com, direct 490 | host-suffix, pixel.facebook.com, direct 491 | host-suffix, pl.youku.com, direct 492 | host-suffix, policy.video.iqiyi.com, direct 493 | host-suffix, pos.baidu.com, direct 494 | host-suffix, presage.io, direct 495 | host-suffix, pubmatic.com, direct 496 | host-suffix, push.qq.com, direct 497 | host-suffix, pv.hd.sohu.com, direct 498 | host-suffix, pv.sohu.com, direct 499 | host-suffix, qhupdate.com, direct 500 | host-suffix, qpb.sohu.com, direct 501 | host-suffix, qpb1.sohu.com, direct 502 | host-suffix, qwapi.com, direct 503 | host-suffix, reachmax.cn, direct 504 | host-suffix, realsrv.com, direct 505 | host-suffix, reke.at.sohu.com, direct 506 | host-suffix, report.qqweb.qq.com, direct 507 | host-suffix, res.hunantv.com, direct 508 | host-suffix, retcode.taobao.com, direct 509 | host-suffix, reyun.com, direct 510 | host-suffix, rs.sinajs.cn, direct 511 | host-suffix, s-adashx.ut.youku.com, direct 512 | host-suffix, s.360.cn, direct 513 | host-suffix, s.so.360.cn, direct 514 | host-suffix, s.union.360.cn, direct 515 | host-suffix, s4yxaqyq95.com, direct 516 | host-suffix, sa.sina.cn, direct 517 | host-suffix, sabavision.com, direct 518 | host-suffix, sbeacon.sina.com.cn, direct 519 | host-suffix, sclick.baidu.com, direct 520 | host-suffix, sdkclick.mobile.sina.cn, direct 521 | host-suffix, segment.com, direct 522 | host-suffix, segment.io, direct 523 | host-suffix, segmenthub.com, direct 524 | host-suffix, segmentify.com, direct 525 | host-suffix, sentry.d.mi.com, direct 526 | host-suffix, sentry.d.xiaomi.net, direct 527 | host-suffix, sentry.music.163.com, direct 528 | host-suffix, serving-sys.com, direct 529 | host-suffix, sf3-ttcdn-tos.pstatp.com, direct 530 | host-suffix, shhs-ydd8x2.yjrmss.cn, direct 531 | host-suffix, shoppingads.cn, direct 532 | host-suffix, shuzilm.cn, direct 533 | host-suffix, slog.sina.cn, direct 534 | host-suffix, slog.sina.com.cn, direct 535 | host-suffix, snapads.com, direct 536 | host-suffix, sngmta.qq.com, direct 537 | host-suffix, socdm.com, direct 538 | host-suffix, spcode.baidu.com, direct 539 | host-suffix, splash-ads.cdn.unity.cn, direct 540 | host-suffix, splash-ads.unitychina.cn, direct 541 | host-suffix, spotxchange.com, direct 542 | host-suffix, ssacdn.com, direct 543 | host-suffix, ssp.api.tappx.com, direct 544 | host-suffix, stat.chinaso.com, direct 545 | host-suffix, stat.m.jd.com, direct 546 | host-suffix, stat.y.qq.com, direct 547 | host-suffix, stat.youku.com, direct 548 | host-suffix, static.hotjar.com, direct 549 | host-suffix, static.javhd.com, direct 550 | host-suffix, static.sensorsdata.cn, direct 551 | host-suffix, statis.api.3g.youku.com, direct 552 | host-suffix, supersonic.com, direct 553 | host-suffix, supersonicads-a.akamaihd.net, direct 554 | host-suffix, supersonicads.com, direct 555 | host-suffix, syh.zybang.com, direct 556 | host-suffix, taboola.com, direct 557 | host-suffix, tajs.qq.com, direct 558 | host-suffix, tapsell.ir, direct 559 | host-suffix, tcbox.baidu.com, direct 560 | host-suffix, tce.alicdn.com, direct 561 | host-suffix, tcss.qq.com, direct 562 | host-suffix, telecome.cn, direct 563 | host-suffix, testads.api.my7v.com, direct 564 | host-suffix, theta.sogoucdn.com, direct 565 | host-suffix, tjqonline.cn, direct 566 | host-suffix, tm-banners.gamingadult.com, direct 567 | host-suffix, tmead.y.qq.com, direct 568 | host-suffix, tmeadcomm.y.qq.com, direct 569 | host-suffix, tns.simba.taobao.com, direct 570 | host-suffix, toboads.com, direct 571 | host-suffix, trace.qq.com, direct 572 | host-suffix, track.lc.quark.cn, direct 573 | host-suffix, track.sohu.com, direct 574 | host-suffix, tracker.ai.xiaomi.com, direct 575 | host-suffix, tracking.miui.com, direct 576 | host-suffix, trafficfactory.biz, direct 577 | host-suffix, tsyndicate.com, direct 578 | host-suffix, tubemogul.com, direct 579 | host-suffix, uberads.com, direct 580 | host-suffix, ubmcvideo.baidustatic.com, direct 581 | host-suffix, ugdtimg.com, direct 582 | host-suffix, unimhk.com, direct 583 | host-suffix, union.baidu.com, direct 584 | host-suffix, unioncom.cc, direct 585 | host-suffix, unionimage.baidu.com, direct 586 | host-suffix, unityads.unity.cn, direct 587 | host-suffix, unityads.unity3d.com, direct 588 | host-suffix, unityads.unitychina.cn, direct 589 | host-suffix, upapi.net, direct 590 | host-suffix, uranus.sogou.com, direct 591 | host-suffix, urchin.com, direct 592 | host-suffix, v6-adashx.ut.amap.com, direct 593 | host-suffix, v6-adashx.ut.cainiao.com, direct 594 | host-suffix, v6-adashx.ut.ele.me, direct 595 | host-suffix, v6-adashx.ut.taobao.com, direct 596 | host-suffix, v6-adashx.ut.youku.com, direct 597 | host-suffix, w.cnzz.com, direct 598 | host-suffix, wangmeng.baidu.com, direct 599 | host-suffix, wapwbclick.mobile.sina.cn, direct 600 | host-suffix, wbclick.mobile.sina.cn, direct 601 | host-suffix, wit.qq.com, direct 602 | host-suffix, wkctj.baidu.com, direct 603 | host-suffix, wm.baidu.com, direct 604 | host-suffix, wuliao.epro.sogou.com, direct 605 | host-suffix, wwads.cn, direct 606 | host-suffix, xy-log.tagtic.cn, direct 607 | host-suffix, yektanet.com, direct 608 | host-suffix, yfanads.cn, direct 609 | host-suffix, yfanads.com, direct 610 | host-suffix, yk-ssp.ad.youku.com, direct 611 | host-suffix, ykad-data.youku.com, direct 612 | host-suffix, ylog.hiido.com, direct 613 | host-suffix, ysm.yahoo.com, direct 614 | host-suffix, z.gds.cnzz.com, direct 615 | host-suffix, zhihu-web-analytics.zhihu.com, direct 616 | host-suffix, zhugeapi.com, direct 617 | host-suffix, zhugeapi.net, direct 618 | host-suffix, zhugeio.com, direct 619 | host-suffix, zxid-api.mobileservice.cn, direct 620 | host-suffix, zxid-m.mobileservice.cn, direct 621 | host-suffix, zz.bdstatic.com, direct 622 | host-suffix, tanx.com, direct 623 | host-suffix, miaozhen.com, direct 624 | host-suffix, tqt.weibo.cn, direct 625 | host-suffix, qzs.gdtimg.com, direct 626 | host-suffix, adsmind.gdtimg.com, direct 627 | host-suffix, umeng.com, direct 628 | host-suffix, umengcloud.com, direct 629 | host-suffix, fapi.xdrun.com, direct 630 | host-suffix, mix-mind.com, direct 631 | host-suffix, in-neo.com, direct 632 | host-suffix, rtbasia.com, direct 633 | host-suffix, gridsum.com, direct 634 | host-suffix, addnewer.com, direct 635 | host-suffix, msmp.abchina.com.cn, direct 636 | --------------------------------------------------------------------------------