mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2025-12-31 17:40:25 +00:00
deploy: 8ecba578d48cbd68126cc24b0d562ba015ef2a05
This commit is contained in:
26
Build/build-anti-bogus-domain.js
Normal file
26
Build/build-anti-bogus-domain.js
Normal file
@@ -0,0 +1,26 @@
|
||||
const { fetch } = require('undici');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { isIP } = require('net');
|
||||
|
||||
(async () => {
|
||||
const res = (await (await fetch('https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/bogus-nxdomain.china.conf')).text())
|
||||
.split('\n')
|
||||
.map(line => {
|
||||
if (line.startsWith('bogus-nxdomain=')) {
|
||||
return line.replace('bogus-nxdomain=', '');
|
||||
}
|
||||
|
||||
return null
|
||||
})
|
||||
.filter(ip => typeof ip === 'string' && isIP(ip) !== 0);
|
||||
|
||||
const filePath = path.resolve(__dirname, '../List/ip/reject.conf');
|
||||
const content = (await fs.promises.readFile(filePath, 'utf-8'))
|
||||
.replace(
|
||||
'# --- [Anti Bogus Domain Replace Me] ---',
|
||||
res.map(ip => `IP-CIDR,${ip}/32,no-resolve`).join('\n')
|
||||
);
|
||||
|
||||
await fs.promises.writeFile(filePath, content, 'utf-8');
|
||||
})();
|
||||
@@ -1,4 +1,3 @@
|
||||
.1-1ads.com
|
||||
.101com.com
|
||||
.101order.com
|
||||
.123freeavatars.com
|
||||
@@ -295,7 +294,6 @@
|
||||
.admixer.net
|
||||
.admized.com
|
||||
.admonitor.com
|
||||
.admotion.com.ar
|
||||
.adn.lrb.co.uk
|
||||
.adnet.asahi.com
|
||||
.adnet.biz
|
||||
@@ -1380,6 +1378,7 @@
|
||||
.crtv.mate1.com
|
||||
.crypto-loot.org
|
||||
.ctnetwork.hu
|
||||
.cubics.com
|
||||
.culturedcrayon.com
|
||||
.cumbersomecloud.com
|
||||
.curtaincows.com
|
||||
@@ -2692,7 +2691,6 @@
|
||||
.rtbplatform.net
|
||||
.rtbpop.com
|
||||
.rtbpopd.com
|
||||
.rtbtradein.com
|
||||
.rtmark.net
|
||||
.rtpdn11.com
|
||||
.rtxplatform.com
|
||||
@@ -2987,7 +2985,6 @@
|
||||
.takru.com
|
||||
.talentedsteel.com
|
||||
.tamgrt.com
|
||||
.tangerinenet.biz
|
||||
.tangibleteam.com
|
||||
.tapad.com
|
||||
.tapfiliate.com
|
||||
@@ -3255,7 +3252,6 @@
|
||||
.ventivmedia.com
|
||||
.venturead.com
|
||||
.verblife-3.co
|
||||
.verblife-4.co
|
||||
.verblife-5.co
|
||||
.vericlick.com
|
||||
.vertamedia.com
|
||||
@@ -8509,7 +8505,6 @@ delivery.maihehd.com
|
||||
.cttghjfhsw.com
|
||||
.ctureperform.info
|
||||
.cubanetestoon.com
|
||||
.cubics.com
|
||||
.cucalm.com
|
||||
.cuckooretire.com
|
||||
.cuculf.name
|
||||
@@ -12084,7 +12079,6 @@ delivery.maihehd.com
|
||||
.investigatorpertinent.com
|
||||
.investmentstar.org
|
||||
.investmeny.org
|
||||
.investnewsbrazil.com
|
||||
.invisedspill.com
|
||||
.invitesuperstitiousadmire.com
|
||||
.invraisemblable.com
|
||||
@@ -16665,7 +16659,6 @@ delivery.maihehd.com
|
||||
.recastcompellease.com
|
||||
.recdirectgo.biz
|
||||
.receiptfastestparameter.com
|
||||
.receitasefinancas.com
|
||||
.recentinteriorcrab.com
|
||||
.recentlyunknowninterested.com
|
||||
.recentrecentturf.com
|
||||
@@ -21724,6 +21717,7 @@ delivery.maihehd.com
|
||||
.x0r.urlgalleries.net
|
||||
.yotta.scrolller.com
|
||||
.ytre9jk.txxx.com
|
||||
.behootpokeys.com
|
||||
.mjyxblhdgmdnumq.com
|
||||
.mbmrwxdwq.com
|
||||
.u7z5fgj3k9c0vkah2v8zj1zj7v6gkm2f8zjc9j2vk6o9p2zks3a6sjc2mj6h.me
|
||||
@@ -25251,6 +25245,7 @@ delivery.maihehd.com
|
||||
.inuvo.com
|
||||
.inuxu.biz
|
||||
.inuxu.co.in
|
||||
.investnewsbrazil.com
|
||||
.inviziads.com
|
||||
.involve.asia
|
||||
.ipromote.com
|
||||
@@ -25491,6 +25486,7 @@ delivery.maihehd.com
|
||||
.realbig.media
|
||||
.realclick.co.kr
|
||||
.realssp.co.kr
|
||||
.receitasefinancas.com
|
||||
.redintelligence.net
|
||||
.redirectnative.com
|
||||
.redirectpopads.com
|
||||
@@ -44438,6 +44434,7 @@ delivery.maihehd.com
|
||||
.rinc.ink
|
||||
.qdbh.store
|
||||
.wubocheng.top
|
||||
.dispute.wang
|
||||
.000123456789.online
|
||||
.000123456789.space
|
||||
.01tn.cn
|
||||
@@ -60930,6 +60927,7 @@ delivery.maihehd.com
|
||||
.z.cdp-dev.cnn.com
|
||||
.substation.confection.io
|
||||
.drfdisvc.walmart.com
|
||||
.event.evtm.53.com
|
||||
.tilt.bankofamerica.com
|
||||
.cb-mms.carbuyer.co.uk
|
||||
.cdn-alliancegravity.s3.amazonaws.com
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
############################
|
||||
# Mainland China IPv4 CIDR
|
||||
# Data from misaka.io (misakaio @ GitHub)
|
||||
# Last Updated: 2022-04-22T10:05:06.881Z
|
||||
# Last Updated: 2022-04-22T12:26:10.944Z
|
||||
# Routes: 3380
|
||||
############################
|
||||
IP-CIDR,1.2.4.0/24
|
||||
|
||||
@@ -55,74 +55,49 @@ IP-CIDR,220.115.251.25/32,no-resolve
|
||||
IP-CIDR,222.73.156.235/32,no-resolve
|
||||
|
||||
# --- Anti-Bogus Domain ---
|
||||
# DNSPai
|
||||
# https://github.com/felixonmars/dnsmasq-china-list/blob/master/bogus-nxdomain.china.conf
|
||||
IP-CIDR,123.125.81.12/32,no-resolve
|
||||
IP-CIDR,101.226.10.8/32,no-resolve
|
||||
# Level3
|
||||
IP-CIDR,198.105.254.11/32,no-resolve
|
||||
IP-CIDR,104.239.213.7/32,no-resolve
|
||||
|
||||
## China Telecom
|
||||
# Anhui Telecom
|
||||
IP-CIDR,23.217.138.108/32,no-resolve
|
||||
IP-CIDR,61.191.206.4/32,no-resolve
|
||||
# Beijing Telecom
|
||||
IP-CIDR,218.30.64.194/32,no-resolve
|
||||
# Chengdu Telecom
|
||||
IP-CIDR,61.139.8.101/32,no-resolve
|
||||
IP-CIDR,61.139.8.102/32,no-resolve
|
||||
IP-CIDR,61.139.8.103/32,no-resolve
|
||||
IP-CIDR,61.139.8.104/32,no-resolve
|
||||
# Fujian Telecom
|
||||
IP-CIDR,42.123.125.237/32,no-resolve
|
||||
# Gansu Telecom
|
||||
IP-CIDR,202.100.68.117/32,no-resolve
|
||||
# Guangxi Telecom
|
||||
IP-CIDR,113.12.83.4/32,no-resolve
|
||||
IP-CIDR,113.12.83.5/32,no-resolve
|
||||
# Hainan Telecom
|
||||
IP-CIDR,202.100.220.54/32,no-resolve
|
||||
# Hangzhou Telecom
|
||||
IP-CIDR,60.191.124.236/32,no-resolve
|
||||
IP-CIDR,60.191.124.252/32,no-resolve
|
||||
# Hebei Telecom
|
||||
IP-CIDR,222.221.5.204/32,no-resolve
|
||||
# Hunan Telecom
|
||||
IP-CIDR,124.232.132.94/32,no-resolve
|
||||
# Jiangsu Telecom
|
||||
IP-CIDR,202.102.110.204/32,no-resolve
|
||||
# Jiangxi Telecom
|
||||
IP-CIDR,61.131.208.210/32,no-resolve
|
||||
IP-CIDR,61.131.208.211/32,no-resolve
|
||||
# Nanjing Telecom
|
||||
IP-CIDR,202.102.110.203/32,no-resolve
|
||||
IP-CIDR,202.102.110.205/32,no-resolve
|
||||
# Shandong Telecom
|
||||
IP-CIDR,219.146.13.36/32,no-resolve
|
||||
# Shanghai Telecom
|
||||
IP-CIDR,180.168.41.175/32,no-resolve
|
||||
IP-CIDR,180.153.103.224/32,no-resolve
|
||||
# Wuhan Telecom
|
||||
IP-CIDR,111.175.221.58/32,no-resolve
|
||||
IP-CIDR,61.183.1.186/32,no-resolve
|
||||
# Xi'an Telecom
|
||||
IP-CIDR,125.76.239.244/32,no-resolve
|
||||
IP-CIDR,125.76.239.245/32,no-resolve
|
||||
# Yunnan Telecom
|
||||
IP-CIDR,222.221.5.252/32,no-resolve
|
||||
IP-CIDR,222.221.5.253/32,no-resolve
|
||||
IP-CIDR,220.165.8.172/32,no-resolve
|
||||
IP-CIDR,220.165.8.174/32,no-resolve
|
||||
|
||||
## China Unicom
|
||||
# Anhui Unicom
|
||||
IP-CIDR,112.132.230.179/32,no-resolve
|
||||
# Beijing Unicom (bjdnserror1.wo.com.cn ~ bjdnserror5.wo.com.cn)
|
||||
IP-CIDR,202.106.199.34/32,no-resolve
|
||||
IP-CIDR,202.106.199.35/32,no-resolve
|
||||
IP-CIDR,202.106.199.36/32,no-resolve
|
||||
IP-CIDR,202.106.199.37/32,no-resolve
|
||||
IP-CIDR,202.106.199.38/32,no-resolve
|
||||
# Hebei Unicom (hbdnserror1.wo.com.cn ~ hbdnserror7.wo.com.cn)
|
||||
IP-CIDR,221.192.153.41/32,no-resolve
|
||||
IP-CIDR,221.192.153.42/32,no-resolve
|
||||
IP-CIDR,221.192.153.43/32,no-resolve
|
||||
@@ -130,13 +105,11 @@ IP-CIDR,221.192.153.44/32,no-resolve
|
||||
IP-CIDR,221.192.153.45/32,no-resolve
|
||||
IP-CIDR,221.192.153.46/32,no-resolve
|
||||
IP-CIDR,221.192.153.49/32,no-resolve
|
||||
# Heilongjiang Unicom (hljdnserror1.wo.com.cn ~ hljdnserror5.wo.com.cn)
|
||||
IP-CIDR,125.211.213.130/32,no-resolve
|
||||
IP-CIDR,125.211.213.131/32,no-resolve
|
||||
IP-CIDR,125.211.213.132/32,no-resolve
|
||||
IP-CIDR,125.211.213.133/32,no-resolve
|
||||
IP-CIDR,125.211.213.134/32,no-resolve
|
||||
# Henan Unicom (hndnserror1.wo.com.cn ~ hndnserror7.wo.com.cn)
|
||||
IP-CIDR,218.28.144.36/32,no-resolve
|
||||
IP-CIDR,218.28.144.37/32,no-resolve
|
||||
IP-CIDR,218.28.144.38/32,no-resolve
|
||||
@@ -144,13 +117,11 @@ IP-CIDR,218.28.144.39/32,no-resolve
|
||||
IP-CIDR,218.28.144.40/32,no-resolve
|
||||
IP-CIDR,218.28.144.41/32,no-resolve
|
||||
IP-CIDR,218.28.144.42/32,no-resolve
|
||||
# Jilin Unicom (jldnserror1.wo.com.cn ~ jldnserror5.wo.com.cn)
|
||||
IP-CIDR,202.98.24.121/32,no-resolve
|
||||
IP-CIDR,202.98.24.122/32,no-resolve
|
||||
IP-CIDR,202.98.24.123/32,no-resolve
|
||||
IP-CIDR,202.98.24.124/32,no-resolve
|
||||
IP-CIDR,202.98.24.125/32,no-resolve
|
||||
# Liaoning Unicom (lndnserror1.wo.com.cn ~ lndnserror7.wo.com.cn)
|
||||
IP-CIDR,60.19.29.21/32,no-resolve
|
||||
IP-CIDR,60.19.29.22/32,no-resolve
|
||||
IP-CIDR,60.19.29.23/32,no-resolve
|
||||
@@ -158,7 +129,6 @@ IP-CIDR,60.19.29.24/32,no-resolve
|
||||
IP-CIDR,60.19.29.25/32,no-resolve
|
||||
IP-CIDR,60.19.29.26/32,no-resolve
|
||||
IP-CIDR,60.19.29.27/32,no-resolve
|
||||
# Nanfang Unicom (nfdnserror1.wo.com.cn ~ nfdnserror17.wo.com.cn)
|
||||
IP-CIDR,220.250.64.18/32,no-resolve
|
||||
IP-CIDR,220.250.64.19/32,no-resolve
|
||||
IP-CIDR,220.250.64.20/32,no-resolve
|
||||
@@ -176,11 +146,9 @@ IP-CIDR,220.250.64.225/32,no-resolve
|
||||
IP-CIDR,220.250.64.226/32,no-resolve
|
||||
IP-CIDR,220.250.64.227/32,no-resolve
|
||||
IP-CIDR,220.250.64.228/32,no-resolve
|
||||
# Neimenggu Unicom (nmdnserror2.wo.com.cn ~ nmdnserror4.wo.com.cn)
|
||||
IP-CIDR,202.99.254.231/32,no-resolve
|
||||
IP-CIDR,202.99.254.232/32,no-resolve
|
||||
IP-CIDR,202.99.254.230/32,no-resolve
|
||||
# Shandong Unicom (sddnserror1.wo.com.cn ~ sddnserror9.wo.com.cn)
|
||||
IP-CIDR,123.129.254.11/32,no-resolve
|
||||
IP-CIDR,123.129.254.12/32,no-resolve
|
||||
IP-CIDR,123.129.254.13/32,no-resolve
|
||||
@@ -190,57 +158,34 @@ IP-CIDR,123.129.254.16/32,no-resolve
|
||||
IP-CIDR,123.129.254.17/32,no-resolve
|
||||
IP-CIDR,123.129.254.18/32,no-resolve
|
||||
IP-CIDR,123.129.254.19/32,no-resolve
|
||||
# Shanxi Unicom (sxdnserror1.wo.com.cn ~ sxdnserror6.wo.com.cn)
|
||||
IP-CIDR,221.204.244.36/32,no-resolve
|
||||
IP-CIDR,221.204.244.37/32,no-resolve
|
||||
IP-CIDR,221.204.244.38/32,no-resolve
|
||||
IP-CIDR,221.204.244.39/32,no-resolve
|
||||
IP-CIDR,221.204.244.40/32,no-resolve
|
||||
IP-CIDR,221.204.244.41/32,no-resolve
|
||||
# Tianjin Unicom (tjdnserror1.wo.com.cn ~ tjdnserror5.wo.com.cn)
|
||||
IP-CIDR,218.68.250.117/32,no-resolve
|
||||
IP-CIDR,218.68.250.118/32,no-resolve
|
||||
IP-CIDR,218.68.250.119/32,no-resolve
|
||||
IP-CIDR,218.68.250.120/32,no-resolve
|
||||
IP-CIDR,218.68.250.121/32,no-resolve
|
||||
|
||||
## China Mobile
|
||||
# Anhui Mobile
|
||||
IP-CIDR,120.209.138.64/32,no-resolve
|
||||
# Guangdong Mobile
|
||||
IP-CIDR,211.139.136.73/32,no-resolve
|
||||
IP-CIDR,221.179.46.190/32,no-resolve
|
||||
IP-CIDR,221.179.46.194/32,no-resolve
|
||||
# Jiangsu Mobile
|
||||
IP-CIDR,183.207.232.253/32,no-resolve
|
||||
# Jiangxi Mobile
|
||||
IP-CIDR,223.82.248.117/32,no-resolve
|
||||
# Qinghai Mobile
|
||||
IP-CIDR,211.138.74.132/32,no-resolve
|
||||
# Shaanxi Mobile
|
||||
IP-CIDR,211.137.130.101/32,no-resolve
|
||||
# Shanghai Mobile
|
||||
IP-CIDR,211.136.113.1/32,no-resolve
|
||||
# Shanxi Mobile
|
||||
IP-CIDR,211.138.102.198/32,no-resolve
|
||||
# Shandong Mobile
|
||||
IP-CIDR,120.192.83.163/32,no-resolve
|
||||
# Sichuan Mobile
|
||||
IP-CIDR,183.221.242.172/32,no-resolve
|
||||
IP-CIDR,183.221.250.11/32,no-resolve
|
||||
# Xizang Mobile
|
||||
IP-CIDR,111.11.208.2/32,no-resolve
|
||||
# Yunnan Mobile
|
||||
IP-CIDR,183.224.40.24/32,no-resolve
|
||||
|
||||
## China Tie Tong
|
||||
# Shandong TieTong
|
||||
IP-CIDR,211.98.70.226/32,no-resolve
|
||||
IP-CIDR,211.98.70.227/32,no-resolve
|
||||
IP-CIDR,211.98.71.195/32,no-resolve
|
||||
IP-CIDR,211.98.71.196/32,no-resolve
|
||||
|
||||
## GWBN
|
||||
# Wuhan GWBN
|
||||
IP-CIDR,114.112.163.232/32,no-resolve
|
||||
IP-CIDR,114.112.163.254/32,no-resolve
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<main class="container">
|
||||
<h1>Sukka Surge Ruleset Server</h1>
|
||||
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
|
||||
<p>Last Updated: 2022-04-22T10:05:07.280Z</p>
|
||||
<p>Last Updated: 2022-04-22T12:28:21.937Z</p>
|
||||
<hr>
|
||||
<br>
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user