Compare commits

..

3 Commits

Author SHA1 Message Date
Kirill Sobakin
123f7977b1 update 2026-04-10 12:01:57 +03:00
GitHub Action
8c42ec8a1c Update subnet 2026-04-10 08:56:37 +00:00
Kirill Sobakin
2b1140e205 TG: add 5.28.192.0/18 2026-04-10 11:56:13 +03:00
9 changed files with 30 additions and 31 deletions

View File

@@ -167,6 +167,8 @@ llhost.eu
hostero.eu
cloudns.net
luadns.com
filmix.my
bitbucket.org
hetzner.com
hetzner.cloud

View File

@@ -11,7 +11,7 @@
74.119.76.0/22
102.132.96.0/20
102.132.112.0/24
102.132.114.0/23
102.132.115.0/24
102.132.116.0/23
102.132.119.0/24
102.132.120.0/23
@@ -45,6 +45,7 @@
157.240.134.0/24
157.240.136.0/23
157.240.139.0/24
157.240.140.0/24
157.240.156.0/22
157.240.169.0/24
157.240.170.0/24

View File

@@ -22,6 +22,7 @@
68.183.0.0/16
69.55.48.0/22
69.55.54.0/23
69.55.56.0/24
69.55.58.0/23
69.55.60.0/22
80.240.128.0/20
@@ -135,9 +136,7 @@
165.232.64.0/18
165.232.128.0/18
165.245.128.0/18
165.245.192.0/21
165.245.200.0/22
165.245.208.0/20
165.245.192.0/19
165.245.224.0/20
167.71.0.0/16
167.99.0.0/16
@@ -147,6 +146,7 @@
168.144.16.0/20
168.144.32.0/20
168.144.48.0/22
168.144.64.0/19
170.64.128.0/17
174.138.0.0/17
178.62.0.0/16

View File

@@ -11,7 +11,7 @@
74.119.76.0/22
102.132.96.0/20
102.132.112.0/24
102.132.114.0/23
102.132.115.0/24
102.132.116.0/23
102.132.119.0/24
102.132.120.0/23
@@ -45,6 +45,7 @@
157.240.134.0/24
157.240.136.0/23
157.240.139.0/24
157.240.140.0/24
157.240.156.0/22
157.240.169.0/24
157.240.170.0/24

View File

@@ -1,9 +1,11 @@
2.27.107.0/24
2.27.172.0/24
2.27.243.0/24
2.58.172.0/24
5.39.0.0/17
5.83.153.0/24
5.102.39.0/24
5.135.0.0/16
5.175.164.0/24
5.175.168.0/24
5.175.195.0/24
5.178.106.0/24
@@ -81,7 +83,6 @@
46.105.0.0/16
46.202.232.0/22
46.202.240.0/22
46.203.87.0/24
46.203.108.0/22
46.203.116.0/22
46.203.128.0/22
@@ -114,9 +115,7 @@
64.83.69.0/24
64.94.92.0/23
64.95.150.0/23
64.205.192.0/24
64.225.244.0/23
65.86.32.0/24
66.70.128.0/17
66.92.11.0/24
66.92.25.0/24
@@ -140,14 +139,15 @@
77.87.123.0/24
77.107.88.0/24
77.246.211.0/24
78.108.59.0/24
79.110.61.0/24
79.137.0.0/17
80.71.226.0/24
80.87.206.0/24
80.240.94.0/24
82.21.139.0/24
82.22.15.0/24
82.22.25.0/24
82.22.51.0/24
82.22.118.0/24
82.24.96.0/22
82.25.146.0/23
@@ -211,11 +211,9 @@
84.19.167.0/24
84.32.10.0/24
85.217.144.0/23
86.38.187.0/24
86.54.26.0/24
87.98.128.0/17
87.229.51.0/24
87.232.75.0/24
88.216.221.0/24
88.218.34.0/24
89.19.44.0/24
@@ -230,7 +228,6 @@
91.199.32.0/24
91.213.192.0/24
91.224.117.0/24
91.233.11.0/24
91.246.38.0/24
92.62.117.0/24
92.62.241.0/24
@@ -270,11 +267,11 @@
109.122.1.0/24
109.122.15.0/24
109.122.20.0/24
109.122.58.0/24
109.122.194.0/23
109.176.40.0/21
109.176.48.0/21
109.176.153.0/24
114.129.44.0/24
117.18.104.0/24
123.100.227.0/24
128.0.118.0/24
@@ -286,7 +283,6 @@
137.74.0.0/16
137.83.50.0/24
138.249.2.0/24
138.249.135.0/24
139.99.0.0/16
141.11.1.0/24
141.11.18.0/24
@@ -295,7 +291,6 @@
141.11.39.0/24
141.11.45.0/24
141.11.74.0/23
141.11.79.0/24
141.11.107.0/24
141.11.187.0/24
141.11.250.0/24
@@ -346,8 +341,6 @@
146.19.48.0/24
146.59.0.0/16
146.103.10.0/24
147.79.31.0/24
147.90.234.0/24
147.135.0.0/16
148.113.0.0/18
148.113.70.0/24
@@ -362,6 +355,7 @@
151.240.1.0/24
151.240.24.0/24
151.241.68.0/24
151.242.59.0/24
151.242.103.0/24
151.243.6.0/24
151.243.120.0/24
@@ -389,7 +383,9 @@
162.19.0.0/16
162.141.71.0/24
162.212.35.0/24
163.5.50.0/24
163.5.62.0/24
163.5.149.0/24
163.5.187.0/24
163.223.88.0/24
164.132.0.0/16
@@ -409,7 +405,6 @@
168.222.243.0/24
168.245.185.0/24
169.40.32.0/24
169.40.57.0/24
172.83.201.0/24
173.211.127.0/24
176.31.0.0/16
@@ -418,6 +413,7 @@
181.41.194.0/24
184.174.96.0/23
184.174.99.0/24
185.2.49.0/24
185.5.39.0/24
185.10.200.0/22
185.12.32.0/23
@@ -458,6 +454,7 @@
188.165.0.0/16
188.209.140.0/24
188.255.193.0/24
191.96.140.0/23
192.30.124.0/24
192.70.246.0/23
192.95.0.0/18
@@ -470,11 +467,11 @@
192.207.105.0/24
192.240.152.0/21
193.17.223.0/24
193.19.76.0/23
193.33.176.0/23
193.43.104.0/24
193.70.0.0/17
193.93.254.0/24
193.138.77.0/24
193.149.28.0/22
193.219.99.0/24
193.221.202.0/24
@@ -491,7 +488,6 @@
195.20.146.0/24
195.62.72.0/23
195.66.30.0/23
195.226.93.0/24
198.27.64.0/18
198.49.103.0/24
198.50.128.0/17
@@ -514,7 +510,6 @@
206.206.126.0/24
207.166.205.0/24
207.166.206.0/24
207.180.25.0/24
207.244.209.0/24
209.71.36.0/24
209.101.164.0/24
@@ -538,7 +533,6 @@
213.218.214.0/24
213.251.128.0/18
216.24.220.0/23
216.132.95.0/24
216.183.120.0/24
216.203.15.0/24
216.211.218.0/24
@@ -547,5 +541,4 @@
217.60.196.0/24
217.65.73.0/24
217.182.0.0/16
217.216.199.0/24
217.217.26.0/24

View File

@@ -1,3 +1,4 @@
5.28.192.0/18
91.105.192.0/23
91.108.4.0/22
91.108.8.0/21

View File

@@ -11,7 +11,6 @@
2a03:2887:ff1e::/48
2a03:2887:ff20::/48
2a03:2887:ff22::/47
2a03:2887:ff27::/48
2a03:2887:ff28::/46
2a03:2887:ff2f::/48
2a03:2887:ff30::/48
@@ -31,8 +30,7 @@
2a03:2887:ff60::/48
2a03:2887:ff62::/47
2a03:2887:ff64::/46
2a03:2887:ff68::/47
2a03:2887:ff6a::/48
2a03:2887:ff68::/46
2a03:2887:ff70::/47
2a03:2887:ff73::/48
2c0f:ef78:3::/48

View File

@@ -11,7 +11,6 @@
2a03:2887:ff1e::/48
2a03:2887:ff20::/48
2a03:2887:ff22::/47
2a03:2887:ff27::/48
2a03:2887:ff28::/46
2a03:2887:ff2f::/48
2a03:2887:ff30::/48
@@ -31,8 +30,7 @@
2a03:2887:ff60::/48
2a03:2887:ff62::/47
2a03:2887:ff64::/46
2a03:2887:ff68::/47
2a03:2887:ff6a::/48
2a03:2887:ff68::/46
2a03:2887:ff70::/47
2a03:2887:ff73::/48
2c0f:ef78:3::/48

View File

@@ -22,6 +22,11 @@ ASN_SERVICES = {
ASN_TELEGRAM = ['44907', '59930', '62014', '62041', '211157']
TELEGRAM = 'telegram.lst'
# Subnets not announced via ASN but confirmed as Telegram infrastructure
TELEGRAM_V4 = [
'5.28.192.0/18', # TELEGRAM-MESSENGER-INFRA-NET
]
CLOUDFLARE = 'cloudflare.lst'
CLOUDFRONT = 'cloudfront.lst'
@@ -163,7 +168,7 @@ if __name__ == '__main__':
print(f'Fetching {TELEGRAM}...')
ipv4_telegram_file, ipv6_telegram_file = download_subnets(TELEGRAM_CIDR_URL)
ipv4_telegram_asn, ipv6_telegram_asn = fetch_asn_prefixes(ASN_TELEGRAM)
ipv4_telegram = subnet_summarization(ipv4_telegram_file + ipv4_telegram_asn)
ipv4_telegram = subnet_summarization(ipv4_telegram_file + ipv4_telegram_asn + TELEGRAM_V4)
ipv6_telegram = subnet_summarization(ipv6_telegram_file + ipv6_telegram_asn)
write_subnets_to_file(ipv4_telegram, f'{IPv4_DIR}/{TELEGRAM}')
write_subnets_to_file(ipv6_telegram, f'{IPv6_DIR}/{TELEGRAM}')