Compare commits

..

83 Commits

Author SHA1 Message Date
C24Be
849e96a16d + routes 2026-03-26 09:18:49 +01:00
C24Be
ee407903b6 + routes 2026-03-26 09:16:31 +01:00
C24Be
07284f6831 + routes 2026-03-26 09:16:11 +01:00
C24Be
f407215a72 Update 2026.03.26 07:01:14 2026-03-26 07:01:14 +00:00
C24Be
3ea564dfe8 Update 2026.03.25 06:55:56 2026-03-25 06:55:56 +00:00
C24Be
af409b55cc Update 2026.03.24 19:03:32 2026-03-24 19:03:33 +00:00
C24Be
17a668eaec Block VK / usage 2026-03-24 20:02:11 +01:00
C24Be
95d70eb428 Update 2026.03.24 18:58:35 2026-03-24 18:58:35 +00:00
C24Be
82ad171e71 usage 2026-03-24 19:57:16 +01:00
C24Be
8e3a07acc5 Update 2026.03.24 18:23:22 2026-03-24 18:23:22 +00:00
C24Be
6381ea7863 Block VK / usage 2026-03-24 19:21:52 +01:00
C24Be
4a8a10d6d6 Update 2026.03.24 18:07:56 2026-03-24 18:07:56 +00:00
C24Be
d7e0f9c7b7 Block VK / usage 2026-03-24 19:06:26 +01:00
C24Be
b98e6d008c Block VK / readme 2026-03-24 19:03:08 +01:00
C24Be
7714b6ff07 Update 2026.03.24 18:01:29 2026-03-24 18:01:30 +00:00
C24Be
2d2dfccad3 Block VK / Add special lists 2026-03-24 18:59:49 +01:00
C24Be
0b170ff24a Update 2026.03.24 06:56:56 2026-03-24 06:56:56 +00:00
C24Be
204b099d9c Update 2026.03.23 07:02:16 2026-03-23 07:02:16 +00:00
C24Be
77142cde32 Update 2026.03.22 13:11:44 2026-03-22 13:11:45 +00:00
C24Be
12f1e01c61 Update 2026.03.22 06:42:46 2026-03-22 06:42:46 +00:00
C24Be
834a95b304 Update 2026.03.21 06:34:56 2026-03-21 06:34:56 +00:00
C24Be
e78fa434c8 Update 2026.03.20 06:45:28 2026-03-20 06:45:28 +00:00
C24Be
c2beed14dc Update 2026.03.19 06:50:44 2026-03-19 06:50:44 +00:00
C24Be
0261df5830 Update 2026.03.18 06:55:06 2026-03-18 06:55:06 +00:00
C24Be
619e5f7997 Update 2026.03.17 06:56:36 2026-03-17 06:56:37 +00:00
C24Be
63bb2685d4 Update 2026.03.16 07:08:36 2026-03-16 07:08:36 +00:00
C24Be
b9bd54545c Update 2026.03.15 13:13:19 2026-03-15 13:13:20 +00:00
C24Be
f67123d80d Update 2026.03.15 06:48:28 2026-03-15 06:48:28 +00:00
C24Be
9834fa3728 Update 2026.03.14 06:37:41 2026-03-14 06:37:42 +00:00
C24Be
dbbfd0db63 Update 2026.03.13 06:43:17 2026-03-13 06:43:17 +00:00
C24Be
a163fdbbb2 Update 2026.03.12 06:45:25 2026-03-12 06:45:25 +00:00
C24Be
de5d352c2a Update 2026.03.11 06:43:34 2026-03-11 06:43:34 +00:00
C24Be
292b0f0460 Update 2026.03.10 06:40:16 2026-03-10 06:40:16 +00:00
C24Be
e690b097af Update 2026.03.09 06:56:59 2026-03-09 06:56:59 +00:00
C24Be
317036fb8d Update 2026.03.08 13:08:28 2026-03-08 13:08:29 +00:00
C24Be
69549bce92 Update 2026.03.08 06:35:20 2026-03-08 06:35:20 +00:00
C24Be
2d3cc80273 Update 2026.03.07 06:31:53 2026-03-07 06:31:53 +00:00
C24Be
e26bc0890f Update 2026.03.06 06:39:18 2026-03-06 06:39:18 +00:00
C24Be
7a958c6686 Update 2026.03.05 06:42:08 2026-03-05 06:42:08 +00:00
C24Be
3448d99fa0 Update 2026.03.04 06:38:45 2026-03-04 06:38:45 +00:00
C24Be
aa9227c2ea Update 2026.03.03 06:55:25 2026-03-03 06:55:25 +00:00
C24Be
8d3e661eb9 Update 2026.03.02 06:49:32 2026-03-02 06:49:32 +00:00
C24Be
cbf2554c71 Update 2026.03.01 (#24)
* Update 2026.03.01 01:07:56

* Update 2026.03.01 04:25:44

* Update 2026.03.01 06:01:46

* Update 2026.03.01 06:15:37

* Update 2026.03.01 06:23:34

* Update 2026.03.01 07:44:01

* Update 2026.03.01 08:02:08

* Update 2026.03.01 08:06:50

---------

Co-authored-by: C24Be <C24Be@github.com>
2026-03-01 16:35:45 +01:00
C24Be
3db201e687 Update 2026.03.01 13:08:17 2026-03-01 13:08:18 +00:00
C24Be
6405bea74b Update 2026.03.01 06:38:03 2026-03-01 06:38:03 +00:00
C24Be
d8db11d446 Update 2026.02.28 06:29:57 2026-02-28 06:29:57 +00:00
C24Be
7059da1685 Update 2026.02.27 06:44:15 2026-02-27 06:44:15 +00:00
C24Be
cc202f9f79 Update 2026.02.26 06:52:09 2026-02-26 06:52:09 +00:00
C24Be
85052ec0dc Update 2026.02.25 06:55:26 2026-02-25 06:55:26 +00:00
C24Be
c0b13ac7d0 Update 2026.02.24 06:52:58 2026-02-24 06:52:58 +00:00
C24Be
709a62cf0a Update 2026.02.23 06:57:13 2026-02-23 06:57:13 +00:00
C24Be
49cff13f8d Update 2026.02.22 13:10:15 2026-02-22 13:10:16 +00:00
C24Be
2251934da5 Update 2026.02.22 06:39:12 2026-02-22 06:39:12 +00:00
C24Be
b6192a7161 Update 2026.02.21 06:34:40 2026-02-21 06:34:40 +00:00
C24Be
1812bf1218 Update 2026.02.20 06:46:48 2026-02-20 06:46:49 +00:00
C24Be
c5b999b322 Update 2026.02.19 06:52:50 2026-02-19 06:52:51 +00:00
C24Be
1bf930c815 Update 2026.02.18 06:54:43 2026-02-18 06:54:44 +00:00
C24Be
42b870a6c1 Update 2026.02.17 06:51:02 2026-02-17 06:51:02 +00:00
C24Be
1eb4db2bfa Update 2026.02.16 06:56:09 2026-02-16 06:56:10 +00:00
C24Be
34a2703df0 Update 2026.02.15 13:11:16 2026-02-15 13:11:17 +00:00
C24Be
8a670b5b25 Update 2026.02.15 06:42:42 2026-02-15 06:42:43 +00:00
C24Be
0705c32fc5 Update 2026.02.14 06:36:43 2026-02-14 06:36:43 +00:00
C24Be
31941d041a Update 2026.02.13 06:52:17 2026-02-13 06:52:18 +00:00
C24Be
6276cd968f Update 2026.02.12 06:54:24 2026-02-12 06:54:24 +00:00
C24Be
cb64ca2bcb Update 2026.02.11 06:54:29 2026-02-11 06:54:29 +00:00
C24Be
6fb9418c90 Update 2026.02.10 06:57:42 2026-02-10 06:57:42 +00:00
C24Be
7eedfbde2c Update 2026.02.09 06:57:43 2026-02-09 06:57:43 +00:00
C24Be
71f0272971 Update 2026.02.08 13:10:26 2026-02-08 13:10:27 +00:00
C24Be
9780152f9d Update 2026.02.08 06:41:38 2026-02-08 06:41:38 +00:00
C24Be
16ade438d1 Update 2026.02.07 06:34:40 2026-02-07 06:34:40 +00:00
C24Be
663a88f95c Update 2026.02.06 06:45:45 2026-02-06 06:45:45 +00:00
C24Be
a4d3676ab7 Update 2026.02.05 06:51:18 2026-02-05 06:51:18 +00:00
C24Be
98093eb33d Update 2026.02.04 06:42:35 2026-02-04 06:42:35 +00:00
C24Be
0c0c30aa2f Update 2026.02.03 06:42:06 2026-02-03 06:42:06 +00:00
C24Be
7bbb8d27b7 Update 2026.02.02 06:55:39 2026-02-02 06:55:40 +00:00
C24Be
132ce57749 Update 2026.02.01 13:09:50 2026-02-01 13:09:51 +00:00
C24Be
a6aab55efa Update 2026.02.01 06:41:37 2026-02-01 06:41:37 +00:00
C24Be
be5674fa21 Update 2026.01.31 06:30:44 2026-01-31 06:30:44 +00:00
C24Be
71af5f55cd Update 2026.01.30 06:39:29 2026-01-30 06:39:29 +00:00
C24Be
93e61e2a2c Update 2026.01.29 06:38:40 2026-01-29 06:38:41 +00:00
C24Be
ea30368ea8 Update 2026.01.28 06:28:20 2026-01-28 06:28:20 +00:00
C24Be
c08d9620d6 Update 2026.01.27 06:26:42 2026-01-27 06:26:43 +00:00
C24Be
f7977cd875 Update 2026.01.26 06:28:35 2026-01-26 06:28:35 +00:00
31 changed files with 13120 additions and 38922 deletions

View File

@@ -33,6 +33,7 @@ jobs:
- run: ./blacklists_updater_nginx.sh
- run: ./blacklists_updater_iptables.sh
- run: ./blacklists_updater_nftables.sh
- run: ./blacklists_updater_routes.sh
- uses: ./.github/actions/gitPush
env:
PUSH_FILES: blacklists/ blacklists_nginx/ blacklists_iptables/ blacklists_nftables/

View File

@@ -2,6 +2,11 @@
### Blacklists are updated daily!
> [!IMPORTANT]
> A very important feature has been added: dedicated lists of VK Cloud / VK networks that can be used to block **OUTGOING** traffic from your server (iptables/ipset and nftables formats are available).
> This can help reduce the risk of Messenger MAX being used to compromise your VPN server.
> The best security option is to avoid installing Messenger MAX at all on a phone where VPN access is configured.
This repository contains Python scripts that allow you to retrieve network lists based on either an Autonomous System (AS) name or a Network name. Also you can download and parse the whole RIPE database to get information about Networks for the further analysis.
**Ready-to-use blacklists in multiple formats:**
@@ -9,6 +14,8 @@ This repository contains Python scripts that allow you to retrieve network lists
- [Text blacklists in `blacklists/`](https://github.com/C24Be/AS_Network_List/tree/main/blacklists) - Plain text format with IPv4/IPv6 separation
- [Nginx configurations in `blacklists_nginx/`](https://github.com/C24Be/AS_Network_List/tree/main/blacklists_nginx) - Ready to include in your nginx config
- [IPTables/IPSet files in `blacklists_iptables/`](https://github.com/C24Be/AS_Network_List/tree/main/blacklists_iptables) - Optimized for iptables with ipset
- [nftables files in `blacklists_nftables/`](https://github.com/C24Be/AS_Network_List/tree/main/blacklists_nftables) - Ready-to-load sets and rules for nftables
- [Linux route files in `blacklists_route/`](https://github.com/C24Be/AS_Network_List/tree/main/blacklists_route) - VK route blackholes to loopback (IPv4/IPv6)
- [Other network and ASN lists in `auto/`](https://github.com/C24Be/AS_Network_List/tree/main/auto) - Comprehensive Russian network data
## Files and features
@@ -28,6 +35,8 @@ This repository contains Python scripts that allow you to retrieve network lists
- `blacklists_updater_txt.sh`: Generates text-based blacklists with IPv4/IPv6 separation
- `blacklists_updater_nginx.sh`: Generates nginx configuration files with deny directives
- `blacklists_updater_iptables.sh`: Generates ipset configuration files for iptables/ip6tables
- `blacklists_updater_nftables.sh`: Generates nftables blacklist files (mixed/v4/v6 and VK-specific)
- `blacklists_updater_routes.sh`: Generates Linux route files to send VK networks to loopback (`127.0.0.1` / `::1`)
### Generated Blacklists
@@ -57,8 +66,16 @@ This repository contains Python scripts that allow you to retrieve network lists
* `blacklist.nft`: nftables configuration for mixed IPv4/IPv6 (**daily generated**)
* `blacklist-v4.nft`: nftables configuration for IPv4 only (**daily generated**)
* `blacklist-v6.nft`: nftables configuration for IPv6 only (**daily generated**)
* `blacklist-vk.nft`: nftables configuration for VK-only networks (**daily generated**)
* `blacklist-vk-v4.nft`: nftables configuration for VK-only IPv4 networks (**daily generated**)
* `blacklist-vk-v6.nft`: nftables configuration for VK-only IPv6 networks (**daily generated**)
* `README.md`: Complete usage documentation for nftables integration
**Linux Routes Format** (`blacklists_route/` folder):
* `blacklist-vk-v4.routes`: IPv4 routes for VK-only networks to `127.0.0.1` via `lo` (**daily generated**)
* `blacklist-vk-v6.routes`: IPv6 routes for VK-only networks to `::1` via `lo` (**daily generated**)
### Reference Lists
@@ -105,10 +122,33 @@ ip6tables -I INPUT -m set --match-set blacklist-v6 src -j DROP
# Download and load into nftables
wget https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_nftables/blacklist.nft
sudo nft -f blacklist.nft
# Protect VM from incoming blacklist sources
sudo nft add chain inet filter input '{ type filter hook input priority 0; policy accept; }'
sudo nft add rule inet filter input ip saddr @blacklist_v4 counter reject
sudo nft add rule inet filter input ip6 saddr @blacklist_v6 counter reject
# VK-only outbound blocking for VPN clients via NAT/FORWARD
wget https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_nftables/blacklist-vk.nft
sudo nft -f blacklist-vk.nft
sudo nft add chain inet filter forward '{ type filter hook forward priority 0; policy accept; }'
sudo nft add rule inet filter forward iifname "<VPN_IFACE>" ip daddr @blacklist_v4 counter reject
sudo nft add rule inet filter forward iifname "<VPN_IFACE>" ip6 daddr @blacklist_v6 counter reject
# View the loaded rules
sudo nft list ruleset
````
**For Linux Routes (VK loopback blackhole):**
```bash
# Download and apply VK route files
wget https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_route/blacklist-vk-v4.routes
wget https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_route/blacklist-vk-v6.routes
sudo sh blacklist-vk-v4.routes
sudo sh blacklist-vk-v6.routes
```
**For Custom Applications:**
```bash

View File

@@ -33,7 +33,7 @@ AS3277 RUSNET-AS (OOO "NPO FRACTEL")
AS3284 ServiceCloud-AS (ServiceCloud Ltd.)
AS3285 HOME-IP (Company Delfa Co. Ltd.)
AS3287 REDLINE-AS (Dmitry Vyacheslavovich Sharov)
AS3312 ELEKTRA-AS (IT Energy Service LLC)
AS3312 ELEKTRA-AS (Rosseti Digital JSC)
AS3315 UNSPECIFIED (Join-stock company "Internet Exchange"MSK-IX")
AS3316 RELARN (Join-stock company "Internet Exchange"MSK-IX")
AS3325 KFU (Kazan Federal University)
@@ -56,7 +56,7 @@ AS5523 CREDO-TELECOM (JSC "CREDO-TELECOM")
AS5537 RU-CENTER-AS (JSC "RU-CENTER")
AS5543 TEST-ASN1 (Joint Stock Company TransTeleCom)
AS5547 ORTEL-AS (JSC Orient-Telecom)
AS5548 RUT-MIIT-AS (Federal State Budget Educational Establishment of Higher Education "Russian University Of Transport (MIIT)")
AS5548 RUT-MIIT-AS (Federalnoe gosudarstvennoe avtonomnoe obrazovatelnoe uchrezhdenie vysshego obrazovaniya "Rossiyskiy Universitet Transporta")
AS5553 TAMBOVMAN-AS (Federal State Budgetary Educational Institution of Higher Education "Tambov State Technical University")
AS5563 URAL (JSC "ER-Telecom Holding")
AS5567 AS5567 (National Research Tomsk Polytechnic University)
@@ -212,7 +212,7 @@ AS9157 SAO-RAS (Federal State Budget Institution The Special Astrophysical Obser
AS9162 TSTU (The State Educational Institution of Higher Vocational Education "Tambov State Technical University")
AS9177 MZRTA-AS (RTA Telecom Ltd.)
AS9203 EVROKONTAKT-STRUSSA-AS (EUROCONTACT VELIKY NOVGOROD LLC)
AS9206 MAI (Federal State Budgetary Educational Institution of Higher Education Moscow Aviation Institute (National Research University))
AS9206 MAI (Federal State Autonomous Educational Institution of Higher Education "Moscow Aviation Institute (National Research University)")
AS12314 TESLATEL-DC-AS (TESLATEL LLC)
AS12332 PRIMORYE-AS (PJSC Rostelecom)
AS12335 TARIO (Tario Communications LLC)
@@ -420,7 +420,7 @@ AS21332 NTC-AS (PJSC "Vimpelcom")
AS21335 DigitOneSPB-AS (JSC "ER-Telecom Holding")
AS21353 ARTCOMS-AS (JSC "ER-Telecom Holding")
AS21365 INTELECA-AS (MTS PJSC)
AS21367 WILAND-AS (Wiland Ltd)
AS21367 WILAND-AS (TrunkMobile JSC)
AS21372 telehouse-as (LLC My Telecom)
AS21375 BNPP-AS (JSC "Concern Rosenergoatom")
AS21378 CTCTVER (PJSC Rostelecom)
@@ -463,7 +463,6 @@ AS24789 NOVGORODTELECOM-AS (PJSC Rostelecom)
AS24810 TELESET-KAZAN (PJSC Rostelecom)
AS24811 KES-AS (Joint Stock Company Kuzbassenergosviaz)
AS24823 VTB-BANK-AS (VTB Bank (Public Joint-Stock Company))
AS24832 TCU-COM-AS (LLC "Nauka-Svyaz")
AS24837 MEGALINK-AS (MegaLink LLC)
AS24866 Cloud-Megafon (PJSC MegaFon)
AS24873 ELLINK-AS (PJSC Rostelecom)
@@ -523,7 +522,7 @@ AS25591 BCLAN-AS (BCLan LLC)
AS25592 NETIS-AS (NETIS Telecom LLC)
AS25880 Yurgatelekom-AS (Public joint-stock company "RUTELEKOM")
AS28703 URAL-INTERCARD-AS (PJSC "Vimpelcom")
AS28709 VKONTAKTE-REGIONAL-CDN (VKontakte Ltd)
AS28709 VKONTAKTE-REGIONAL-CDN (LLC VK)
AS28712 ROSBANK ("TBANK" JSC)
AS28719 HMFES (PJSC Rostelecom)
AS28734 ATON-AS (Aton LLC)
@@ -731,7 +730,7 @@ AS33888 NCPLG-AS (Federal State Unitary Enterprise "State Scientific-research In
AS33892 SELS-AS (LLC "Severskelectrosvyaz")
AS33894 RIKT-AS (MTS PJSC)
AS33899 RU-HOTLINE-TELECOM-AS (JSC "ER-Telecom Holding")
AS33902 STARNET-AS (Invest Mobile LLC)
AS33902 STARNET-AS (ePharmacy LLC)
AS33903 CROC-AS (Closed Joint Stock Company CROC incorporated)
AS33904 TELCOMNET-AS (Limited Liability Company "Telcomnet")
AS33908 Kirovtelecom (AO Kirovtelecom)
@@ -746,7 +745,7 @@ AS34017 ASCNET-AS (FEDERAL STATE BUDGETARY INSTITUTION OF SCIENCES KHABAROVSK FE
AS34033 S2116-AS (OOO SALON 2116 Electronic Post Office)
AS34038 COMTEL-TMN-AS (PJSC "Vimpelcom")
AS34042 MTTELECOM-AS (MT-Telecom LLC)
AS34047 DGROUP-AS (Bystrov Dmitriy Sergeevich)
AS34047 DGROUP-AS (LLC Internet-Service)
AS34052 LOGIKA (OOO NPP Logika)
AS34085 NICO-BANK-AS (PJSC NICO-BANK)
AS34098 ZENIT-BANK-AS (PJSC Bank ZENIT)
@@ -966,7 +965,7 @@ AS35816 SEVSTAR (Lancom Ltd.)
AS35824 COMMASTER-AS (Commaster Ltd.)
AS35835 KUZDRAV-AS (Public Budget-Funded Health Care Institution "Kemerovo Regional Health Care Research and Information Center")
AS38917 komtel-as (INTERCOMTEL Limited Company)
AS38922 WILAND-AS (Wiland Ltd)
AS38922 WILAND-AS (TrunkMobile JSC)
AS38928 GLONASS (JSC GLONASS)
AS38934 PRIDENET-AS (Pride LLC)
AS38951 TKT-AS (PJSC Rostelecom)
@@ -993,7 +992,7 @@ AS39054 STBUR-AS (PJSC Rostelecom)
AS39058 STEP-AS (Step Logic LTD)
AS39061 LAYKA-LTD-AS (Layka Ltd.)
AS39068 MainTelecom (Main Telecom LLC)
AS39073 FGKUES-AS (Branch of JSC FGC UES)
AS39073 FGKUES-AS (PJSC Rosseti)
AS39087 PAKT-AS (P.A.K.T LLC)
AS39089 UGLETELECOM-AS (STATE UNITARY ENTERPRISE OF THE DONETSK PEOPLE'S REPUBLIC "UGLETELECOM")
AS39092 VENA-AS ("Baltica Breweries" LLC)
@@ -1028,7 +1027,7 @@ AS39289 MEGAMAX-AS (OOO "MediaSeti")
AS39293 RTCENTER-AS (RT Center LLC)
AS39294 LADA-MEDIA-AS (LADA-MEDIA Ltd.)
AS39303 C-RETAIL-AS (C-RETAIL LLC)
AS39304 DV-IX-AS (Chitatehenergy JSC)
AS39304 DV-IX-AS (JOINT-STOCK COMPANY "MOSCOW ENERGY COMMUNICATION NODE")
AS39317 AUTOLOCATOR (MegaPage Ltd.)
AS39321 Gazenergobank (Gazenergobank JSC)
AS39323 RCUP-AS (GBU SO "TSIFROVOY REGION")
@@ -1143,7 +1142,7 @@ AS41187 NSPK-SBP-AS (National system of payment cards Joint-stock Society)
AS41190 IDEATELECOM (PJSC Rostelecom)
AS41209 COMSTAR-VOLGA (MTS PJSC)
AS41212 Carcade (OOO Carcade)
AS41217 PNTZ-AS (JSC PNTZ)
AS41217 PNTZ-AS (PJSC "PIPE METALLURGICAL COMPANY")
AS41220 BKKVARTAL-AS (Building Service LLC)
AS41223 CPM-LTD-AS (CPM Ltd.)
AS41226 SUPERBANK-RU-AS (VTB Bank (Public Joint-Stock Company))
@@ -1250,7 +1249,7 @@ AS41864 Zelobit (ZELOBIT LLC)
AS41892 RSL-AS (Federal State Budget Institution "Russian State Library")
AS41895 INFORM-SVYAZ ("INFORM-Svyaz" LTD)
AS41904 LLC12BIT-AS (LLC 12BIT)
AS41914 YALTAONLINE (Inna Grigorevna Khoruzhaya)
AS41914 MKS (Mediacom Svyaz LLC)
AS41925 IZET-Chelyabinsk (Limited Liability Company Izet Telecom Ural)
AS41928 ITIS-AS (Olympia Ltd)
AS41929 SISTEMY-SVYAZI-AS (MTS PJSC)
@@ -1473,7 +1472,7 @@ AS43247 YooMoney-AS ("YooMoney" NBCO LLC)
AS43264 RTODON-AS (RTO-DON LLC)
AS43265 RNTelecom (RN Telecom Ltd.)
AS43267 SEVEREN-MSK-NET (JSC "Severen-Telecom")
AS43270 SAFECITY-AS (Ryabikov Ivan)
AS43270 IT-TELECOM-AS (Ryabikov Ivan)
AS43273 OPTIKLINE-AS (Optik Line LLC)
AS43274 TELEOS-1-AS (Teleradiocompany Teleos-1 Ltd)
AS43275 UNET-AS (PJSC "Vimpelcom")
@@ -1512,7 +1511,6 @@ AS43521 RECOM-OREL-AS (Recom LLC)
AS43526 NOVIKOM-AS (Joint-Stock Commercial Bank "NOVIKOMBANK")
AS43527 FINAMTECH-AS (Joint Stock Company Investment Company FINAM)
AS43530 IRTELCOM-AS (Limited Liability Company Irtelcom)
AS43544 Radist-AS (Radist LTD)
AS43550 DSC-AS (JSC Avantel)
AS43552 SIBNET-AS (Enterprise Medtech Ltd)
AS43559 SOESTA-AS ("Soesta" ZAO)
@@ -1601,7 +1599,7 @@ AS44014 VMI-AS (OOO NPO VMI)
AS44020 CLN-AS (Modern Solutions LTD)
AS44030 OTRADNOE-AS (Lentel Business Ltd.)
AS44035 RU-AXIOMA-AS (Nemerov Evgeniy Vladimirovish PE)
AS44039 CHTPZ-AS (JSC "Chelyabinsk pipe-rolling factory")
AS44039 CHTPZ-AS (PJSC "PIPE METALLURGICAL COMPANY")
AS44041 UNICOMLAB-AS (Korporatsia Svyazy Ltd.)
AS44046 TVERLINE-AS (TverLine Ltd.)
AS44048 MOSOBLGAZ-AS (Mosoblgaz JSC)
@@ -1692,7 +1690,7 @@ AS44552 SCTS-NET ("Altura" ltd.)
AS44554 IMPERCOM-AS (Impercom LLC)
AS44555 KONEKT-AS (KONEKT Ltd.)
AS44556 IQ-NET (DDOS-GUARD LTD)
AS44560 MIA-AS (Ministry of Interior Affairs of Russian Federation)
AS44560 MIA-AS (FKU "GTsSIZI Ministry of Internal Affairs of Russia")
AS44572 PARMATEL-AS (LTD ParmaTel)
AS44579 TNGS-FARNORTHNET (MTS PJSC)
AS44584 PTLINE-AS (Progress Tehnologiya LLC)
@@ -1711,7 +1709,6 @@ AS44640 CACTUS-AS (Cactus Ltd.)
AS44648 AVETEL-AS (AveTel LLC)
AS44657 SPK-AS (JSC Steel Industrial Company)
AS44660 UMKAST (Umkast Media LLC)
AS44661 PETROVICH-AS (STD Petrovich LLC)
AS44662 ARKHTELECENTR-AS (GBU Arkhangelskoi oblasti "Arkhtelecentr")
AS44665 SOVCOMFLOT-AS (PAO Sovcomflot)
AS44670 TVIGO (Tvigle Media LLC)
@@ -1746,7 +1743,7 @@ AS44804 EXGSPB-AS (Soft LLC)
AS44811 AVANTEL-NIZHNEVARTOVSK-ASN (JSC Avantel)
AS44812 IPSERVER-RU-NET (IP SERVER LLC)
AS44816 DELFINTELECOM-AS (Delfin Telecom OOO)
AS44834 POZITIVTELECOM-AS (Pozitiv Telecom Ltd.)
AS44834 POZITIVTELECOM-AS (LLC "POZITIV TELEKOM")
AS44835 PROSTOY-RU-AS (1T Ltd)
AS44840 KRONSHTADT-AS (Kronshtadt JSC)
AS44843 MALOCO-AS (MSS LLC.)
@@ -1879,8 +1876,8 @@ AS47528 RU-PITER-IX-VKZ (Piter-IX Co. Ltd.)
AS47530 NVTC-AS (Novokuznetsk Telecom Ltd)
AS47531 GorPTUs-AS (GorPTUs OOO)
AS47533 CTIS-AS (MBU CTIS EMR)
AS47541 VKONTAKTE-SPB-AS (VKontakte Ltd)
AS47542 VKONTAKTE-MSK-CDN-AS (VKontakte Ltd)
AS47541 VKONTAKTE-SPB-AS (LLC VK)
AS47542 VKONTAKTE-MSK-CDN-AS (LLC VK)
AS47550 NetLife-AS (Bratinov Oleg Vyacheslavovich)
AS47551 AS-MAYAK-NETWORK ("MAYAK NETWORK" LLC)
AS47560 KIT-MAGADAN (KIT-Magadan LLC)
@@ -2136,7 +2133,6 @@ AS48757 TRUSTINFO (TrustInfo LLC)
AS48758 FIBRENET-AS (Fibrenet Ltd)
AS48763 smartcenter-as (LLC "SMART CENTER")
AS48770 ASSIST (Assist Ltd.)
AS48780 OLTELECOM-AS (OLTELECOM JSC)
AS48781 AVK-COM-AS (AVK-computer ltd)
AS48788 SITRONICS (MTS PJSC)
AS48796 COMSTAR-R-SML-AS (MTS PJSC)
@@ -2166,7 +2162,7 @@ AS48936 ECO-RESERV2-AS (Altagen JSC)
AS48938 GUARD-INFORM-AS (Guard-Inform Ltd.)
AS48939 BITRIVER-K-AS (Bitriver-K LLC)
AS48940 LINK-AS (Link Ltd.)
AS48946 KOMF (JSC Comfortel)
AS48946 KOMF (Voxys LLC)
AS48949 MEDIA-TV-AS (Media-TV Ltd.)
AS48959 GARMONIYA-AS (MB Grupp LLC)
AS48969 PARUS-TELECOM-AS (Parus-Telecom Ltd.)
@@ -2221,7 +2217,7 @@ AS49241 SCB-NET5 (PJSC Sovkombank)
AS49246 GUM-AS (JSC TRADING HOUSE GUM)
AS49253 BRINGO-AS (Bringo Ltd)
AS49255 TELEGLOBAL-AS (TeleGlobal Ltd.)
AS49261 SVS-TELECOM-AS (Lekstar Communication Ltd.)
AS49261 SVS-TELECOM-AS (Lekstar Communication LLC)
AS49267 SIBCOM-AS (Sibcom Ltd)
AS49279 BEFL-AS (BEFL Ltd.)
AS49280 Saifullin-AS (Ruslan Saifullin)
@@ -2293,7 +2289,7 @@ AS49554 SIORAS-AS (P.P.Shirshov Institute of Oceanology RAS)
AS49557 STROYNET-AS (BuildNet Ltd)
AS49558 LIVECOMM-AS (IT-Yaroslavl Ltd.)
AS49568 INFORMSYAZ-AS (LLC "Convex-Kamensk")
AS49569 ZAYMER-AS (Zaymer PJSC)
AS49569 ZAYMER-AS (Microcredit Company Zaymer PJSC)
AS49577 DISNET (PE Romankov Dmitry Vladimirovich)
AS49578 FREGAT-AS (Fregat Ltd.)
AS49583 Kom_lan_ltd-AS (Kom lan Ltd)
@@ -2503,7 +2499,6 @@ AS50587 ATB-AS (LLC "M ADVICE")
AS50596 ITNET33 (Informatsionnye Tekhnologii LLC)
AS50600 INET-AS (I-NET Ltd.)
AS50608 HITECH (STIS Engineering LLC)
AS50612 SKY-AS (Auction LLC)
AS50615 AIKOM-RU-AS (LLC AIKOM)
AS50619 RAZU (RAZU.MEDIA LLC)
AS50636 RTP-Media (RTP LLC)
@@ -2608,7 +2603,7 @@ AS51054 TRANSCOM (OOO "TransKom")
AS51067 KRAZ-AS (Sibinfosoft LLC)
AS51070 TOKS-AS (TOKS Ltd)
AS51071 SIBTELEKOM-AS (SibTeleCom Ltd.)
AS51076 OBLAKA-AS (Chelombitko Elena Evgenevna)
AS51076 OBLAKA-AS (LNTech LLC)
AS51077 PTS-NET (Modern Technologies Ltd.)
AS51081 TETRON-AS (LLC "TETRON")
AS51084 IDEA-LTD-AS (Idea Ltd.)
@@ -2624,7 +2619,6 @@ AS51125 POLYANA (Limited Liability Company "Gazprom Polyana")
AS51133 MEDIAGRAND-AS (Mediagrand Ltd.)
AS51136 HCFBank (PJSC Sovkombank)
AS51138 ESTEITINVEST (JSC ESTEIT INVEST)
AS51145 LOGOSK-AS (LOGOS-K LLC)
AS51147 ASDELTATELECOM (Ltd. Delta-Telecom)
AS51153 INFKOM-AS ("Informational communications" LLC)
AS51156 ONGNET-AS (OngNet Plus LLC)
@@ -2844,7 +2838,6 @@ AS52197 SITC-OREL-MNT-AS (Oblastnoe gosudarstvennoe uchrejdenie Centr Gosudarstv
AS52201 TCTEL (OOO Suntel)
AS52205 SILON-SU-AS (Safronov Anton Sergeevich)
AS52207 TULA-AS (JSC "ER-Telecom Holding")
AS52208 ETC-Com-net (Engineering-technical center-communication LLC)
AS52217 ISKRA-AS (OOO ISKRA)
AS52218 CHYUS-NET-AS (Cherkasov Yuriy Sergiyovuch)
AS52222 ASMAGNITTV (Ltd Magnit-Tv)
@@ -2909,7 +2902,6 @@ AS56581 CIT-AS (GBU "Centre of Information Technologies of Amur Region")
AS56592 TELEWEST-INET-AS (Telewest Inet Ltd.)
AS56603 NET-AS (Aleksey Ershov)
AS56613 PSKAS (GBU PO "CIS PO")
AS56618 ASARCTICNET (Arctic net Ltd.)
AS56619 KSB (Safety Integrated Systems Ltd)
AS56621 IntexLtd-AS (Innovation Technologies Ltd)
AS56627 ITH-AS (ITH Ltd.)
@@ -2935,7 +2927,7 @@ AS56692 THEBANKOFKAZAN (KBER Bank Kazani limited liability company)
AS56694 SmartApe (LLC Smart Ape)
AS56699 NCEC (GUP NAO Neneckaya kompaniya electrosvyazi)
AS56701 AVANTA-AS (LLC "AVANTA TELECOM")
AS56702 Chitatechenergo-AS (Chitatehenergy JSC)
AS56702 Chitatechenergo-AS (JOINT-STOCK COMPANY "MOSCOW ENERGY COMMUNICATION NODE")
AS56705 OSMTELECOM-AS (OSM-Telecom LLC)
AS56707 NETCOM (OOO NETCOM)
AS56720 FORTUNA-AS (FORTUNA Ltd)
@@ -2945,48 +2937,48 @@ AS56725 GOZNAK-AS (JSC Goznak)
AS56741 GLORIA-JEANS-AS (JSC "Gloria-Jeans")
AS56760 GAU-RK-CIT-AS (Autonomous state organization or The Komi Republic Centre of informational technologies)
AS56761 MULTINEX-MIASS-AS (MTS PJSC)
AS56763 -no-description- (No org name found)
AS56766 -no-description- (No org name found)
AS56768 -no-description- (No org name found)
AS56776 -no-description- (No org name found)
AS56777 -no-description- (No org name found)
AS56779 -no-description- (No org name found)
AS56785 -no-description- (No org name found)
AS56791 -no-description- (No org name found)
AS56793 -no-description- (No org name found)
AS56794 -no-description- (No org name found)
AS56806 -no-description- (No org name found)
AS56807 -no-description- (No org name found)
AS56810 -no-description- (No org name found)
AS56814 -no-description- (No org name found)
AS56820 -no-description- (No org name found)
AS56829 -no-description- (No org name found)
AS56830 -no-description- (No org name found)
AS56836 -no-description- (No org name found)
AS56842 -no-description- (No org name found)
AS56845 -no-description- (No org name found)
AS56846 -no-description- (No org name found)
AS56852 -no-description- (No org name found)
AS56853 -no-description- (No org name found)
AS56854 -no-description- (No org name found)
AS56857 -no-description- (No org name found)
AS56864 -no-description- (No org name found)
AS56866 -no-description- (No org name found)
AS56874 -no-description- (No org name found)
AS56875 -no-description- (No org name found)
AS56877 -no-description- (No org name found)
AS56879 -no-description- (No org name found)
AS56880 -no-description- (No org name found)
AS56881 -no-description- (No org name found)
AS56886 -no-description- (No org name found)
AS56888 -no-description- (No org name found)
AS56889 -no-description- (No org name found)
AS56893 -no-description- (No org name found)
AS56895 -no-description- (No org name found)
AS56903 -no-description- (No org name found)
AS56915 -no-description- (No org name found)
AS56917 -no-description- (No org name found)
AS56923 -no-description- (No org name found)
AS56763 INFOTELL-AS (Infotell UK OOO)
AS56766 BAHILOV (Bahilov Ilya Vitalievich PE)
AS56768 MF-AS (PJSC MegaFon)
AS56776 DIALOGSIBERIA-AS (DialogSiberia-Barnaul Ltd)
AS56777 NIITP (Joint Stock Company "Science research institute for precise instruments")
AS56779 ASDRUZHBA (OOO UJK " Druzhba")
AS56785 GUP-GK-Berlin-AS (JSC GK Berlin)
AS56791 CT-AS (CityTelekom Ltd.)
AS56793 EFBANK-AS (JSC Commercial Bank Evrofinance Mosnarbank)
AS56794 NAUKANET-AS (LLC "Nauka-Svyaz")
AS56806 ascom4s (JSC Computing Forces)
AS56807 ASKLON (OOO UKS)
AS56810 TOLMACHEVO-AS (Airport Tolmachevo JSC)
AS56814 T2TELECOM-AS (M2 CONNECT LLC)
AS56820 EVRAZHOLDING (OOO EVRAZ)
AS56829 VNIITR-as (Institute of Television and Radio Broadcasting, Limited Liability Company)
AS56830 ASCHITATTK (Joint Stock Company TransTeleCom)
AS56836 ZSSK-AS (Zapadno-Sibirskaya Servisnaya Kompaniya LTD.)
AS56842 PLATFORMA-AS (Big Data Platform LLC)
AS56845 ASVLAZER (V-Lazer Ltd.)
AS56846 NSC-AS (JSC National satellite company)
AS56852 Aquaphor-AS (AQUAPHOR LLC)
AS56853 LMN-AS (Municipal educational institution The Centre of Information Technologies)
AS56854 Yemelyanovo-Airport (LLC "Yemelyanovo Airport")
AS56857 DKTEL-OPRF (DK Svyaz OOO)
AS56864 WELLSERVER-AS (Xeon LLC)
AS56866 VSC-AS (VSK LLC)
AS56874 ELECTROSVYAZ-AS (Electrosvyazstroy OOO)
AS56875 SPRINT-TEL-AS (Sprint Ltd)
AS56877 SPHAERA-AS (Sfera, JSC)
AS56879 PETROPAVLOVSK-AS (JSC POKROVSKIY RUDNIK)
AS56880 ASTECOM (Tecom Ltd.)
AS56881 ASRND (Joint Stock Company "Scientific and Technical Center "Atlas")
AS56886 RedStar-as (OOO "Red Star")
AS56888 KRNET-AS (Krasnogorsky networks Ltd.)
AS56889 RADIOTEKHNIKA-AS (TTC Radiotechnika LTD)
AS56893 TELECOM_108 (108 TELECOM LLC)
AS56895 SVIAZTELECOM-AS (Svyaztelecom ltd.)
AS56903 INTECH-GLOBAL ("INTECH GLOBAL", LLC)
AS56915 MALINA-AS (Malina LLC)
AS56917 DALTECH-AS (DalTech Ltd)
AS56923 VIRTUALFORT-AS (Virtualfort OOO)
AS56928 -no-description- (No org name found)
AS56930 -no-description- (No org name found)
AS56931 -no-description- (No org name found)
@@ -3773,7 +3765,6 @@ AS64461 -no-description- (No org name found)
AS64469 -no-description- (No org name found)
AS64486 -no-description- (No org name found)
AS64492 -no-description- (No org name found)
AS64494 -no-description- (No org name found)
AS196638 -no-description- (No org name found)
AS196641 -no-description- (No org name found)
AS196648 -no-description- (No org name found)
@@ -3830,7 +3821,6 @@ AS197068 -no-description- (No org name found)
AS197070 -no-description- (No org name found)
AS197074 -no-description- (No org name found)
AS197078 -no-description- (No org name found)
AS197080 -no-description- (No org name found)
AS197097 -no-description- (No org name found)
AS197120 -no-description- (No org name found)
AS197129 -no-description- (No org name found)
@@ -3926,7 +3916,6 @@ AS197868 -no-description- (No org name found)
AS197873 -no-description- (No org name found)
AS197878 -no-description- (No org name found)
AS197880 -no-description- (No org name found)
AS197888 -no-description- (No org name found)
AS197896 -no-description- (No org name found)
AS197905 -no-description- (No org name found)
AS197911 -no-description- (No org name found)
@@ -3953,7 +3942,6 @@ AS198070 -no-description- (No org name found)
AS198074 -no-description- (No org name found)
AS198076 -no-description- (No org name found)
AS198083 -no-description- (No org name found)
AS198086 -no-description- (No org name found)
AS198110 -no-description- (No org name found)
AS198117 -no-description- (No org name found)
AS198122 -no-description- (No org name found)
@@ -4198,7 +4186,6 @@ AS200054 -no-description- (No org name found)
AS200066 -no-description- (No org name found)
AS200095 -no-description- (No org name found)
AS200110 -no-description- (No org name found)
AS200120 -no-description- (No org name found)
AS200121 -no-description- (No org name found)
AS200123 -no-description- (No org name found)
AS200152 -no-description- (No org name found)
@@ -4238,9 +4225,11 @@ AS200524 -no-description- (No org name found)
AS200551 -no-description- (No org name found)
AS200563 -no-description- (No org name found)
AS200575 -no-description- (No org name found)
AS200579 -no-description- (No org name found)
AS200593 -no-description- (No org name found)
AS200613 -no-description- (No org name found)
AS200619 -no-description- (No org name found)
AS200620 -no-description- (No org name found)
AS200622 -no-description- (No org name found)
AS200624 -no-description- (No org name found)
AS200627 -no-description- (No org name found)
@@ -4254,9 +4243,11 @@ AS200685 -no-description- (No org name found)
AS200686 -no-description- (No org name found)
AS200687 -no-description- (No org name found)
AS200694 -no-description- (No org name found)
AS200697 -no-description- (No org name found)
AS200702 -no-description- (No org name found)
AS200722 -no-description- (No org name found)
AS200725 -no-description- (No org name found)
AS200733 -no-description- (No org name found)
AS200734 -no-description- (No org name found)
AS200743 -no-description- (No org name found)
AS200762 -no-description- (No org name found)
@@ -4266,12 +4257,17 @@ AS200803 -no-description- (No org name found)
AS200812 -no-description- (No org name found)
AS200838 -no-description- (No org name found)
AS200847 -no-description- (No org name found)
AS200897 -no-description- (No org name found)
AS200902 -no-description- (No org name found)
AS200907 -no-description- (No org name found)
AS200922 -no-description- (No org name found)
AS200926 -no-description- (No org name found)
AS200928 -no-description- (No org name found)
AS200935 -no-description- (No org name found)
AS200938 -no-description- (No org name found)
AS200945 -no-description- (No org name found)
AS200953 -no-description- (No org name found)
AS200954 -no-description- (No org name found)
AS200955 -no-description- (No org name found)
AS200976 -no-description- (No org name found)
AS200982 -no-description- (No org name found)
@@ -4289,6 +4285,7 @@ AS201065 -no-description- (No org name found)
AS201069 -no-description- (No org name found)
AS201083 -no-description- (No org name found)
AS201092 -no-description- (No org name found)
AS201097 -no-description- (No org name found)
AS201100 -no-description- (No org name found)
AS201119 -no-description- (No org name found)
AS201123 -no-description- (No org name found)
@@ -4313,6 +4310,7 @@ AS201267 -no-description- (No org name found)
AS201268 -no-description- (No org name found)
AS201270 -no-description- (No org name found)
AS201275 -no-description- (No org name found)
AS201279 -no-description- (No org name found)
AS201282 -no-description- (No org name found)
AS201285 -no-description- (No org name found)
AS201294 -no-description- (No org name found)
@@ -4353,10 +4351,12 @@ AS201582 -no-description- (No org name found)
AS201588 -no-description- (No org name found)
AS201593 -no-description- (No org name found)
AS201606 -no-description- (No org name found)
AS201610 -no-description- (No org name found)
AS201624 -no-description- (No org name found)
AS201631 -no-description- (No org name found)
AS201643 -no-description- (No org name found)
AS201646 -no-description- (No org name found)
AS201662 -no-description- (No org name found)
AS201669 -no-description- (No org name found)
AS201677 -no-description- (No org name found)
AS201706 -no-description- (No org name found)
@@ -4371,6 +4371,7 @@ AS201778 -no-description- (No org name found)
AS201781 -no-description- (No org name found)
AS201786 -no-description- (No org name found)
AS201788 -no-description- (No org name found)
AS201792 -no-description- (No org name found)
AS201794 -no-description- (No org name found)
AS201797 -no-description- (No org name found)
AS201800 -no-description- (No org name found)
@@ -4385,6 +4386,7 @@ AS201844 -no-description- (No org name found)
AS201848 -no-description- (No org name found)
AS201851 -no-description- (No org name found)
AS201858 -no-description- (No org name found)
AS201874 -no-description- (No org name found)
AS201913 -no-description- (No org name found)
AS201914 -no-description- (No org name found)
AS201916 -no-description- (No org name found)
@@ -4395,6 +4397,7 @@ AS201956 -no-description- (No org name found)
AS201970 -no-description- (No org name found)
AS201972 -no-description- (No org name found)
AS201974 -no-description- (No org name found)
AS202000 -no-description- (No org name found)
AS202009 -no-description- (No org name found)
AS202011 -no-description- (No org name found)
AS202058 -no-description- (No org name found)
@@ -4412,13 +4415,17 @@ AS202164 -no-description- (No org name found)
AS202173 -no-description- (No org name found)
AS202181 -no-description- (No org name found)
AS202202 -no-description- (No org name found)
AS202216 -no-description- (No org name found)
AS202234 -no-description- (No org name found)
AS202248 -no-description- (No org name found)
AS202250 -no-description- (No org name found)
AS202271 -no-description- (No org name found)
AS202273 -no-description- (No org name found)
AS202279 -no-description- (No org name found)
AS202289 -no-description- (No org name found)
AS202290 -no-description- (No org name found)
AS202317 -no-description- (No org name found)
AS202326 -no-description- (No org name found)
AS202342 -no-description- (No org name found)
AS202344 -no-description- (No org name found)
AS202378 -no-description- (No org name found)
@@ -4440,6 +4447,7 @@ AS202542 -no-description- (No org name found)
AS202570 -no-description- (No org name found)
AS202578 -no-description- (No org name found)
AS202594 -no-description- (No org name found)
AS202599 -no-description- (No org name found)
AS202611 -no-description- (No org name found)
AS202619 -no-description- (No org name found)
AS202629 -no-description- (No org name found)
@@ -4495,7 +4503,6 @@ AS203139 -no-description- (No org name found)
AS203163 -no-description- (No org name found)
AS203169 -no-description- (No org name found)
AS203173 -no-description- (No org name found)
AS203190 -no-description- (No org name found)
AS203203 -no-description- (No org name found)
AS203252 -no-description- (No org name found)
AS203270 -no-description- (No org name found)
@@ -4746,7 +4753,6 @@ AS205858 -no-description- (No org name found)
AS205864 -no-description- (No org name found)
AS205865 -no-description- (No org name found)
AS205866 -no-description- (No org name found)
AS205901 -no-description- (No org name found)
AS205907 -no-description- (No org name found)
AS205922 -no-description- (No org name found)
AS205952 -no-description- (No org name found)
@@ -4760,6 +4766,8 @@ AS206012 -no-description- (No org name found)
AS206027 -no-description- (No org name found)
AS206039 -no-description- (No org name found)
AS206054 -no-description- (No org name found)
AS206057 -no-description- (No org name found)
AS206061 -no-description- (No org name found)
AS206066 -no-description- (No org name found)
AS206083 -no-description- (No org name found)
AS206152 -no-description- (No org name found)
@@ -4794,6 +4802,7 @@ AS206435 -no-description- (No org name found)
AS206448 -no-description- (No org name found)
AS206465 -no-description- (No org name found)
AS206501 -no-description- (No org name found)
AS206503 -no-description- (No org name found)
AS206515 -no-description- (No org name found)
AS206536 -no-description- (No org name found)
AS206538 -no-description- (No org name found)
@@ -4816,6 +4825,7 @@ AS206756 -no-description- (No org name found)
AS206760 -no-description- (No org name found)
AS206764 -no-description- (No org name found)
AS206767 -no-description- (No org name found)
AS206787 -no-description- (No org name found)
AS206803 -no-description- (No org name found)
AS206805 -no-description- (No org name found)
AS206810 -no-description- (No org name found)
@@ -4933,7 +4943,6 @@ AS207978 -no-description- (No org name found)
AS207979 -no-description- (No org name found)
AS207984 -no-description- (No org name found)
AS207986 -no-description- (No org name found)
AS207997 -no-description- (No org name found)
AS208003 -no-description- (No org name found)
AS208008 -no-description- (No org name found)
AS208044 -no-description- (No org name found)
@@ -5046,6 +5055,7 @@ AS209024 -no-description- (No org name found)
AS209030 -no-description- (No org name found)
AS209037 -no-description- (No org name found)
AS209038 -no-description- (No org name found)
AS209057 -no-description- (No org name found)
AS209059 -no-description- (No org name found)
AS209067 -no-description- (No org name found)
AS209084 -no-description- (No org name found)
@@ -5059,6 +5069,7 @@ AS209165 -no-description- (No org name found)
AS209186 -no-description- (No org name found)
AS209188 -no-description- (No org name found)
AS209206 -no-description- (No org name found)
AS209207 -no-description- (No org name found)
AS209217 -no-description- (No org name found)
AS209219 -no-description- (No org name found)
AS209228 -no-description- (No org name found)
@@ -5068,7 +5079,6 @@ AS209269 -no-description- (No org name found)
AS209284 -no-description- (No org name found)
AS209289 -no-description- (No org name found)
AS209290 -no-description- (No org name found)
AS209298 -no-description- (No org name found)
AS209303 -no-description- (No org name found)
AS209307 -no-description- (No org name found)
AS209313 -no-description- (No org name found)
@@ -5262,13 +5272,11 @@ AS211400 -no-description- (No org name found)
AS211404 -no-description- (No org name found)
AS211406 -no-description- (No org name found)
AS211446 -no-description- (No org name found)
AS211473 -no-description- (No org name found)
AS211486 -no-description- (No org name found)
AS211497 -no-description- (No org name found)
AS211503 -no-description- (No org name found)
AS211506 -no-description- (No org name found)
AS211508 -no-description- (No org name found)
AS211515 -no-description- (No org name found)
AS211517 -no-description- (No org name found)
AS211520 -no-description- (No org name found)
AS211529 -no-description- (No org name found)
@@ -5430,21 +5438,21 @@ AS213075 -no-description- (No org name found)
AS213077 -no-description- (No org name found)
AS213105 -no-description- (No org name found)
AS213117 -no-description- (No org name found)
AS213133 -no-description-
AS213175 -no-description-
AS213182 -no-description-
AS213191 -no-description-
AS213194 -no-description-
AS213203 -no-description-
AS213220 -no-description-
AS213235 -no-description-
AS213258 -no-description-
AS213278 -no-description-
AS213294 -no-description-
AS213304 -no-description-
AS213316 -no-description-
AS213329 -no-description-
AS213334 -no-description-
AS213133 -no-description- (No org name found)
AS213175 -no-description- (No org name found)
AS213182 -no-description- (No org name found)
AS213191 -no-description- (No org name found)
AS213194 -no-description- (No org name found)
AS213203 -no-description- (No org name found)
AS213220 -no-description- (No org name found)
AS213235 -no-description- (No org name found)
AS213258 -no-description- (No org name found)
AS213278 -no-description- (No org name found)
AS213294 -no-description- (No org name found)
AS213304 -no-description- (No org name found)
AS213316 -no-description- (No org name found)
AS213329 -no-description- (No org name found)
AS213334 -no-description- (No org name found)
AS213348 -no-description-
AS213369 -no-description-
AS213381 -no-description-
@@ -5462,7 +5470,6 @@ AS213498 -no-description-
AS213499 -no-description-
AS213501 -no-description-
AS213503 -no-description-
AS213505 -no-description-
AS213506 -no-description-
AS213508 -no-description-
AS213523 -no-description-
@@ -5501,13 +5508,13 @@ AS213875 -no-description-
AS213883 -no-description-
AS213890 -no-description-
AS213917 -no-description-
AS213922 -no-description-
AS213926 -no-description-
AS213933 -no-description-
AS213937 -no-description-
AS213952 -no-description-
AS213961 -no-description-
AS213995 -no-description-
AS214009 -no-description-
AS214031 -no-description-
AS214048 -no-description-
AS214051 -no-description-
@@ -5573,7 +5580,6 @@ AS214767 -no-description-
AS214780 -no-description-
AS214787 -no-description-
AS214793 -no-description-
AS214804 -no-description-
AS214816 -no-description-
AS214817 -no-description-
AS214822 -no-description-
@@ -5602,6 +5608,7 @@ AS215077 -no-description-
AS215092 -no-description-
AS215096 -no-description-
AS215098 -no-description-
AS215103 -no-description-
AS215106 -no-description-
AS215109 -no-description-
AS215115 -no-description-
@@ -5656,6 +5663,7 @@ AS215678 -no-description-
AS215688 -no-description-
AS215705 -no-description-
AS215721 -no-description-
AS215751 -no-description-
AS215796 -no-description-
AS215805 -no-description-
AS215809 -no-description-

File diff suppressed because it is too large Load Diff

View File

@@ -53,6 +53,7 @@
2001:678:85c::/48 GIVC (Main Center of Information and Computing Ministry of culture of Russian Federation)
2001:678:8f0::/48 RU-PDV (Podolskii Dmitrii Vladimirovich)
2001:678:8fc::/48 RU-ROSNIIROS-20190111 (JSC Goznak)
2001:678:978::/48 PrivateNet (Yanislav Basiuk)
2001:678:99c::/48 CZ-VISSADO-20190515 (Mediasvyaz Ltd.)
2001:678:9c4::/48 BCC (JSC Business-center Capital)
2001:678:9d0::/48 RU-RETNNET-20190621 (LLC Zenit-Arena)
@@ -61,6 +62,7 @@
2001:678:a60::/48 RU-ONGNETPLUS-20190411 (OngNet Plus LLC)
2001:678:a70::/48 CZ-VISSADO-20190425 (VostokMediaSvyaz Ltd.)
2001:678:ab0::/48 PlanetaTelekom (Kurochkin Evgeniy Anatolievich)
2001:678:ac0::/48 CH-SECUREBIT-20260106 (Artur Zagidullin)
2001:678:b3c::/48 RU-DSP-20191017 (INVITRO-Information technology LLC)
2001:678:b40::/48 ORG-ITOA1-RIPE (Tsyapa Oleg Anatolyevich)
2001:678:b48::/48 LEMANAPRO-NET (Le Monlid LLC)
@@ -84,7 +86,6 @@
2001:678:e2c::/48 DWDM-RU-V6-NET (DWDM.RU llc)
2001:678:e30::/48 virtaldc-ipv6-backbone (Dmitrii Vladimirovich Malkov)
2001:678:e84::/48 RU-MSP2018-20201023 (VIP-TELECOM LLC)
2001:678:ee4::/48 IP-Petrosyan-Maksim-Markslenovicht (IP Petrosyan Maksim Markslenovich)
2001:678:ee8::/48 TRC-BRT-IPV6 (Teleradiocompany Bytradiotehnika Ltd.)
2001:678:eec::/48 NPI-TU (Federal State Budgetary Educational Institution of Higher Education "M.I.Platov South-Russian State Polytechnic University (NPI)")
2001:678:f38::/48 RU-RETNNET-20210504 (Traffic Ltd)
@@ -93,7 +94,7 @@
2001:678:1024::/48 SIRENATRAVEL-NETv6 (Sirena Travel AO)
2001:678:1034::/48 RU-ELKOMA (Elkoma LLC)
2001:678:1058::/48 CZ-VISSADO-20250305 (GP Internet Ltd.)
2001:67c:20::/48 ABSOLYT-NET (Limited liability company Absolyt)
2001:67c:20::/48 ABSOLYT-NET (Limited liability company Absolut)
2001:67c:84::/48 MANNET-6NET (MAN net Ltd.)
2001:67c:e8::/48 RU-NEMEROV (Nemerov Evgeniy Vladimirovish PE)
2001:67c:100::/48 RU-DINET-20210819 (Limited Liability Company "R-Business Svyaz")
@@ -115,6 +116,7 @@
2001:67c:5c4::/48 MBITCITY-NET (Mbit City Ltd.)
2001:67c:614::/48 RU-INDATA-20160728 (FOUNDATION FOR DEVELOPMENT OF NETWORKING TECHNOLOGIES "INDATA")
2001:67c:62c::/48 PRK-V6NET (JSC Trading house Perekriostok)
2001:67c:650::/48 RU-HYPERNET-20260210 (JSC ALIAS)
2001:67c:664::/48 BALTSOYA-AS (CJSC Sodruzhestvo Soya)
2001:67c:698::/48 AIRKHV (JSC "Khabarovsky airport")
2001:67c:6a0::/48 RSCC (Federal State Unitary Enterprise "Russian Satellite Communication Company")
@@ -135,6 +137,7 @@
2001:67c:948::/48 RU-OPTIBIT-20220218 (Mobilon Telecommunications LLC)
2001:67c:95c::/48 RU-RTK-20220223 (JSC COMMERCIAL BANK "KHLYNOV")
2001:67c:a5c::/48 RU-GSYSTEM-20220810 (LLC OZON BANK)
2001:67c:a80::/48 Foton-net (Foton Company Ltd)
2001:67c:ac4::/48 RU-SITENET-20220928 (Ministry of Finance of the Sakhalin region)
2001:67c:b00::/48 VMI-NET6 (OOO NPO VMI)
2001:67c:b18::/48 LITE-HOST (Rusachenko Evgenii Sergeevich)
@@ -157,7 +160,7 @@
2001:67c:f64::/48 AB-GAGRATEL (Gagra Telecom LLC)
2001:67c:f88::/48 RU-SIGNALTELECOM (Signal-Telecom LLC)
2001:67c:f98::/48 CZ-VISSADO-20241119 (Tecom Ltd.)
2001:67c:fa0::/48 SVYAZ6-NET (Svyaz JSC)
2001:67c:fa0::/48 SVYAZ6-NET (Svyaz Ltd)
2001:67c:fb0::/48 FAITID-NETWORK (Foundation for Assistance for Internet Technologies and Infrastructure Development)
2001:67c:fb4::/48 RU-KIPREY (Kiprey JSC)
2001:67c:fcc::/48 RU-SERGIENKO-20241220 (KAMETA LLC)
@@ -282,7 +285,7 @@
2001:67c:2e98::/48 RU-RTK-20151005 (FGBOU VO Saratov State Medical University named after V.I.Razumovsky)
2001:67c:2e9c::/48 SANTEKHKOMPLEKT (LTD Santekhkomplekt)
2001:67c:2ec8::/48 RU-RTK-20151021 (RusAccreditation. Federal Service for accreditation)
2001:67c:2ee0::/48 VIKSCOM-IPV6-NET (Vikscom Ltd.)
2001:67c:2ee0::/48 VIKS-NET (Vikscom Ltd.)
2001:67c:2f90::/48 SOFTBUILD (SOFTBUILD LLC)
2001:67c:2fd4::/48 ORG-IO52-RIPE (IPSvyaz OOO)
2001:6d0::/32 RU-MSK-IX-20010219 (Join-stock company "Internet Exchange"MSK-IX")
@@ -302,7 +305,7 @@
2001:7f8:a7::/48 BAIKAL-IX-NET-v6 (LLC Zero Kilometer)
2001:7f8:ac::/48 RU-OPTIBIT-20160922 (Optibit LLC)
2001:7f8:c8::/48 RU-DREAMNET-20180514 (Weacom Ltd)
2001:7f8:c9::/48 RU-CHTE-20180525 (Chitatehenergy JSC)
2001:7f8:c9::/48 RU-CHTE-20180525 (JOINT-STOCK COMPANY "MOSCOW ENERGY COMMUNICATION NODE")
2001:7f8:e6::/48 RU-PITER-IX-SPB (Piter-IX Co. Ltd.)
2001:7f8:eb::/48 RU-PITER-IX-MSK (Piter-IX Co. Ltd.)
2001:7f8:ee::/48 RU-LINXDATACENTER-20200218 (Svyaz VSD LLC)
@@ -326,7 +329,7 @@
2a00:eba::/31 RU-STACK-20100219 (StackNet Service, LLC)
2a00:ebc::/30 RU-STACK-20100219 (StackNet Service, LLC)
2a00:f00::/29 RU-MTU-20081124 (MTS PJSC)
2a00:f08::/32 RU-WILAND-20081124 (Wiland Ltd)
2a00:f08::/32 RU-TRUNKMOBILE-20081124 (TrunkMobile JSC)
2a00:f30::/32 RU-QUANTUM-20081127 (Quantum CJSC)
2a00:1020::/32 RU-SEVEREN-20090619 (JSC "Severen-Telecom")
2a00:1078::/32 RU-STROYTECHSERVICE-20090630 (Stroytechservice LLC)
@@ -475,7 +478,7 @@
2a00:b940::/32 RU-IGRA-SERVICE-20150520 (Igra-Service LLC)
2a00:bcc0::/32 RU-ELIT-TV-20160601 (Viter Evgeniy Vasilevich)
2a00:bd40::/32 RU-INEWS-20120314 (INEWS LLC)
2a00:bdc0::/29 RU-VKONTAKTE-20120314 (VKontakte Ltd)
2a00:bdc0::/29 RU-VKONTAKTE-20120314 (LLC VK)
2a00:be00::/29 RU-MASTERTEL-20110125 (JSC Mastertel)
2a00:be20::/32 RU-VERMONT-IT-20130725 (Vermont-IT Limited Liability Company)
2a00:bf00::/32 RU-CT-C-20110217 ("Computational technologies - consulting" LLC)
@@ -845,7 +848,7 @@
2a03:58c0::/32 RU-KAMENSKTEL-20121113 (Closed Joint Stock Company Radiotelephone)
2a03:5a00::/29 RU-LEADERTELECOM-20110204 (LeaderTelecom Ltd.)
2a03:5a60::/32 RU-LINENEW-20141125 (Limited liability company "New Line")
2a03:5a80::/32 RU-WILAND-20110915 (Wiland Ltd)
2a03:5a80::/32 RU-TRUNKMOBILE-20110915 (TrunkMobile JSC)
2a03:5b80::/32 RU-TRANSTELECOM-20140616 (Joint Stock Company TransTeleCom)
2a03:5c80::/32 RU-TELEMAKS-20110915 (TeleMaks Ltd)
2a03:5ca0::/32 RU-GTSS-20141128 (GeoTelecommunications LLC)
@@ -1441,7 +1444,7 @@
2a0b:9000::/29 RU-AU-20190621 (Auction LLC)
2a0b:9080::/29 RU-MGNHOST-NET-20220128 (Tyurin Viktor Mihaylovich)
2a0b:9480::/29 RU-TELECOM-20181002 (Telenet LLC)
2a0b:97c0::/29 RU-CHTE-20170725 (Chitatehenergy JSC)
2a0b:97c0::/29 RU-EESNET-20170725 (JOINT-STOCK COMPANY "MOSCOW ENERGY COMMUNICATION NODE")
2a0b:9a00::/29 RU-FIRSTDC-20200428 (Perviy TSOD LLC)
2a0b:9c40::/29 RU-FILI-TELECOM-20170725 (FILI-Telecom LLC)
2a0b:9fc0::/29 RU-RAID-20170726 (JSC "ER-Telecom Holding")
@@ -1494,6 +1497,7 @@
2a0c:5640::/29 RU-INTELLIN-20180412 (JSC Intellin)
2a0c:5ec0::/29 RU-SERVICE-IT-20180416 (LLC IT-service)
2a0c:6680::/29 RU-KLEYNKOM4-20180105 (Kleynkom LLC)
2a0c:68c0::/29 RU-WS1-20260130 ("Wireless systems" LLC)
2a0c:6900::/29 RU-LEK-20171113 (Alliance LLC)
2a0c:6c00::/29 RU-VDS-TELECOM-20230504 (VDS-TELECOM LLC)
2a0c:6d00::/32 RU-SPACE-20171113 (Federal State Budgetary Institution of Science "Space Research Institute of the Russian Academy of Sciences".)
@@ -1570,6 +1574,7 @@
2a0d:6d40::/29 RU-REGLAND-20240220 (Regland ltd)
2a0d:70c0::/29 RU-AT-20180914 (Apple Technologies LLC)
2a0d:7480::/29 RU-SETII-20180214 (Nets and Services JCS)
2a0d:7680::/32 RU-IAKHONTOV-20260203 (Iaroslav Iakhontov)
2a0d:7740::/29 RU-VPSVILLE1-20180917 (LLC Vpsville)
2a0d:7840::/29 RU-MAINACC-20180918 (Ivan Bulavkin)
2a0d:80c0::/29 RU-RSVOSPB-20180919 (JSC Russian Broadcasting and Notification Networks)
@@ -1809,7 +1814,7 @@
2a10:4f80::/29 RU-FIRSTDC-20200421 (Perviy TSOD LLC)
2a10:5080::/29 RU-FIRSTDC-20200421 (Perviy TSOD LLC)
2a10:5180::/29 RU-FIRSTDC-20200421 (Perviy TSOD LLC)
2a10:5cc0::/29 RU-MAI-20200904 (Federal State Budgetary Educational Institution of Higher Education Moscow Aviation Institute (National Research University))
2a10:5cc0::/29 RU-MAI-20200904 (Federal State Autonomous Educational Institution of Higher Education "Moscow Aviation Institute (National Research University)")
2a10:61c0::/29 RU-DATAFORT-20200909 (DataFort LLC)
2a10:62c0::/29 RU-OKKO-20200911 (OKKO LLC)
2a10:6a40::/29 RU-IITRUST-20200918 (InfoTeCS Internet Trust JSC)
@@ -1835,7 +1840,9 @@
2a10:9bc0::/29 RU-FIRSTDC-20210225 (Perviy TSOD LLC)
2a10:9c40::/29 RU-FIRSTDC-20210225 (Perviy TSOD LLC)
2a10:9cc0::/29 RU-FIRSTDC-20210225 (Perviy TSOD LLC)
2a10:a680::/29 RU-INTECH-20260213 (INTEX ltd.)
2a10:aa80::/29 RU-NUBES-20201217 (NUBES llc)
2a10:ab80::/29 RU-PREFIXLABS-20260216 (Denis Aleksandrovich Iakovlev)
2a10:ad00::/29 RU-FIRSTDC-20201117 (Perviy TSOD LLC)
2a10:ad80::/29 RU-IVC-20201218 (Information & Computing Center, Ltd.)
2a10:af00::/29 RU-FIRSTDC-20201117 (Perviy TSOD LLC)
@@ -1852,6 +1859,7 @@
2a10:cfc0::/29 RU-TALENTSUCCESS-20210408 (Educational Fund "Talent and success")
2a10:d240::/29 RU-MAINACC-20210412 (Ivan Bulavkin)
2a10:d5c0::/29 RU-MAINACC-20210414 (Ivan Bulavkin)
2a10:d740::/29 RU-KVANTA-20260216 (KVANTA LLC)
2a10:d8c0::/29 RU-VPSVILLE1-20210416 (LLC Vpsville)
2a10:df00::/29 RU-RVISION-20201124 (RVISION Ltd.)
2a10:e040::/29 RU-MAINACC-20210421 (Ivan Bulavkin)
@@ -1861,6 +1869,7 @@
2a10:f640::/29 RU-ACTIVEBC-20210506 (ActiveBusinessConsult LLC)
2a10:fa00::/29 RU-EVROKONTAKTVN-20201109 (EUROCONTACT VELIKY NOVGOROD LLC)
2a11:200::/29 RU-VPSVILLE1-20210511 (LLC Vpsville)
2a11:300::/29 RU-TUNDRA-TC-20260216 (LLC "TUNDRA TELECOM")
2a11:640::/29 RU-TELECOM-20210701 (Telenet LLC)
2a11:680::/29 RU-VPSVILLE1-20210514 (LLC Vpsville)
2a11:700::/29 RU-CTEL-20210512 (LLC Tatarstan-On-Line)
@@ -1950,7 +1959,7 @@
2a11:85c0::/29 RU-LOCAL-20211007 (LIR LLC)
2a11:8600::/29 RU-NICOS-20210720 (LLC Company NICOS)
2a11:8780::/29 RU-MESHNET-20210824 (Vladimir Dmitriev)
2a11:87c0::/29 RU-TELEGA-20251124 (JOINT STOCK COMPANY "DAL")
2a11:87c0::/29 RU-TELEGA-20251124 (JOINT STOCK COMPANY "TELEGA")
2a11:8940::/29 RU-AU-20211007 (Auction LLC)
2a11:8f80::/29 RU-LOCAL-20210825 (LIR LLC)
2a11:91c0::/29 RU-IPMAGNAT-20211008 (Mikhail Tonkonog)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,22 +0,0 @@
2a00:1148::/29
2a00:1148::/32
2a00:46e0:2::/48
2a00:46e0::/32
2a00:a300::/32
2a00:b4c0::/32
2a00:bdc0:8000::/34
2a00:bdc0::/33
2a00:bdc0:c000::/35
2a00:bdc0:e002::/48
2a00:bdc0:e003::/48
2a00:bdc0:e004::/48
2a00:bdc0:e005::/48
2a00:bdc0:e007::/48
2a00:bdc0:f000::/36
2a00:bdc1::/32
2a00:bdc2::/31
2a00:bdc4::/30
2a14:25c0::/32
2a14:25c5::/32
2a14:25c6::/32
2a14:25c7::/32

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,109 +0,0 @@
# IPTables/IPSet Blacklist Configurations
Auto-generated ipset configuration files for blocking networks and IP addresses with iptables/ip6tables.
## Available Files
### IPv4 Only
- **`blacklist-v4.ipset`** - Contains only IPv4 networks (806 entries)
### IPv6 Only
- **`blacklist-v6.ipset`** - Contains only IPv6 networks (3 entries)
### Mixed IPv4/IPv6
- **`blacklist.ipset`** - Contains both IPv4 and IPv6 sets (809 total entries)
## Usage
### 1. Load the IPSet
```bash
# For IPv4 only
ipset restore < blacklist-v4.ipset
# For IPv6 only
ipset restore < blacklist-v6.ipset
# For both IPv4 and IPv6 (loads both sets)
ipset restore < blacklist.ipset
```
### 2. Apply IPTables Rules
```bash
# For IPv4
iptables -I INPUT -m set --match-set blacklist-v4 src -j DROP
iptables -I FORWARD -m set --match-set blacklist-v4 src -j DROP
# For IPv6
ip6tables -I INPUT -m set --match-set blacklist-v6 src -j DROP
ip6tables -I FORWARD -m set --match-set blacklist-v6 src -j DROP
```
### 3. Persist Rules (Optional)
To make the rules persistent across reboots:
**On Debian/Ubuntu:**
```bash
# Save iptables rules
iptables-save > /etc/iptables/rules.v4
ip6tables-save > /etc/iptables/rules.v6
# Save ipset
ipset save > /etc/ipset.conf
```
**On RHEL/CentOS:**
```bash
# Save iptables rules
service iptables save
service ip6tables save
# Save ipset
ipset save > /etc/sysconfig/ipset
```
### 4. Update Existing Sets
To update the blacklist without restarting iptables:
```bash
# Flush and reload
ipset flush blacklist-v4
ipset restore < blacklist-v4.ipset
```
### 5. Remove Sets
```bash
# Remove IPv4 set
ipset flush blacklist-v4
ipset destroy blacklist-v4
# Remove IPv6 set
ipset flush blacklist-v6
ipset destroy blacklist-v6
```
## Performance Benefits
IPSet uses hash tables for O(1) lookup performance, making it ideal for large blacklists:
- Much faster than individual iptables rules
- Minimal CPU overhead
- Supports up to 65536 entries per set (configurable)
- Kernel-level implementation for maximum efficiency
## Automatic Updates
These files are automatically regenerated when the blacklists are updated via the GitHub Actions workflow.
## Source
Generated from the blacklist files in the `blacklists/` directory.

File diff suppressed because it is too large Load Diff

View File

@@ -1,40 +0,0 @@
# IPSet blacklist configuration (IPv6 only)
# Auto-generated from blacklist-v6.txt
# Last updated: 2026-01-25 06:23:40 UTC
#
# Usage:
# 1. Load the ipset:
# ipset restore < blacklist-v6.ipset
#
# 2. Use with iptables/ip6tables:
# iptables -I INPUT -m set --match-set blacklist-v6 src -m conntrack --ctstate NEW -j DROP
# iptables -I FORWARD -m set --match-set blacklist-v6 src -m conntrack --ctstate NEW -j DROP
#
# 3. To flush/delete the set:
# ipset flush blacklist-v6
# ipset destroy blacklist-v6
#
create blacklist-v6 hash:net family inet6 hashsize 1024 maxelem 44
add blacklist-v6 2a00:1148::/29
add blacklist-v6 2a00:1148::/32
add blacklist-v6 2a00:46e0:2::/48
add blacklist-v6 2a00:46e0::/32
add blacklist-v6 2a00:a300::/32
add blacklist-v6 2a00:b4c0::/32
add blacklist-v6 2a00:bdc0:8000::/34
add blacklist-v6 2a00:bdc0::/33
add blacklist-v6 2a00:bdc0:c000::/35
add blacklist-v6 2a00:bdc0:e002::/48
add blacklist-v6 2a00:bdc0:e003::/48
add blacklist-v6 2a00:bdc0:e004::/48
add blacklist-v6 2a00:bdc0:e005::/48
add blacklist-v6 2a00:bdc0:e007::/48
add blacklist-v6 2a00:bdc0:f000::/36
add blacklist-v6 2a00:bdc1::/32
add blacklist-v6 2a00:bdc2::/31
add blacklist-v6 2a00:bdc4::/30
add blacklist-v6 2a14:25c0::/32
add blacklist-v6 2a14:25c5::/32
add blacklist-v6 2a14:25c6::/32
add blacklist-v6 2a14:25c7::/32

File diff suppressed because it is too large Load Diff

View File

@@ -1,185 +0,0 @@
# nftables Blacklist Configuration
This folder contains nftables blacklist configurations generated from Russian government agency network lists.
## Available Files
- `blacklist.nft` - Mixed IPv4/IPv6 blacklist (**daily generated**)
- `blacklist-v4.nft` - IPv4-only blacklist (**daily generated**)
- `blacklist-v6.nft` - IPv6-only blacklist (**daily generated**)
## Quick Start
### Download and Load
````bash
# Download the blacklist
wget https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_nftables/blacklist.nft
# Load the configuration
sudo nft -f blacklist.nft
# Verify it's loaded
sudo nft list ruleset
````
### Automatic Updates
Add to crontab for daily updates:
````bash
0 2 * * * wget -O /etc/nftables.d/blacklist.nft https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_nftables/blacklist.nft && nft -f /etc/nftables.d/blacklist.nft
````
## Configuration Details
The generated nftables configuration uses:
- **Sets with interval flag** for efficient CIDR matching
- **Named sets** (`blacklist_v4` and `blacklist_v6`) for easy management
- **Counter** directive to track dropped packets
- **Stateful filtering** to allow established connections
### Configuration Structure
table inet filter {
set blacklist_v4 {
type ipv4_addr
flags interval
elements = { 1.2.3.0/24, 5.6.7.0/24, ... }
}
set blacklist_v6 {
type ipv6_addr
flags interval
elements = { 2001:db8::/32, ... }
}
chain input {
type filter hook input priority 0;
policy accept;
ct state { established, related } accept
ip saddr @blacklist_v4 counter drop
ip6 saddr @blacklist_v6 counter drop
}
}
## Integration Options
### Option 1: Standalone Configuration
Load the blacklist as a complete ruleset:
````bash
sudo nft -f blacklist.nft
````
### Option 2: Include in Existing Configuration
If you have an existing nftables configuration:
1. Copy only the set definitions from the generated file
2. Add set lookups to your existing input chain:
````bash
ip saddr @blacklist_v4 counter drop
ip6 saddr @blacklist_v6 counter drop
````
### Option 3: Persistent Configuration
For systemd-based systems:
````bash
# Copy to nftables config directory
sudo cp blacklist.nft /etc/nftables.d/
# Edit /etc/nftables.conf to include:
# include "/etc/nftables.d/blacklist.nft"
# Enable and restart
sudo systemctl enable nftables
sudo systemctl restart nftables
````
## Checking IPs Against the Blacklist
Use the `check_nft_blacklist.py` script to verify if an IP is blocked:
````bash
# Check an IPv4 address
python3 check_nft_blacklist.py blacklist.nft 192.168.1.1
# Check an IPv6 address
python3 check_nft_blacklist.py blacklist.nft 2001:db8::1
````
## Monitoring
### View Dropped Packets
````bash
# View all rules with counters
sudo nft list chain inet filter input -a
# Monitor in real-time
sudo nft monitor
````
### Check Set Contents
````bash
# View IPv4 blacklist
sudo nft list set inet filter blacklist_v4
# View IPv6 blacklist
sudo nft list set inet filter blacklist_v6
````
## Advantages of nftables
- **Better Performance**: O(1) lookup time with sets vs O(n) for sequential rules
- **Lower Memory Usage**: More efficient than iptables for large rulesets
- **Atomic Updates**: All rules updated in a single transaction
- **Modern Syntax**: Cleaner, more readable configuration
- **Unified Tool**: Single tool for IPv4, IPv6, and ARP filtering
## File Format Comparison
| Format | Use Case | Performance | Memory |
|--------|----------|-------------|--------|
| **nftables** | Modern firewalls | Excellent | Low |
| **iptables** | Legacy systems | Good | Medium |
| **nginx** | Web layer | Good | Low |
## Troubleshooting
### Configuration Won't Load
````bash
# Check syntax
sudo nft -c -f blacklist.nft
# View detailed errors
sudo nft -f blacklist.nft 2>&1 | less
````
### Rules Not Blocking Traffic
````bash
# Verify sets are populated
sudo nft list set inet filter blacklist_v4 | wc -l
# Check rule priority
sudo nft list chain inet filter input
# Test with logging temporarily
sudo nft add rule inet filter input ip saddr @blacklist_v4 log prefix "BLOCKED: "
````
### Performance Issues
If experiencing performance problems with very large sets:
1. Consider splitting into multiple smaller sets
2. Use `blacklist-v4.nft` or `blacklist-v6.nft` if only one protocol is needed
3. Ensure kernel supports nftables fully (Linux 4.0+)
## Additional Resources
- [nftables Wiki](https://wiki.nftables.org/)
- [nftables Quick Reference](https://wiki.nftables.org/wiki-nftables/index.php/Quick_reference-nftables_in_10_minutes)
- [Netfilter Documentation](https://www.netfilter.org/documentation/)
## Contributing
Found an issue or have suggestions? Please open an issue or submit a pull request!

View File

@@ -1,843 +0,0 @@
# Autogenerated nftables blacklist
# Generated: 2026-01-25T06:23:40.464632Z
# Source: /tmp/blacklist-v4.txt
# IPv4: 815, IPv6: 0
table inet filter {
set blacklist_v4 {
type ipv4_addr
flags interval
elements = {
5.61.16.0/21,
5.61.232.0/21,
5.101.40.0/22,
5.181.60.0/22,
5.188.140.0/22,
31.44.63.64/29,
31.177.95.0/24,
31.177.104.0/22,
37.28.161.48/30,
37.29.53.16/30,
37.29.57.52/30,
37.29.57.64/30,
37.29.59.56/30,
37.139.32.0/22,
37.139.40.0/22,
45.84.128.0/22,
45.136.20.0/22,
46.20.70.160/28,
46.29.152.0/22,
46.46.142.160/28,
46.46.148.40/29,
46.47.197.128/30,
46.47.199.76/30,
46.47.203.52/30,
46.47.207.96/30,
46.47.208.84/30,
46.47.210.76/30,
46.47.211.0/24,
46.47.212.204/30,
46.47.213.0/24,
46.47.214.200/30,
46.47.219.200/30,
46.47.223.196/30,
46.47.229.0/28,
46.47.238.144/30,
46.47.249.176/29,
46.61.208.0/24,
46.228.0.232/29,
62.5.130.104/29,
62.5.132.224/29,
62.5.189.80/29,
62.5.202.60/30,
62.5.218.204/30,
62.5.224.188/30,
62.5.242.80/28,
62.28.169.168/30,
62.33.34.16/28,
62.33.87.128/28,
62.33.87.152/29,
62.33.199.80/29,
62.63.96.32/28,
62.63.98.24/29,
62.63.100.160/30,
62.63.101.80/29,
62.76.98.0/24,
62.105.158.200/29,
62.112.110.64/28,
62.118.0.208/28,
62.118.15.16/28,
62.118.17.152/29,
62.118.19.40/30,
62.118.19.112/30,
62.118.21.160/29,
62.118.25.112/28,
62.118.37.4/30,
62.118.37.168/30,
62.118.37.180/30,
62.118.38.212/30,
62.118.101.184/29,
62.118.113.232/29,
62.118.125.188/30,
62.118.127.240/28,
62.118.193.8/29,
62.118.205.68/30,
62.118.208.100/30,
62.118.209.192/30,
62.118.216.60/30,
62.118.219.184/30,
62.118.230.4/30,
62.118.233.224/29,
62.118.234.64/29,
62.118.239.128/29,
62.141.125.0/25,
62.217.160.0/20,
77.34.209.160/28,
77.35.76.80/28,
77.35.98.240/28,
77.37.128.0/17,
77.72.139.0/28,
77.82.124.112/29,
77.243.9.80/28,
78.24.159.48/29,
78.37.67.24/29,
78.37.69.160/27,
78.37.84.120/29,
78.37.97.88/29,
78.37.104.0/29,
78.107.3.208/28,
78.107.13.208/28,
78.107.16.96/28,
78.107.18.112/28,
78.107.40.160/28,
78.107.42.144/28,
78.107.51.16/28,
78.107.61.96/28,
78.107.86.32/28,
78.108.192.0/21,
78.108.200.0/24,
78.109.140.112/29,
79.133.74.160/30,
79.133.74.168/30,
79.133.75.44/30,
79.133.75.176/30,
79.137.132.0/24,
79.137.139.0/24,
79.137.140.0/24,
79.137.142.0/24,
79.137.157.0/24,
79.137.164.0/24,
79.137.167.0/24,
79.137.174.0/23,
79.137.180.0/24,
79.137.183.0/24,
79.137.240.0/21,
79.142.88.0/28,
79.143.229.0/24,
79.143.230.0/24,
79.143.232.0/24,
80.73.16.0/20,
80.73.168.80/28,
80.73.169.244/30,
80.82.43.24/29,
80.89.152.220/30,
80.237.11.88/29,
80.237.39.112/29,
80.237.98.80/28,
80.247.32.0/20,
80.254.100.40/29,
80.254.119.168/29,
81.1.195.0/28,
81.1.205.96/27,
81.2.1.0/28,
81.2.10.192/27,
81.3.168.148/30,
81.17.2.192/28,
81.17.3.16/29,
81.176.70.0/26,
81.176.235.0/27,
81.177.12.0/24,
81.177.31.64/26,
81.177.156.0/24,
81.195.36.48/28,
81.195.44.248/30,
81.195.45.64/30,
81.195.50.72/29,
81.195.90.44/30,
81.195.92.48/30,
81.195.93.192/27,
81.195.94.72/29,
81.195.105.160/28,
81.195.108.164/30,
81.195.112.36/30,
81.195.118.48/30,
81.195.118.128/30,
81.195.120.16/29,
81.195.124.52/30,
81.195.125.96/30,
81.195.148.140/30,
81.195.150.248/30,
81.195.151.0/24,
81.195.155.0/30,
81.195.161.12/30,
81.195.165.64/28,
81.195.168.24/30,
81.195.177.160/30,
81.195.178.224/27,
81.195.182.64/28,
81.195.192.96/30,
81.195.231.128/26,
81.195.244.32/29,
81.195.245.0/28,
81.195.247.128/28,
81.195.250.16/29,
81.211.32.16/28,
81.222.194.200/29,
81.222.209.136/29,
81.222.210.24/29,
82.140.65.240/29,
82.142.162.104/29,
82.151.107.136/29,
82.162.72.208/28,
82.162.76.176/28,
82.162.80.192/28,
82.162.87.192/28,
82.162.90.0/28,
82.162.103.144/28,
82.162.126.96/28,
82.162.149.160/28,
82.162.157.64/28,
82.162.158.176/28,
82.162.172.112/28,
82.179.86.32/27,
82.196.69.152/30,
82.196.130.0/27,
82.198.176.16/29,
82.198.176.144/29,
82.198.176.208/29,
82.198.189.128/26,
82.198.190.64/26,
82.198.191.96/27,
82.198.191.248/29,
82.200.13.0/27,
82.200.22.136/29,
82.200.22.144/28,
82.200.64.0/24,
82.208.68.240/28,
82.208.77.104/29,
82.208.81.0/24,
82.208.93.160/27,
83.69.207.248/29,
83.149.42.64/29,
83.166.232.0/21,
83.166.248.0/21,
83.172.36.224/29,
83.217.216.0/22,
83.219.5.248/29,
83.219.6.72/29,
83.219.13.128/29,
83.219.13.184/29,
83.219.23.8/29,
83.219.23.48/29,
83.219.25.0/29,
83.219.25.112/29,
83.219.138.16/28,
83.220.53.16/28,
83.222.28.0/22,
83.229.181.192/26,
83.229.232.16/29,
84.23.52.0/22,
84.53.210.144/28,
84.204.7.144/29,
84.204.93.232/30,
84.204.143.44/30,
84.204.154.16/30,
84.204.170.220/30,
84.204.217.164/30,
84.204.245.208/29,
85.21.99.48/28,
85.21.99.64/28,
85.21.102.224/28,
85.21.103.64/28,
85.21.104.192/27,
85.21.148.0/26,
85.21.149.48/28,
85.21.155.208/28,
85.21.157.48/28,
85.21.204.208/28,
85.90.98.144/30,
85.90.99.168/29,
85.90.100.72/29,
85.90.101.112/28,
85.90.101.192/29,
85.90.102.168/29,
85.90.120.72/29,
85.90.121.72/29,
85.90.125.96/29,
85.90.127.16/29,
85.94.52.160/27,
85.94.53.32/28,
85.114.30.192/30,
85.114.30.204/30,
85.114.31.108/30,
85.114.93.88/29,
85.141.17.24/30,
85.141.17.112/30,
85.141.18.80/30,
85.141.19.56/30,
85.141.21.236/30,
85.141.28.0/30,
85.141.31.68/30,
85.141.32.96/28,
85.141.33.0/28,
85.141.33.64/28,
85.141.60.96/28,
85.141.61.160/28,
85.143.125.0/24,
85.192.32.0/22,
85.198.106.0/23,
85.236.29.160/27,
86.102.72.240/28,
86.102.74.64/28,
86.102.100.48/28,
86.102.108.32/28,
86.102.109.32/27,
86.102.115.80/28,
86.102.126.80/28,
86.102.126.160/28,
87.117.18.144/29,
87.117.20.64/26,
87.117.20.128/28,
87.117.21.0/26,
87.117.21.64/28,
87.117.21.80/29,
87.117.23.128/28,
87.117.31.56/29,
87.225.56.224/28,
87.226.156.64/26,
87.226.191.0/24,
87.226.213.0/24,
87.226.239.180/30,
87.237.47.204/30,
87.239.104.0/21,
87.240.128.0/18,
87.242.112.0/22,
87.245.133.0/24,
87.249.3.64/28,
87.249.5.48/30,
87.249.7.120/29,
87.249.16.32/28,
87.249.18.60/30,
87.249.22.72/29,
87.249.28.232/29,
87.249.30.176/30,
88.83.195.248/30,
88.151.200.0/24,
88.200.208.112/29,
89.21.129.16/28,
89.21.140.104/29,
89.21.152.104/29,
89.28.253.168/29,
89.28.255.56/29,
89.106.172.160/29,
89.107.123.120/29,
89.107.123.136/29,
89.107.127.136/29,
89.109.7.176/29,
89.109.250.28/30,
89.109.250.80/30,
89.109.250.88/29,
89.109.250.96/30,
89.109.250.132/30,
89.109.250.140/30,
89.111.176.0/22,
89.175.6.64/27,
89.175.8.36/30,
89.175.8.40/29,
89.175.8.52/30,
89.175.8.68/30,
89.175.8.104/30,
89.175.8.140/30,
89.175.8.192/30,
89.175.9.4/30,
89.175.10.160/30,
89.175.165.208/28,
89.175.170.144/28,
89.175.174.136/29,
89.175.176.88/30,
89.175.176.140/30,
89.175.176.176/30,
89.175.188.184/29,
89.179.155.192/28,
89.179.179.16/28,
89.179.181.0/24,
89.208.84.0/22,
89.208.196.0/22,
89.208.208.0/22,
89.208.216.0/21,
89.208.228.0/22,
89.221.228.0/22,
89.221.232.0/21,
90.150.176.52/30,
90.150.189.32/29,
90.150.189.128/26,
90.150.189.192/27,
90.150.189.224/28,
90.150.189.248/29,
90.156.148.0/22,
90.156.212.0/22,
90.156.216.0/22,
90.156.232.0/21,
90.156.248.0/22,
91.103.194.184/29,
91.135.212.0/22,
91.135.216.0/21,
91.195.136.0/23,
91.208.20.0/24,
91.215.168.0/22,
91.217.34.0/23,
91.219.192.0/22,
91.219.224.0/22,
91.221.140.0/23,
91.226.250.0/24,
91.227.32.0/24,
91.231.132.0/22,
91.237.76.0/24,
92.39.106.20/30,
92.39.106.168/30,
92.39.111.84/30,
92.39.128.0/21,
92.50.198.72/30,
92.50.198.124/30,
92.50.219.136/29,
92.50.238.224/29,
92.101.253.96/29,
92.101.253.152/29,
93.153.134.112/29,
93.153.135.88/30,
93.153.136.132/30,
93.153.142.4/30,
93.153.144.60/30,
93.153.171.204/30,
93.153.172.100/30,
93.153.175.44/30,
93.153.183.104/30,
93.153.194.160/29,
93.153.220.192/29,
93.153.223.8/29,
93.153.229.232/29,
93.153.244.188/30,
93.153.244.248/29,
93.153.251.0/24,
93.153.255.84/30,
93.178.104.32/29,
93.178.104.64/29,
93.178.106.0/26,
93.186.224.0/20,
93.188.20.72/29,
93.190.110.0/24,
94.25.53.56/29,
94.25.57.176/29,
94.25.57.224/28,
94.25.65.16/29,
94.25.70.64/30,
94.25.90.240/29,
94.25.95.136/30,
94.25.119.228/30,
94.100.176.0/20,
94.124.192.192/29,
94.139.244.0/22,
94.199.64.0/21,
95.53.248.0/29,
95.54.193.80/28,
95.142.192.0/20,
95.163.32.0/19,
95.163.133.0/24,
95.163.180.0/22,
95.163.208.0/21,
95.163.216.0/22,
95.163.248.0/21,
95.167.2.4/30,
95.167.4.168/29,
95.167.5.64/27,
95.167.21.104/29,
95.167.29.104/29,
95.167.54.76/30,
95.167.59.244/30,
95.167.64.20/30,
95.167.68.216/29,
95.167.69.116/30,
95.167.70.32/28,
95.167.70.136/29,
95.167.70.176/28,
95.167.72.48/30,
95.167.72.140/30,
95.167.72.204/30,
95.167.74.136/29,
95.167.74.180/30,
95.167.76.160/27,
95.167.99.48/28,
95.167.113.48/30,
95.167.114.48/30,
95.167.121.68/30,
95.167.122.128/28,
95.167.142.32/30,
95.167.157.156/30,
95.167.162.76/30,
95.167.162.236/30,
95.167.176.0/23,
95.167.213.0/24,
95.173.128.0/19,
95.213.0.0/17,
109.73.4.224/27,
109.120.180.0/22,
109.120.188.0/22,
109.124.66.128/30,
109.124.66.160/28,
109.124.71.64/29,
109.124.78.108/30,
109.124.80.132/30,
109.124.83.20/30,
109.124.87.96/29,
109.124.89.36/30,
109.124.89.140/30,
109.124.89.212/30,
109.124.90.32/30,
109.124.90.128/30,
109.124.97.4/30,
109.124.99.16/30,
109.124.99.160/28,
109.124.119.88/29,
109.204.204.232/29,
109.207.0.0/20,
109.232.187.16/29,
109.248.197.0/24,
128.140.168.0/21,
130.49.224.0/19,
145.255.238.240/28,
146.185.208.0/22,
146.185.240.0/22,
149.62.55.240/30,
155.212.192.0/20,
176.109.0.0/21,
176.112.168.0/21,
176.116.96.0/20,
178.16.156.148/30,
178.17.176.0/20,
178.20.234.224/29,
178.22.88.0/21,
178.49.148.176/29,
178.237.16.0/20,
178.237.206.0/24,
178.237.240.0/20,
178.248.232.60/32,
178.248.232.137/32,
178.248.233.26/32,
178.248.233.32/32,
178.248.233.60/32,
178.248.233.136/32,
178.248.233.244/31,
178.248.234.30/32,
178.248.234.33/32,
178.248.234.60/32,
178.248.234.79/32,
178.248.234.83/32,
178.248.234.136/32,
178.248.234.204/32,
178.248.234.228/32,
178.248.234.238/32,
178.248.235.60/32,
178.248.235.75/32,
178.248.235.244/32,
178.248.236.20/32,
178.248.236.83/32,
178.248.236.244/32,
178.248.237.18/32,
178.248.237.98/32,
178.248.237.136/32,
178.248.237.242/32,
178.248.238.55/32,
178.248.238.102/32,
178.248.238.128/31,
178.248.238.136/32,
178.248.238.155/32,
178.248.238.172/32,
178.248.238.205/32,
178.248.238.255/32,
178.248.239.215/32,
185.5.136.0/22,
185.6.244.0/22,
185.7.234.188/30,
185.16.8.0/22,
185.16.148.0/22,
185.16.244.0/22,
185.29.128.0/22,
185.32.248.0/22,
185.65.149.170/32,
185.86.144.0/22,
185.100.104.0/22,
185.130.112.0/22,
185.131.68.0/22,
185.149.160.0/22,
185.168.60.0/22,
185.179.224.0/22,
185.180.200.0/22,
185.183.172.0/22,
185.187.63.0/24,
185.224.228.0/22,
185.226.52.0/22,
185.241.192.0/22,
188.93.56.0/21,
188.128.8.240/30,
188.128.11.196/30,
188.128.89.0/30,
188.128.92.104/30,
188.128.94.204/30,
188.128.98.204/30,
188.128.101.108/30,
188.128.112.216/29,
188.128.112.240/29,
188.128.113.0/28,
188.128.114.128/28,
188.128.115.232/29,
188.128.118.224/27,
188.128.119.104/30,
188.128.122.240/30,
188.247.36.124/30,
188.247.36.128/28,
188.247.36.204/30,
193.33.230.0/23,
193.47.146.0/24,
193.203.40.0/22,
193.232.70.0/24,
194.8.70.0/23,
194.8.246.0/23,
194.67.63.200/30,
194.84.16.12/30,
194.140.247.0/24,
194.150.202.0/23,
194.165.22.0/23,
194.186.63.0/24,
194.186.112.80/28,
194.190.9.0/24,
194.215.248.0/24,
194.226.80.0/20,
194.226.116.0/22,
194.226.127.0/24,
195.3.240.0/22,
195.16.55.224/27,
195.42.75.8/29,
195.54.20.168/29,
195.54.28.72/30,
195.54.221.0/24,
195.58.5.16/29,
195.58.13.120/30,
195.58.21.196/30,
195.58.29.57/32,
195.58.30.164/30,
195.58.30.200/29,
195.80.224.0/24,
195.98.38.16/28,
195.98.43.104/29,
195.98.73.56/29,
195.98.77.100/30,
195.128.157.0/24,
195.131.7.8/29,
195.131.53.248/29,
195.131.61.80/29,
195.131.63.24/29,
195.144.226.224/28,
195.144.232.144/30,
195.144.240.128/28,
195.149.110.0/24,
195.151.25.48/29,
195.162.36.64/28,
195.170.218.24/29,
195.170.218.88/29,
195.182.142.128/26,
195.182.145.64/28,
195.182.151.212/30,
195.182.151.216/30,
195.182.155.164/30,
195.182.156.96/30,
195.209.120.0/22,
195.211.20.0/22,
195.218.175.40/29,
195.218.190.0/23,
195.226.203.0/24,
195.239.80.32/29,
195.239.113.0/24,
195.239.247.0/24,
212.13.104.116/30,
212.13.113.100/30,
212.15.105.64/28,
212.15.114.156/30,
212.15.115.80/28,
212.17.8.176/29,
212.17.9.144/28,
212.17.16.192/27,
212.17.17.176/28,
212.23.85.48/30,
212.23.85.56/29,
212.32.198.64/29,
212.48.34.176/28,
212.48.53.76/30,
212.48.53.84/30,
212.48.53.88/29,
212.48.53.100/30,
212.48.53.144/30,
212.48.53.152/29,
212.48.53.160/29,
212.48.53.184/29,
212.48.53.192/29,
212.48.53.200/30,
212.48.53.216/30,
212.48.53.236/30,
212.48.53.240/28,
212.48.54.0/30,
212.48.54.8/29,
212.48.54.16/28,
212.48.54.32/29,
212.48.54.44/30,
212.48.54.48/28,
212.48.54.64/28,
212.48.54.80/29,
212.48.54.92/30,
212.48.54.96/27,
212.48.54.128/27,
212.48.54.164/30,
212.48.54.168/29,
212.48.54.176/28,
212.48.54.196/30,
212.48.54.200/30,
212.48.54.208/28,
212.48.54.240/28,
212.48.134.192/26,
212.48.138.240/28,
212.48.141.160/27,
212.49.107.224/27,
212.49.124.0/26,
212.57.133.0/24,
212.57.159.0/24,
212.59.98.48/29,
212.59.99.96/27,
212.111.84.0/22,
212.119.174.0/23,
212.120.169.48/29,
212.120.174.88/29,
212.120.184.48/28,
212.120.184.64/29,
212.120.189.208/29,
212.120.189.224/29,
212.120.190.112/29,
212.120.190.240/29,
212.120.191.120/29,
212.120.191.248/29,
212.192.156.0/22,
212.233.72.0/21,
212.233.88.0/21,
212.233.96.0/22,
212.233.120.0/22,
213.24.34.0/24,
213.24.75.0/24,
213.24.76.0/23,
213.24.128.0/22,
213.24.143.0/24,
213.24.152.0/22,
213.24.160.0/28,
213.33.171.240/29,
213.59.59.16/29,
213.59.59.64/29,
213.59.59.120/29,
213.59.59.128/29,
213.59.59.144/29,
213.59.59.168/29,
213.59.91.48/29,
213.59.91.128/27,
213.59.91.176/28,
213.85.2.64/28,
213.85.2.80/29,
213.85.20.8/30,
213.85.20.32/30,
213.85.20.84/30,
213.85.77.64/27,
213.85.142.176/28,
213.147.55.108/30,
213.172.4.192/26,
213.172.17.252/30,
213.172.18.60/30,
213.172.18.124/30,
213.172.18.148/30,
213.172.18.160/29,
213.172.18.252/30,
213.172.27.0/30,
213.172.27.116/30,
213.172.27.160/30,
213.172.27.204/30,
213.172.27.212/30,
213.172.27.224/30,
213.172.27.252/30,
213.172.30.136/30,
213.176.232.0/22,
213.177.111.0/24,
213.183.253.56/29,
213.219.212.0/22,
213.219.237.68/30,
213.234.8.8/30,
213.234.13.60/30,
213.234.15.228/30,
213.234.15.248/30,
213.234.18.52/30,
213.242.204.76/30,
213.242.204.236/30,
213.242.205.88/30,
213.242.215.68/30,
213.242.215.192/29,
213.243.84.80/28,
213.243.106.48/28,
213.243.116.0/24,
217.16.16.0/20,
217.20.86.128/26,
217.20.86.232/29,
217.20.144.0/20,
217.23.88.168/29,
217.23.88.248/29,
217.27.142.176/30,
217.65.214.24/29,
217.65.219.160/29,
217.67.177.208/29,
217.69.128.0/20,
217.106.0.0/16,
217.107.5.8/29,
217.107.5.16/28,
217.107.5.40/29,
217.107.5.80/28,
217.107.5.96/29,
217.107.5.112/29,
217.107.200.0/21,
217.147.23.112/28,
217.148.216.156/30,
217.148.220.160/29,
217.172.18.0/23,
217.174.188.0/22,
217.195.92.16/28,
217.195.93.144/29,
217.195.94.200/29
}
}
set blacklist_v6 {
type ipv6_addr
flags interval
}
chain input {
type filter hook input priority 0;
policy accept;
ct state { established, related } accept
ip saddr @blacklist_v4 counter drop
}
}

View File

@@ -1,45 +0,0 @@
# Autogenerated nftables blacklist
# Generated: 2026-01-25T06:23:40.496188Z
# Source: /tmp/blacklist-v6.txt
# IPv4: 0, IPv6: 17
table inet filter {
set blacklist_v4 {
type ipv4_addr
flags interval
}
set blacklist_v6 {
type ipv6_addr
flags interval
elements = {
2a00:1148::/29,
2a00:46e0::/32,
2a00:a300::/32,
2a00:b4c0::/32,
2a00:bdc0::/33,
2a00:bdc0:8000::/34,
2a00:bdc0:c000::/35,
2a00:bdc0:e002::/47,
2a00:bdc0:e004::/47,
2a00:bdc0:e007::/48,
2a00:bdc0:f000::/36,
2a00:bdc1::/32,
2a00:bdc2::/31,
2a00:bdc4::/30,
2a14:25c0::/32,
2a14:25c5::/32,
2a14:25c6::/31
}
}
chain input {
type filter hook input priority 0;
policy accept;
ct state { established, related } accept
ip6 saddr @blacklist_v6 counter drop
}
}

View File

@@ -1,863 +0,0 @@
# Autogenerated nftables blacklist
# Generated: 2026-01-25T06:23:40.418001Z
# Source: /home/runner/work/AS_Network_List/AS_Network_List/blacklists/blacklist.txt
# IPv4: 815, IPv6: 17
table inet filter {
set blacklist_v4 {
type ipv4_addr
flags interval
elements = {
5.61.16.0/21,
5.61.232.0/21,
5.101.40.0/22,
5.181.60.0/22,
5.188.140.0/22,
31.44.63.64/29,
31.177.95.0/24,
31.177.104.0/22,
37.28.161.48/30,
37.29.53.16/30,
37.29.57.52/30,
37.29.57.64/30,
37.29.59.56/30,
37.139.32.0/22,
37.139.40.0/22,
45.84.128.0/22,
45.136.20.0/22,
46.20.70.160/28,
46.29.152.0/22,
46.46.142.160/28,
46.46.148.40/29,
46.47.197.128/30,
46.47.199.76/30,
46.47.203.52/30,
46.47.207.96/30,
46.47.208.84/30,
46.47.210.76/30,
46.47.211.0/24,
46.47.212.204/30,
46.47.213.0/24,
46.47.214.200/30,
46.47.219.200/30,
46.47.223.196/30,
46.47.229.0/28,
46.47.238.144/30,
46.47.249.176/29,
46.61.208.0/24,
46.228.0.232/29,
62.5.130.104/29,
62.5.132.224/29,
62.5.189.80/29,
62.5.202.60/30,
62.5.218.204/30,
62.5.224.188/30,
62.5.242.80/28,
62.28.169.168/30,
62.33.34.16/28,
62.33.87.128/28,
62.33.87.152/29,
62.33.199.80/29,
62.63.96.32/28,
62.63.98.24/29,
62.63.100.160/30,
62.63.101.80/29,
62.76.98.0/24,
62.105.158.200/29,
62.112.110.64/28,
62.118.0.208/28,
62.118.15.16/28,
62.118.17.152/29,
62.118.19.40/30,
62.118.19.112/30,
62.118.21.160/29,
62.118.25.112/28,
62.118.37.4/30,
62.118.37.168/30,
62.118.37.180/30,
62.118.38.212/30,
62.118.101.184/29,
62.118.113.232/29,
62.118.125.188/30,
62.118.127.240/28,
62.118.193.8/29,
62.118.205.68/30,
62.118.208.100/30,
62.118.209.192/30,
62.118.216.60/30,
62.118.219.184/30,
62.118.230.4/30,
62.118.233.224/29,
62.118.234.64/29,
62.118.239.128/29,
62.141.125.0/25,
62.217.160.0/20,
77.34.209.160/28,
77.35.76.80/28,
77.35.98.240/28,
77.37.128.0/17,
77.72.139.0/28,
77.82.124.112/29,
77.243.9.80/28,
78.24.159.48/29,
78.37.67.24/29,
78.37.69.160/27,
78.37.84.120/29,
78.37.97.88/29,
78.37.104.0/29,
78.107.3.208/28,
78.107.13.208/28,
78.107.16.96/28,
78.107.18.112/28,
78.107.40.160/28,
78.107.42.144/28,
78.107.51.16/28,
78.107.61.96/28,
78.107.86.32/28,
78.108.192.0/21,
78.108.200.0/24,
78.109.140.112/29,
79.133.74.160/30,
79.133.74.168/30,
79.133.75.44/30,
79.133.75.176/30,
79.137.132.0/24,
79.137.139.0/24,
79.137.140.0/24,
79.137.142.0/24,
79.137.157.0/24,
79.137.164.0/24,
79.137.167.0/24,
79.137.174.0/23,
79.137.180.0/24,
79.137.183.0/24,
79.137.240.0/21,
79.142.88.0/28,
79.143.229.0/24,
79.143.230.0/24,
79.143.232.0/24,
80.73.16.0/20,
80.73.168.80/28,
80.73.169.244/30,
80.82.43.24/29,
80.89.152.220/30,
80.237.11.88/29,
80.237.39.112/29,
80.237.98.80/28,
80.247.32.0/20,
80.254.100.40/29,
80.254.119.168/29,
81.1.195.0/28,
81.1.205.96/27,
81.2.1.0/28,
81.2.10.192/27,
81.3.168.148/30,
81.17.2.192/28,
81.17.3.16/29,
81.176.70.0/26,
81.176.235.0/27,
81.177.12.0/24,
81.177.31.64/26,
81.177.156.0/24,
81.195.36.48/28,
81.195.44.248/30,
81.195.45.64/30,
81.195.50.72/29,
81.195.90.44/30,
81.195.92.48/30,
81.195.93.192/27,
81.195.94.72/29,
81.195.105.160/28,
81.195.108.164/30,
81.195.112.36/30,
81.195.118.48/30,
81.195.118.128/30,
81.195.120.16/29,
81.195.124.52/30,
81.195.125.96/30,
81.195.148.140/30,
81.195.150.248/30,
81.195.151.0/24,
81.195.155.0/30,
81.195.161.12/30,
81.195.165.64/28,
81.195.168.24/30,
81.195.177.160/30,
81.195.178.224/27,
81.195.182.64/28,
81.195.192.96/30,
81.195.231.128/26,
81.195.244.32/29,
81.195.245.0/28,
81.195.247.128/28,
81.195.250.16/29,
81.211.32.16/28,
81.222.194.200/29,
81.222.209.136/29,
81.222.210.24/29,
82.140.65.240/29,
82.142.162.104/29,
82.151.107.136/29,
82.162.72.208/28,
82.162.76.176/28,
82.162.80.192/28,
82.162.87.192/28,
82.162.90.0/28,
82.162.103.144/28,
82.162.126.96/28,
82.162.149.160/28,
82.162.157.64/28,
82.162.158.176/28,
82.162.172.112/28,
82.179.86.32/27,
82.196.69.152/30,
82.196.130.0/27,
82.198.176.16/29,
82.198.176.144/29,
82.198.176.208/29,
82.198.189.128/26,
82.198.190.64/26,
82.198.191.96/27,
82.198.191.248/29,
82.200.13.0/27,
82.200.22.136/29,
82.200.22.144/28,
82.200.64.0/24,
82.208.68.240/28,
82.208.77.104/29,
82.208.81.0/24,
82.208.93.160/27,
83.69.207.248/29,
83.149.42.64/29,
83.166.232.0/21,
83.166.248.0/21,
83.172.36.224/29,
83.217.216.0/22,
83.219.5.248/29,
83.219.6.72/29,
83.219.13.128/29,
83.219.13.184/29,
83.219.23.8/29,
83.219.23.48/29,
83.219.25.0/29,
83.219.25.112/29,
83.219.138.16/28,
83.220.53.16/28,
83.222.28.0/22,
83.229.181.192/26,
83.229.232.16/29,
84.23.52.0/22,
84.53.210.144/28,
84.204.7.144/29,
84.204.93.232/30,
84.204.143.44/30,
84.204.154.16/30,
84.204.170.220/30,
84.204.217.164/30,
84.204.245.208/29,
85.21.99.48/28,
85.21.99.64/28,
85.21.102.224/28,
85.21.103.64/28,
85.21.104.192/27,
85.21.148.0/26,
85.21.149.48/28,
85.21.155.208/28,
85.21.157.48/28,
85.21.204.208/28,
85.90.98.144/30,
85.90.99.168/29,
85.90.100.72/29,
85.90.101.112/28,
85.90.101.192/29,
85.90.102.168/29,
85.90.120.72/29,
85.90.121.72/29,
85.90.125.96/29,
85.90.127.16/29,
85.94.52.160/27,
85.94.53.32/28,
85.114.30.192/30,
85.114.30.204/30,
85.114.31.108/30,
85.114.93.88/29,
85.141.17.24/30,
85.141.17.112/30,
85.141.18.80/30,
85.141.19.56/30,
85.141.21.236/30,
85.141.28.0/30,
85.141.31.68/30,
85.141.32.96/28,
85.141.33.0/28,
85.141.33.64/28,
85.141.60.96/28,
85.141.61.160/28,
85.143.125.0/24,
85.192.32.0/22,
85.198.106.0/23,
85.236.29.160/27,
86.102.72.240/28,
86.102.74.64/28,
86.102.100.48/28,
86.102.108.32/28,
86.102.109.32/27,
86.102.115.80/28,
86.102.126.80/28,
86.102.126.160/28,
87.117.18.144/29,
87.117.20.64/26,
87.117.20.128/28,
87.117.21.0/26,
87.117.21.64/28,
87.117.21.80/29,
87.117.23.128/28,
87.117.31.56/29,
87.225.56.224/28,
87.226.156.64/26,
87.226.191.0/24,
87.226.213.0/24,
87.226.239.180/30,
87.237.47.204/30,
87.239.104.0/21,
87.240.128.0/18,
87.242.112.0/22,
87.245.133.0/24,
87.249.3.64/28,
87.249.5.48/30,
87.249.7.120/29,
87.249.16.32/28,
87.249.18.60/30,
87.249.22.72/29,
87.249.28.232/29,
87.249.30.176/30,
88.83.195.248/30,
88.151.200.0/24,
88.200.208.112/29,
89.21.129.16/28,
89.21.140.104/29,
89.21.152.104/29,
89.28.253.168/29,
89.28.255.56/29,
89.106.172.160/29,
89.107.123.120/29,
89.107.123.136/29,
89.107.127.136/29,
89.109.7.176/29,
89.109.250.28/30,
89.109.250.80/30,
89.109.250.88/29,
89.109.250.96/30,
89.109.250.132/30,
89.109.250.140/30,
89.111.176.0/22,
89.175.6.64/27,
89.175.8.36/30,
89.175.8.40/29,
89.175.8.52/30,
89.175.8.68/30,
89.175.8.104/30,
89.175.8.140/30,
89.175.8.192/30,
89.175.9.4/30,
89.175.10.160/30,
89.175.165.208/28,
89.175.170.144/28,
89.175.174.136/29,
89.175.176.88/30,
89.175.176.140/30,
89.175.176.176/30,
89.175.188.184/29,
89.179.155.192/28,
89.179.179.16/28,
89.179.181.0/24,
89.208.84.0/22,
89.208.196.0/22,
89.208.208.0/22,
89.208.216.0/21,
89.208.228.0/22,
89.221.228.0/22,
89.221.232.0/21,
90.150.176.52/30,
90.150.189.32/29,
90.150.189.128/26,
90.150.189.192/27,
90.150.189.224/28,
90.150.189.248/29,
90.156.148.0/22,
90.156.212.0/22,
90.156.216.0/22,
90.156.232.0/21,
90.156.248.0/22,
91.103.194.184/29,
91.135.212.0/22,
91.135.216.0/21,
91.195.136.0/23,
91.208.20.0/24,
91.215.168.0/22,
91.217.34.0/23,
91.219.192.0/22,
91.219.224.0/22,
91.221.140.0/23,
91.226.250.0/24,
91.227.32.0/24,
91.231.132.0/22,
91.237.76.0/24,
92.39.106.20/30,
92.39.106.168/30,
92.39.111.84/30,
92.39.128.0/21,
92.50.198.72/30,
92.50.198.124/30,
92.50.219.136/29,
92.50.238.224/29,
92.101.253.96/29,
92.101.253.152/29,
93.153.134.112/29,
93.153.135.88/30,
93.153.136.132/30,
93.153.142.4/30,
93.153.144.60/30,
93.153.171.204/30,
93.153.172.100/30,
93.153.175.44/30,
93.153.183.104/30,
93.153.194.160/29,
93.153.220.192/29,
93.153.223.8/29,
93.153.229.232/29,
93.153.244.188/30,
93.153.244.248/29,
93.153.251.0/24,
93.153.255.84/30,
93.178.104.32/29,
93.178.104.64/29,
93.178.106.0/26,
93.186.224.0/20,
93.188.20.72/29,
93.190.110.0/24,
94.25.53.56/29,
94.25.57.176/29,
94.25.57.224/28,
94.25.65.16/29,
94.25.70.64/30,
94.25.90.240/29,
94.25.95.136/30,
94.25.119.228/30,
94.100.176.0/20,
94.124.192.192/29,
94.139.244.0/22,
94.199.64.0/21,
95.53.248.0/29,
95.54.193.80/28,
95.142.192.0/20,
95.163.32.0/19,
95.163.133.0/24,
95.163.180.0/22,
95.163.208.0/21,
95.163.216.0/22,
95.163.248.0/21,
95.167.2.4/30,
95.167.4.168/29,
95.167.5.64/27,
95.167.21.104/29,
95.167.29.104/29,
95.167.54.76/30,
95.167.59.244/30,
95.167.64.20/30,
95.167.68.216/29,
95.167.69.116/30,
95.167.70.32/28,
95.167.70.136/29,
95.167.70.176/28,
95.167.72.48/30,
95.167.72.140/30,
95.167.72.204/30,
95.167.74.136/29,
95.167.74.180/30,
95.167.76.160/27,
95.167.99.48/28,
95.167.113.48/30,
95.167.114.48/30,
95.167.121.68/30,
95.167.122.128/28,
95.167.142.32/30,
95.167.157.156/30,
95.167.162.76/30,
95.167.162.236/30,
95.167.176.0/23,
95.167.213.0/24,
95.173.128.0/19,
95.213.0.0/17,
109.73.4.224/27,
109.120.180.0/22,
109.120.188.0/22,
109.124.66.128/30,
109.124.66.160/28,
109.124.71.64/29,
109.124.78.108/30,
109.124.80.132/30,
109.124.83.20/30,
109.124.87.96/29,
109.124.89.36/30,
109.124.89.140/30,
109.124.89.212/30,
109.124.90.32/30,
109.124.90.128/30,
109.124.97.4/30,
109.124.99.16/30,
109.124.99.160/28,
109.124.119.88/29,
109.204.204.232/29,
109.207.0.0/20,
109.232.187.16/29,
109.248.197.0/24,
128.140.168.0/21,
130.49.224.0/19,
145.255.238.240/28,
146.185.208.0/22,
146.185.240.0/22,
149.62.55.240/30,
155.212.192.0/20,
176.109.0.0/21,
176.112.168.0/21,
176.116.96.0/20,
178.16.156.148/30,
178.17.176.0/20,
178.20.234.224/29,
178.22.88.0/21,
178.49.148.176/29,
178.237.16.0/20,
178.237.206.0/24,
178.237.240.0/20,
178.248.232.60/32,
178.248.232.137/32,
178.248.233.26/32,
178.248.233.32/32,
178.248.233.60/32,
178.248.233.136/32,
178.248.233.244/31,
178.248.234.30/32,
178.248.234.33/32,
178.248.234.60/32,
178.248.234.79/32,
178.248.234.83/32,
178.248.234.136/32,
178.248.234.204/32,
178.248.234.228/32,
178.248.234.238/32,
178.248.235.60/32,
178.248.235.75/32,
178.248.235.244/32,
178.248.236.20/32,
178.248.236.83/32,
178.248.236.244/32,
178.248.237.18/32,
178.248.237.98/32,
178.248.237.136/32,
178.248.237.242/32,
178.248.238.55/32,
178.248.238.102/32,
178.248.238.128/31,
178.248.238.136/32,
178.248.238.155/32,
178.248.238.172/32,
178.248.238.205/32,
178.248.238.255/32,
178.248.239.215/32,
185.5.136.0/22,
185.6.244.0/22,
185.7.234.188/30,
185.16.8.0/22,
185.16.148.0/22,
185.16.244.0/22,
185.29.128.0/22,
185.32.248.0/22,
185.65.149.170/32,
185.86.144.0/22,
185.100.104.0/22,
185.130.112.0/22,
185.131.68.0/22,
185.149.160.0/22,
185.168.60.0/22,
185.179.224.0/22,
185.180.200.0/22,
185.183.172.0/22,
185.187.63.0/24,
185.224.228.0/22,
185.226.52.0/22,
185.241.192.0/22,
188.93.56.0/21,
188.128.8.240/30,
188.128.11.196/30,
188.128.89.0/30,
188.128.92.104/30,
188.128.94.204/30,
188.128.98.204/30,
188.128.101.108/30,
188.128.112.216/29,
188.128.112.240/29,
188.128.113.0/28,
188.128.114.128/28,
188.128.115.232/29,
188.128.118.224/27,
188.128.119.104/30,
188.128.122.240/30,
188.247.36.124/30,
188.247.36.128/28,
188.247.36.204/30,
193.33.230.0/23,
193.47.146.0/24,
193.203.40.0/22,
193.232.70.0/24,
194.8.70.0/23,
194.8.246.0/23,
194.67.63.200/30,
194.84.16.12/30,
194.140.247.0/24,
194.150.202.0/23,
194.165.22.0/23,
194.186.63.0/24,
194.186.112.80/28,
194.190.9.0/24,
194.215.248.0/24,
194.226.80.0/20,
194.226.116.0/22,
194.226.127.0/24,
195.3.240.0/22,
195.16.55.224/27,
195.42.75.8/29,
195.54.20.168/29,
195.54.28.72/30,
195.54.221.0/24,
195.58.5.16/29,
195.58.13.120/30,
195.58.21.196/30,
195.58.29.57/32,
195.58.30.164/30,
195.58.30.200/29,
195.80.224.0/24,
195.98.38.16/28,
195.98.43.104/29,
195.98.73.56/29,
195.98.77.100/30,
195.128.157.0/24,
195.131.7.8/29,
195.131.53.248/29,
195.131.61.80/29,
195.131.63.24/29,
195.144.226.224/28,
195.144.232.144/30,
195.144.240.128/28,
195.149.110.0/24,
195.151.25.48/29,
195.162.36.64/28,
195.170.218.24/29,
195.170.218.88/29,
195.182.142.128/26,
195.182.145.64/28,
195.182.151.212/30,
195.182.151.216/30,
195.182.155.164/30,
195.182.156.96/30,
195.209.120.0/22,
195.211.20.0/22,
195.218.175.40/29,
195.218.190.0/23,
195.226.203.0/24,
195.239.80.32/29,
195.239.113.0/24,
195.239.247.0/24,
212.13.104.116/30,
212.13.113.100/30,
212.15.105.64/28,
212.15.114.156/30,
212.15.115.80/28,
212.17.8.176/29,
212.17.9.144/28,
212.17.16.192/27,
212.17.17.176/28,
212.23.85.48/30,
212.23.85.56/29,
212.32.198.64/29,
212.48.34.176/28,
212.48.53.76/30,
212.48.53.84/30,
212.48.53.88/29,
212.48.53.100/30,
212.48.53.144/30,
212.48.53.152/29,
212.48.53.160/29,
212.48.53.184/29,
212.48.53.192/29,
212.48.53.200/30,
212.48.53.216/30,
212.48.53.236/30,
212.48.53.240/28,
212.48.54.0/30,
212.48.54.8/29,
212.48.54.16/28,
212.48.54.32/29,
212.48.54.44/30,
212.48.54.48/28,
212.48.54.64/28,
212.48.54.80/29,
212.48.54.92/30,
212.48.54.96/27,
212.48.54.128/27,
212.48.54.164/30,
212.48.54.168/29,
212.48.54.176/28,
212.48.54.196/30,
212.48.54.200/30,
212.48.54.208/28,
212.48.54.240/28,
212.48.134.192/26,
212.48.138.240/28,
212.48.141.160/27,
212.49.107.224/27,
212.49.124.0/26,
212.57.133.0/24,
212.57.159.0/24,
212.59.98.48/29,
212.59.99.96/27,
212.111.84.0/22,
212.119.174.0/23,
212.120.169.48/29,
212.120.174.88/29,
212.120.184.48/28,
212.120.184.64/29,
212.120.189.208/29,
212.120.189.224/29,
212.120.190.112/29,
212.120.190.240/29,
212.120.191.120/29,
212.120.191.248/29,
212.192.156.0/22,
212.233.72.0/21,
212.233.88.0/21,
212.233.96.0/22,
212.233.120.0/22,
213.24.34.0/24,
213.24.75.0/24,
213.24.76.0/23,
213.24.128.0/22,
213.24.143.0/24,
213.24.152.0/22,
213.24.160.0/28,
213.33.171.240/29,
213.59.59.16/29,
213.59.59.64/29,
213.59.59.120/29,
213.59.59.128/29,
213.59.59.144/29,
213.59.59.168/29,
213.59.91.48/29,
213.59.91.128/27,
213.59.91.176/28,
213.85.2.64/28,
213.85.2.80/29,
213.85.20.8/30,
213.85.20.32/30,
213.85.20.84/30,
213.85.77.64/27,
213.85.142.176/28,
213.147.55.108/30,
213.172.4.192/26,
213.172.17.252/30,
213.172.18.60/30,
213.172.18.124/30,
213.172.18.148/30,
213.172.18.160/29,
213.172.18.252/30,
213.172.27.0/30,
213.172.27.116/30,
213.172.27.160/30,
213.172.27.204/30,
213.172.27.212/30,
213.172.27.224/30,
213.172.27.252/30,
213.172.30.136/30,
213.176.232.0/22,
213.177.111.0/24,
213.183.253.56/29,
213.219.212.0/22,
213.219.237.68/30,
213.234.8.8/30,
213.234.13.60/30,
213.234.15.228/30,
213.234.15.248/30,
213.234.18.52/30,
213.242.204.76/30,
213.242.204.236/30,
213.242.205.88/30,
213.242.215.68/30,
213.242.215.192/29,
213.243.84.80/28,
213.243.106.48/28,
213.243.116.0/24,
217.16.16.0/20,
217.20.86.128/26,
217.20.86.232/29,
217.20.144.0/20,
217.23.88.168/29,
217.23.88.248/29,
217.27.142.176/30,
217.65.214.24/29,
217.65.219.160/29,
217.67.177.208/29,
217.69.128.0/20,
217.106.0.0/16,
217.107.5.8/29,
217.107.5.16/28,
217.107.5.40/29,
217.107.5.80/28,
217.107.5.96/29,
217.107.5.112/29,
217.107.200.0/21,
217.147.23.112/28,
217.148.216.156/30,
217.148.220.160/29,
217.172.18.0/23,
217.174.188.0/22,
217.195.92.16/28,
217.195.93.144/29,
217.195.94.200/29
}
}
set blacklist_v6 {
type ipv6_addr
flags interval
elements = {
2a00:1148::/29,
2a00:46e0::/32,
2a00:a300::/32,
2a00:b4c0::/32,
2a00:bdc0::/33,
2a00:bdc0:8000::/34,
2a00:bdc0:c000::/35,
2a00:bdc0:e002::/47,
2a00:bdc0:e004::/47,
2a00:bdc0:e007::/48,
2a00:bdc0:f000::/36,
2a00:bdc1::/32,
2a00:bdc2::/31,
2a00:bdc4::/30,
2a14:25c0::/32,
2a14:25c5::/32,
2a14:25c6::/31
}
}
chain input {
type filter hook input priority 0;
policy accept;
ct state { established, related } accept
ip saddr @blacklist_v4 counter drop
ip6 saddr @blacklist_v6 counter drop
}
}

View File

View File

@@ -1,302 +0,0 @@
# Nginx Blacklist Configurations
Auto-generated nginx configuration files for blocking networks and IP addresses.
## Available Files
### Mixed IPv4/IPv6
- **`blacklist.conf`** - Contains both IPv4 and IPv6 deny rules (809 entries)
### IPv4 Only
- **`blacklist-v4.conf`** - Contains only IPv4 deny rules (806 entries)
### IPv6 Only
- **`blacklist-v6.conf`** - Contains only IPv6 deny rules (3 entries)
## Usage
### Basic Usage
Include the desired configuration file in your nginx `server` or `location` block:
```nginx
server {
listen 80;
server_name example.com;
# Include the blacklist
include /path/to/blacklist.conf;
location / {
# your configuration
}
}
```
### Separate IPv4/IPv6 Files
For more granular control, use separate files:
```nginx
server {
listen 80;
listen [::]:80;
server_name example.com;
# Include both IPv4 and IPv6 blacklists
include /path/to/blacklist-v4.conf;
include /path/to/blacklist-v6.conf;
location / {
# your configuration
}
}
```
### HTTP Block Level
Apply the blacklist globally to all virtual hosts:
```nginx
http {
# Apply blacklist globally
include /path/to/blacklist.conf;
server {
listen 80;
server_name example.com;
# ...
}
server {
listen 80;
server_name another.com;
# ...
}
}
```
### Location Block Level
For selective blocking within specific locations:
```nginx
server {
listen 80;
server_name example.com;
location /admin {
# Apply blacklist only to admin area
include /path/to/blacklist.conf;
# ...
}
location /public {
# Public area without blacklist
# ...
}
}
```
## Testing Configuration
After adding the blacklist, always test your nginx configuration:
```bash
# Test configuration
nginx -t
# Reload nginx if test passes
nginx -s reload
# or
systemctl reload nginx
```
## Custom Response
By default, denied IPs receive a connection drop. To customize the response:
```nginx
server {
listen 80;
server_name example.com;
# Return custom error page
error_page 403 /403.html;
include /path/to/blacklist.conf;
location = /403.html {
root /usr/share/nginx/html;
internal;
}
}
```
Note: For large blacklists, using `deny` directives (as in these files) is more efficient than `if` statements.
## Performance Considerations
- **Deny directives** are processed in order and stop at the first match
- For optimal performance, most frequently matched IPs should be at the top
- Current files are sorted for consistency
- Nginx handles hundreds of deny rules efficiently
- For very large blacklists (10,000+ entries), consider using:
- Nginx GeoIP2 module for geographic blocking
- nftables/iptables at the firewall level for better performance
- Stream module for TCP/UDP level blocking
## Integration Examples
### Docker Deployment
```dockerfile
FROM nginx:alpine
# Copy blacklist
COPY blacklist.conf /etc/nginx/blacklist.conf
# Copy nginx config that includes the blacklist
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]
```
### Kubernetes ConfigMap
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-blacklist
data:
blacklist.conf: |
# Include blacklist content here
deny 109.124.119.88/29;
deny 109.124.66.128/30;
# ...
```
### Automated Updates
Set up a cron job to automatically fetch the latest blacklist:
```bash
#!/bin/bash
# /etc/cron.daily/update-nginx-blacklist
# Download latest blacklist
wget -q https://raw.githubusercontent.com/C24Be/AS_Network_List/main/blacklists_nginx/blacklist.conf \
-O /etc/nginx/blacklist.conf.new
# Test nginx configuration
nginx -t -c /etc/nginx/nginx.conf
# If test passes, reload nginx
if [ $? -eq 0 ]; then
mv /etc/nginx/blacklist.conf.new /etc/nginx/blacklist.conf
systemctl reload nginx
echo "Blacklist updated successfully"
else
rm /etc/nginx/blacklist.conf.new
echo "Nginx config test failed, blacklist not updated"
fi
```
## Logging Blocked Requests
To log denied requests:
```nginx
server {
listen 80;
server_name example.com;
# Custom log format for denied IPs
log_format blocked '$remote_addr - $remote_user [$time_local] '
'"$request" 403 0 '
'"$http_referer" "$http_user_agent"';
access_log /var/log/nginx/blocked.log blocked;
include /path/to/blacklist.conf;
location / {
# your configuration
}
}
```
## Monitoring
Check how many IPs are being blocked:
```bash
# Count deny rules
grep -c "deny" /path/to/blacklist.conf
# Check blocked access logs
tail -f /var/log/nginx/blocked.log
# Count blocked requests today
grep "$(date +%d/%b/%Y)" /var/log/nginx/access.log | grep " 403 " | wc -l
```
## Troubleshooting
### Configuration Test Fails
```bash
# Check syntax
nginx -t
# Check for duplicate includes
grep -r "include.*blacklist" /etc/nginx/
# Verify file permissions
ls -l /path/to/blacklist.conf
```
### Legitimate Users Blocked
Check if their IP is in the blacklist:
```bash
grep "YOUR_IP" /path/to/blacklist.conf
```
Whitelist specific IPs before applying the blacklist:
```nginx
server {
listen 80;
server_name example.com;
# Whitelist before blacklist
allow 192.168.1.100; # Trusted IP
# Then apply blacklist
include /path/to/blacklist.conf;
# Deny all others not explicitly allowed
# deny all; # Optional
}
```
## Automatic Updates
These files are automatically regenerated daily when the blacklists are updated via the GitHub Actions workflow.
## Source
Generated from the blacklist files in the `blacklists/` directory by `blacklists_updater_nginx.sh`.
## See Also
- [IPTables/IPSet Format](../blacklists_iptables/README.md) - For firewall-level blocking
- [Text Format](../blacklists/README.md) - For custom integrations
- [Main Repository](https://github.com/C24Be/AS_Network_List) - Complete documentation

File diff suppressed because it is too large Load Diff

View File

@@ -1,31 +0,0 @@
# Nginx blacklist configuration (IPv6 only)
# Auto-generated from blacklist-v6.txt
# Last updated: 2026-01-25 06:23:40 UTC
#
# Usage: Include this file in your nginx server or location block:
# include /path/to/blacklist-v6.conf;
#
deny 2a00:1148::/29;
deny 2a00:1148::/32;
deny 2a00:46e0:2::/48;
deny 2a00:46e0::/32;
deny 2a00:a300::/32;
deny 2a00:b4c0::/32;
deny 2a00:bdc0:8000::/34;
deny 2a00:bdc0::/33;
deny 2a00:bdc0:c000::/35;
deny 2a00:bdc0:e002::/48;
deny 2a00:bdc0:e003::/48;
deny 2a00:bdc0:e004::/48;
deny 2a00:bdc0:e005::/48;
deny 2a00:bdc0:e007::/48;
deny 2a00:bdc0:f000::/36;
deny 2a00:bdc1::/32;
deny 2a00:bdc2::/31;
deny 2a00:bdc4::/30;
deny 2a14:25c0::/32;
deny 2a14:25c5::/32;
deny 2a14:25c6::/32;
deny 2a14:25c7::/32;

File diff suppressed because it is too large Load Diff

View File

View File

@@ -1,19 +1,46 @@
#!/bin/sh
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# Input files (generated by blacklists_updater_txt.sh)
blacklist_file="blacklists/blacklist.txt"
blacklist_v4_file="blacklists/blacklist-v4.txt"
blacklist_v6_file="blacklists/blacklist-v6.txt"
blacklist_file="${SCRIPT_DIR}/blacklists/blacklist.txt"
blacklist_v4_file="${SCRIPT_DIR}/blacklists/blacklist-v4.txt"
blacklist_v6_file="${SCRIPT_DIR}/blacklists/blacklist-v6.txt"
# Source files for name-based VK filtering
auto_all_v4_file="${SCRIPT_DIR}/auto/all-ru-ipv4.txt"
auto_all_v6_file="${SCRIPT_DIR}/auto/all-ru-ipv6.txt"
auto_ripe_v4_file="${SCRIPT_DIR}/auto/ripe-ru-ipv4.txt"
vk_name_pattern='VK[[:space:]-]*CLOUD|VKCOMPANY|VKONTAKTE'
# Additional VK-only text blacklists
blacklist_vk_file="${SCRIPT_DIR}/blacklists/blacklist-vk.txt"
blacklist_vk_v4_file="${SCRIPT_DIR}/blacklists/blacklist-vk-v4.txt"
blacklist_vk_v6_file="${SCRIPT_DIR}/blacklists/blacklist-vk-v6.txt"
# Output directory and files
iptables_output_dir="blacklists_iptables"
iptables_output_dir="${SCRIPT_DIR}/blacklists_iptables"
iptables_output_file="${iptables_output_dir}/blacklist.ipset"
iptables_v4_output_file="${iptables_output_dir}/blacklist-v4.ipset"
iptables_v6_output_file="${iptables_output_dir}/blacklist-v6.ipset"
iptables_vk_output_file="${iptables_output_dir}/blacklist-vk.ipset"
iptables_vk_v4_output_file="${iptables_output_dir}/blacklist-vk-v4.ipset"
iptables_vk_v6_output_file="${iptables_output_dir}/blacklist-vk-v6.ipset"
# Create iptables directory if it doesn't exist
mkdir -p "${iptables_output_dir}"
# Build additional VK-only blacklist from network names in auto/*.txt files
tmp_vk_file="$(mktemp "${SCRIPT_DIR}/blacklists/.blacklist-vk.XXXXXX")"
for source_file in "${auto_all_v4_file}" "${auto_all_v6_file}" "${auto_ripe_v4_file}"; do
[ -f "${source_file}" ] || continue
awk -v pattern="${vk_name_pattern}" 'BEGIN { IGNORECASE = 1 } $0 ~ pattern { print $1 }' "${source_file}" >> "${tmp_vk_file}"
done
sort -u "${tmp_vk_file}" > "${blacklist_vk_file}"
grep ':' "${blacklist_vk_file}" | sort -u > "${blacklist_vk_v6_file}" || true
grep -v ':' "${blacklist_vk_file}" | sort -u > "${blacklist_vk_v4_file}" || true
rm -f "${tmp_vk_file}"
# Function to generate ipset config from input file
generate_ipset_config() {
local input_file="$1"
@@ -21,6 +48,19 @@ generate_ipset_config() {
local ip_version="$3"
local set_name="$4"
local family="$5"
local iptables_cmd="iptables"
local rule_primary=""
local rule_secondary=""
[ "${family}" = "inet6" ] && iptables_cmd="ip6tables"
if printf "%s" "${set_name}" | grep -q '^blacklist-vk'; then
rule_primary="${iptables_cmd} -I OUTPUT -m set --match-set ${set_name} dst -j REJECT"
rule_secondary="${iptables_cmd} -I FORWARD -m set --match-set ${set_name} dst -j REJECT"
else
rule_primary="${iptables_cmd} -I INPUT -m set --match-set ${set_name} src -m conntrack --ctstate NEW -j DROP"
rule_secondary="${iptables_cmd} -I FORWARD -m set --match-set ${set_name} src -m conntrack --ctstate NEW -j DROP"
fi
# Count entries for hash size calculation
local count=$(wc -l < "${input_file}" | tr -d ' ')
@@ -38,8 +78,8 @@ generate_ipset_config() {
# ipset restore < $(basename ${output_file})
#
# 2. Use with iptables/ip6tables:
# iptables -I INPUT -m set --match-set ${set_name} src -m conntrack --ctstate NEW -j DROP
# iptables -I FORWARD -m set --match-set ${set_name} src -m conntrack --ctstate NEW -j DROP
# ${rule_primary}
${rule_secondary:+# ${rule_secondary}}
#
# 3. To flush/delete the set:
# ipset flush ${set_name}
@@ -63,6 +103,8 @@ EOF
# Generate ipset configurations from blacklist files
generate_ipset_config "${blacklist_v4_file}" "${iptables_v4_output_file}" "(IPv4 only)" "blacklist-v4" "inet"
generate_ipset_config "${blacklist_v6_file}" "${iptables_v6_output_file}" "(IPv6 only)" "blacklist-v6" "inet6"
generate_ipset_config "${blacklist_vk_v4_file}" "${iptables_vk_v4_output_file}" "(VK names, IPv4 only)" "blacklist-vk-v4" "inet"
generate_ipset_config "${blacklist_vk_v6_file}" "${iptables_vk_v6_output_file}" "(VK names, IPv6 only)" "blacklist-vk-v6" "inet6"
# For mixed file, we need to create two sets (IPv4 and IPv6) as ipset doesn't support mixed families
cat > "${iptables_output_file}" << EOF
@@ -94,3 +136,43 @@ tail -n +2 "${iptables_v6_output_file}" | grep -E "^(create|add)" >> "${iptables
echo "✓ Generated (mixed IPv4/IPv6): ${iptables_output_file}"
echo " Total entries: $(wc -l < "${blacklist_file}" | tr -d ' ')"
# Generate mixed VK-only ipset file (contains both v4 and v6 sets)
cat > "${iptables_vk_output_file}" << EOF
# IPSet blacklist configuration (VK names: VK Cloud / VKCOMPANY / VKONTAKTE)
# Auto-generated from name-filtered auto/*.txt sources
# Last updated: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
#
# Usage:
# 1. Load the ipset:
# ipset restore < $(basename "${iptables_vk_output_file}")
#
# 2. Use with iptables/ip6tables:
# iptables -I OUTPUT -m set --match-set blacklist-vk-v4 dst -j REJECT
# iptables -I FORWARD -m set --match-set blacklist-vk-v4 dst -j REJECT
# ip6tables -I OUTPUT -m set --match-set blacklist-vk-v6 dst -j REJECT
# ip6tables -I FORWARD -m set --match-set blacklist-vk-v6 dst -j REJECT
#
# 3. To flush/delete the sets:
# ipset flush blacklist-vk-v4 && ipset destroy blacklist-vk-v4
# ipset flush blacklist-vk-v6 && ipset destroy blacklist-vk-v6
#
EOF
tail -n +2 "${iptables_vk_v4_output_file}" | grep -E "^(create|add)" >> "${iptables_vk_output_file}"
echo "" >> "${iptables_vk_output_file}"
tail -n +2 "${iptables_vk_v6_output_file}" | grep -E "^(create|add)" >> "${iptables_vk_output_file}"
echo "✓ Generated (VK names, mixed IPv4/IPv6): ${iptables_vk_output_file}"
echo " Total entries: $(wc -l < "${blacklist_vk_file}" | tr -d ' ')"
echo ""
echo "VK outgoing block examples (iptables/ipset):"
echo " ipset restore < ${iptables_vk_output_file}"
echo " iptables -I OUTPUT -m set --match-set blacklist-vk-v4 dst -j REJECT"
echo " iptables -I FORWARD -m set --match-set blacklist-vk-v4 dst -j REJECT"
echo " ip6tables -I OUTPUT -m set --match-set blacklist-vk-v6 dst -j REJECT"
echo " ip6tables -I FORWARD -m set --match-set blacklist-vk-v6 dst -j REJECT"
echo ""
echo "Tip: Do not install Messenger MAX on the same phone/device that has VPN access configured."

View File

@@ -7,29 +7,78 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
INPUT_FILE="$SCRIPT_DIR/blacklists/blacklist.txt"
OUTPUT_DIR="$SCRIPT_DIR/blacklists_nftables"
# Source files for name-based VK filtering
AUTO_ALL_V4_FILE="$SCRIPT_DIR/auto/all-ru-ipv4.txt"
AUTO_ALL_V6_FILE="$SCRIPT_DIR/auto/all-ru-ipv6.txt"
AUTO_RIPE_V4_FILE="$SCRIPT_DIR/auto/ripe-ru-ipv4.txt"
VK_NAME_PATTERN='VK[[:space:]-]*CLOUD|VKCOMPANY|VKONTAKTE'
# Additional VK-only text blacklists
VK_INPUT_FILE="$SCRIPT_DIR/blacklists/blacklist-vk.txt"
VK_INPUT_V4_FILE="$SCRIPT_DIR/blacklists/blacklist-vk-v4.txt"
VK_INPUT_V6_FILE="$SCRIPT_DIR/blacklists/blacklist-vk-v6.txt"
# Create output directory if it doesn't exist
mkdir -p "$OUTPUT_DIR"
echo "Generating nftables blacklists..."
# Build additional VK-only blacklist from network names in auto/*.txt files
TMP_VK_FILE="$(mktemp "$SCRIPT_DIR/blacklists/.blacklist-vk.XXXXXX")"
for source_file in "$AUTO_ALL_V4_FILE" "$AUTO_ALL_V6_FILE" "$AUTO_RIPE_V4_FILE"; do
[[ -f "$source_file" ]] || continue
awk -v pattern="$VK_NAME_PATTERN" 'BEGIN { IGNORECASE = 1 } $0 ~ pattern { print $1 }' "$source_file" >> "$TMP_VK_FILE"
done
sort -u "$TMP_VK_FILE" > "$VK_INPUT_FILE"
grep ':' "$VK_INPUT_FILE" | sort -u > "$VK_INPUT_V6_FILE" || true
grep -v ':' "$VK_INPUT_FILE" | sort -u > "$VK_INPUT_V4_FILE" || true
rm -f "$TMP_VK_FILE"
# Generate mixed IPv4/IPv6 blacklist
python3 "$SCRIPT_DIR/generate_nft_blacklist.py" \
"$INPUT_FILE" \
"$OUTPUT_DIR/blacklist.nft"
# Generate IPv4-only blacklist
grep -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' "$INPUT_FILE" > /tmp/blacklist-v4.txt || true
TMP_V4_FILE="/tmp/blacklist-v4.txt"
TMP_V6_FILE="/tmp/blacklist-v6.txt"
grep -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' "$INPUT_FILE" > "$TMP_V4_FILE" || true
python3 "$SCRIPT_DIR/generate_nft_blacklist.py" \
/tmp/blacklist-v4.txt \
"$TMP_V4_FILE" \
"$OUTPUT_DIR/blacklist-v4.nft"
# Generate IPv6-only blacklist
grep -E '^[0-9a-fA-F:]+:' "$INPUT_FILE" > /tmp/blacklist-v6.txt || true
grep -E '^[0-9a-fA-F:]+:' "$INPUT_FILE" > "$TMP_V6_FILE" || true
python3 "$SCRIPT_DIR/generate_nft_blacklist.py" \
/tmp/blacklist-v6.txt \
"$TMP_V6_FILE" \
"$OUTPUT_DIR/blacklist-v6.nft"
# Generate VK-only blacklists (network names: VK Cloud / VKCOMPANY / VKONTAKTE)
python3 "$SCRIPT_DIR/generate_nft_blacklist.py" \
"$VK_INPUT_FILE" \
"$OUTPUT_DIR/blacklist-vk.nft"
python3 "$SCRIPT_DIR/generate_nft_blacklist.py" \
"$VK_INPUT_V4_FILE" \
"$OUTPUT_DIR/blacklist-vk-v4.nft"
python3 "$SCRIPT_DIR/generate_nft_blacklist.py" \
"$VK_INPUT_V6_FILE" \
"$OUTPUT_DIR/blacklist-vk-v6.nft"
# Clean up temp files
rm -f /tmp/blacklist-v4.txt /tmp/blacklist-v6.txt
rm -f "$TMP_V4_FILE" "$TMP_V6_FILE"
echo "nftables blacklists generated successfully!"
echo ""
echo "VM incoming block examples (all lists, nftables):"
echo " sudo nft -f $OUTPUT_DIR/blacklist.nft"
echo " sudo nft add chain inet filter input '{ type filter hook input priority 0; policy accept; }'"
echo " sudo nft add rule inet filter input ip saddr @blacklist_v4 counter reject"
echo " sudo nft add rule inet filter input ip6 saddr @blacklist_v6 counter reject"
echo ""
echo "VK outbound block examples for VPN clients via NAT (nftables):"
echo " sudo nft -f $OUTPUT_DIR/blacklist-vk.nft"
echo " sudo nft add chain inet filter forward '{ type filter hook forward priority 0; policy accept; }'"
echo " sudo nft add rule inet filter forward iifname \"<VPN_IFACE>\" ip daddr @blacklist_v4 counter reject"
echo " sudo nft add rule inet filter forward iifname \"<VPN_IFACE>\" ip6 daddr @blacklist_v6 counter reject"
echo ""
echo "Tip: Do not install Messenger MAX on the same phone/device that has VPN access configured."

View File

@@ -0,0 +1,78 @@
#!/bin/sh
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# Source files for name-based VK filtering
AUTO_ALL_V4_FILE="${SCRIPT_DIR}/auto/all-ru-ipv4.txt"
AUTO_ALL_V6_FILE="${SCRIPT_DIR}/auto/all-ru-ipv6.txt"
AUTO_RIPE_V4_FILE="${SCRIPT_DIR}/auto/ripe-ru-ipv4.txt"
VK_NAME_PATTERN='VK[[:space:]-]*CLOUD|VKCOMPANY|VKONTAKTE'
# Additional VK-only text blacklists
VK_INPUT_FILE="${SCRIPT_DIR}/blacklists/blacklist-vk.txt"
VK_INPUT_V4_FILE="${SCRIPT_DIR}/blacklists/blacklist-vk-v4.txt"
VK_INPUT_V6_FILE="${SCRIPT_DIR}/blacklists/blacklist-vk-v6.txt"
# Output directory and files
ROUTES_OUTPUT_DIR="${SCRIPT_DIR}/blacklists_route"
ROUTES_V4_FILE="${ROUTES_OUTPUT_DIR}/blacklist-vk-v4.routes"
ROUTES_V6_FILE="${ROUTES_OUTPUT_DIR}/blacklist-vk-v6.routes"
mkdir -p "${ROUTES_OUTPUT_DIR}" "${SCRIPT_DIR}/blacklists"
echo "Generating VK route blacklists..."
# Build additional VK-only blacklist from network names in auto/*.txt files
TMP_VK_FILE="$(mktemp "${SCRIPT_DIR}/blacklists/.blacklist-vk.XXXXXX")"
for source_file in "${AUTO_ALL_V4_FILE}" "${AUTO_ALL_V6_FILE}" "${AUTO_RIPE_V4_FILE}"; do
[ -f "${source_file}" ] || continue
awk -v pattern="${VK_NAME_PATTERN}" 'BEGIN { IGNORECASE = 1 } $0 ~ pattern { print $1 }' "${source_file}" >> "${TMP_VK_FILE}"
done
sort -u "${TMP_VK_FILE}" > "${VK_INPUT_FILE}"
grep ':' "${VK_INPUT_FILE}" | sort -u > "${VK_INPUT_V6_FILE}" || true
grep -v ':' "${VK_INPUT_FILE}" | sort -u > "${VK_INPUT_V4_FILE}" || true
rm -f "${TMP_VK_FILE}"
# Generate IPv4 routes file (route VK prefixes to loopback via 127.0.0.1)
cat > "${ROUTES_V4_FILE}" << EOF
# Linux routes for VK networks (IPv4)
# Auto-generated by $(basename "$0")
# Last updated: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
#
# Apply:
# sudo sh $(basename "${ROUTES_V4_FILE}")
#
EOF
while IFS= read -r network; do
[ -n "${network}" ] || continue
printf 'ip route replace %s via 127.0.0.1 dev lo onlink\n' "${network}" >> "${ROUTES_V4_FILE}"
done < "${VK_INPUT_V4_FILE}"
# Generate IPv6 routes file (route VK prefixes to loopback via ::1)
cat > "${ROUTES_V6_FILE}" << EOF
# Linux routes for VK networks (IPv6)
# Auto-generated by $(basename "$0")
# Last updated: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
#
# Apply:
# sudo sh $(basename "${ROUTES_V6_FILE}")
#
EOF
while IFS= read -r network; do
[ -n "${network}" ] || continue
printf 'ip -6 route replace %s via ::1 dev lo\n' "${network}" >> "${ROUTES_V6_FILE}"
done < "${VK_INPUT_V6_FILE}"
echo "✓ Generated: ${ROUTES_V4_FILE} (entries: $(wc -l < "${VK_INPUT_V4_FILE}" | tr -d ' '))"
echo "✓ Generated: ${ROUTES_V6_FILE} (entries: $(wc -l < "${VK_INPUT_V6_FILE}" | tr -d ' '))"
echo ""
echo "Examples:"
echo " sudo sh ${ROUTES_V4_FILE}"
echo " sudo sh ${ROUTES_V6_FILE}"