Generates geoip.dat and geosite.dat for Xray with additional data relevant for Russia
Go to file
Neur0toxine eecb11a423
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
cd to current dir in update script
2023-11-29 13:49:36 +03:00
antizapret-pac-generator-light@f14aa53cc0 add used projects as submodules 2023-11-16 11:45:15 +03:00
data initial 2023-11-11 19:49:22 +03:00
domain-list-community@ea255cb173 add used projects as submodules 2023-11-16 11:45:15 +03:00
geoip@3182dda7b3 add used projects as submodules 2023-11-16 11:45:15 +03:00
.drone.yml fix for release build 2023-11-16 12:22:13 +03:00
.gitignore add used projects as submodules 2023-11-16 11:45:15 +03:00
.gitmodules add used projects as submodules 2023-11-16 11:45:15 +03:00
LICENSE Initial commit 2023-11-11 18:34:13 +03:00
Makefile fix for geoip.dat build 2023-11-16 12:37:23 +03:00
README.md update readme && updater example 2023-11-11 22:34:30 +03:00
update.sh cd to current dir in update script 2023-11-29 13:49:36 +03:00

GeoIP & GeoSite with RU Blacklist

Generates geoip.dat and geosite.dat for Xray with additional data:

  • Category with sites blocked in Russia (geosite:category-ru-blocked-domains).
  • category with second-level domains of sites blocked in Russia (geosite:category-ru-blocked-zones).

Data sources:

You can replace original geoip.dat and geosite.dat with the ones from this repo and route only blocked traffic through the proxy.

GeoIP Categories

  • geoip:ru-blocked-ips-all - IP's and IP ranges blocked in Russia.
  • geoip:ru-blocked-ips-directblock - IP's blocked in Russia directly by address.
  • geoip:ru-blocked-ips-noid2971 - IP's and IP ranges blocked in Russia excluding those blocked by 33а-5536/2019.

GeoSite Categories

  • geosite:category-ru-blocked-domains - domains and subdomains blocked in Russia.
  • geosite:category-ru-blocked-zones - only second-level domains blocked in Russia (even if only subdomain was blocked).

Automatic Update

There is no universal recipe. Just download geoip.dat and geosite.dat from latest release daily and replace old files with the new ones. You can find an example of how to get the latest files in the update.sh. And please, for the love of all that is holy, don't put curl -fsSL ... | bash to your crontab, it's not safe.