Skip to content

1.3.1

Choose a tag to compare

@Axel173 Axel173 released this 21 Oct 12:48

Что нового в 1.3.1

Выпуск исправлений и безопасности — новых экранов нет.

Безопасность

  • Бэкап настроек больше не может выполнить код на роутере. Файлы iplist.conf и notify.conf из архива роутер исполнял как скрипт — с правами root, при ближайшем обновлении списков или отправке письма; бэкап, полученный от кого-то другого, мог так запустить что угодно. Теперь роутер только читает из них значения известных ему настроек. Адрес источника списков из бэкапа он скачивает, только если это веб-адрес (http:// или https://); стратегию ByeDPI берёт, только если в ней те же знаки, что разрешает панель; из стратегии Zapret выбрасывает параметры, которые пишут файлы или меняют пользователя программы, и любые пути к файлам; из доменных правил в настройки DNS попадают только сами правила.

Исправлено

  • Падение одного доп-выхода больше не рвёт соединения всего дома. Раньше, когда выход падал или возвращался, роутер сбрасывал все установленные соединения сети — онлайн-игры и удалённый рабочий стол (RDP) отваливались. Теперь сбрасываются только соединения, которые шли через этот выход. То же — при перезапуске основного протокола на месте (смена сервера Xray или Hysteria2, перезапуск ByeDPI) и в подборе стратегии ByeDPI. Смена протокола, аварийный прямой режим и выключение VPN по-прежнему сбрасывают всё: там меняется путь всей сети.
  • Гостевая сеть снова получает имена при включённом шифрованном DNS, выключенном VPN, другом протоколе и в прямом режиме: гости спрашивают DNS самого роутера — и получают ту же блокировку рекламы, свои адреса доменов и раздельный резолв, что и остальная сеть. Правило меняется сразу при обновлении, а удаление системы больше не оставляет его после себя.
  • Мёртвый доп-выход Xray, Hysteria2 или ByeDPI больше не дёргает домашнюю сеть каждые 2 минуты: сторож пробует поднять его с растущей паузой — до раза в полчаса, и письмо говорит именно это. После долгой аварии у провайдера выходы возвращаются сразу.
  • Неудачная смена сервера больше не выглядит удачей: если выбранный сервер AmneziaWG не встал и роутер вернул прежний, тост теперь ошибки (✕), а не успеха.
  • Сервер AmneziaWG сменил адрес, а ключи прежние (подписка или вы сами) — тёплый резерв переходит на новый адрес, а не стучится на старый; выбор сервера в панели, пока VPN везёт другой протокол, переводит резерв сразу.
  • Расписание (crontab) больше не теряет строки при одновременных правках установки, «Задач», расписания обновлений и удаления — например, строку самовосстановления после перезагрузки.
  • DoQ и DoH3 сначала спрашивают QUIC тем путём, которым пойдёт DNS — при включении шифрования, выключении VPN, переходе на ByeDPI или Zapret и в прямом режиме; при смене резолвера прежний отвечает, пока проверяется новый. Не проходит QUIC — шифрование сразу встаёт ступенью ниже (DoT или DoH), а не держит дом без имён.

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

С 1.0.1 и новее: «Роутер» → «Обновление» → «Проверить обновления» → «Установить обновление» → «Обновить страницу».

С 1.0.0 кнопка скрыта — откройте страницу обновления по прямой ссылке http://192.168.31.1:8088/#rr-update (если у роутера другой адрес — подставьте его).

Можно и с компьютера: мастер из архива ниже найдёт установленную панель и обновит её, настройки останутся.


What's new in 1.3.1

A fixes and security release — no new screens.

Security

  • A settings backup can no longer run code on the router. The router used to execute iplist.conf and notify.conf from an archive as a script — as root, at the next list update or mail; a backup received from someone else could run anything that way. Now the router only reads the values of the settings it knows from them. A list source address from a backup is fetched only if it is a web address (http:// or https://); a ByeDPI strategy is taken only if it uses the characters the panel allows; options that write files or change the program's user, and any file paths, are dropped from a Zapret strategy; only the rules themselves go from domain rules into the DNS settings.

Fixed

  • One extra exit falling no longer drops the whole house's connections. When an exit fell or came back, the router used to reset every established connection of the network — online games and remote desktop (RDP) dropped. Now only the connections that went through that exit are reset. The same for an in-place restart of the main protocol (an Xray or Hysteria2 server change, a ByeDPI restart) and for ByeDPI strategy picking. A protocol change, the emergency direct mode and turning the VPN off still reset everything: the whole network's path changes there.
  • The guest network gets names again with encrypted DNS on, the VPN off, another protocol and in direct mode: guests ask the router's own DNS — and get the same ad blocking, own domain addresses and split resolution as the rest of the network. The rule changes right at the update, and removing the system no longer leaves it behind.
  • A dead Xray, Hysteria2 or ByeDPI extra exit no longer jerks the home network every 2 minutes: the watchdog retries it with a growing pause — up to once every half an hour, and the mail says exactly that. After a long ISP outage the exits come back at once.
  • A failed server switch no longer looks like a success: if the chosen AmneziaWG server did not come up and the router went back to the previous one, the toast is an error one now (✕), not a success one.
  • An AmneziaWG server moved to another address with the same keys (a subscription or you) — the warm reserve follows the new address instead of knocking at the old one; choosing a server in the panel while the VPN carries another protocol moves the reserve at once.
  • The schedule (crontab) no longer loses lines when the installer, «Tasks», the update schedule and removal edit it at the same time — for example, the self-heal line after a reboot.
  • DoQ and DoH3 ask QUIC first on the path DNS will take — when encryption is turned on, the VPN off, on a switch to ByeDPI or Zapret and in direct mode; on a resolver change the previous one answers while the new one is checked. If QUIC does not pass, encryption drops a rung (DoT or DoH) at once instead of leaving the house without names.

Updating

From 1.0.1 and newer: Router → Update → «Check for updates» → «Install the update» → «Reload the page».

In 1.0.0 the button is hidden — open the update page by its direct link http://192.168.31.1:8088/#rr-update (if your router has another address, put it instead).

From a computer works too: the wizard in the archive below finds the installed panel and updates it; the settings stay.


Установка с компьютера: скачайте enodia-setup-1.3.1.zip, распакуйте и запустите enodia-setup.bat (Windows) или enodia-setup.command / enodia-setup.sh (macOS / Linux). Пакет кода и программы протоколов обеих архитектур — внутри архива: за ними компьютеру в интернет не нужно (Python и утилиту открытия SSH, если их нет, лаунчер и мастер скачают сами).

enodia-100069.tar.gz — пакет обновления по воздуху: роутеры берут его сами (кнопка «Обновление» в панели), вручную его качать не нужно.


Install from a computer: download enodia-setup-1.3.1.zip, unpack it and run enodia-setup.bat (Windows) or enodia-setup.command / enodia-setup.sh (macOS / Linux). The code package and the protocol programs for both architectures are inside the archive, so the computer needs no internet for them (if Python or the SSH-opening tool is missing, the launcher and the wizard download them).

enodia-100069.tar.gz is the over-the-air update package: routers fetch it themselves (the “Update” button in the panel), there is no need to download it by hand.

Version 1.3.1 (code 100069).