LxBox v2.25.17 发布
已发布 v2.25.17,以下为官方变更日志。
官方变更日志@L×Box v2.25.17
A patch on top of v2.25.16.
DNS servers get new defaults: plain UDP servers go through the tunnel, DoT and
DoH go direct, and the Shield group is now direct as a whole. The DNS server
list is filled from the template once; template servers can be deleted, and
new ones are added from a catalog under (+). A template or preset server can be
duplicated into your own. A routing rule can answer its domains with a fixed IP
address, like a hosts entry, and everything about resolving now sits in one
DNS & Resolve section of the rule editor. Directions can be reordered,
Default traffic moved to the bottom of the Rules tab, and on Android TV the
app fills the screen. Stopping the VPN no longer hangs. Core
v1.14.3-lx.23, contract 1.1.139.Патч поверх v2.25.16.
У DNS-серверов новые умолчания: нешифрованные UDP-серверы ходят через туннель,
DoT и DoH — напрямую, группа Shield теперь целиком прямая. Список DNS-серверов
заполняется из шаблона один раз; шаблонные серверы можно удалять, новые
добавляются из каталога по (+). Шаблонный или пресетный сервер можно
продублировать в свой. Правило маршрутизации может отвечать на свои домены
фиксированным IP-адресом, как запись hosts, а всё про резолв собрано в одну
секцию DNS & Resolve редактора правила. Направления можно переставлять,
Default traffic переехал в конец вкладки Rules, на Android TV приложение
занимает весь экран. Остановка VPN больше не зависает. Ядро
v1.14.3-lx.23, контракт 1.1.139.🇬🇧 English
⚠️ Read before updating
- DNS servers: plain UDP through the tunnel, DoT and DoH direct (task 684).
Template servers take their Outbound from the template on every build, so
the config changes for everyone who has not changed it by hand:
- googleudp, cloudflareudp, opendns_udp — direct-out → vpn-1;
- googledot, cloudflaredot, quad9_doh — vpn-1 → direct-out;
- googledoh, opendnsdoh, yandexdot, safedns_dot — direct, as
before.
The Shield group (dns_shield, six encrypted providers) is now direct
as a whole. safednsdot resolves its own name through google_doh
instead of google_udp. Descriptions no longer name the path: "Google
UDP", "OpenDNS UDP", "Quad9 DoH (anti-malware)", "Yandex DoT"; the path is
the Outbound field in the editor.
- Ru internet segment: separate Outbound for its UDP and encrypted DNS (task 684).
Two new preset settings: UDP DNS outbound (default vpn-1, for
yandex_udp) and Encrypted DNS outbound (default direct-out, for
Yandex DoT and DoH). yandex_udp no longer follows the preset's
Outbound, and Yandex DoT is direct by default.
- The DNS server list is filled from the template once (task 680).
An existing install keeps its list as it is. Servers that a newer template
brings appear in the catalog under (+) next to DNS Servers, not in the
list.✨ New
- Fixed IP answer in a rule (task 683).
Rule editor → DNS & Resolve → Answer → Fixed IP answers the rule's
domains with the given IPv4 or IPv6 addresses, like a hosts entry: for
example nas.home → 192.168.1.10. "+" turns the field into a list, one
address per line; pasting several lines does the same. A line that is not
an IP address marks the field and blocks Save. With addresses of one family
only, queries of the other type get an empty answer. Traffic to the address
follows the rule's Action. On the DNS tab such a rule shows as
action: predefined · answer: … under "From routing rules", and ✕ there
returns it to Default.
- "Add DNS server" catalog (task 680). The (+) next to DNS Servers
opens Add DNS server: Custom server and the template's servers with
Add / Added, and ⋮ → Add all defaults. A template server can be
deleted: long-press → Delete on the DNS tab, or the trash icon in the
editor; a preset's server cannot. A server the list depends on (a group
member, the DNS Final or Default Domain Resolver choice, another server's
name resolver) is locked and shows "used by …"; tapping its switch shows
"Locked: used by …". The rule editor offers only servers from the list.
- Duplicate a template or preset DNS server (task 682).
⋮ → Duplicate in the server editor, or Duplicate in the tile's
long-press menu, opens a new custom server with the original's body (with
its current settings), tag _copy and description
(copy). Nothing is saved until Save. The editor of a
template or preset server now shows the Tag field: changing it turns
Save into Save as copy, and the original stays in the list. Groups, DNS
Final and rules keep pointing to the original.
- Outbound and address for OpenDNS UDP, OpenDNS DoH, Quad9 DoH and Yandex DoT (task 682).
These four servers had a fixed body. Now their editor has Outbound and
a choice of the server address: primary or secondary, IPv4 or IPv6.
- Warning when Default Domain Resolver goes through a tunnel (task 682).
This resolver looks up server addresses while the connection is being set
up, before the tunnel exists. When the selected server goes through a
Direction, or every member of the selected group does, an orange ⚠ appears
at the right of the Default Domain Resolver header; tapping it explains
the risk ("Resolver goes through a tunnel"). The choice is not changed. With
the default Shield the ⚠ does not appear.
- Reorder Directions (task 673, issue #171).
Each row on the Directions tab has a drag handle, vpn-1 included.
While dragging, the rows a Direction cannot pass are tinted red: a
Direction that includes others must stay below them. A drop there leaves
the list as it was and says why.🔄 Changed
- Rule editor: one "DNS & Resolve" section (task 683).
The "Action & Resolve" sheet and the ⚙ next to Action are gone. Action only
chooses where the traffic goes; Resolve only is now an item of its
list, after Reject (for rules with domains). The section at the bottom
holds:
- Answer: Default (queries go to DNS Final), Dedicated server, or
Fixed IP;
- Force IPv4 (drop AAAA);
- Resolve before routing (formerly Resolve first) with Strategy;
- Advanced, collapsed: the DNS server for the lookup, Disable cache,
Disable optimistic cache, Rewrite TTL, Query timeout, Client subnet.
Existing rules build the same config. The View tab now shows the rule's
DNS rules too.
- DNS hints (task 684). The ℹ next to DNS Final and Default Domain
Resolver opens a popup. It recommends googledoh or cloudflaredot and
says that UDP servers are fine for DNS Final but not for Default Domain
Resolver. The localdnsresolver banner offers Switch to google_doh.
- Default traffic is at the bottom of the Rules tab (task 676).
The route.final picker sits after the rule list and Add rule, labelled
Default traffic (no rule matched). The Directions tab no longer shows
it. What is written is the same.
- A Direction is shown by its title everywhere (task 672).
The notification, a home row whose member is another Direction, the
Direction editor header, and the route, Chain and Detour lines in Stats →
Connections and Live show the title, with the tag next to it, for example
Germany (vpn-1). Renaming still does not change the tag.
- The Direction node filter preview works with the VPN off (task 674).
The editor and the node count on the Directions tab take nodes from the
config build, so they match the built config whether the tunnel is up or
not. An empty result reads "No nodes match".
- On Android TV the app fills the screen (task 679, issue #163).
On a TV the orientation is never locked, and Allow rotation is hidden
there. The stored value is kept, so a backup from a TV does not turn
rotation on for a phone.
- Auto-ping after connect runs the group test only for Fastest groups (task 677).
Load balance groups no longer have their pool rebuilt, and Hold until
failure groups no longer drop the held node after a ping. Latencies of all
nodes still come from the ping; Run URLTest in the group menu works as
before.🩹 Fixed
- Stopping the VPN no longer hangs (task 668).
With many WireGuard, AmneziaWG or WARP nodes the stop is fast again: the
core waited for each endpoint's receive worker one after another. Each stop
step also has a real time limit (core shutdown 20 s, other steps 3 s), so
the service reaches Stopped even when a step does not return. A step stuck
longer than 5 s writes stuck at and a goroutine dump to the app
log, and the dump goes into the support pack.
- Test servers with the VPN off: Stop stops, Start starts again (task 669, issue #171).
Stop aborts the measurements already sent instead of waiting for their
timeout; the bar shows Stopping… meanwhile. A stuck test session no
longer blocks the next test or the VPN start.
- Load balance skips a node that failed its check. A round_robin group
no longer sends new connections to a node that failed its last check while
a live node is available; a failed manual ping also takes the node out of
the rotation until the next group check.
- "Register detour in auto group" works (task 670).
Chain links get into a Direction's auto group only with this switch on.
It is disabled while Register detour servers is off, and a folder shows
both switches only when it has chain links.
- An auto node in a folder no longer disappears silently (task 675).
An auto node with no members is named in the build report, and its editor
says it stays out of the config. Its pool follows the same rules as a
Direction's: Tailscale without an exit node is never in it, chain links only
with Register detour servers.
- The JSON preview of a DNS group skips disabled members (task 671).
As the build does; a line under the preview names them: "Disabled, skipped
at build: …".
- Android TV: receiving settings with the remote (task 622).
The receive screen fits without scrolling, the arrows move between choices
in the import preview, and the focus returns to the transfer card after it.
- Start no longer waits 10–16 s for an unrelated mux handshake, and a
MASQUE node with vhttp: auto no longer keeps the previous core instance
in memory after each Stop/Start or profile switch.🔧 Under the hood
- Core v1.14.3-lx.21 → v1.14.3-lx.23 (docs/KERNEL.md):
the stop, start, MASQUE and Load balance fixes above; a stop that hangs
longer than 20 s writes a goroutine dump to the core log. The Java surface
is the same as in lx.21.
- Launcher contract 1.1.132 → 1.1.139: the source's template catalog in LX
Backup (dns.template_catalog) with one rule for removing template DNS
servers on import (task 681);
rules[].dns.fixedIps for both sides.
- LX Backup and the phone → TV transfer carry the list of template DNS
servers as is: a server deleted on the source is removed on the receiver,
unless something still refers to it (then it stays, with a warning). A DNS
Final or default resolver pointing to a missing server is reset to the
template default, and a group with no known member comes in turned off.
Older backups lose nothing.
- Debug API: POST /directions/reorder and include in POST/PATCH
/directions that would put a Direction above one it includes get 409 with
the pairs in conflicts; rules read and write dns.fixed_ips.
- The template formatter (app/scripts/formatwizardtemplate.py) accepts
the current template language and checks the meaning before writing;
wizard_template.json is reformatted, 2367 → 760 lines, contents
unchanged (task 678).
- New tests: Fixed IP emission and storage, the DNS & Resolve section, DNS
server copy, the tunnel resolver warning, DNS defaults of the whole catalog
and Ru internet segment, Directions reorder zones, the filter preview pool,
the probe session stop, TV receive layout and D-pad focus, the rule_dns
contract corpus.🇷🇺 Русский
⚠️ Прочтите до обновления
- DNS-серверы: UDP через туннель, DoT и DoH напрямую (задача 684).
Шаблонные серверы берут Outbound из шаблона на каждой сборке, поэтому
конфиг меняется у всех, кто не менял его руками:
- googleudp, cloudflareudp, opendns_udp — direct-out → vpn-1;
- googledot, cloudflaredot, quad9_doh — vpn-1 → direct-out;
- googledoh, opendnsdoh, yandexdot, safedns_dot — напрямую, как
и раньше.
Группа Shield (dns_shield, шесть шифрованных провайдеров) теперь
целиком прямая. safednsdot резо…