amneziawg-installer/cascade
Ivan Bondarev f85f1f9e7d
Some checks failed
Docs consistency / docs-consistency (push) Has been cancelled
ShellCheck / Lint and syntax check (push) Has been cancelled
Tests / unit-tests (push) Has been cancelled
docs(cascade): pin ru.zone fallback URL to the release tag (#164)
The awg-routing.sh fallback fetched cascade/ru.zone from main, so a
copied script depended on the mutable main branch - a future restructure
could 404 it or silently change the list. Pin it to the vX.Y.Z release
tag for an immutable snapshot, and add CASCADE.md/.en.md to the
check-docs-consistency raw-URL check so the tag bumps every release.
2026-07-06 20:04:52 +03:00
..
README.md docs(cascade): pin ru.zone fallback URL to the release tag (#164) 2026-07-06 20:04:52 +03:00
ru.zone Release v5.18.4: cascade offline fallback + onlink route retry (#162) 2026-07-06 17:07:07 +03:00

cascade/ru.zone - снимок российских IP-сетей / Russian IP networks snapshot

Русский

ru.zone - снимок агрегированного списка российских (RU) IP-сетей. Его использует скрипт каскадного сплит-роутинга awg-routing.sh (см. CASCADE.md).

При каждом запуске скрипт скачивает актуальный список с ipdeny.com. Этот снимок в репозитории - запасной вариант: если на свежем сервере ipdeny.com недоступен (а локальной копии ещё нет), скрипт берёт файл отсюда через raw.githubusercontent.com, и каскад всё равно поднимается с рабочим списком RU-сетей.

  • Источник: https://www.ipdeny.com/ipblocks/ (агрегированная зона ru-aggregated.zone)
  • Дата снимка: 2026-07-06
  • Сетей: 8626 (IPv4 CIDR, по одной на строку, окончания строк LF)
  • Данные агрегированы из публичных записей о распределении адресов RIR, редистрибуция разрешена.

Скрипт awg-routing.sh из CASCADE.md тянет этот файл по URL, закреплённому на тег релиза (raw.githubusercontent.com/.../vX.Y.Z/cascade/ru.zone), а не на main - так снимок иммутабелен для уже развёрнутых установок. Этот тег обновляется каждый релиз (проверяется scripts/check-docs-consistency.sh).

Как обновить снимок

Обновляйте примерно раз в 6-12 месяцев (российские диапазоны меняются медленно):

curl -fsS -o cascade/ru.zone https://www.ipdeny.com/ipblocks/data/aggregated/ru-aggregated.zone

Закоммитьте обновлённый файл и поправьте дату снимка выше.

English

ru.zone is a snapshot of the aggregated list of Russian (RU) IP networks. It is used by the cascade split-routing script awg-routing.sh (see CASCADE.en.md).

The script downloads the live list from ipdeny.com on every run. This bundled snapshot is a fallback: if ipdeny.com is unreachable on a fresh server (with no locally cached copy yet), the script fetches this file over raw.githubusercontent.com, so the cascade still comes up with a working RU network list.

  • Source: https://www.ipdeny.com/ipblocks/ (aggregated zone ru-aggregated.zone)
  • Snapshot date: 2026-07-06
  • Networks: 8626 (IPv4 CIDR, one per line, LF line endings)
  • The data is aggregated from public RIR allocation records; redistribution is allowed.

The awg-routing.sh script in CASCADE.en.md fetches this file via a URL pinned to the release tag (raw.githubusercontent.com/.../vX.Y.Z/cascade/ru.zone), not main, so the snapshot is immutable for already-deployed installs. That tag is bumped every release (enforced by scripts/check-docs-consistency.sh).

Refreshing the snapshot

Refresh roughly every 6-12 months (RU allocations change slowly):

curl -fsS -o cascade/ru.zone https://www.ipdeny.com/ipblocks/data/aggregated/ru-aggregated.zone

Commit the updated file and update the snapshot date above.