2333 Commits
Author SHA1 Message Date
Markson Hon 2dd4d683cc Merge pull request #2057 from wywywywycloud/fix/openwrt-lan-bridge-tproxy
fix(openwrt): include LAN bridges in TPROXY by default
v2.5.15
2026-11-13 08:51:46 +08:00
Markson Hon 610cbe4197 Merge pull request #2119 from Zakkaus/proxies-large-lists
fix(gui): keep the proxies source and mount long node lists a page at a time
2026-11-13 07:03:05 +08:00
Markson Hon 0efd6759df Merge pull request #2118 from Zakkaus/vless-ech
fix(vless): keep the ECH parameter in share links and the core config
2026-11-13 07:02:53 +08:00
Markson Hon eb632b5556 Merge pull request #2117 from Zakkaus/contributing-rules
docs: tighten the contribution rules for assisted pull requests
2026-11-13 07:02:39 +08:00
Markson Hon df15551cc6 Merge pull request #2116 from Zakkaus/docker-iproute2
fix(docker): install iproute2 for TUN mode
2026-11-13 07:02:23 +08:00
Markson Hon 74772accac Merge pull request #2115 from Zakkaus/runtime-dir-mode
fix(asset): do not create a missing XDG runtime directory
2026-11-13 07:01:44 +08:00
Markson Hon 094a3273f2 Merge pull request #2114 from Zakkaus/drop-v2raya-org
fix(gui): drop the parked v2raya.org and link daeuniverse.org
2026-11-13 07:01:31 +08:00
Zakk 9fba5a63b1 docs: tighten the contribution rules for assisted pull requests
Recent pull requests left the "Submitted and answered for by" line
filled in by an assistant or dropped, kept a commit that a later
commit reverted, and described changes their diff no longer had.
CONTRIBUTING.md also told contributors to run "the checks CI runs",
but CI runs neither go vet nor go test, and it named Go 1.26 while
core/ needs 1.27.

- CONTRIBUTING.md: Go 1.27; say which checks CI runs; squash a commit that undoes part of an earlier one; a bug fix
  comes with a failing test or a reproduced failure; check the title,
  description and messages against the diff; the sign-off line and the
  boxes are the contributor's.
- AGENTS.md: ask before changing behaviour that may be intentional; a
  check that ran nothing proves nothing; leave the sign-off line and
  the human's boxes alone.
- Pull request templates: the sign-off line is required and written by
  the contributor.
2026-11-13 02:17:08 +11:00
Zakk 247469a37f fix(gui): drop the parked v2raya.org and link daeuniverse.org
v2raya.org is parked and redirects to spam and malware pages (#2109).
The GUI still sent users there: the mixed-content banner offered a
"switch to alternate site" button that opened http://v.v2raya.org, and
gui/public/CNAME shipped in every build.

The banner now tells the user to open the GUI over http at the
service's own address instead, the CNAME is gone, and the About page
links the project website, daeuniverse.org.

Closes #2109
2026-11-13 02:16:50 +11:00
Zakk 4935c04b82 fix(asset): do not create a missing XDG runtime directory
runtimeAssetDir called os.MkdirAll on $XDG_RUNTIME_DIR/v2raya with mode
0700. When v2rayA runs as root on a system where /run/user does not
exist yet (OpenRC with elogind before any login), that created
/run/user itself as 0700 root:root, and every other user then failed to
get a runtime directory.

The runtime directory belongs to the login manager, so use it only when
it already exists and otherwise put the asset links in the
configuration directory, as a service user without a session already
does. A regular file there is one the user placed, so the lookup now
uses it instead of replacing it with a link to the system copy.

Closes #2092
2026-11-13 02:16:34 +11:00
Hocassian 20ad8905d4 fix(vless): keep the ECH parameter in share links and the core config
A VLESS link with security=tls carries its ECH config list in the ech
query parameter. The service dropped it on import, so the stored node,
the generated core config and the exported share link all lost it, and
the server editor dropped it again when a node was edited and saved.

Parse ech into the stored node, pass it to the core as the TLS
settings' echConfigList, and write it back to share links when the
node uses TLS, in the service and in the editor's codec. The service
reads ech from the raw query so that an unescaped "+" in the base64
list stays a "+" instead of becoming a space. The VLESS
encryption half of the original change landed in 3e374af9.

Closes #2093
2026-11-13 02:15:41 +11:00
Zakk c757d67f1b fix(gui): keep the proxies source and mount long node lists a page at a time
With about 1,400 nodes the proxies page froze for a minute on every
visit: it mounted a card, a menu and a tooltip for every row at once,
and each render looked group membership and selection up with a linear
scan per row. The source filter also went back to "all" every time, so
the user waited for the full list before they could narrow it.

The page now mounts 60 rows and adds the next 60 as a sentinel below
the last row scrolls into view; a new search, source or view starts
again from the first page. Select-all, Ctrl+A, the latency test and the
batch actions still work on the whole filtered list. Membership is
indexed once per member list, so inGroup is a map lookup, each row
keeps the same groups array between renders, and selection is checked
against a set; batch add and remove no longer compare every pair.

The selected source is stored like the view. Before the first sync
only "all" and "local" exist, so a saved subscription source is
dropped only after the subscriptions have loaded and it is not among
them.

Closes #2105
2026-11-13 01:49:47 +11:00
Zakk fef82b286b fix(docker): install iproute2 for TUN mode
TUN mode runs `ip -4 route add default dev tun0 table 2020` and the
matching `ip rule` commands. The image is Alpine, whose busybox `ip`
rejects a numeric table ID ("ip: invalid argument '2020' to 'table'"),
so TUN mode could not start in the official container. iproute2
provides an `ip` that accepts it.

Closes #2077
2026-11-13 01:42:05 +11:00
Markson Hon 50c91f3ee9 fix(ci): install zig with a composite action
_install_zig.yml was declared as a reusable workflow but called from a
step, and a step-level uses only accepts an action, so the workflows
failed to validate. A job-level workflow call cannot help here either,
because Zig has to be on PATH in the same job as the build.

Move the install into .github/actions/install-zig, which pins the Zig
version itself and keeps both call sites on a single step.
2026-11-12 19:16:32 +08:00
Markson Hon 0248748316 feat(ci): build loong64 and riscv64 while pull request 2026-11-12 19:03:57 +08:00
Markson Hon aa72e2bf98 fix(ci): drop v2raya.org and download zig directly 2026-11-12 18:30:56 +08:00
Markson Hon 92caf05bc8 fix(ci): use zig to build core if CGO true v2.5.14 2026-11-09 21:35:28 +08:00
Markson Hon 9e2ca92c79 ci: enable cgo for loong64 2026-11-09 21:26:54 +08:00
Markson Hon 3cde5b6609 Merge pull request #2108 from v2rayA/dependabot/npm_and_yarn/gui/vite-6.4.5
chore(deps-dev): bump vite from 6.4.4 to 6.4.5 in /gui
2026-11-05 21:38:21 +08:00
dependabot[bot] 2f71d06ade chore(deps-dev): bump vite from 6.4.4 to 6.4.5 in /gui
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.4 to 6.4.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 12:36:20 +00:00
Markson Hon 9a03ba7fd4 Merge pull request #2090 from v2rayA/dependabot/npm_and_yarn/gui/vite-6.4.4
chore(deps-dev): bump vite from 6.4.3 to 6.4.4 in /gui
2026-11-05 20:35:10 +08:00
Markson Hon 758250157a Merge pull request #2098 from v2rayA/dependabot/npm_and_yarn/gui/happy-dom-21.0.4
chore(deps-dev): bump happy-dom from 20.14.5 to 21.0.4 in /gui
2026-11-05 20:34:55 +08:00
Markson Hon 3f3841eaed Merge pull request #2099 from v2rayA/dependabot/npm_and_yarn/gui/fast-uri-3.1.9
chore(deps): bump fast-uri from 3.1.8 to 3.1.9 in /gui
2026-11-05 20:34:34 +08:00
Markson Hon ae7e2d79b2 Merge pull request #2100 from v2rayA/dependabot/npm_and_yarn/gui/serialize-javascript-7.1.4
chore(deps): bump serialize-javascript from 7.1.2 to 7.1.4 in /gui
2026-11-05 20:34:16 +08:00
Markson Hon 5407269a4f Merge pull request #2103 from v2rayA/dependabot/npm_and_yarn/gui/vue-i18n-11.4.14
chore(deps): bump vue-i18n from 11.4.12 to 11.4.14 in /gui
2026-11-05 20:33:56 +08:00
Markson Hon fad8c07889 Merge pull request #2104 from v2rayA/dependabot/npm_and_yarn/gui/follow-redirects-1.16.2
chore(deps): bump follow-redirects from 1.16.0 to 1.16.2 in /gui
2026-11-05 20:33:35 +08:00
Markson Hon 60e0f806dd Merge pull request #2107 from HougeLangley/v2raya-nft-auto
iptables: fall back to nft when legacy mangle is unavailable
2026-11-05 20:32:50 +08:00
HougeLangley 7f03ed9953 iptables: fall back to nft when legacy mangle is unavailable
Auto mode previously trusted the iptables userspace backend alone. On PREEMPT_RT kernels, legacy xtables is unavailable even when the legacy iptables binary is installed. Probe the mangle table read-only and select nft only for the specific missing-table failure. Add regression coverage for backend detection and conservative error handling.
2026-11-05 17:13:51 +08:00
Markson GuGa Beyond 3c32891eb3 docs: document the Alpine apk package
The release page now carries installer_alpine_<arch>_<version>.apk. It is
built without a key from Alpine's trust store, so apk needs
--allow-untrusted.
v2.5.13
2026-11-02 11:58:34 +08:00
Markson GuGa Beyond a3a39d8174 ci: build the Linux packages with nfpm and add Alpine apk packages
The fpm invocation and its four hand-written architecture tables give way
to nfpm driven by install/nfpm/v2raya.yaml: nfpm maps the Go architecture
onto the name each packager expects, and writes the packages straight to
their published file names, so the rename step goes away too.

The package file names and the architecture matrix stay as they were, and
an apk package is added for Alpine, which boots the OpenRC script instead
of a systemd unit.

after_install.sh and after_upgrade.sh were the fpm hooks; their only
caller is gone, and the nfpm config carries equivalent maintainer
scripts.
2026-11-02 11:58:29 +08:00
Markson GuGa Beyond fb6b7f3ec4 build: add an nfpm config for the Linux packages
install/nfpm/v2raya.yaml describes every Linux package of a release: the
two binaries, the rule data the packaging job downloads, the desktop
entry, nine icon sizes rendered from gui/src/assets/img/v2raya-icon.svg,
and, per packager, either the systemd units or the OpenRC init script
together with its conf.d file.

The rule data is shipped as regular files rather than as symlinks into a
v2ray-rules-dat package, which no distribution provides.

The maintainer scripts reload systemd where it exists and do nothing on
Alpine.
2026-11-02 11:58:22 +08:00
Markson GuGa Beyond 838210b988 ci: drop mips packages 2026-11-02 11:30:48 +08:00
Markson GuGa Beyond 6c1dc147e1 ci: don't install gcc for mips anymore 2026-11-02 11:24:09 +08:00
dependabot[bot] 7befe38812 chore(deps): bump follow-redirects from 1.16.0 to 1.16.2 in /gui
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.16.0 to 1.16.2.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.16.0...v1.16.2)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 03:19:17 +00:00
dependabot[bot] 3886be4065 chore(deps): bump vue-i18n from 11.4.12 to 11.4.14 in /gui
Bumps [vue-i18n](https://github.com/intlify/vue-i18n/tree/HEAD/packages/vue-i18n) from 11.4.12 to 11.4.14.
- [Release notes](https://github.com/intlify/vue-i18n/releases)
- [Changelog](https://github.com/intlify/vue-i18n/blob/v11.4.14/CHANGELOG.md)
- [Commits](https://github.com/intlify/vue-i18n/commits/v11.4.14/packages/vue-i18n)

---
updated-dependencies:
- dependency-name: vue-i18n
  dependency-version: 11.4.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 03:19:13 +00:00
Markson GuGa Beyond 18eaf5448c ci: disable all mips builds for debian has dropped gcc-mipsel-linux-gnu 2026-11-02 11:18:18 +08:00
Markson Hon 0382d475ae Merge pull request #2102 from MarksonHon/main
feat: upgrade xray core to v26.10.31
2026-11-02 11:09:58 +08:00
Markson GuGa Beyond 12ceb33669 feat: upgrade go version to 1.27 2026-11-02 11:05:18 +08:00
Markson GuGa BeyondandCopilot 3e374af969 feat(vless): support encryption and REALITY ML-DSA-65 verify key
Xray v26.10.31 rejects VLESS with encryption none and no TLS or REALITY on public addresses, so post-quantum encryption strings must reach the core. Parse, generate and export the vless encryption and pqv share-link parameters, and expose both in the server editor with translations for all locales.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-02 10:58:07 +08:00
Markson GuGa BeyondandCopilot 3f39ac1016 chore(core): bump xray-core to v26.10.31
Update the dependency and its transitive modules. Xray moved PacketConnWrapper from transport/internet to common/net, so refresh the references in the TUIC and Juicity outbound comments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-02 10:58:07 +08:00
dependabot[bot] 964772645b chore(deps): bump serialize-javascript from 7.1.2 to 7.1.4 in /gui
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.1.2 to 7.1.4.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v7.1.2...v7.1.4)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-27 23:19:15 +00:00
dependabot[bot] 6365cdb23b chore(deps): bump fast-uri from 3.1.8 to 3.1.9 in /gui
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-27 23:19:14 +00:00
dependabot[bot] ef3b3aae86 chore(deps-dev): bump happy-dom from 20.14.5 to 21.0.4 in /gui
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.14.5 to 21.0.4.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v20.14.5...v21.0.4)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 21.0.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-27 23:19:13 +00:00
Markson Hon b693e5fc45 Merge pull request #2089 from v2rayA/dependabot/go_modules/core/github.com/klauspost/compress-1.18.7
chore(deps): bump github.com/klauspost/compress from 1.17.4 to 1.18.7 in /core
2026-10-28 07:18:08 +08:00
Markson Hon 33f1230057 Merge pull request #2085 from v2rayA/dependabot/npm_and_yarn/gui/source-map-js-1.2.2
chore(deps): bump source-map-js from 1.0.2 to 1.2.2 in /gui
2026-10-28 07:17:57 +08:00
dependabot[bot] e858fba57b chore(deps-dev): bump vite from 6.4.3 to 6.4.4 in /gui
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.3 to 6.4.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-21 01:05:53 +00:00
dependabot[bot] cd5c339e2d chore(deps): bump github.com/klauspost/compress in /core
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.17.4 to 1.18.7.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.17.4...v1.18.7)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.18.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-20 19:44:04 +00:00
Markson Hon 1ee48148dd Merge pull request #2086 from miaomiaoyaoqimiaomaoxian/fix/system-proxy-mutual-exclusion
fix(v2ray): keep system proxy and tun mutually exclusive
2026-10-16 07:46:23 +08:00
miao db38d18595 fix(v2ray): keep system proxy and tun mutually exclusive
deleteTransparentProxyRules returned before touching the system proxy
whenever no snapshot had been persisted. GetCleanCommands already
handles both cases -- it restores the saved original when a snapshot
exists and falls back to disabling ProxyEnable when none does -- so the
guard only suppressed the fallback that makes the two modes exclusive.

The leftover registry value pointed at 52345, which only the
system_proxy mode ever listens on. Switching back to tun therefore left
proxy-using applications connected to a dead port: their sockets stayed
in SYN_SENT until the process was restarted.

The regression test drives deleteTransparentProxyRules with no snapshot
and asserts the proxy is disabled. Against the previous code it fails
with "the system proxy was never touched"; it passes with this change.
2026-10-15 11:41:17 +08:00
dependabot[bot] efb7abf392 chore(deps): bump source-map-js from 1.0.2 to 1.2.2 in /gui
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.0.2 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.0.2...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-10 03:57:28 +00:00