mirror of
https://github.com/go-gost/x.git
synced 2026-10-19 16:16:32 +00:00
OpenTunnel carries a network: "udp" asks the plugin for a datagram endpoint (one datagram per write) instead of a byte stream, which is what a tun handler needs — a stream endpoint coalesces and splits packets. tcp stays the default, so existing deployments are untouched. The tun handler could not reach client mode without a service forwarder, so a chain with no forwarder now means client mode with an empty dial address: the link is transparent and the peer comes from the chain node (a p2p node's addr is its peer key). That combination used to be dead config, so it is logged. A forwarder still wins when present, and server mode is unchanged. Alongside: the udp dialer no longer hard-asserts *net.UDPConn (a wrapped base dialer yields a plain conn), udp joins the p2p dialer whitelist, and a udp tunnel announces its client with an empty datagram right after dialing — the endpoint learns where to send peer packets only from a packet it receives, so without it a link whose peer speaks first would never come up. Requires plugin v0.7.0 for the new field.
147 lines
6.1 KiB
AMPL
147 lines
6.1 KiB
AMPL
module github.com/go-gost/x
|
|
|
|
go 1.26.3
|
|
|
|
require (
|
|
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137
|
|
github.com/andybalholm/brotli v1.2.2
|
|
github.com/gin-contrib/cors v1.7.2
|
|
github.com/gin-gonic/gin v1.12.0
|
|
github.com/go-gost/core v0.6.1
|
|
github.com/go-gost/go-shadowsocks2 v0.1.4
|
|
github.com/go-gost/gosocks4 v0.1.0
|
|
github.com/go-gost/gosocks5 v0.5.0
|
|
github.com/go-gost/plugin v0.7.0
|
|
github.com/go-gost/quic-dissector v0.1.0
|
|
github.com/go-gost/relay v0.7.0
|
|
github.com/go-gost/tls-dissector v0.3.1
|
|
github.com/go-redis/redis/v8 v8.11.5
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/goccy/go-yaml v1.19.2
|
|
github.com/golang/snappy v0.0.4
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/hashicorp/yamux v0.1.1
|
|
github.com/klauspost/compress v1.19.0
|
|
github.com/miekg/dns v1.1.61
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/pion/dtls/v3 v3.1.4
|
|
github.com/pires/go-proxyproto v0.8.1
|
|
github.com/prometheus/client_golang v1.21.1
|
|
github.com/quic-go/quic-go v0.60.0
|
|
github.com/quic-go/webtransport-go v0.11.1
|
|
github.com/refraction-networking/utls v1.8.2
|
|
github.com/rs/xid v1.3.0
|
|
github.com/shirou/gopsutil/v3 v3.24.5
|
|
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8
|
|
github.com/spf13/viper v1.19.0
|
|
github.com/stretchr/testify v1.11.1
|
|
github.com/tidwall/gjson v1.19.0
|
|
github.com/tidwall/sjson v1.2.5
|
|
github.com/vishvananda/netlink v1.1.1-0.20211118161826-650dca95af54
|
|
github.com/vishvananda/netns v0.0.4
|
|
github.com/xjasonlyu/tun2socks/v2 v2.6.0
|
|
github.com/xtaci/kcp-go/v5 v5.6.5
|
|
github.com/xtaci/smux v1.5.31
|
|
github.com/xtaci/tcpraw v1.2.25
|
|
github.com/yl2chen/cidranger v1.0.2
|
|
github.com/zalando/go-keyring v0.2.4
|
|
golang.org/x/crypto v0.55.0
|
|
golang.org/x/exp v0.0.0-20241210194714-1829a127f884
|
|
golang.org/x/net v0.58.0
|
|
golang.org/x/sys v0.47.0
|
|
golang.org/x/text v0.41.0
|
|
golang.org/x/time v0.14.0
|
|
golang.zx2c4.com/wireguard v0.0.0-20250521234502-f333402bd9cb
|
|
google.golang.org/grpc v1.83.2
|
|
google.golang.org/protobuf v1.36.11
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
|
gvisor.dev/gvisor v0.0.0-20250523182742-eede7a881b20
|
|
)
|
|
|
|
require (
|
|
github.com/bytedance/gopkg v0.1.3 // indirect
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
|
github.com/shoenig/go-m1cpu v0.1.6 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.0 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.12 // indirect
|
|
github.com/tklauser/numcpus v0.6.1 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/alessio/shellescape v1.4.1 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bytedance/sonic v1.15.0 // indirect
|
|
github.com/bytedance/sonic/loader v0.5.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cloudwego/base64x v0.1.6 // indirect
|
|
github.com/coreos/go-iptables v0.5.0 // indirect
|
|
github.com/danieljoos/wincred v1.2.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/dunglas/httpsfv v1.1.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
|
|
github.com/gin-contrib/sse v1.1.0 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.30.1 // indirect
|
|
github.com/goccy/go-json v0.10.5 // indirect
|
|
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
|
github.com/google/btree v1.1.3 // indirect
|
|
github.com/google/gopacket v1.1.19 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/klauspost/reedsolomon v1.11.8 // indirect
|
|
github.com/leodido/go-urn v1.4.0 // indirect
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/onsi/gomega v1.34.2 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
|
|
github.com/pion/logging v0.2.4 // indirect
|
|
github.com/pion/transport/v4 v4.0.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_model v0.6.1 // indirect
|
|
github.com/prometheus/common v0.62.0 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 // indirect
|
|
github.com/sagikazarmark/locafero v0.4.0 // indirect
|
|
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
|
github.com/sourcegraph/conc v0.3.0 // indirect
|
|
github.com/spf13/afero v1.11.0 // indirect
|
|
github.com/spf13/cast v1.6.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
github.com/templexxx/cpu v0.1.1 // indirect
|
|
github.com/templexxx/xorsimd v0.4.3 // indirect
|
|
github.com/tjfoc/gmsm v1.4.1 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.3.1 // indirect
|
|
github.com/zeebo/blake3 v0.2.4 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/arch v0.22.0 // indirect
|
|
golang.org/x/mod v0.38.0 // indirect
|
|
golang.org/x/sync v0.22.0
|
|
golang.org/x/tools v0.48.0 // indirect
|
|
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260723215102-3fe39f3c1018 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
)
|
|
|
|
replace github.com/ugorji/go v1.1.4 => github.com/ugorji/go/codec v1.2.12
|