mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
The vendored core/xray submodule is dropped. xray-core is now pinned via a go mod pseudo-version resolving to v26.7.28 (commit 5ca6f4b7); v26 tags are not directly resolvable because Xray's module path lacks the /v26 suffix, so the pin must be made by commit hash. CI workflows and the AUR PKGBUILD no longer need "submodules: recursive" / "git submodule update". The juicity and tuic outbounds are ported from softwind to github.com/daeuniverse/outbound (temporarily replaced with an olicesx fork pending sticky-ip support): - Dialer calls use DialContext; the network string is decoded with netproxy.ParseMagicNetwork instead of a "udp" prefix check, since it may be binary-encoded via netproxy.MagicNetwork. - A packetConnAdapter wraps xray's UDP dial result: outbound asserts the underlay conn to netproxy.PacketConn whose ReadFrom/WriteTo signatures (netip.AddrPort / string) differ from net.PacketConn, while xray returns *internet.PacketConnWrapper.
85 lines
3.9 KiB
AMPL
85 lines
3.9 KiB
AMPL
// This module is the v2rayA merged core (v2raya-core).
|
|
// It wraps xray-core (fetched via go mod) and adds MultiObservatory and
|
|
// v2ray-compatible gRPC services without modifying xray's source.
|
|
//
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
module github.com/v2rayA/v2raya-core
|
|
|
|
go 1.26
|
|
|
|
require (
|
|
anytls v0.0.12
|
|
github.com/daeuniverse/outbound v0.0.0-20250722064253-00c4fbb38759
|
|
github.com/miekg/dns v1.1.72
|
|
github.com/sagernet/sing v0.6.0
|
|
// Pseudo-version for Xray-core v26.7.28 (commit 5ca6f4b7). v26 tags are not
|
|
// resolvable via go mod because Xray's module path lacks the /v26 suffix.
|
|
github.com/xtls/xray-core v1.260327.1-0.20260728075948-5ca6f4b7d4dc
|
|
golang.org/x/sys v0.47.0
|
|
google.golang.org/grpc v1.83.2
|
|
google.golang.org/protobuf v1.36.11
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.0.6 // indirect
|
|
github.com/apernet/quic-go v0.59.1-0.20260425001925-6c6cc9bcb716 // indirect
|
|
github.com/awnumar/fastrand v0.0.0-20210315215012-30ee0990fa2d // indirect
|
|
github.com/awnumar/memcall v0.0.0-20190816154910-db5ea08008a3 // indirect
|
|
github.com/awnumar/memguard v0.19.1 // indirect
|
|
github.com/chen3feng/stl4go v0.1.1 // indirect
|
|
github.com/cloudflare/circl v1.6.4 // indirect
|
|
github.com/dgryski/go-camellia v0.0.0-20191119043421-69a8a13fb23d // indirect
|
|
github.com/dgryski/go-idea v0.0.0-20170306091226-d2fb45a411fb // indirect
|
|
github.com/dgryski/go-rc2 v0.0.0-20150621095337-8a9021637152 // indirect
|
|
github.com/eknkc/basex v1.0.1 // indirect
|
|
github.com/ghodss/yaml v1.0.1-0.20220118164431-d8423dcdf344 // indirect
|
|
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
|
|
github.com/google/btree v1.1.2 // indirect
|
|
github.com/google/pprof v0.0.0-20250208200701-d0013a598941 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/juju/ratelimit v1.0.2 // indirect
|
|
github.com/klauspost/compress v1.17.4 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.4.0 // indirect
|
|
github.com/mzz2017/disk-bloom v1.0.1 // indirect
|
|
github.com/olicesx/quic-go v0.0.0-20260910141758-62d80bbebb5b // indirect
|
|
github.com/onsi/ginkgo/v2 v2.22.2 // indirect
|
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
|
github.com/pion/dtls/v3 v3.1.4 // indirect
|
|
github.com/pion/logging v0.2.4 // indirect
|
|
github.com/pion/stun/v3 v3.1.6 // indirect
|
|
github.com/pion/transport/v4 v4.0.2 // indirect
|
|
github.com/pires/go-proxyproto v0.15.0 // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/refraction-networking/utls v1.8.3-0.20260301010127-aa6edf4b11af // indirect
|
|
github.com/robfig/cron/v3 v3.0.1 // indirect
|
|
github.com/sagernet/sing-shadowsocks v0.2.7 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
github.com/vishvananda/netlink v1.3.1 // indirect
|
|
github.com/vishvananda/netns v0.0.5 // indirect
|
|
github.com/wlynxg/anet v0.0.5 // indirect
|
|
github.com/xtls/reality v0.0.0-20260322125925-9234c772ba8f // indirect
|
|
gitlab.com/yawning/chacha20.git v0.0.0-20230427033715-7877545b1b37 // indirect
|
|
go.uber.org/mock v0.5.2 // indirect
|
|
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect
|
|
golang.org/x/crypto v0.55.0 // indirect
|
|
golang.org/x/exp v0.0.0-20250207012021-f9890c6ad9f3 // indirect
|
|
golang.org/x/mod v0.38.0 // indirect
|
|
golang.org/x/net v0.58.0 // indirect
|
|
golang.org/x/sync v0.22.0 // indirect
|
|
golang.org/x/text v0.41.0 // indirect
|
|
golang.org/x/time v0.14.0 // indirect
|
|
golang.org/x/tools v0.48.0 // indirect
|
|
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
|
|
golang.zx2c4.com/wireguard v0.0.0-20250521234502-f333402bd9cb // indirect
|
|
golang.zx2c4.com/wireguard/windows v1.0.1 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gvisor.dev/gvisor v0.0.0-20260122175437-89a5d21be8f0 // indirect
|
|
lukechampine.com/blake3 v1.4.1 // indirect
|
|
)
|
|
|
|
replace anytls v0.0.12 => github.com/anytls/anytls-go v0.0.12
|
|
|
|
replace github.com/daeuniverse/outbound => github.com/olicesx/outbound v0.0.0-sticky-ip.0.20260917223728-6a44445c9106
|