53 Commits
Author SHA1 Message Date
Markson Pigeonzilla Plus ff6bf0a43d Remove v2ray/xray core version detection and comparison logic
Since v2rayA now exclusively uses the v2raya_core binary, simplify or
remove all logic that detected, compared, or branched on different
core types (v2ray, xray, merged).

- Remove CheckCoreVersion, CoreVersionMismatchError, and the
  CoreVersion check in StartCoreProcess — core v2raya version
  comparison is no longer needed.

- Remove DetectCoreTypeByBinaryName and the Unknown/V2ray/Xray/Merged
  variant aliases. The only remaining Variant constant is V2rayaCore.

- Simplify GetV2rayServiceVersion: drop all CoreType/env-config
  detection and variant mismatch verification. The function always
  returns V2rayaCore and the version string from the binary.

- Simplify CheckV5 / isVersionSatisfied to return only an error,
  dropping the unused Variant return value.

- Remove variant-branching in Shadowsocks and Trojan Configuration
  methods — both always use the MT (Xray-compatible) path.

- Remove the CheckCoreVersion call from version.go and hardcode
  coreVersionValid/ variant in the API response.

- Drop the now-unused where import from shadowsocks.go and trojan.go.
2026-06-26 09:44:14 +08:00
Markson Hon 72dad35557 feat(service): pause transparent proxy on network loss and report state 2026-05-11 23:38:32 +08:00
Markson Hon 5a3a44b65b feat: add custom inbound-to-outbound binding with per-inbound routing rules 2026-05-11 23:38:32 +08:00
Markson Hon fd7162e88f feat(service): add custom inbound APIs and strengthen outbound/account flows 2026-05-04 19:07:22 +08:00
Markson Hon 56c1f8fbfd try to mix cores 2026-05-02 11:58:21 +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 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
Markson Pigeonzilla 4eb2807de7 service: better user account check under Windows 2026-02-12 20:19:07 +08:00
Markson Pigeonzilla ba2c2fb0c1 Add xray mutli-server support 2026-02-05 18:10:05 +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
unknown-o afef751c18 feat: support custom tproxy direct ip 2025-11-05 20:08:10 +00:00
unknown-o 99bd664827 feat(backend): support setting tproxy white ip group 2025-11-05 16:30:24 +00:00
unknown-o bbc7e1c0ee feat(backend): suport download gfwlist form custom link 2025-02-09 01:54:15 +00:00
unknown-o 6cf02e4afb feat(backend): add delete gfwlist func 2025-02-09 00:51:44 +00:00
unknown-o a0c88bb57f feat(backend): add domain excluded setting 2025-02-07 06:00:23 +00:00
陈鼫RWHTYFZ 0459bad0f0 feat: 'testUrl' queryparam for api/httpLatency (#1193) 2023-12-02 15:20:24 +08:00
mzz 5c224d3674 fix: port occupation when latency test (#1058) 2023-08-31 23:36:08 +08:00
mzz2017 1b57d55739 fix: flow and xtls 2023-05-11 21:55:45 +08:00
mzz2017 1803403e0f fix: should connect instead of unselect and select when using xray 2023-03-30 21:20:08 +08:00
mzz2017 241f43deec feat: try to re-support xray 2023-03-18 18:14:56 +08:00
mzz2017 bcadc53dd3 optimize: increse concurrency of http latency test 2022-12-09 21:34:09 +08:00
mzz2017 dd5d10d22b optimize: rename /api/log to /api/logger to avoid ublock's blocking 2022-01-26 14:59:47 +08:00
mzz2017 3c41ca8361 feat: check sha256sum for geosite.dat and geoip.dat 2022-01-24 00:39:12 +08:00
高渐离 9c7b3ef4ef feat: add view log (#379) 2022-01-21 17:42:39 +08:00
mzz2017 403402f0d8 optimize: replace nutsdb with more stable boltdb 2021-10-01 23:56:41 +08:00
mzz2017 a2d0270af8 optimize: replace vlessGrpc inbound with vmess inbound 2021-09-29 17:23:13 +08:00
mzz2017 efd11d24fb feat: observatory window 2021-09-29 15:26:13 +08:00
mzz2017 50a870df96 feat(gui): support v5 and configure outbound 2021-09-28 21:54:22 +08:00
mzz2017 17297aafdd feat(service): bump to the version v5 of v2ray-core and support MultiObservatory 2021-09-28 20:37:13 +08:00
mzz2017 e3fb1331e6 feat(routingA): support hard code by environment variable 2021-09-27 16:31:42 +08:00
mzz2017 523445cf64 feat: update RoutingA to support "_" in name 2021-09-27 16:01:31 +08:00
mzz2017 d2831f6a4c fix: shadowsocks SIP002 sharing link 2021-09-23 22:29:36 +08:00
mzz2017 76e49263ad optimize: add checking for grpc support 2021-09-08 14:51:14 +08:00
mzz2017 69b2f8833f fix: http latency test would fail when v2ray with tproxy is running 2021-09-08 14:33:30 +08:00
mzz2017 e4dd0eaa76 refactor: server, subscription, api, plugin 2021-09-06 12:32:47 +08:00
mzz2017 0bb51db33f feat/fix: change 'connect' to 'select' if load balance is supported and fix a cache problem 2021-09-04 18:33:26 +08:00
mzz2017 bd284584b4 feat: try supporting all platforms 2021-08-29 18:02:14 +08:00
mzz2017 0d16bd32a7 feat: organize project structure, change log package to beego log and remove v2ray/log package 2021-08-27 14:09:08 +08:00
mzz2017 edea6abb3c feat: grpc support and refine the VLESS-GRPC inbound 2021-08-18 22:35:31 +08:00
mzz2017 17aef44d34 feat: support add a VLESS-GRPC inbound for external incoming connection 2021-08-18 19:46:08 +08:00
mzz2017 d722d15003 feat: add observatory result in GUI 2021-08-06 23:22:40 +08:00
mzz2017 bd05c0e90c feat: add websocket api for observatory messages 2021-08-06 15:48:59 +08:00
mzz2017 e0af091ee9 feat: load balance 2021-08-04 17:03:27 +08:00
mzz2017 7e4224f7bf fix: prevent accidentally refreshing the page early 2021-08-03 21:10:44 +08:00
mzz2017 54a4112eb1 fix/style: a problem that UDP dns cannot be saved for direct and block. more apparent node color mark for stopped core status 2021-07-31 13:32:28 +08:00
mzz2017 58250f9cce feat: multiple outbounds, keep latency results, routing log #214 2021-07-31 11:42:13 +08:00
mzz2017 499b3c5b54 fix: incorrectly parse dns address in advanced mode in some cases 2021-07-21 15:33:17 +08:00
mzz2017 0c0ceb467b fix: avoid to refresh in advance when is connecting to a new server and the connected server has no network 2021-07-19 20:21:12 +08:00