Re:filter is (an attempt to create) an actual list of blocked domains and IPs in RU + popular and blocked for RU users
  • Python 73.7%
  • Go 26.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-04 13:25:23 +04:00
.github Add Ko-fi and custom funding links 2026-07-04 15:51:18 +04:00
src Revert changes at step4-domain-resolver.py 2026-05-09 08:52:40 +03:00
sum/input Update domains.lst 2026-06-01 00:19:06 +04:00
community.lst Merge pull request #367 from Tilizar/main 2026-07-31 12:46:56 +04:00
community_ips.lst Add Telegram IP ranges to community_ips.lst 2026-03-19 13:18:30 +04:00
discord_ips.lst Update discord_ips.lst 2026-05-04 12:43:13 +03:00
domains_all.lst 01-08-2026 Update 2026-08-01 03:45:21 +00:00
ipsum.lst 01-08-2026 Update 2026-08-01 03:45:21 +00:00
LICENSE Initial commit 2024-09-28 16:45:04 +04:00
ooni_domains.lst 01-08-2026 Update 2026-08-01 03:45:21 +00:00
README.md Add Telegram badge link to README 2026-05-15 20:15:03 +04:00

Telegram

Re:filter

blackandgreen_A_preview_git

Re:filter — это попытка создать актуальный список заблокированных доменов и IP-адресов в РФ, а также популярных и заблокированных для пользователей из России. Этот репозиторий содержит весь исходный код для процесса фильтрации списка доменов РКН, и регулярные выпуски:

  • V2Fly, Xray: geoip.dat, geosite.dat
  • Sing-Box: geoip.db, geosite.db+ .srs файлы
  • Отфильтрованные списки доменов: domains_all.lst
  • Суммированный список IP-адресов: ipsum.lst
  • Список доменов от сообщества (не заблокированных РКН, но ограничивающих доступ с адресов РФ): community.lst
  • Список подсетей и IP адресов от сообщества (не заблокированных РКН, но ограничивающих доступ с адресов РФ): community_ips.lst
  • Список подсетей Discord discord_ips.lst
  • Публичный BGP сервер, где используется суммированный список IP-адресов: 165.22.127.207 (AS 65412)

(Для выпуска автоматических билдов используется код следующих репозиториев: #1)

Пример использования Xray

{
  "routing": {
    "rules": [
      {
        "ip": [
          "ext:geoip.dat:refilter"
        ],
        "type": "field",
        "outboundTag": "proxy"
      },
      {
        "domain": [
          "ext:geosite.dat:refilter"
        ],
        "type": "field",
        "outboundTag": "proxy"
      },
      {
        "type": "field",
        "outboundTag": "direct"
      }
    ]
  }
}

Пример RoutingA для V2RayA:
default: direct
ip(geoip:refilter)->proxy
domain(ext:"LoyalsoldierSite.dat:refilter")->proxy

Пример использования Sing-Box

{
  "route": {
    "final": "direct",
    "auto_detect_interface": true,
    "rules": [
      {
        "rule_set": [
          "refilter_domains",
          "refilter_ipsum"
        ],
        "outbound": "proxy"
      }
    ],
    "rule_set": [
      {
        "tag": "refilter_domains",
        "type": "remote",
        "format": "binary",
        "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs",
        "download_detour": "direct"
      },
      {
        "tag": "refilter_ipsum",
        "type": "remote",
        "format": "binary",
        "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-ip-refilter_ipsum.srs",
        "download_detour": "direct"
      }
    ]
  },
  "experimental": {
    "cache_file": {
      "enabled": true
    }
  }
}

Пример конфигурации bird2 (/etc/bird.conf)

log syslog all;
log stderr all;

router id $IP;

protocol device {
    scan time 300;
}

protocol kernel kernel_routes {
    scan time 60;
    ipv4 {
        import none;
        export all;
    };
}

protocol bgp refilter {
    ipv4 {
        import filter {
            #gw = $IP_GATEWAY;
            ifname = "$INTERFACE";
            accept;
        };
        export none;
    };
    local as 64999;
    neighbor 165.22.127.207 as 65412;
    multihop;
    hold time 240;
}

Re:filter is an attempt to create a relevant list of blocked domains and IPs in Russia, along with popular domains that are also blocked for Russian users. This repository contains all the source code for the RKN domain list filtration process, and regular releases of:

  • V2Fly, Xray: geoip.dat, geosite.dat
  • Sing-Box: geoip.db, geosite.db + .srs rulesets
  • Filtered lists of domains: domains_all.lst
  • Summarized IP list: ipsum.lst
  • Public BGP Server where the summarized IP list is used: 165.22.127.207 (AS 65412)

(The code from the following repositories is used to release automatic builds: #1)

Xray config example

{
  "routing": {
    "rules": [
      {
        "ip": [
          "ext:geoip.dat:refilter"
        ],
        "type": "field",
        "outboundTag": "proxy"
      },
      {
        "domain": [
          "ext:geosite.dat:refilter"
        ],
        "type": "field",
        "outboundTag": "proxy"
      },
      {
        "type": "field",
        "outboundTag": "direct"
      }
    ]
  }
}

RoutingA of V2RayA Example:
default: direct
ip(geoip:refilter)->proxy
domain(ext:"LoyalsoldierSite.dat:refilter")->proxy

Sing-box config example

{
  "route": {
    "final": "direct",
    "auto_detect_interface": true,
    "rules": [
      {
        "rule_set": [
          "refilter_domains",
          "refilter_ipsum"
        ],
        "outbound": "proxy"
      }
    ],
    "rule_set": [
      {
        "tag": "refilter_domains",
        "type": "remote",
        "format": "binary",
        "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs",
        "download_detour": "direct"
      },
      {
        "tag": "refilter_ipsum",
        "type": "remote",
        "format": "binary",
        "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-ip-refilter_ipsum.srs",
        "download_detour": "direct"
      }
    ]
  },
  "experimental": {
    "cache_file": {
      "enabled": true
    }
  }
}

bird2 config example (/etc/bird.conf)

log syslog all;
log stderr all;

router id $IP;

protocol device {
    scan time 300;
}

protocol kernel kernel_routes {
    scan time 60;
    ipv4 {
        import none;
        export all;
    };
}

protocol bgp refilter {
    ipv4 {
        import filter {
            #gw = $IP_GATEWAY;
            ifname = "$INTERFACE";
            accept;
        };
        export none;
    };
    local as 64999;
    neighbor 165.22.127.207 as 65412;
    multihop;
    hold time 240;
}

Поддержать проект

Если этот проект вам полезен можете поддержать его звездой🌟 либо по ссылкам:

Buy Me a Coffee at ko-fi.com
Cryptocurrency & Bitcoin donation button by NOWPayments