LxBox v2.25.16 发布
已发布 v2.25.16,以下为官方变更日志。
官方变更日志@L×Box v2.25.16
A patch on top of v2.25.15.
An Android TV can take its settings from a phone: the TV shows a QR code, the
phone scans it and sends a backup over the local network. OpenConnect gateways
(FortiGate and others) can be added from a form in Add server; when the
gateway asks for a code or a browser sign-in, the app shows a Sign-in
required notification. DNS settings are now a tab of the Routing screen.
The new Tunnel ingress preset rejects connections that peers open from the
other side of a WireGuard, AmneziaWG, OpenVPN or OpenConnect node, unless the
node allows them. Send HWID is now on by default, and TLS fragmentation
reaches REALITY nodes from every level: see "Read before updating". Also here:
the ⋮ menu and line wrap in the JSON editor, one connection card for Conns and
the profiler, the subscription announce text, "Auto-restart VPN on settings
change" that applies every change, fixes for Speed Test and for a start stuck
in "stopping". Core v1.14.3-lx.21, contract 1.1.132.Патч поверх v2.25.15.
Android TV получает настройки с телефона: TV показывает QR-код, телефон
сканирует его и отправляет бэкап по локальной сети. Шлюзы OpenConnect
(FortiGate и другие) добавляются формой в Add server; когда шлюз просит
код или вход через браузер, приложение показывает уведомление Sign-in
required. Настройки DNS стали вкладкой экрана Routing. Новый пресет
Tunnel ingress отклоняет соединения, которые пиры открывают с той стороны
узла WireGuard, AmneziaWG, OpenVPN или OpenConnect, если узел их не
разрешает. Send HWID теперь включён по умолчанию, а фрагментация TLS
доходит до REALITY-узлов с любого уровня: см. «Прочтите до обновления».
Кроме того: меню ⋮ и перенос строк в редакторе JSON, одна карточка
соединения для Conns и профайлера, текст announce подписки,
«Auto-restart VPN on settings change» применяет каждое изменение,
исправлены Speed Test и старт, застревавший в «stopping». Ядро
v1.14.3-lx.21, контракт 1.1.132.🇬🇧 English
⚠️ Read before updating
- DNS settings moved to the Routing screen (task 655).
The DNS Settings item is gone from the side menu. The same settings are
on the DNS tab of Routing, right after Rules: Directions ·
Presets · Rules · DNS · Tunnel apps. The blocks, editors and dialogs are
unchanged. The Routing menu item now reads "Directions, rules and DNS".
DNS settings in the DNS health sheet and support links to the DNS screen
open Routing on the DNS tab.
- Incoming connections from client tunnels are rejected (task 656).
Peers on the other side of a WireGuard, AmneziaWG, OpenVPN or OpenConnect
node can open connections to the phone: to the phone itself, to the local
network, or out to the internet through it. The new Tunnel ingress
preset is on by default and closes them. On an existing install it is added
once on update; a preset you removed does not come back. What a node lets
in is set in its settings, in the Incoming connections from this tunnel
block:
- Allow access to this device;
- Expose local network — peers reach private networks behind the
phone;
- Allow as gateway — peers send any traffic through the phone.
All three are off by default. The preset has three settings: Incoming
from tunnels (what happens to the rest: reject by default, drop, or an
outbound), Device and local network go to (direct-out by default) and
Gateway traffic goes to (vpn-1 by default). DNS queries from a closed
tunnel are rejected too. Tailscale nodes are not covered: tailnet peers are
limited by Tailscale ACLs.
- Send HWID is on by default (task 658).
Without x-hwid a Remnawave panel registers the device itself, without a
name, and after an app update may count it as a new device against the
limit. If you never touched Send HWID, the app starts sending it with the
next subscription update; an explicit Off stays Off. A panel with a device
limit sees the install once more, now with its name (SM-S918B | Android).
Remove the old nameless device in the panel or the provider's bot.
- TLS fragmentation reaches REALITY nodes from every level (task 665, issue #170).
Since 2.25.12 the global, folder and subscription settings skipped REALITY
nodes. Now REALITY inherits fragmentation like any node, and a node that
gets it from a level above says so under its TLS section. If your REALITY
server does not accept a split ClientHello, set fragmentation to Off on that
node or its subscription.✨ New
- Set up a TV from your phone (task 622, issue #163).
On the TV: Backup & restore → Receive from phone → Show code. On the
phone: Backup & restore → tick the categories → Send to TV → Scan
code. The TV opens the usual Import backup window. The settings travel
encrypted with a one-time key that only the QR code carries; a code lives
10 minutes, works for one transfer and closes after five sends with a wrong
key. The phone sends past its own VPN, so the transfer works with the tunnel
up. Both devices must be on the same network; a guest Wi-Fi often keeps them
apart. The receive item appears only on a TV, the send item only on a device
with a camera. Not yet checked on real devices.
- Source and inbound of connections from other inputs (task 661).
With Tunnel ingress, allowlan / allowgateway on a node, or a local
proxy (mixed-in, sysproxy-in), connections come not only from the TUN.
Conns, Stats → Overview and the profiler feed add / to
such a connection, for example (no owner) · 10.8.0.2:40112 / wg-in. For
tun-in nothing is added. The connection card has a Source group before
Destination.
- OpenConnect in Add server (task 654).
A new OpenConnect tab adds a corporate VPN gateway. The main block has
Tag, Gateway (FortiGate, Cisco AnyConnect, GlobalProtect, F5,
Pulse, Juniper; FortiGate by default), Server (host:port or a full URL,
port 443 if omitted), Username and Password.
- Security: server certificate check (System CA, Pinned fingerprint, or
Do not verify), SNI, Group / Realm (hidden for FortiGate), Disable SSO.
- Advanced (collapsed): TCP only (no DTLS), User-Agent, Hostcheck
(FortiGate only), MTU, DPD interval, Reconnect timeout, Disable IPv6,
Allow legacy crypto.An empty field writes no key. A token, a client certificate and a cookie
are set in JSON. The node row shows the gateway type, for example
openconnect·fortinet. If UDP to the gateway does not get through, the
core falls back to TLS after about 8 s; TCP only (no DTLS) skips that
wait.
- OpenConnect form on the Source tab of a node (task 654).
For an OpenConnect node the same form sits above the JSON on Source.
The form and the JSON are one body: a field change rewrites the text, a
text change updates the form. Keys the form does not show (token,
cookie, detour, client certificate) are kept. Changes are saved with
the screen's Save. While the text is not a valid JSON object, the form
is off and says so.
- Sign-in codes and browser SSO for OpenConnect (task 654).
- When the gateway asks for a second factor, a Sign-in required:
notification appears, and the node row shows Waiting for sign-in. The
dialog shows the gateway's fields and message. Submit sends the code,
Not now closes the dialog and leaves the request pending, Request a
new code makes the gateway send a fresh one. After two wrong codes in a
row the dialog warns that each wrong code starts a new sign-in on the
gateway.
- FortiGate SAML: the Sign in in your browser dialog opens the link in
the browser. The app listens on 127.0.0.1 (the port the gateway names,
otherwise 8020) and hands the redirect back to the core.
- SSO that needs a cookie from an embedded browser (Cisco AnyConnect and
others) is not supported: the dialog says so.
Code entry and SAML have not yet been run against a live gateway with MFA.
- Line-wrap button in the JSON editor (task 649).
The Config editor and the read-only JSON views with sticky headers
(subscription Source, node JSON) have a wrap button next to search.
Wrapping is off by default, the button is highlighted while it is on, and
the choice is not saved: the screen opens again without wrapping. While
wrapping is on there are no sticky headers — the editor draws them only for
unwrapped text. Laying out a very long line takes time; a thin progress bar
at the top of the field shows while it runs.
- Subscription description from the announce header (task 648).
Providers send a short text in announce (base64:… or plain), for example
a legend for the emoji in node names. It is shown in the subscription header
under Expires: up to 4 lines, a tap expands the whole text. If the header
is missing, the same key is read from the comments at the top of the body.
- Tag prefix from the emoji in the subscription name (task 647).
When a new subscription first gets its name and the prefix is empty, the
emoji group from the name becomes the prefix: Liberty VPN 🗽 → 🗽. A
prefix already taken gets an index: 🗽2. Existing subscriptions keep their
prefixes.
- Source tab: base64: headers decoded (task 650).
Values such as profile-title and announce are shown as text; the
base64 label under the header name switches the line back to the raw
value. Copy still copies the raw block.🔄 Changed
- ⋮ menu in the JSON editor (task 660).
Every JSON field and viewer has a ⋮ menu at the right end of its button row.
Format moves there, and read-only viewers (subscription Source, node
JSON) get it too: it formats only what is shown, Show original brings
the source text back. Magnifier turns the selection magnifier on and
off; the choice is saved for the whole app. After a wrap toggle or Format the
wrap button and the menu show a spinner and ignore taps until the lines are
laid out.
- Editor gestures follow the direction of the swipe (task 649).
- A sideways swipe over a line that does not fit scrolls the text; the tab
stays. Where nothing scrolls sideways, the swipe switches the tab as
before.
- A vertical swipe scrolls the text. Once the text is at its edge, the next
swipe in the same direction scrolls the page.
- With a selection the editor keeps the whole touch, so the handles move in
any direction.
- "Skip presets" is now "Skip Tailscale presets" (task 656).
The switch is shown only on Tailscale nodes and affects only the Tailscale
preset. The old setting carries over, including from older LX Backup files.
- One connection card for Conns and the profiler (task 662).
Both screens open the same card with the same groups in the same order. Each
keeps its own blocks: One-way traffic and Close on Conns, DNS and Issues
in the profiler. A closed connection shows a TCP· / UDP· badge; a tap on
it says TCP closed / UDP closed.
- One User-Agent for every request of the app (task 659).
Rule-sets, update checks, Donate and the support feed, Speed Test, community
servers, node diagnostics and the TV transfer send LxBox-android/,
the same string as the subscription default. Custom User-Agent applies to
subscriptions only. WARP registration keeps the Cloudflare client string;
ping and auto-select are unchanged.
- WARP: the eight 8.x blocks are back in the WireGuard endpoint pool (task 651).
They were removed in June as unreachable; fresh measurements show them
answering on a par with the other blocks.🩹 Fixed
- "Auto-restart VPN on settings change" applies every change (task 667).
Enabling a large subscription and going back at once, applying a Direction
from the home list, two edits within three seconds, or an edit made during a
rebuild could leave the "restart VPN" banner instead of a reload. One check
now decides for every path; a change that falls into the three-second pause
is applied when the pause ends. Editing a chain or adding a source on
Servers no longer reloads the VPN on its own: with the setting off they
show the banner like any other change.
- Start after a long idle no longer hangs in "stopping" (task 663).
Start could stay dead until the app was force-closed. The force stop now
reaches the service even after its receiver is gone. Checked on the
emulator only.
- Speed Test opens with the VPN up (task 666).
Since 2.25.13 the route label under the ti…