2297 Commits
Author SHA1 Message Date
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
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
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] 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
Markson Hon cbc5359c08 Merge pull request #2074 from v2rayA/dependabot/npm_and_yarn/gui/serialize-javascript-7.1.2
chore(deps): bump serialize-javascript from 7.1.1 to 7.1.2 in /gui
2026-10-10 11:56:05 +08:00
Markson Hon 7609aed42c Merge pull request #2080 from ArianPashae/fix/drop-legacy-outbound-tables
fix(db): drop obsolete legacy outbound tables to prevent foreign key constraint failed (787) on node deletion
v2.5.10
2026-10-09 19:56:54 +08:00
Markson Hon 2187b7e899 Merge pull request #2082 from ILIKEFUTANARI/feat/dns-modes
feat: separate DNS service from interception
2026-10-09 19:34:35 +08:00
ILIKEFUTANARI 6d6c1c117f feat: separate DNS service and interception modes 2026-10-09 17:43:48 +08:00
ILIKEFUTANARI e010d19a5d feat: add DNS interception opt-out 2026-10-09 17:43:48 +08:00
Arian Pashae 48bcc0932d fix(db): drop obsolete legacy outbound tables to prevent foreign key errors on node deletion 2026-10-08 22:09:02 +03:30
dependabot[bot] fa3b8061ec chore(deps): bump serialize-javascript from 7.1.1 to 7.1.2 in /gui
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v7.1.1...v7.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-04 17:41:03 +00:00
Markson Hon 0e3a2ddbee Merge pull request #2073 from big-head-pigeon/fix/transparent-inbound-port-sharing
fix: transparent inbound follows PortSharing so redirected/forwarded (docker) traffic reaches it
v2.5.9
2026-10-04 17:20:11 +08:00
Markson Hon 1817643571 Merge pull request #2072 from wywywywycloud/feat/routinga-url-import
Add RoutingA import and scheduled updates from URL
2026-10-04 17:12:15 +08:00
big-head-pigeon 5a1b0c4213 fix(kernel/v2ray): transparent inbound follows PortSharing like socks/http/dns-in
Since v2.4 the dokodemo transparent inbound binds 127.0.0.1 only, so
traffic intercepted by the PREROUTING transparent rules and REDIRECTed
to the interface address (e.g. docker bridge containers) can never
reach it: all bridge-container TCP breaks while transparent proxy is
enabled, a regression from 2.2.x where the inbound listened on 0.0.0.0.

Let the inbound follow the existing 'Allow connections from LAN'
(PortSharing) setting, which the socks/http inbounds
(template_inbound.go) and dns-in (template_outbound.go) already follow.
Default behavior is unchanged (loopback-only with PortSharing off);
with PortSharing on, redirected/forwarded traffic works again.
2026-10-04 15:06:25 +08:00
Markson Hon a8334a2e71 Merge pull request #2069 from wywywywycloud/fix/openwrt-nftables-dns
fix(openwrt): install native nftables DNS redirects
2026-10-02 08:28:33 +08:00
Mikhail Levin 5ec0451a66 fix(openwrt): limit fatal DNS redirect setup to Linux proxy modes 2026-10-01 13:05:11 +03:00
Markson Hon 94693ebbe1 Merge pull request #2067 from himeer/feature/xhttp-range-json-shapes
Kernel: write xhttp ranges in the xray-core's form, import them from 3x-ui links
2026-10-01 11:34:57 +08:00
Vladimir E. Tkachuk 0f366344ea fix(gui): reject XHTTP range values below the core's bounds 2026-10-01 12:38:14 +10:00
Vladimir E. Tkachuk 86f57fb05d fix(kernel): drop XHTTP ranges the core would panic on 2026-10-01 12:37:48 +10:00
Mikhail Levin 324351f78d Add RoutingA rule import and scheduled updates from URL 2026-10-01 03:54:50 +03:00
Mikhail Levin 392b1c7942 fix(openwrt): make nft DNS redirect idempotent and preserve legacy startup 2026-10-01 01:01:05 +03:00
Vladimir E. Tkachuk 78f8e8138c fix(gui): expose the XHTTP padding fields in the codec and form 2026-09-30 15:29:32 +10:00
Vladimir E. Tkachuk 1710a70741 fix(kernel): model the core's XHTTP padding fields 2026-09-30 15:29:03 +10:00
Mikhail Levin 75ac824b43 fix(openwrt): install native nftables DNS redirects 2026-09-29 21:10:54 +03:00
Markson Hon f86763d00b Merge pull request #2056 from wywywywycloud/fix/dashboard-latency-marked-sockets
fix: retain interception during dashboard TCP probes
v2.5.8
2026-09-29 20:03:19 +08:00
Markson GuGa Beyond 5506fe1c86 test: fix the Windows socket-option readback
getsockopt(IP_UNICAST_IF) hands the interface index back in host order while
setsockopt wants it in network byte order, so the second swap in
boundProbeInterface compared 0x01000000 against 1 and the IPv4 cases of
TestBoundDirectDialerSocketOptions failed on Windows.
2026-09-29 19:39:10 +08:00
Markson GuGa Beyond df5b4ef2dc fix: send the QUIC probe through the probe dialer
Revision of the dashboard probe: the UDP fallback used an unmarked, unbound
socket, so its datagram entered the transparent interception the probe is
meant to stay out of and the round trip measured the local stack. Take the
dialer PingWithDialer was given, as the TCP dial already does.
2026-09-29 19:39:03 +08:00
Markson GuGa Beyond 152227a84b Merge branch 'main' into fix/dashboard-latency-marked-sockets 2026-09-29 19:38:56 +08:00
Markson Hon 63b59b033c Merge pull request #2068 from MarksonHon/main
fix: juicity and tuic dial, and a QUIC-only node gets a latency
2026-09-29 19:19:03 +08:00
Markson Hon f51860f625 Merge pull request #2061 from wywywywycloud/feat/routing-russia-template
Add Russian RoutingA preset with local and RU domains routed directly
2026-09-29 19:08:53 +08:00
Markson Hon b05206e61b Merge pull request #2063 from wywywywycloud/fix/dialog-action-font
Use one font for dialog action buttons and links
2026-09-29 19:02:07 +08:00
Markson GuGa Beyond a2f7952a4f fix: juicity and tuic dial, and a QUIC-only node gets a latency
Every core the service starts has outbound traffic counters on, and with them on
xray wraps the underlay connection of a native QUIC outbound in a
*stat.CounterConnection. That wrapper embeds net.Conn alone, so ReadFrom and
WriteTo are hidden and hint/proxy/juicity and hint/proxy/tuic failed their
net.PacketConn assertion before a single QUIC packet left: the node imported, and
then every connection through it died on the spot. Unwrap the stats connection
before the assertion.

A QUIC server listens on UDP only, so the TCP dial the ping made to its port said
nothing and every juicity, tuic and hysteria2 node read TIMEOUT. Keep the TCP
attempt, and when it fails ask the same port over UDP with a QUIC long header
carrying a reserved greased version: a QUIC server answers that with a Version
Negotiation packet (RFC 9000 section 6), and the round trip of that answer is the
latency. A node that answers neither probe is still TIMEOUT; the troubleshooting
pages in the six locales describe that.
2026-09-29 18:54:02 +08:00
Vladimir E. Tkachuk 7027788e6a fix(kernel): let an explicit false win over the 3x-ui blob 2026-09-29 20:42:19 +10:00
wywywywycloud e492c21b9b fix: russia preset as full rule set, drop copyright header
Move default: proxy back to the first line so RoutingA.vue treats russia as a replacement, not a snippet. Fix presets.spec.ts to match geosite:category-ru. Remove copyright header per review.
2026-09-29 11:30:38 +03:00
wywywywycloud 7f267f5d0b Update routing rules for Russian domains and services
Added rules for youtube, telegram, google - etc - services taht might still operate on .ru and on ru-geoip / geosites.

Signed-off-by: Mishalski <100153948+wywywywycloud@users.noreply.github.com>
2026-09-29 11:30:38 +03:00
wywywywycloud 8156923f55 fix: route Russian and private IPs directly in Russia preset 2026-09-29 11:30:37 +03:00
wywywywycloudandZakk a31079899e Update gui/src/dialogs/settings/routingA/russia.ts
Co-authored-by: Zakk <zakk@gentoozh.org>
Signed-off-by: Mishalski <100153948+wywywywycloud@users.noreply.github.com>
2026-09-29 11:30:37 +03:00
wywywywycloud 9c9c9f6563 feat: add Russia RoutingA rules template 2026-09-29 11:30:37 +03:00