List the community Prometheus exporter and Grafana dashboard for 3x-ui in the Community Tools section of the English README and the six translations, beside the Terraform provider and the Android manager.
With 100 or 200 clients per page the mobile card list is several screens long, and the search box, filter button and sort selector scrolled away with it.
Make the mobile filter bar sticky just below the fixed drawer handle, with the card background so cards do not show through and the same padding stuck or not so the list never jumps.
claude-code-action v1.0.288 changed allow_fork_prs to default to false,
and the workflow follows the floating v1 tag. Every review of a fork pull
request has been skipped since: the action step ends without writing a
review and the post job fails with nothing posted on the pull request.
Opt back in. The workflow already reads the fork's code only from
pr-head/ at a pinned SHA, with a read-only token and no command that runs
code from the checkout.
govulncheck reports GO-2026-6278 for github.com/gorilla/websocket v1.5.3:
the client's frame mask key came from a cryptographically weak PRNG. The
panel reaches it through the Discord gateway client, the panel WebSocket
and the release lookup. v1.5.3 is the newest tag, so this moves to the
untagged upstream commit the advisory names as fixed,
v1.5.4-0.20240701034025-d67f41855da4.
No module xray-core pins to an untagged commit moved, and no code change
was needed.
For a 2022-blake3 method the raw subscription percent-encodes the
userinfo, as SIP022 requires. Shadowrocket copies the %2B, %2F and %3D
escapes into the node password as they are, so authentication fails for
every key that contains +, / or =.
A request whose User-Agent is Shadowrocket now gets the userinfo as
base64url, the form the other Shadowsocks methods already use and that
Shadowrocket reads. Every other client keeps the SIP022 form.
Closes#7146
An inbound marked Exclude from subscriptions was skipped before its
configs were built, and a balancer only reads the entries that reach the
output. A hidden inbound could therefore never be a balancer member,
although the balancer form lists it, and a balancer of only hidden
inbounds never reached the subscriber.
A hidden inbound that an enabled balancer selects is now rendered into a
list that never reaches the output, and balancers draw members from both
lists. It still gets no document of its own, its clients still count in
the usage header, and rendering it spends neither the response budget nor
the first-link remark tokens.
An inbound that is already hidden and already selected in a balancer
appears inside that balancer after the upgrade.
The HTTP-mode outbound test builds a throwaway Xray instance whose
config carried no dns section, so an outbound whose server name only the
panel's configured resolvers know (a split-DNS name, a hosts entry)
failed the test with a lookup against the OS resolver, while the same
outbound worked through the running core.
The test endpoints now pass the stored template's dns section to the
probe instance. Its tag, which names routing the probe config does not
have, and its script are left out; every resolution setting rides along.
Fixes#7131
Two outbound subscriptions with overlapping tag prefixes, or a template
outbound with the same tag, put duplicate tags into the generated config
and Xray refused to start with "existing tag found". A changed prefix
also never took effect: every refresh reused the stored tags.
A refresh now reuses a stored tag only when it carries the current
prefix, and an edit of the prefix rewrites the stored tags at once. Tags
are disambiguated with a -N suffix against the template and the other
subscriptions when they are stored, and again when the config is built,
so the panel lists the same tags the core runs.
Routing rules and balancers that name a tag by its old prefix stop
matching after the prefix changes.
Fixes#7110
Three paths re-added a client to the running core with an account map
the WireGuard builder refuses, and each failed add fell back to a full
Xray restart that drops every connected user: a traffic reset of a
quota-disabled client and bulk enable built the map by hand without
publicKey and allowedIPs, and auto-renew passed keepAlive as a number
where the builder takes a string.
The map is now built in one place, coreUserFromClient, which the single
add and update paths use too. On MTProto, AmneziaWG and TUIC inbounds,
where AddUser changes nothing, the reset and the bulk toggle go through
the inbound reconcile, after the traffic rows have flipped.
/inbounds/add and /inbounds/import also refuse client emails and subIds
the client API refuses; a master's push to a node is exempt.
hostEndpoints and subscriptionHostVariants returned the same empty result
for an inbound with no enabled hosts and for one whose enabled hosts are
all excluded from the requested format. The second case therefore fell
back to the inbound's bare address, the address the operator had hidden.
The all-excluded case is now reported separately and renders nothing in
raw, json and clash, in both sort modes, in the link export and in the
panel's own host selection. Traffic accounting and the usage header are
kept. Inbounds with no hosts, or only disabled ones, render as before.
Updating a client whose last inbound was detached rewrote the clients
record but, in client_traffics, only re-asserted enable in the true
direction. The auto-disable and renewal loops read expiry, quota and the
reset schedule from that row, so they kept acting on the stale values and
never disabled an expired client.
The no-inbound branch now goes through UpdateClientStat, the helper every
attached-inbound update already uses, so the whole enforcement row
follows the edit and the usage counters are left alone.
Fixes#7160
exportPostgresDB started pg_dump with context.Background(), so a
PostgreSQL server that accepted the connection and then stopped answering
hung the database download and the scheduled Telegram and Discord
backups forever; SkipIfStillRunning then silently skipped every later
backup run.
pg_dump now runs under a one-hour deadline and the caller gets an error
that names the timeout.
With gVisor's RACK loss detection on, a TCP download through an AmneziaWG
inbound froze for seconds after a short contiguous loss. After the RTO,
RACK marks the old flight lost and enters recovery, but the pipe estimate
still counts every un-SACKed lost segment as in flight, so the sender
resends about two segments per RTO.
The embedded netstack now disables RACK and falls back to RFC 6675 SACK
recovery, which resends the tail after a single RTO. The option can be
reverted once the pinned gVisor carries an upstream fix.
Closes#7177
Switching a Telegram or Discord schedule to Custom seeded the editor with
a crontab translation of the interval. A cron step repeats within its
field, so @every 45m became 0 */45 * * * *, which fires at :00 and :45 of
each hour: alternating 45- and 15-minute gaps.
The Custom draft now starts from the original @every descriptor; the
calendar presets still seed their six-field expression.
Fixes#7081
x-ui install-awg-kernel loaded the module with modprobe and recorded it
nowhere, so after a reboot the panel reported the module as not installed
and turned Kernel mode off, although DKMS had rebuilt it. The panel
cannot load it itself: x-ui.service sets ProtectKernelModules=yes.
The installer now writes /etc/modules-load.d/amneziawg.conf, after the
module has loaded, so a module that cannot load leaves no boot entry.
Refs #7186
The inbound mKCP form and its schema refused an MTU below 576, but
Xray-core only requires at least 21. An XDNS finalmask with A/AAAA
record types needs a much smaller MTU, so the panel could not save a
configuration the core accepts.
The WireGuard link builders (Go and frontend) and the JSON subscription
outbound never read streamSettings.finalmask, so a WireGuard inbound with
a UDP mask produced a client config the server rejects.
The link now carries the mask as fm=<json>, the way vless, trojan and
shadowsocks already do, a Host's own mask is merged into its subscription
link, and the JSON outbound gets streamSettings.finalmask.
Closes#7185
The Address list shows each entry as address:port, and on save a port
inside an address wins over the Port field. After editing Port, the old
port stayed in every address and the field snapped back to its previous
value; the only way to change it was to retype every address.
Changing Port now rewrites the port of every address in the form before
saving, so what is shown is what gets saved. Port 0 leaves the addresses
bare, which inherits the inbound's port.
The web server listens on XUI_PORT when it is set and valid, but the
AmneziaWG forwardedPorts conflict check read only the stored webPort.
With XUI_PORT set, a forward on the real panel port passed the check and
could never bind, while a forward on the unused stored port was refused.
The XUI_PORT-over-webPort rule now lives in SettingService.GetListenPort,
which both the web server and the conflict check use.
DomainValidatorMiddleware compared the saved domain with the request
host byte for byte. Host names are case-insensitive and may end with the
root's dot, so a domain saved as Panel.Example.com, with a stray space,
or a Host header like panel.example.com. answered every request with
403, the settings page included, and the admin could not undo it from
the UI.
Both sides are now normalized before the comparison. Saving the settings
stores the domain in that form and refuses a scheme, port or path, which
could never equal the port-stripped host and locked the panel the same
way.
Mihomo ignores a WireGuard proxy's dns list unless remote-dns-resolve is
set, so destination domains were resolved by the client's local DNS
outside the tunnel and timed out on poisoned networks.
The flag is emitted only when every configured server is a bare IP:
mihomo aborts the whole config on a value its name-server parser rejects.
That is the rule the AmneziaWG builder already applies.
Closes#7151
GetXrayConfig logged one INFO line for every client whose traffic row is
disabled, on every config generation: each reconcile, restart and node
traffic sync, changed or not. With a few thousand expired clients that
flooded the journal and pushed everything else out of the panel's in-memory
log buffer. The line also said "Remove Inbound User", although nothing is
removed there; the client is only left out of the config being built.
A successful generation now writes one summary with the number of excluded
client entries and affected inbounds, and a failed one writes none. The
filter and the generated config are unchanged.
Closes#7054
Every TCP connection through a built-in AmneziaWG inbound or outbound
allocated two fresh 32 KiB copy buffers, because io.Copy on a *net.TCPConn
goes through ReadFrom/WriteTo and ignores a caller's buffer. Under a stream
of short connections that is a lot of garbage. The relays now copy with
buffers from a sync.Pool; one side of each pair is always a userspace
netstack connection, so no kernel splice path is given up.
The connect to the local Xray bridge and its SOCKS5 handshake had no time
limit, so a bridge that accepted and never answered pinned the relay's
goroutines and descriptors forever. Both are now bounded at 10 s, and the
deadline is cleared once the handshake succeeds so the relayed connection
keeps its half-close behaviour.
Xray queries DNS servers in list order, but the DNS table offered only Edit
and Delete, so changing a server's priority meant deleting and re-adding
servers.
Each row now has a grab handle that reorders by drag and drop, using the same
pointer hook and drop markers as the Routing rules table, and the row menu
gains Move up and Move down. Every path only reorders dns.servers; a server's
own fields are left as they are.
Stop sat next to Restart on the dashboard and fired on the first click. A
mis-click cut every proxy connection, and when the panel itself is reached
through that proxy the only way back was SSH (#7103).
Stop now opens a confirmation with Cancel focused. When Xray is stopped the
first button reads Start instead of Restart and Stop is disabled; in the
crashed state Stop stays enabled, because setting the manual-stop flag is
what halts the crash-recovery restart loop.
Closes#7103
A master that reaches a node over mTLS with no bearer token is treated as
node-sync, which cannot call /server/updatePanel, so "Update panel" on such a
node fails with HTTP 403. That is intended, but the multi-node guide said the
API token is "not needed in mTLS mode" (#6953).
The guide (en/fa/ru/zh) and the node form's mTLS hint (all 14 locales) now say
that updating the node from the master still needs a token with the
node-admin scope. No logic changes.
The CI workflow's path filter does not cover internal/web/translation or docs,
so only Docs CI ran on this head; the locale-dependent tests were run locally.
Every bot notice carries a Hide button, which deletes the message it sits on.
On a backup that message is the file itself: one tap, with no confirmation,
could remove the admin's only copy of the database. Backup files (the .db and
config.json, from the backup button, the scheduled job and the panel's
backup-to-Telegram endpoint) are now sent without a keyboard; other notices,
including the ban log file, keep Hide.
The backup button also left the menu above the files it sent, out of view at
the bottom of the chat. It now sends the Maintenance menu again below them and
removes the old one. A scheduled backup leaves the menu where it is.
A Host Description is appended to every raw-subscription node name as a base64
`?serverDescription=` tail. Only Happ and INCY read it; v2rayN, v2rayNG,
OpenClash and the rest show it as part of the node name, and the only way out
was clearing the Description (#7105).
The raw subscription body now carries the tail only when the requesting
User-Agent is Happ or INCY, for the endpoint links and the Hysteria2 loop
alike. Copied links, QR codes and the panel's link export keep it, since the
server cannot tell which client they end up in.
Closes#7105
gotp decodes the stored secret with strict base32 and panics when that fails,
so a 2FA secret saved through the settings API in lower case, grouped by
spaces, or not base32 at all turned every login and every attempt to turn 2FA
off into an HTTP 500. An empty secret had the opposite problem: the login
check accepted the code of an empty HMAC key, which anyone can compute.
VerifyWithSkew now normalizes the secret and verifies nothing for an empty or
non-base32 one, so secrets already stored in a display form work again.
Turning 2FA on through the settings update stores the normalized secret and
refuses one no authenticator could match.
Removing the last SNI tag in Hosts → Edit Host and saving did nothing: the
submit fell back to the hidden legacy `sni` field, so the old name was sent
again and the backend rebuilt the pool from it. It came back on the next edit
and stayed in every share link built from that host.
The tag list is the only SNI input, so the primary SNI is now the first tag or
empty. The dynamic ECH helper read the same stale field and follows the list
too. Hosts saved with only the legacy field still load, because the form seeds
the tag list from it.
The automatic soft limit read only /sys/fs/cgroup/memory.max, the root of
the cgroup namespace. A systemd MemoryMax on x-ui.service lives below that
root, so it was never seen: on a bare host the root has no memory.max and
no soft limit was set at all, and inside an LXC/Incus container the limit
came from the container (2 GiB -> "1843 MiB") while systemd killed the
panel at 650M. Either way GC never tightened before the OOM kill.
Walk from the process's own cgroup (/proc/self/cgroup) up to the visible
root and take the tightest memory.max (cgroup v2) or
memory.limit_in_bytes (v1). Docker with a private cgroup namespace sees
the same root limit as before.
xray-core 26.11.9 (bb335c6) raises any mux concurrency from 0 to 128 to
128, where 0 used to mean 8 and every other value was used as written. The
panel's default of 8 and anything a user types up to 128 therefore no
longer changes the result on a current core, while an older client core
still honours it.
The concurrency field of the outbound mux form, the host mux override and
the JSON subscription mux settings now carries that as a hint in all 14
locales. The emitted value is unchanged.
xray-core 26.11.9 (#7340, #7352) gives the Google Drive backend its own
defaults for the knobs a config leaves empty: flushIntervalMs 10,
maxPollIntervalMs 200 and concurrency 64. The other services keep 20, 500
and 8.
The tuning placeholders stand for "what the core uses when this is empty",
so they now follow the selected service, and the transports page in all
four doc languages names the Google Drive values.
Majors: i18next 26 -> 27.1.1 with react-i18next 17 -> 18.0.1, and jsdom
30 -> 31. The vitest group moves together to 5.1.0 (vitest, coverage-v8,
browser-playwright and the addon-vitest override). Also antd 6.7.0,
storybook 10.6.7, vite 8.3.8, @vitejs/plugin-react 6.3.0, react-query
5.107.1, react-hook-form 7.92.0, msw 3.0.5, playwright 1.65.0, otpauth
9.6.0 and oxfmt 0.78.0.
i18next 27 dropped interpolation.nestingPrefixEscaped, the option that kept
"$t(...)" nesting from ever matching, and an empty nestingPrefix falls back
to "$t(". The prefix is now a NUL character, which no translation or
node-reported text contains; node-list-untrusted-i18n.test.tsx goes red
without it.
Held back: oxlint stays at 1.90.0, because 1.91 and later flag six
fetch-in-effect loaders with react(set-state-in-effect) and those need a
data-loading rewrite of their own. @hookform/resolvers 7.0.6 and
oxlint-tsgolint 7.0.2007 are less than a day old, so 7.0.5 and 7.0.2006
are locked; the lockfile was resolved with a one-day cutoff.
Move the modules that are not pinned by xray-core: quic-go v0.65.0,
fasthttp v1.78.0, go-sqlite3 v1.14.53, klauspost/compress v1.20.4,
gin-contrib gzip v1.2.10 / sessions v1.1.4 / sse v1.2.1, x/crypto v0.59.0
(back on a tagged release), x/sync v0.25.0, x/sys v0.50.0, x/text v0.44.0,
x/arch v0.33.0, mongo-driver v2.10.0, purego, goupnp, go-ssdp,
pion/transport, go-internal and genproto.
Held back: pgx v5.13.0, x/exp and x509roots/fallback are less than a day
old; apernet/quic-go, gvisor and xtls/reality move only with xray-core.
xray-core 26.11.9 (#7329) spells the key log.logLevel and still accepts
loglevel. A template written with the new spelling showed "warning" in the
panel, and changing the level added a second loglevel key beside it, leaving
the core to pick between two values.
The select now reads either spelling and saves a single logLevel key.
xray-core 26.11.9 (#7315) added "all", "allexceptlan", "tcp", "udp" and
"icmp", bare ports, port ranges and a CIDR prefix in front of any value.
The save-time check already runs the core's own parser, so the typed forms
are accepted as they are; the form now lists the new named values and the
tooltip explains them in all 14 locales.
xray-core 26.11.9 (#7329) renamed a final rule's blockDelay to delay, added
logLevel, and now refuses either on a rule whose action is not block. A
stored template with a blockDelay on an allow rule therefore stops the core
at startup after the upgrade.
A one-time seeder strips delay, blockDelay and logLevel from non-block rules
of the template's freedom outbounds and moves blockDelay to delay on block
rules. The outbound form reads both spellings (blockDelay wins, as in the
core), writes delay, gains a log level control on block rules and emits
neither key on an allow rule.
Bump xtls/xray-core to 676eaf66f8f0 (v26.11.9) and the three binary pins
(DockerInit.sh, release.yml Linux + Windows) in lockstep, so the vendored
config loader and the child binary validate the same config.
The same go.mod also moves the go directive to 1.27.4 and
golang.org/x/crypto to v0.58.1-0.20261009181718-2f1f834330b2; the core pulls
in refraction-networking/utls 20261108164504, xtls/reality 20261108101329 and
klauspost/cpuid v2.4.2.
XDRIVE now caps concurrency at 256 instead of 64 (#7340), so the schema
comment quoting the cap follows.
tzdata 2026f cancelled Cuba's November 2026 DST fallback, so on hosts
with current tzdata (macOS) 2026-11-01 has no repeated midnight:
TestNextWeeklyRenewal_RepeatedMidnight failed and the subscription
calendar cases passed without exercising the repeated midnight.
Move both to 2020-11-01, a Sunday fallback on the 1st that every tzdata
version agrees on. The weekly case still catches a 168-hour advance.
submitTrafficWrite falls back to running fn inline when the serial
writer is not running (before StartTrafficWriter, during the shutdown
drain, in CLI paths and tests). That path took no lock, so an inline
write could run beside the draining writer or another inline write,
breaking the single-writer invariant that guards the Postgres deadlock.
One visible effect: ResetTrafficByEmail fans out one reset per inbound.
Run side by side, the second reset read the record still disabled but
the traffic already zeroed, judged the client operator-disabled and
saved enable=false over the first reset's restore
(TestResetTrafficByEmail_ReenablesEveryInboundOfTheClient failed ~25%).
safeApply now holds a package mutex, so every write path is serialized.
Use valid translation keys on six panel screens, add the missing copy-failure and empty-value strings across all locales, and reject unresolved literal translation keys in the regression test.
Expose selectable options and selected values, associate validation guidance with controls, and contain keyboard focus in inbound dialogs. Preserve create and edit serialization and add Chromium keyboard and accessibility checks.
Restore usable clients when renewed, avoid duplicate reset updates, and prioritize operator writes in the serialized traffic writer. Preserve manual disables and keep every inbound consistent after traffic resets.
Keep omitted client fields and per-inbound flows unchanged while honoring explicit clears. Support the query aliases used to recover legacy dot-name clients and regenerate the API reference. Add an HTTP regression covering partial updates through those aliases.
Reject reserved dot-segment client names and recover legacy records through query aliases. Preserve token scopes and path identity precedence, and update the generated API reference.
The v3.11.0 bot rebuild left the admin's client card without the subscription link, individual links and QR code, so an admin could not hand a config to a client who cannot reach Telegram yet. The card now carries Links and QR code buttons that open the existing screens. Closes#6984.