From 5b22150f26709c0ad57e7028611c93fa25ef3887 Mon Sep 17 00:00:00 2001 From: Lowder Date: Thu, 20 Nov 2025 00:36:09 +0500 Subject: [PATCH] fix: change ip lists --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- src/lists.rs | 2 +- templates/result.html.tera | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c557012..7e91192 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,7 +171,7 @@ dependencies = [ [[package]] name = "blocklist-check" -version = "0.1.0" +version = "0.1.2" dependencies = [ "chrono", "csv", diff --git a/Cargo.toml b/Cargo.toml index 9c89c33..c48a6d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blocklist-check" -version = "0.1.1" +version = "0.1.2" edition = "2024" [dependencies] diff --git a/README.md b/README.md index d66c9d7..c9a08ac 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ ## Списки -Для проверки используются списки [123jjck/cdn-ip-ranges](https://github.com/123jjck/cdn-ip-ranges) и [antifilter.download](https://antifilter.download/). +Для проверки используются списки [123jjck/cdn-ip-ranges](https://github.com/123jjck/cdn-ip-ranges), [antifilter.download](https://antifilter.download/) и [antifilter.network](https://antifilter.network). --- diff --git a/src/lists.rs b/src/lists.rs index a3dec6a..a3c5e30 100644 --- a/src/lists.rs +++ b/src/lists.rs @@ -146,7 +146,7 @@ impl Updatable for RuBlacklist { async fn download() -> Result { Ok((VecDeque::from( - fetch_db(Self::get_url("RKN_NETS", "https://antifilter.download/list/allyouneed.lst")).await?), + fetch_db(Self::get_url("RKN_NETS", "https://antifilter.network/download/ipsum.lst")).await?), VecDeque::from( fetch_db(Self::get_url("RKN_DOMAINS", "https://antifilter.download/list/domains.lst")).await?), VecDeque::from(include_bytes!("../dist-domains.txt").to_vec()) diff --git a/templates/result.html.tera b/templates/result.html.tera index 75bed8d..cce074a 100644 --- a/templates/result.html.tera +++ b/templates/result.html.tera @@ -75,7 +75,7 @@ {% endfor %}
- Статус РКН + Реестр РКН {% if domain_found or subnet_found %} ОГРАНИЧЕН @@ -86,13 +86,13 @@ {% if domain_found %}
- Домен + Заблокированный домен {{ domain }}
{% endif %} {% if subnet_found %}
- Подсети + Заблокированные подсети
{% for network in blocked_subnets %}

{{ network }}