deploy: 908a7ffe901b1fb0a7f5c6063fb44018b74132f4

This commit is contained in:
SukkaBot
2022-04-23 13:42:42 +00:00
parent 4ebdc5de1b
commit 29a010aeba
7 changed files with 407 additions and 564 deletions

View File

@@ -0,0 +1,24 @@
const { fetch } = require('undici');
const fs = require('fs');
const path = require('path');
(async () => {
const resp = await fetch('https://core.telegram.org/resources/cidr.txt');
const lastModified = new Date(resp.headers.get('last-modified'));
const res = (await resp.text())
.split('\n')
.filter(line => line.trim() !== '');
await fs.promises.writeFile(
path.resolve(__dirname, '../List/ip/telegram.conf'),
'# Telegram CIDR (https://core.telegram.org/resources/cidr.txt)' + '\n' +
'# Last Updated: ' + lastModified.toISOString() + '\n' +
res.map(ip => {
return ip.includes(':')
? `IP-CIDR6,${ip},no-resolve`
: `IP-CIDR,${ip},no-resolve`;
}).join('\n') + '\n',
'utf-8'
);
})();

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
############################
# Mainland China IPv4 CIDR
# Data from misaka.io (misakaio @ GitHub)
# Last Updated: 2022-04-23T12:32:43.298Z
# Last Updated: 2022-04-23T13:40:30.677Z
# Routes: 3378
############################
IP-CIDR,1.2.4.0/24

View File

@@ -1,13 +1,16 @@
# > Telegram
IP-CIDR,91.105.192.0/23,no-resolve
IP-CIDR,91.108.0.0/16,no-resolve
IP-CIDR,95.161.64.0/20,no-resolve
IP-CIDR,109.239.140.0/24,no-resolve
# Telegram CIDR (https://core.telegram.org/resources/cidr.txt)
# Last Updated: 2021-10-01T16:51:55.000Z
IP-CIDR,91.108.56.0/22,no-resolve
IP-CIDR,91.108.4.0/22,no-resolve
IP-CIDR,91.108.8.0/22,no-resolve
IP-CIDR,91.108.16.0/22,no-resolve
IP-CIDR,91.108.12.0/22,no-resolve
IP-CIDR,149.154.160.0/20,no-resolve
IP-CIDR,91.105.192.0/23,no-resolve
IP-CIDR,91.108.20.0/22,no-resolve
IP-CIDR,185.76.151.0/24,no-resolve
IP-CIDR,214.218.41.9/32,no-resolve
IP-CIDR6,2001:67c:4e8::/48,no-resolve
IP-CIDR6,2001:b28:f23c::/48,no-resolve
IP-CIDR6,2001:b28:f23d::/48,no-resolve
IP-CIDR6,2001:b28:f23f::/48,no-resolve
IP-CIDR6,2a0a:f280:203::/48,no-resolve
IP-CIDR6,2001:67c:4e8::/48,no-resolve
IP-CIDR6,2001:b28:f23c::/48,no-resolve
IP-CIDR6,2a0a:f280::/32,no-resolve

View File

@@ -7,3 +7,4 @@ DOMAIN-SUFFIX,telegram.me
DOMAIN-SUFFIX,telegram.org
DOMAIN-SUFFIX,graph.org
DOMAIN-SUFFIX,legra.ph
DOMAIN-SUFFIX,telesco.pe

View File

@@ -67,7 +67,8 @@ RULE-SET,https://ruleset.skk.moe/List/non_ip/telegram.conf,[Replace with your po
RULE-SET,https://ruleset.skk.moe/List/ip/telegram.conf,[Replace with your policy]
```
- 人工维护
- 域名规则 人工维护
- IP CIDR 规则 自动生成
#### Apple CDN

View File

@@ -24,7 +24,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-23T12:34:29.615Z</p>
<p>Last Updated: 2022-04-23T13:42:42.158Z</p>
<hr>
<br>
<ul>