LxBox v2.25.19 发布

已发布 v2.25.19,以下为官方变更日志。

官方变更日志

L×Box v2.25.19

A patch on top of v2.25.18.
It closes the v2.25.19-rc.1 … rc.3 line and adds the changes made after rc.3.

TrustTunnel: tt:// links become nodes, and the Android core now
includes the protocol. Taildrop: send and receive files over a Tailscale
node, and «📋 Send» from the VPN notification puts text and links on your
other devices. Mixins keep your own additions to the final core config
across rebuilds. DNS gets Hosts servers and Hosts in groups; template DNS
servers are editable and can be reordered. Rules match the network type,
metered networks and package or domain regexes. A node budget caps the total
number of nodes, and the number of parallel checks is configurable. VPN
Settings → Core and App Settings are laid out as cards. Core
v1.14.4-lx.31, contract 1.1.160.

Патч поверх v2.25.18.
Закрывает линию v2.25.19-rc.1 … rc.3 и добавляет изменения, сделанные после
rc.3.

TrustTunnel: ссылки tt:// становятся узлами, а Android-ядро теперь
включает этот протокол. Taildrop — отправка и приём файлов через узел
Tailscale, а «📋 Send» из уведомления VPN кладёт текст и ссылки на другие
ваши устройства. Mixins хранят свои вставки в итоговый конфиг ядра и
переживают пересборки. В DNS появились серверы Hosts и Hosts у групп;
шаблонные DNS-серверы редактируются и переставляются. Правила различают тип
сети, лимитные сети и регулярки по пакету и домену. Бюджет узлов ограничивает
их общее число, число параллельных проверок настраивается. VPN Settings →
Core и App Settings оформлены карточками. Ядро v1.14.4-lx.31, контракт
1.1.160.

🇬🇧 English

⚠️ Read before updating

  • Node budget: 1000 nodes in total by default (task 714, issue #190).

Manual servers and enabled folder members are never cut; enabled
subscriptions share the rest. A subscription above its share keeps its
first nodes, and its card reads «N of M nodes» with ⚠. If you use
subscriptions with more nodes, raise the limit in App Settings → General →
Node budget.

  • Taildrop is off on every Tailscale node, existing ones included

(task 707). A node
receives and sends files only after «Allow Taildrop» is turned on in its
settings; it takes effect after the VPN restarts.

  • WireGuard sleep settings moved to VPN Settings → Core and start from the

defaults (task 709).
Suspend idle tunnels 30 seconds, Suspend active-route tunnels 5 minutes,
Lazy tunnel build on, Built tunnels limit 5. Values chosen earlier on the
System tab are not carried over: set them again if they differed.

  • Memory limit: Auto sets no cap, Off is folded into Auto (task 705).

The limit is now compared with the core's own memory (its Go runtime), not
with the whole app process it shares with the interface and libraries: a
200 MB cap used to trip right at start and only made the garbage collector
heat the phone. The core keeps watching the phone's free memory as before.
The 200–768 MB presets stay for an explicit choice, and a value chosen
earlier is kept.

  • «Interrupt connections on switch» is removed (task 143).

The switch in VPN Settings → System only duplicated each Direction's own
checkbox of the same name and could override it: the core has dropped a
Direction's connections on any node switch since 2.20.9. If it was on, the
update turns the checkbox on in every Direction where it was off. The Debug
API route /settings/interruptonswitch is gone; an old backup with this
setting still restores.

  • Default TUN MTU is 9000 instead of 1492 (task 700).

9000 is the sing-box default. The tunnel interface is virtual and the core
re-sends TCP at the real network MTU, so a small value only added packets
and CPU work. Installs where MTU was never changed get 9000 with the next
config build; a value set by hand stays.

  • DNS servers that something refers to are switched on. A setup from

older versions where a referenced DNS server is off (a group member, a
domain resolver, DNS Final, Default Domain Resolver) is fixed on start: the
server is switched on, and the app log says why.

  • AmneziaWG masquerade through a detour. With core lx.31 an AWG node

with a masquerade burst (ip=quic, i1…) sends the burst only when it
connects on the device's own socket; through a detour it sends a plain
handshake. This lets such a node come up through a relay that sniffs QUIC.
If an AWG node behind a detour behaves differently after the update,
report it.

✨ New

  • TrustTunnel nodes and tt:// links (task 717, issue #194).

A tt:// link (the deep link of the AdGuard TrustTunnel client) is
recognized when pasted from the clipboard, in a list of links and in a
subscription, and becomes a trusttunnel node: the first address as
server and port, user name and password, HTTP/2 or HTTP/3 (QUIC), the SNI,
a pinned certificate, skip verification. The Android core now includes
TrustTunnel; before, the core rejected such a node and the app switched it
off. Link fields the node has no place for (more addresses, DNS upstreams,
anti_dpi, client random) are dropped with a warning, and the node stays.
Not yet supported: a link that carries only a subscription address
(subscription_url) is dropped, and exporting a node as a tt:// link
comes later.

  • Taildrop: send and receive files over a Tailscale node

(task 707). L×Box
is a Share target for files: they go to one of your online devices in the
tailnet, with progress and Cancel in a notification. A tap on a device on
the Network tab opens its page: Ping, Send file…, addresses (a tap
copies); a long tap on the row copies its first address. Received files
land in the node's Inbox on the Network tab with Save (to Downloads) and
Delete; receive notifications have Cancel, Save and Delete. With «Allow
Taildrop» on, two switches of the node are on by default: «Save received
files to Downloads» (Android 10+) moves every received file there by
itself, and «Accept clipboard and links from my devices» runs what your
own devices send. The Debug API has /taildrop/*.

  • 📋 Send: text and links to your devices

(task 707).
«📋 Send» in the VPN notification opens a chat-like window over the
current app with the clipboard text in the field: ➤ puts it into the
device's clipboard, «Open on » opens a single link there. Shared
text and «Send to device» in the text selection menu open the same window.
The window keeps the exchange with each device while the VPN runs. The
other side is the desktop launcher or another L×Box. The button, Share and
«Send to device» appear only while the VPN runs a Tailscale node with Allow
Taildrop.

  • Tailscale node on/off and restart on the fly

(task 706).
The Network tab has Node enabled and Restart node; Turn off / Turn on in the
node list works for Tailscale nodes too. Replace key signs the node in with
the new key without restarting the VPN.

  • Mixins (task 704).

Config → Mixins keeps operations applied at the end of every config build:
a target path (route.rules[action=hijack-dns], inbounds[tag=dns-in]), a
verb (append, prepend, before, after, set, merge, remove) and a JSON value.
The form shows whether the target matches and a preview of the result.
Unlike a manual edit with Lock config, a mixin survives rebuilds; it travels
in LX Backup and is available through the Debug API (/mixins). A mixin
that does not apply or adds a duplicate tag stops the build with its name in
the message. Example: a direct inbound on 127.0.0.1:5354 with a
hijack-dns rule hands the core's DNS to another app.

  • Hosts DNS server and Hosts in a DNS group (task 699, issue #185).

The DNS server editor gets a Hosts type: names with fixed IPv4/IPv6
addresses, one row per name, edited in a dialog. A DNS group gets a Hosts
block under Members: the names these servers know are answered first, all
other names go to the members as before. Put such a group into Default
Domain Resolver and a node address like wg.home resolves to your own
addresses, with strategy choosing the family. A hosts server referenced
by a group cannot be turned off or deleted. Renaming a DNS server now
updates group members and Hosts too; a renamed member used to drop out of
its group.

  • Node budget (task 714, issue #190).

App Settings → General → Node budget: one limit on nodes for the whole app
(default 1000, from 1, no upper limit). Manual servers and enabled folder
members come first and are never cut; the rest is shared between enabled
subscriptions equally, and what a small subscription does not need goes to
the others. Nodes a rule, a chain or a Direction's default filter points to
stay first. Enabling a subscription, editing servers or folders and
changing the budget re-cut subscriptions from the cache, without network.
The setting travels in the backup and is in the Debug API
(/settings/node_budget).

  • Parallel checks (task 713, issue #192).

App Settings → General → Parallel checks sets how many servers the mass
ping and a folder's Test servers measure at once (1–100, default 10, with
a reset button). It travels in the backup and is in the Debug API.

  • Regex conditions in routing rules (task 712, issue #193).

A rule takes a package name regex (under the app picker) and a domain
regex (under Domain keyword), one Go RE2 pattern per line. One pattern
such as ^com.oplus. replaces picking every system package of a vendor.
Remote .srs rules take the package regex too.

  • Rules by network type and metered networks (task 694, issue #178).

The rule editor's Wi-Fi section is now «NETWORK»: Any / Wi-Fi / Cellular /
Ethernet and a «Metered networks only» checkbox (mobile data and Wi-Fi
marked as metered in Android). Neither needs the location permission that
SSID matching requires; the SSID list is shown only for Wi-Fi. Rules are
checked when a connection opens: on a switch between Wi-Fi and mobile data
the app resets connections, so new ones follow the new network; when
Android only flips the metered flag, open connections keep their earlier
decision.

  • VPN Settings → Core as cards

(task 709). General,
Network, TUN, TLS Fragmentation, WireGuard and QUIC are separate cards. The
core's own settings have an (i) with a short hint.

  • WireGuard — the four sleep and build settings, moved from System.

Rows that depend on sleeping are greyed out while it is off.

  • Network → Align MTU to the path — Clamp (default), Fill or Off: how a

node that runs over a tunnel (detour, chain) gets a packet size that fits.

  • QUIC → Anti-sniff decoy — Off, Through detour (default), Direct or

All: one junk byte before the QUIC handshake of MASQUE (HTTP/3),
Hysteria2 and TUIC, so a relay that sniffs UDP does not redirect the
connection by its SNI. Servers drop the byte. By default only connections
carried by another node get it: a DPI on your own uplink may react to it.

  • QUIC → MASQUE idle timeout — Off by default; closes an idle MASQUE

tunnel, a node's own idle timeout wins.

  • UID in the app picker (task 693, issue #180).

Android lets several packages share one UID (on Samsung dozens of system
apps live under UID 1000), and the core and the system's per-app VPN tell
apps apart by UID, so a rule or a Tunnel apps entry for one package covers
the whole group. Rows in the app picker and in Tunnel apps read «package ·
UID n»; for a shared UID, «Shared with N other apps — they are routed
together» opens the list. Rules and Tunnel apps work as before.

  • Ru internet segment: each Yandex DNS server can be turned off (task 697, issue #183).

Next to «UDP server IP» there are «DoT server IP» and «DoH server IP»,
and each of the three lists has «Off»: that server is not used and leaves
the group. The address chooses the Yandex profile (Base, Safe or Family)
for DoT and DoH as for UDP; before, both were fixed to Safe. With all
three Off the preset's DNS works as with its DNS switch off. Defaults are
unchanged.

  • Full-screen node filter picker in the Direction editor (task 702).

A button to the right of Node filter opens a full screen: the regex field
with !, the emoji found in node names with a count for each (a tap adds
the emoji to the pattern, a second tap removes it), and the whole node list
with matched nodes on top marked ✓ and th…