Skip to content

Releases: Ati054/sb-gateway

SB Gateway 1.6.58

Choose a tag to compare

@Ati054 Ati054 released this 14 Oct 21:27

SB Gateway 1.6.58

  • WAN ping switch for managed IPv4/IPv6 clients, enabled by default. Related ICMP errors always pass; multicast and broadcast survive removal from editable exclusions. Other public IP protocols are blocked. Legacy rollback preserves the RouterOS import contract.
  • Reverse status uses online telemetry, name editing preserves focus, and startup waits up to 30 seconds for a selected working Reverse. Profiles stay independent; blocked internal tunnels are avoided without terminating streams.
  • Five-second HTTPS availability rounds, additional sites after two seconds, fresh-measurement URLTest failover and cleanup of stalled REALITY probe sockets.
  • ACME issuance for inactive profiles and queued-request preservation across unchanged saves. Interrupted issuance still requires explicit retry.
  • After upgrading, run Apply once to reconcile settings and RouterOS rules. Managed LAN IPv6 TCP/UDP proxying is not added.

SB Gateway 1.6.49

Choose a tag to compare

@Ati054 Ati054 released this 10 Oct 08:40

SB Gateway 1.6.49

Memory And CPU

  • Linux Go heaps use GODEBUG=disablethp=1 to avoid transparent huge-page inflation. Host kernel settings, memory limits, GC targets and connection buffers are unchanged.
  • Gateway and patched Xray share one executable, with independent processes, heaps and restart supervision.
  • Health workers share immutable catalogs; reverse status reuses the existing local API connection.
  • GeoIP rules use shared, content-addressed binary assets instead of repeated inline CIDR lists.
  • Healthy watchdog cycles verify the known core PID without scanning every process. Other readiness checks are retained.

Routing And Apply

  • URLTest selects by HTTPS latency, not download speed. Speed settings, accumulated penalties, the 600-second return pause and P95 are removed.
  • Planned switches require the configured millisecond advantage and two fresh confirmations. Confirmed outages trigger bounded parallel reserve searches; shared nodes are not probed twice.
  • Apply restores an eligible saved node with only an unconfirmed failure. Probe evidence cannot cross core, pool or DNS generations; planned restarts pause probes only while a bounded live Apply guard is valid.
  • GeoIP publication is atomic, supports hot routing updates and rolls back failed candidates. Obsolete files are removed after confirmation; active, startup and rollback references remain protected.
  • Quality rows show the period median, keep the active node first and sort URLTest reserves by median. Delta, % compares fresh HTTPS samples; failures are labelled HTTPS errors, not packet loss.

DNS And Settings

  • Encrypted DNS uses bounded deadlines, validates DoH responses, reconnects failed keep-alive sessions and cancels work before restart.
  • Managed IPv4 queries to RouterOS-local TCP/UDP DNS retain client identity and follow policy DNS, internal zones and WAN exceptions. Recovery admits DNS marking before expiring affected old flows.
  • Separate service cards cover eWeLink/Sonoff, Xiaomi Home, Tuya/Smart Life, Aqara and Shelly; exchange-card dependencies follow traffic and DNS routes.
  • Routing drafts persist across navigation and global Apply. RouterOS memory-high and memory-max are independently editable with restart confirmation and readback.

Startup And Dependencies

  • RouterOS uses a one-shot storage-aware boot worker: actual root and enabled mount disks, two readiness confirmations, then mount-source checks. Boot never creates replacement folders.
  • Image updates use the storage gate before candidate start and ordinary rollback. Offline recovery keeps a broken predecessor stopped.
  • Appliance shutdown is bounded to 30 seconds after cancellation; a stuck worker or diagnostic logger cannot indefinitely prevent PID 1 from exiting.
  • Both executable roles use Go 1.27.2, updated HTTP/2 dependencies and shared-core compress 1.18.7. See Security for remaining audit limitations.

Upgrade And Limits

Use the normal ARM64 image-update workflow. Saved RouterOS REST credentials enable automatic boot-contract migration after probation; no manual script import is needed. Legacy native autostart needs one controlled restart; an already migrated installation does not restart. Runtime mutations wait for migration to finish. Fresh installs require the matching bundle, including container-startup.rsc.

Storage waiting is limited to 150 checks with two-second gaps; command execution adds time. Missing mount sources refuse startup. Structural runtime restarts still interrupt established connections. Router-local DNS interception is IPv4-only, and external cloud reachability is not guaranteed. Existing policy modes and configured memory budgets are retained.

SB Gateway 1.6.35

Choose a tag to compare

@Ati054 Ati054 released this 03 Oct 07:41

SB Gateway 1.6.35

Изменения относительно публичной 1.6.34.

URLTest и Приоритет

  • Подтверждённая просадка собственной скорости активного узла запускает поиск стабильного резерва. В URLTest пороги просадки и выигрыша независимы; в приоритетном режиме есть только порог просадки, 0 отключает скоростной выход.
  • URLTest сравнивает резервы свежими парами до переключения, избегая промежуточного более медленного узла. В приоритетном режиме сохраняется порядок очереди; чужой прирост скорости не меняет маршрут сам по себе.
  • Недавно просевшие узлы проходят защиту от планового возврата; одиночный всплеск скорости её не отменяет. Аварийный поиск работающего маршрута не задерживается этой защитой.
  • Скоростные замеры связаны с имеющимися интервалами качества: стандартно активный узел каждые 3 минуты, рабочие резервы каждые 15 минут. Нового поля интервала нет; подтверждения, общие лимиты и медленный обход остального набора могут увеличивать ожидание.
  • Авто использует 5 одновременных HTTPS-проверок и рабочий пул из 5 узлов. Листы делят общий бюджет уникальных серверов и не дублируют свежие проверки пересекающихся узлов. Сохранённые настройки не перезаписываются; скоростные скачивания выполняются последовательно.
  • Ошибки подготовки служебного селектора Xray не считаются отказом VPN-узла. Параллельные фоновые API-команды ограничены; прерванные проверки повторяются без ложного ухудшения здоровья маршрута.

URLTest And Priority

  • Confirmed degradation against the active node's own speed baseline starts a stable-reserve investigation. URLTest has independent drop/gain thresholds; priority mode exposes only the drop threshold, with 0 disabling speed-driven exits.
  • URLTest freshly compares reserves before switching, avoiding an intermediate slower choice. Priority retains queue order and does not switch merely because a reserve gains speed.
  • Recently degraded nodes require spaced recovery confirmations before planned return. One speed spike does not clear protection; emergency recovery still searches for a working route.
  • Routine speed follows existing quality intervals: normally 3 minutes for the active node and 15 minutes for working reserves. No extra interval field is added. Confirmation work, shared budgets and slower inventory exploration can delay measurements.
  • Auto uses 5 concurrent HTTPS checks and a 5-node working pool. Lists share a unique-endpoint budget and reuse fresh overlapping results. Saved limits are preserved; speed downloads remain sequential.
  • Local Xray selector preparation errors do not penalize VPN node health. Concurrent background API commands are bounded, and interrupted work is retried.

SB Gateway 1.6.34

Choose a tag to compare

@Ati054 Ati054 released this 02 Oct 18:52

SB Gateway 1.6.34

Русский

Изменения относительно SB Gateway 1.6.27.

Исправления 1.6.34

  • URLTest избегает лишнего промежуточного переключения, если свежие сравнения уже выявили существенно лучший допустимый резерв. Новый кандидат проходит собственные подтверждения; защита от возврата на нестабильный узел сохранена.
  • Плановые сравнения больше не сдвигают очередь обхода непроверенных узлов. Незавершённый замер скорости при проверке одного узла не считается нулевой скоростью.
  • В журнал плановых переключений на лучший узел добавлены свежие задержки и скорости сравниваемых узлов, время и результат сравнения.
  • Selector API Xray остаётся доступным во время компиляции крупных GeoIP-правил; обновление маршрутов сохраняет последний выбранный узел.
  • Убраны успешные входы и выходы выделенного служебного пользователя из обычного журнала RouterOS без глобального отключения аудита. Чужие входы, ошибки и предупреждения сохраняются. Фильтры устанавливаются после обновления контейнера и восстанавливаются перед полным удалением через Web UI.
  • Фоновая синхронизация служебных фильтров не конкурирует с Apply. После успеха перепроверка выполняется раз в час, не меняя частоту URLTest и watchdog.
  • Для активного узла таблица качества показывает текущую медиану и последний успешный замер скорости со временем; для остальных сохранена накопленная статистика. Убрана колонка «К активному», смешивавшая разные окна измерений.

Ядро и соединения

  • Серверный Xray-core обновлён с 26.9.9 до 26.9.30.
  • Исправлены сбои при одновременном переключении узлов, установлении XHTTP-соединений и обновлении TLS-сертификатов.
  • Зависшее установление XHTTP/TCP-соединения ограничено тайм-аутом. Открытые TCP-соединения сохраняются при смене узла.
  • Обновление правил маршрутизации сохраняет выбранный узел.

Маршрутные листы и каталог

  • Добавлены динамические группы узлов из одной или всех подписок: фильтры по стране, протоколу, имени и emoji, исключения целых слов. Состав обновляется вместе с подписками; доступны предварительный просмотр и исходный порядок узлов.
  • Добавлены правила доменов, IP/CIDR и TCP/UDP-портов и диапазонов через WAN или VLESS, с дополнительными HTTP/TLS/QUIC-фильтрами для доменных и IP-правил. Правила учитываются в совместимых клиентских профилях.
  • Расширен каталог сервисов Китая и Ирана. Улучшена обработка GeoSite; новые выбранные карточки обновляются перед применением. Исправлены DNS-исключения RouterOS для неподдерживаемых GeoSite-меток.
  • Добавлены маршруты GeoIP по выбранным странам: ручное и ежедневное обновление, ограничение размера базы и активация без перезапуска Xray. При неуспешном обновлении восстанавливаются прежние правила.

Применение и восстановление

  • Исправлены ошибочные откаты конфигурации с крупной GeoIP-базой и повторная тяжёлая проверка той же базы.
  • Фоновое обновление GeoIP не вмешивается в применение и откат. Посторонняя настройка monitor не перезапускает Xray и не загружает неизменные GeoIP-правила повторно.
  • Сохранение, сброс и редактирование черновика при занятой конфигурации сразу возвращают конфликт без изменения данных, вместо поздней записи после ошибки 504.
  • После планового перезапуска и применения настроек восстанавливается управляемый трафик. Watchdog не мешает незавершённому откату RouterOS.
  • Устранены ложные отказы watchdog из-за форматирования правил firewall.
  • Публичный ICMP управляемых клиентов явно отклоняется; устранены циклы маршрутизации и непредусмотренный обход через WAN.

URLTest, подписки и панель

  • История узлов сохраняется при перезапуске и ошибке чтения состояния. Обновление подписки обновляет выбранный узел без потери истории остальных.
  • Подтверждённые отказы отделены от плановых замеров; нестабильные узлы временно исключаются из планового возврата. После общего сбоя WAN/DNS активный узел проверяется заново.
  • Аварийный поиск резерва не прерывается фоновой проверкой другого листа. Результаты проверок старой конфигурации не вызывают переключение.
  • Скрипты RouterOS автоматически согласуются с версией контейнера. Журналы «Маршруты» и Control plane разделены, обычные проверки не засоряют журнал RouterOS.
  • Улучшены редакторы листов, групп и правил на компьютерах и телефонах. Статус обновления подписки различает загрузку узлов и их активацию; предупреждение о нестабильности требует устойчивого отказа.

English

Changes since SB Gateway 1.6.27.

Fixes In 1.6.34

  • URLTest avoids an unnecessary intermediate switch when fresh comparisons already identify a materially better eligible reserve. A new candidate must pass its own confirmations; unstable-node return protection is retained.
  • Planned comparisons no longer advance the scan queue past untested nodes. An inconclusive speed measurement in a single-node batch is not treated as zero throughput.
  • Planned optimization switch events include fresh delays and speeds for the compared nodes, comparison time and outcome.
  • The Xray selector API remains responsive while large GeoIP rules compile; routing updates retain the latest selected node.
  • Successful login/logout chatter from the dedicated service account is removed from ordinary RouterOS logs without globally disabling account auditing. Other users, errors and warnings remain visible. Filters are installed after the container upgrade and restored before full uninstall through the Web UI.
  • Background service-log reconciliation does not compete with Apply. Successful reconciliation repeats hourly without changing URLTest or watchdog cadence.
  • The active node's quality row shows its current median and last successful speed measurement with timestamps; other rows retain accumulated statistics. Removed the relative-to-active column that mixed measurement windows.

Core And Connections

  • Server Xray-core updated from 26.9.9 to 26.9.30.
  • Fixed failures during concurrent node switching, XHTTP connection setup and TLS certificate refresh.
  • Stalled XHTTP/TCP connection setup is bounded by a timeout. Established TCP connections survive node switching.
  • Routing updates retain the selected node.

Policies And Catalog

  • Added dynamic node groups from one or all subscriptions, with country, protocol, name and emoji filters, whole-word exclusions, membership preview and original node order. Membership updates with subscriptions.
  • Added domain, IP/CIDR and TCP/UDP port/range rules through WAN or VLESS, with optional HTTP/TLS/QUIC filters for domain and IP rules. Compatible client profiles include these rules.
  • Expanded the China and Iran service catalog. Improved GeoSite handling and refresh of newly selected cards before Apply. Fixed RouterOS DNS exceptions for unsupported GeoSite labels.
  • Added country-based GeoIP routes with manual/daily updates, database size limits and activation without restarting Xray. Failed updates restore the previous rules.

Apply And Recovery

  • Fixed premature rollbacks with large GeoIP databases and repeated heavy validation of the same database.
  • Background GeoIP updates do not interfere with Apply or rollback. Unrelated monitor settings do not restart Xray or reload unchanged GeoIP rules.
  • Draft save, reset and editing return an immediate conflict without changing data when configuration is busy, instead of writing after a 504 error.
  • Managed traffic recovers after planned restarts and configuration changes. Watchdog respects pending RouterOS rollback.
  • Fixed false watchdog failures caused by firewall rule formatting.
  • Managed public ICMP is explicitly rejected, preventing routing loops and unintended WAN bypass.

URLTest, Subscriptions And UI

  • Node history survives restarts and state-read errors. Subscription updates refresh the selected node without losing other nodes' history.
  • Confirmed failures are separate from scheduled measurements; unstable nodes are temporarily excluded from planned returns. WAN/DNS recovery triggers a fresh active-node check.
  • Emergency recovery is not interrupted by another policy's background probe. Results from an old configuration cannot trigger switching.
  • RouterOS scripts reconcile automatically with the container version. Route and Control plane logs are separated; routine probes no longer fill the RouterOS log.
  • Improved desktop/mobile policy, group and rule editors. Subscription status distinguishes downloaded nodes from runtime activation; unstable-route warnings require sustained failure.

SB Gateway 1.6.33

Choose a tag to compare

@Ati054 Ati054 released this 01 Oct 01:15

SB Gateway 1.6.33

Русский

Изменения относительно SB Gateway 1.6.27.

Ядро и соединения

  • Серверный Xray-core обновлён с 26.9.9 до 26.9.30.
  • Исправлены сбои при одновременном переключении узлов, установлении XHTTP-соединений и обновлении TLS-сертификатов.
  • Зависшее установление XHTTP/TCP-соединения ограничено тайм-аутом. Открытые TCP-соединения сохраняются при смене узла.
  • Обновление правил маршрутизации сохраняет выбранный узел.

Маршрутные листы и каталог

  • Добавлены динамические группы узлов из одной или всех подписок: фильтры по стране, протоколу, имени и emoji, исключения целых слов. Состав обновляется вместе с подписками; доступны предварительный просмотр и исходный порядок узлов.
  • Добавлены правила доменов, IP/CIDR и TCP/UDP-портов и диапазонов через WAN или VLESS, с дополнительными HTTP/TLS/QUIC-фильтрами для доменных и IP-правил. Правила учитываются в совместимых клиентских профилях.
  • Расширен каталог сервисов Китая и Ирана. Улучшена обработка GeoSite; новые выбранные карточки обновляются перед применением. Исправлены DNS-исключения RouterOS для неподдерживаемых GeoSite-меток.
  • Добавлены маршруты GeoIP по выбранным странам: ручное и ежедневное обновление, ограничение размера базы и активация без перезапуска Xray. При неуспешном обновлении восстанавливаются прежние правила.

Применение и восстановление

  • Исправлены ошибочные откаты конфигурации с крупной GeoIP-базой и повторная тяжёлая проверка той же базы.
  • Фоновое обновление GeoIP не вмешивается в применение и откат. Посторонняя настройка monitor не перезапускает Xray и не загружает неизменные GeoIP-правила повторно.
  • Сохранение, сброс и редактирование черновика при занятой конфигурации сразу возвращают конфликт без изменения данных, вместо поздней записи после ошибки 504.
  • После планового перезапуска и применения настроек восстанавливается управляемый трафик. Watchdog не мешает незавершённому откату RouterOS.
  • Устранены ложные отказы watchdog из-за форматирования правил firewall.
  • Публичный ICMP управляемых клиентов явно отклоняется; устранены циклы маршрутизации и непредусмотренный обход через WAN.

URLTest, подписки и панель

  • История узлов сохраняется при перезапуске и ошибке чтения состояния. Обновление подписки обновляет выбранный узел без потери истории остальных.
  • Подтверждённые отказы отделены от плановых замеров; нестабильные узлы временно исключаются из планового возврата. После общего сбоя WAN/DNS активный узел проверяется заново.
  • Аварийный поиск резерва не прерывается фоновой проверкой другого листа. Результаты проверок старой конфигурации не вызывают переключение.
  • Скрипты RouterOS автоматически согласуются с версией контейнера. Журналы «Маршруты» и Control plane разделены, обычные проверки не засоряют журнал RouterOS.
  • Улучшены редакторы листов, групп и правил на компьютерах и телефонах. Статус обновления подписки различает загрузку узлов и их активацию; предупреждение о нестабильности требует устойчивого отказа.

English

Changes since SB Gateway 1.6.27.

Core And Connections

  • Server Xray-core updated from 26.9.9 to 26.9.30.
  • Fixed failures during concurrent node switching, XHTTP connection setup and TLS certificate refresh.
  • Stalled XHTTP/TCP connection setup is bounded by a timeout. Established TCP connections survive node switching.
  • Routing updates retain the selected node.

Policies And Catalog

  • Added dynamic node groups from one or all subscriptions, with country, protocol, name and emoji filters, whole-word exclusions, membership preview and original node order. Membership updates with subscriptions.
  • Added domain, IP/CIDR and TCP/UDP port/range rules through WAN or VLESS, with optional HTTP/TLS/QUIC filters for domain and IP rules. Compatible client profiles include these rules.
  • Expanded the China and Iran service catalog. Improved GeoSite handling and refresh of newly selected cards before Apply. Fixed RouterOS DNS exceptions for unsupported GeoSite labels.
  • Added country-based GeoIP routes with manual/daily updates, database size limits and activation without restarting Xray. Failed updates restore the previous rules.

Apply And Recovery

  • Fixed premature rollbacks with large GeoIP databases and repeated heavy validation of the same database.
  • Background GeoIP updates do not interfere with Apply or rollback. Unrelated monitor settings do not restart Xray or reload unchanged GeoIP rules.
  • Draft save, reset and editing return an immediate conflict without changing data when configuration is busy, instead of writing after a 504 error.
  • Managed traffic recovers after planned restarts and configuration changes. Watchdog respects pending RouterOS rollback.
  • Fixed false watchdog failures caused by firewall rule formatting.
  • Managed public ICMP is explicitly rejected, preventing routing loops and unintended WAN bypass.

URLTest, Subscriptions And UI

  • Node history survives restarts and state-read errors. Subscription updates refresh the selected node without losing other nodes' history.
  • Confirmed failures are separate from scheduled measurements; unstable nodes are temporarily excluded from planned returns. WAN/DNS recovery triggers a fresh active-node check.
  • Emergency recovery is not interrupted by another policy's background probe. Results from an old configuration cannot trigger switching.
  • RouterOS scripts reconcile automatically with the container version. Route and Control plane logs are separated; routine probes no longer fill the RouterOS log.
  • Improved desktop/mobile policy, group and rule editors. Subscription status distinguishes downloaded nodes from runtime activation; unstable-route warnings require sustained failure.

SB Gateway 1.6.27

Choose a tag to compare

@Ati054 Ati054 released this 27 Sep 15:30

SB Gateway 1.6.27

Русский

  • Убраны ложные переключения и задержки при выборе рабочего резерва.
  • URLTest повторяет неудачный замер скорости и быстрее уходит с медленного узла.
  • Уменьшено накопление памяти при обновлении подписок без разрыва открытых соединений.

Для обновления загрузите sb-gateway-1.6.27-linux-arm64.tar в разделе
Эксплуатация → Обновление контейнера. Для новой установки используйте
sb-gateway-1.6.27-routeros-bundle.zip.

English

  • Fixed false route switches and delays when choosing a working backup node.
  • URLTest retries failed speed measurements and leaves a slow node sooner.
  • Reduced memory buildup during subscription updates without dropping open connections.

To update, upload sb-gateway-1.6.27-linux-arm64.tar under Operations →
Container update
. For a new installation, use
sb-gateway-1.6.27-routeros-bundle.zip.

SB Gateway 1.6.26

Choose a tag to compare

@Ati054 Ati054 released this 27 Sep 00:56

SB Gateway 1.6.26

Русский

  • URLTest учитывает заданный прирост скорости. Переключение допускает до 50 мс
    дополнительной HTTPS-задержки; защита от частых переключений сохранена.
  • Подпись порога HTTPS-задержки в панели уточнена: настройка относится к
    медиане, а не к p95 в таблице качества.

Для обновления загрузите sb-gateway-1.6.26-linux-arm64.tar в разделе
Эксплуатация → Обновление контейнера. Для новой установки используйте
sb-gateway-1.6.26-routeros-bundle.zip.

English

  • URLTest uses the configured speed gain. A switch may add up to 50 ms of
    HTTPS latency; anti-flap protection remains in place.
  • The panel now labels the HTTPS latency limit as a median threshold, not the
    p95 value shown in the quality table.

To update, upload sb-gateway-1.6.26-linux-arm64.tar under Operations →
Container update
. For a new installation, use
sb-gateway-1.6.26-routeros-bundle.zip.

SB Gateway 1.6.25

Choose a tag to compare

@Ati054 Ati054 released this 26 Sep 22:24

SB Gateway 1.6.25

Русский

  • Активный узел проверяется по трём HTTPS-целям, чтобы отказ одного сайта
    не вызывал лишнее переключение.
  • После обновления успешные fetch-опросы не заполняют журнал RouterOS.
  • Исправлена загрузка адресов Cloudflare. Если используется этот скрипт,
    повторно импортируйте routeros/cloudflare-update.rsc из нового bundle.

English

  • The active node uses three HTTPS targets, so one failed site does not
    trigger an unnecessary switch.
  • Successful fetch polling no longer fills RouterOS logs after an update.
  • Cloudflare address downloads are fixed. If you use this script, re-import
    routeros/cloudflare-update.rsc from the new bundle.

SB Gateway 1.6.24

Choose a tag to compare

@Ati054 Ati054 released this 26 Sep 17:47

SB Gateway 1.6.24

Русский

  • Ошибка подключения к активному VLESS-узлу запускает внеочередную проверку.
    Переключение происходит после подтверждения отказа и проверки резерва.
  • Быстрый поиск резерва работает с короткими и большими списками; размер
    аварийной порции настраивается от 1 до 10 узлов.
  • При изменении параметров узла подписки прежняя история проверок сбрасывается.
  • В панели появился журнал «Маршруты». Успешные опросы больше не заполняют
    журнал RouterOS.

English

  • A connection error on the active VLESS node triggers an immediate check.
    Failover still requires confirmed failure and a working reserve.
  • Fast reserve search covers small and large lists; the emergency batch size
    can be set from 1 to 10 nodes.
  • Changing a subscribed node's connection details clears its old check history.
  • The panel adds a Routes log. Successful polling no longer fills RouterOS logs.

SB Gateway 1.6.22

Choose a tag to compare

@Ati054 Ati054 released this 23 Sep 21:59

SB Gateway 1.6.22

Русский

  • При полном отказе система проверяет оставшиеся резервные узлы без паузы
    между аварийными порциями.
  • Старые снимки подписок и обработчики Xray удаляются без потери выбранного узла.

English

  • After a full outage, the system checks remaining reserve nodes without a
    pause between emergency batches.
  • Old subscription snapshots and Xray handlers are cleaned up without removing
    the selected node.