Commit Graph
912 Commits
Author SHA1 Message Date
Markson Hon 3467428871 fix shadowsocks 2022 2026-04-19 18:37:51 +08:00
Markson Hon 4e94e10914 use olicesx's fork to support ss2022 2026-04-19 18:37:51 +08:00
Markson Hon c0d38bfc27 ci: use matrix workflow to build
use TinyTun v0.0.1-beta.8
2026-04-19 18:37:46 +08:00
Markson Hon f94a350188 gui: use vite to build web 2026-04-14 17:33:04 +08:00
ed00d75423 feat(server): finish TinyTun rollout and backend selection
Squashed from:
- c3e8b07f feat: add GET /api/networkInterfaces controller
- 10a5dc38 try to fix null pointer
- 4fa3e6c7 Merge branch 'v2rayA:main' into main
- 5e0457e7 tun: use tinytun v0.0.1-beta.4
- ce4bfa34 shadowsocks and trojan backend choosen

Co-authored-by: Markson Pigeonzilla <marksonpigeonzilla@bugdows.cn>
Co-authored-by: Markson Hon <50002150+MarksonHon@users.noreply.github.com>
2026-03-21 15:02:13 +08:00
89aca5911c feat(tun): migrate transparent proxy from Sing-Tun to TinyTun
Squashed from:
- bc2e2215 Remove all Sing-Tun related code, frontend and build tags
- 51c11701 Add TinyTun support for TUN-based transparent proxy
- d203a9e9 Add TinyTun auto_route toggle and custom route script dialog
- 4c67a319 Improve UI consistency and add tinytun build tag
- 6e411be6 use TinyTun instead of SIng-Tun

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Markson Hon <50002150+MarksonHon@users.noreply.github.com>
2026-03-21 15:01:17 +08:00
Markson PigeonzillaandMarkson Hon 608b44e2f8 fix(windows): carry forward env, startup, and legacy TUN follow-ups
Squashed from:
- 856a3730 ci: update go to 1.26
- 191be38f tun: fix IPv6 address under win
- 3ca4d5cd windows: v2rayA should read win env like %temp%
- 48a84438 windows: v2rayA should start after modified PATH
- c87bbf62 fix .exe ext-name under windows
- 614bfe1c dns: fix a error about dns format
- 991319ff pre.go: don't create C:\etc
- 9f31b39c translated all comments to English
- aaa269f7 try to fix Tun DNS
- 25c84ad9 面向云代理会话的 VS Code 中的检查点

Co-authored-by: Markson Hon <markson@nixos.local>
2026-03-21 15:00:28 +08:00
Markson HonandMarkson Pigeonzilla fe54c20e54 refactor(tun): modernize legacy route handling and DNS plumbing
Squashed from:
- ede4275e tun: better OS command
- 6a30c17c Tun: better route command
- 4b0f8e94 dns: rewrite DNS module

Co-authored-by: Markson Pigeonzilla <marksonpigeonzilla@bugdows.cn>
2026-03-21 14:59:01 +08:00
hoream 80e446f19b feat: make tproxy excluded interfaces configurable in Web UI
- Add 'TproxyExcludedInterfaces' to settings with a default list of common interfaces.
- Replace hardcoded interface exclusions in tproxy and redirect logic with the new configurable setting.
- Add UI field and translations for the new setting.
2026-03-05 13:40:18 +08:00
hoream 835657d64a Merge branch 'v2rayA:main' into main 2026-03-05 13:18:01 +08:00
Markson Pigeonzilla 40b86a76a1 Tun: fix an error under Linux 2026-02-18 17:05:12 +08:00
Markson Pigeonzilla a4830b2771 Tun: Try to fix DNS resolves 2026-02-17 22:26:01 +08:00
Markson Pigeonzilla fb3be4a454 tun: DNS shoud NOT be looped 2026-02-17 15:05:57 +08:00
Markson Pigeonzilla f2bd34da4a tun: tun should not remove default route under Windows 2026-02-16 17:47:41 +08:00
Markson Pigeonzilla b18177f539 service: don't read win env file if not run as service 2026-02-16 15:30:27 +08:00
Markson Pigeonzilla d783af0d9f plugins: better log outputs 2026-02-16 15:17:15 +08:00
Markson Pigeonzilla 697a5ffb63 windows: try to fix log path 2026-02-15 19:42:54 +08:00
Markson Pigeonzilla 7ea3024c95 gui: better log 2026-02-14 22:25:31 +08:00
Markson Pigeonzilla a1b23000e5 windows-installer: try to fix log path 2026-02-13 22:01:44 +08:00
Markson Pigeonzilla 3e720e9237 try to fix Tun DNS 2026-02-13 21:30:27 +08:00
Markson Pigeonzilla 0c2628cdde service: better user account check under Windows 2026-02-12 20:19:58 +08:00
Markson Pigeonzilla 4eb2807de7 service: better user account check under Windows 2026-02-12 20:19:07 +08:00
Markson Pigeonzilla 2734544002 ci: fix Windows installer uninstallation 2026-02-06 08:57:26 +08:00
Markson Pigeonzilla 701c8fc466 use native golang windows service support 2026-02-05 18:28:25 +08:00
Markson Pigeonzilla ba2c2fb0c1 Add xray mutli-server support 2026-02-05 18:10:05 +08:00
Markson Hon e1d30ff924 renove PingTunnel and fix ALPN of tuic 2026-02-04 23:05:56 +08:00
Markson Hon c69f74da2d fix non-v2ray-based links creations and edit 2026-02-04 21:48:30 +08:00
Markson Hon 6c9737f334 fix UDP based connections 2026-02-04 21:29:07 +08:00
Markson Hon aad7e17195 update daeuniverse/outbound 2026-02-04 21:11:26 +08:00
Markson Hon 995bc8dbb7 Merge pull request #1774 from YLinXin/main
Support XHTTP Powered by Xray
2026-01-25 08:32:19 +08:00
Markson Hon 3d1fc77b3b Merge pull request #1808 from 782042369/fix/lru-interface-conversion-error
fix: correct LRU cache list operation from PushFront to MoveToFront
2026-01-25 08:25:10 +08:00
xiaowaibuzheng c3752dd6db fix: 修复 LRU 缓存中 MoveToFront 导致的类型转换错误
问题描述:
- lru.go 的 get() 函数使用了 PushFront(v) 而不是 MoveToFront(v)
- 这导致 list.Element 被重复添加到列表中,破坏了列表结构
- 当缓存淘汰时,back.Value 可能指向 *list.Element 而不是 *EncapsulatedValue
- 类型断言失败:interface{} is *list.Element, not *lru.EncapsulatedValue

修复方法:
- 将 l.list.PushFront(v) 改为 l.list.MoveToFront(v)
- MoveToFront 会将现有 element 移到列表前面,而不是创建新的 element

Fixes: interface conversion error in LRU cache
2026-01-22 10:08:51 +08:00
YLinXin 250be69e1f Merge branch 'v2rayA:main' into main 2026-01-04 11:15:56 +08:00
hoream b6b0372730 Merge branch 'v2rayA:main' into main 2025-12-18 13:55:18 +08:00
kia678 ab9c55b82f fix: resolve incorrect param reading in Trojan gRPC config
Signed-off-by: kia678 <85081567+kia678@users.noreply.github.com>
2025-12-15 01:17:27 +08:00
hoream 660ae9d596 fix: Allow WireGuard peers to proxy through gateway
Removes the rule that prevented WireGuard (wg*) interfaces from being
processed by the TProxy setup, enabling wg peers to correctly route
their traffic through the configured proxy gateway.
2025-12-10 15:24:43 +08:00
kia678 1ea7c82021 fix: resolve incorrect param reading in Trojan gRPC config
Signed-off-by: kia678 <85081567+kia678@users.noreply.github.com>
2025-12-07 01:53:21 +08:00
Yang Linxin 05111926f3 Fix merge conflict errors. 2025-12-04 14:29:41 +08:00
Yang Linxin 2f1a836b57 Add bash to direct run v2raya image into xray container in linux. 2025-12-04 10:24:10 +08:00
YLinXin 59ed422285 Merge branch 'v2rayA:main' into xhttp-at-xray 2025-12-04 10:06:17 +08:00
unknown-o afef751c18 feat: support custom tproxy direct ip 2025-11-05 20:08:10 +00:00
unknown-o 22d65d6718 feat: support setting sniffing routeOnly 2025-11-05 17:14:37 +00:00
unknown-o 36bb7b6f86 feat: forward compatibility tproxy white ip group 2025-11-05 16:43:31 +00:00
unknown-o 99bd664827 feat(backend): support setting tproxy white ip group 2025-11-05 16:30:24 +00:00
unknown-o c6cb176aa3 feat(backend): add geoip parser 2025-11-05 14:08:11 +00:00
Markson Hon ed37e3a5ca Merge pull request #1665 from shenghuang147/add_core_startup_timeout_param
feat: Add core startup timeout parameter and terminate timed-out processes
2025-10-05 12:24:36 +08:00
Markson Hon 115a534442 Merge pull request #1655 from InvisibleRain/subscription-auto-select
feature: Subscription auto-select
2025-10-05 12:23:14 +08:00
YLinXin 8f3a28f5b5 Merge branch 'main' into xhttp-at-xray
Signed-off-by: YLinXin <68999554+YLinXin@users.noreply.github.com>
2025-09-30 15:12:36 +08:00
zhumouren 5b1ae73e72 fix: fix syscall.SyscallN parameter error 2025-08-26 23:01:29 +08:00
Markson Hon 6694ad8eb3 Merge pull request #1723 from mourenZhu/fix-windows-syscall-deprecated
fix windows Syscall Deprecated
2025-08-24 11:43:42 +08:00