v1.4.4

sleep3r/mtproto.zigv1.4.4Jun 11, 2026by sleep3r

Upgrading?

AI Summary

Dashboard and CLI fixes to correct the display of the masking endpoint port and add functionality to remove the dashboard independently.

Key Highlights

  • Dashboard now displays the real masking endpoint port instead of hardcoded :443
  • Added `mtbuddy setup dashboard --remove` command
  • Interactive menu option to uninstall the dashboard
  • Display-only fix; masking functionality remains unchanged

New Features

  • Dashboard port display correction
  • Dashboard removal command
  • Interactive menu updates

Full Release Notes

<details open>
<summary>🇷🇺 Что нового (RU)</summary>

## Что чинит этот релиз

`v1.4.4` — два фикса дашборда по репортам из Discussions. Только дашборд/CLI; протокол и поведение прокси не меняются — обновление безопасно.

## Эндпоинт маскировки показывает реальный порт (#342)

В карточке **Masking** поле «Эндпоинт» имело **захардкоженный `:443`** — на нестандартном порту (репорт: `port = 7443`) показывалось `tls_domain:443`. `mask_port` (внутренний бэкенд nginx) к этому полю отношения не имеет, и 443 не бралось из конфига вообще.

Теперь дашборд показывает `tls_domain:<port>` — реальный клиентский порт (`public_port`, если задан, иначе порт прослушивания). Это чисто отображение: сама маскировка всегда работала корректно.

## Команда удалить только дашборд (#343)

Раньше существовал только полный `mtbuddy uninstall` (сносит весь прокси) — отдельной команды убрать **только** дашборд не было.

Добавлена **`mtbuddy setup dashboard --remove`** (алиас `--uninstall`): останавливает и отключает `proxy-monitor`, удаляет systemd-unit и `/opt/mtproto-proxy/monitor`, **прокси не трогает**. В **интерактивном меню** `mtbuddy` теперь то же самое: когда дашборд установлен, вместо «Установить дашборд» появляется «Удалить дашборд».

## Обновить дашборд

```bash
sudo mtbuddy update              # поднимет до v1.4.4 (конфиг не трогается)
# или только дашборд:
sudo mtbuddy setup dashboard     # перезальёт ассеты дашборда
```

## Проверено

`zig build test` — **249/249** + кросс-сборки `x86_64-linux`/`aarch64-linux` + `zig fmt` — зелёные.

</details>

---

<details>
<summary>🇬🇧 Release notes (EN)</summary>

## What this release fixes

`v1.4.4` is two dashboard fixes from reported Discussions. Dashboard/CLI only; the proxy protocol and behavior are unchanged — upgrading is safe.

## Masking "Endpoint" shows the real port (#342)

The **Masking** card's "Endpoint" hardcoded `:443`, so a proxy on a non-443 port (reporter: `port = 7443`) showed `tls_domain:443`. `mask_port` is the internal nginx backend and is unrelated to this field; the 443 came from nothing in the config.

The dashboard now shows `tls_domain:<port>` — the real client-facing port (`public_port` if set, else the listen port). Display-only: the masking itself was always correct.

## Command to remove just the dashboard (#343)

Previously only full `mtbuddy uninstall` existed (tears down the whole proxy) — there was no way to remove **only** the dashboard.

Added **`mtbuddy setup dashboard --remove`** (alias `--uninstall`): stops and disables `proxy-monitor`, removes the systemd unit and `/opt/mtproto-proxy/monitor`, and **leaves the proxy running**. The interactive `mtbuddy` menu now mirrors this too: once the dashboard is installed, the "Setup dashboard" entry is replaced by "Remove monitoring dashboard".

## Update the dashboard

```bash
sudo mtbuddy update              # brings the install to v1.4.4 (config untouched)
# or just the dashboard:
sudo mtbuddy setup dashboard     # re-extracts the dashboard assets
```

## Verified

`zig build test` — **249/249** + `x86_64-linux`/`aarch64-linux` cross-builds + `zig fmt` — green.

</details>

## Changelog

* fix(dashboard): show the real masking-endpoint port + add "setup dashboard --remove" ([#344](https://github.com/sleep3r/mtproto.zig/pull/344))
* fix(dashboard): offer "Remove dashboard" in the interactive menu when installed ([#346](https://github.com/sleep3r/mtproto.zig/pull/346))

**Full diff:** https://github.com/sleep3r/mtproto.zig/compare/v1.4.3...v1.4.4

Related Repositories