Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/foss/golang/clash
Submodule clash updated 65 files
+1 −1 .github/workflows/build.yml
+1 −0 adapter/adapter.go
+3 −4 adapter/inbound/util.go
+7 −6 adapter/outbound/anytls.go
+92 −0 adapter/outbound/base.go
+7 −13 adapter/outbound/hysteria.go
+8 −13 adapter/outbound/hysteria2.go
+0 −38 adapter/outbound/hysteria2_test.go
+0 −39 adapter/outbound/hysteria_test.go
+5 −5 adapter/outbound/mieru.go
+7 −4 adapter/outbound/reality.go
+1 −1 adapter/outbound/shadowsocks.go
+1 −1 adapter/outbound/shadowsocksr.go
+12 −16 adapter/outbound/singmux.go
+1 −1 adapter/outbound/socks5.go
+17 −27 adapter/outbound/ssh.go
+10 −2 adapter/outbound/trojan.go
+1 −1 adapter/outbound/tuic.go
+9 −70 adapter/outbound/util.go
+13 −6 adapter/outbound/vless.go
+10 −2 adapter/outbound/vmess.go
+7 −149 adapter/outbound/wireguard.go
+0 −45 adapter/outbound/wireguard_test.go
+4 −4 adapter/parser.go
+31 −0 common/contextutils/afterfunc_compact.go
+11 −0 common/contextutils/afterfunc_go120.go
+9 −0 common/contextutils/afterfunc_go121.go
+100 −0 common/contextutils/afterfunc_test.go
+21 −19 common/convert/converter.go
+15 −18 common/net/context.go
+1 −1 common/net/refconn.go
+0 −73 common/nnip/netip.go
+15 −10 common/singledo/singledo.go
+6 −5 component/dhcp/dhcp.go
+3 −2 component/fakeip/pool.go
+1 −0 component/process/process_darwin.go
+3 −3 component/process/process_freebsd_amd64.go
+2 −2 component/process/process_windows.go
+20 −0 component/resolver/resolver.go
+22 −0 component/tls/reality.go
+8 −0 config/config.go
+3 −0 constant/adapters.go
+25 −6 constant/metadata.go
+9 −3 dns/middleware.go
+12 −1 dns/system_windows.go
+12 −8 dns/util.go
+2 −2 go.mod
+4 −4 go.sum
+13 −9 listener/config/tun.go
+8 −0 listener/inbound/tun.go
+5 −1 listener/reality/reality.go
+1 −1 listener/sing_shadowsocks/server.go
+23 −4 listener/sing_tun/server.go
+1 −1 listener/sing_vless/server.go
+1 −1 listener/sing_vmess/server.go
+1 −1 listener/tproxy/udp.go
+1 −1 transport/anytls/session/stream.go
+64 −29 transport/gun/gun.go
+14 −13 transport/gun/server.go
+15 −10 transport/gun/transport.go
+64 −0 transport/gun/transport_close.go
+10 −7 transport/socks5/socks5.go
+3 −3 transport/tuic/v4/protocol.go
+3 −3 transport/tuic/v5/protocol.go
+2 −2 transport/vmess/websocket.go
4 changes: 2 additions & 2 deletions core/src/foss/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ require (
github.com/metacubex/quic-go v0.49.1-0.20250212162123-c135a4412996 // indirect
github.com/metacubex/randv2 v0.2.0 // indirect
github.com/metacubex/reality v0.0.0-20250219003814-74e8d7850629 // indirect
github.com/metacubex/sing-quic v0.0.0-20250119013740-2a19cce83925 // indirect
github.com/metacubex/sing-quic v0.0.0-20250404030904-b2cc8aab562c // indirect
github.com/metacubex/sing-shadowsocks v0.2.8 // indirect
github.com/metacubex/sing-shadowsocks2 v0.2.2 // indirect
github.com/metacubex/sing-tun v0.4.6-0.20250312042506-6d3b4dc05c04 // indirect
github.com/metacubex/sing-tun v0.4.6-0.20250408111348-d1d90a8d694b // indirect
github.com/metacubex/sing-vmess v0.1.14-0.20250228002636-abc39e113b82 // indirect
github.com/metacubex/sing-wireguard v0.0.0-20241126021510-0827d417b589 // indirect
github.com/metacubex/tfo-go v0.0.0-20241231083714-66613d49c422 // indirect
Expand Down
8 changes: 4 additions & 4 deletions core/src/foss/golang/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ github.com/metacubex/reality v0.0.0-20250219003814-74e8d7850629 h1:aHsYiTvubfgMa
github.com/metacubex/reality v0.0.0-20250219003814-74e8d7850629/go.mod h1:TTeIOZLdGmzc07Oedn++vWUUfkZoXLF4sEMxWuhBFr8=
github.com/metacubex/sing v0.0.0-20250228041610-d94509dc612a h1:xjPXdDTlIKq4U/KnKpoCtkxD03T8GimtQrvHy/3dN00=
github.com/metacubex/sing v0.0.0-20250228041610-d94509dc612a/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/metacubex/sing-quic v0.0.0-20250119013740-2a19cce83925 h1:UkPoRAnoBQMn7IK5qpoIV3OejU15q+rqel3NrbSCFKA=
github.com/metacubex/sing-quic v0.0.0-20250119013740-2a19cce83925/go.mod h1:g7Mxj7b7zm7YVqD975mk/hSmrb0A0G4bVvIMr2MMzn8=
github.com/metacubex/sing-quic v0.0.0-20250404030904-b2cc8aab562c h1:OB3WmMA8YPJjE36RjD9X8xlrWGJ4orxbf2R/KAE28b0=
github.com/metacubex/sing-quic v0.0.0-20250404030904-b2cc8aab562c/go.mod h1:g7Mxj7b7zm7YVqD975mk/hSmrb0A0G4bVvIMr2MMzn8=
github.com/metacubex/sing-shadowsocks v0.2.8 h1:wIhlaigswzjPw4hej75sEvWte3QR0+AJRafgwBHO5B4=
github.com/metacubex/sing-shadowsocks v0.2.8/go.mod h1:X3x88XtJpBxG0W0/ECOJL6Ib0SJ3xdniAkU/6/RMWU0=
github.com/metacubex/sing-shadowsocks2 v0.2.2 h1:eaf42uVx4Lr21S6MDYs0ZdTvGA0GEhDpb9no4+gdXPo=
github.com/metacubex/sing-shadowsocks2 v0.2.2/go.mod h1:BhOug03a/RbI7y6hp6q+6ITM1dXjnLTmeWBHSTwvv2Q=
github.com/metacubex/sing-tun v0.4.6-0.20250312042506-6d3b4dc05c04 h1:B211C+i/I8CWf4I/BaAV0mmkEHrDBJ0XR9EWxjPbFEg=
github.com/metacubex/sing-tun v0.4.6-0.20250312042506-6d3b4dc05c04/go.mod h1:V0N4rr0dWPBEE20ESkTXdbtx2riQYcb6YtwC5w/9wl0=
github.com/metacubex/sing-tun v0.4.6-0.20250408111348-d1d90a8d694b h1:lfO44NtD27WTNyLuXApTHBGYk1f72gSdWCJESu/JWEo=
github.com/metacubex/sing-tun v0.4.6-0.20250408111348-d1d90a8d694b/go.mod h1:V0N4rr0dWPBEE20ESkTXdbtx2riQYcb6YtwC5w/9wl0=
github.com/metacubex/sing-vmess v0.1.14-0.20250228002636-abc39e113b82 h1:zZp5uct9+/0Hb1jKGyqDjCU4/72t43rs7qOq3Rc9oU8=
github.com/metacubex/sing-vmess v0.1.14-0.20250228002636-abc39e113b82/go.mod h1:nE7Mdzj/QUDwgRi/8BASPtsxtIFZTHA4Yst5GgwbGCQ=
github.com/metacubex/sing-wireguard v0.0.0-20241126021510-0827d417b589 h1:Z6bNy0HLTjx6BKIkV48sV/yia/GP8Bnyb5JQuGgSGzg=
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ require (
github.com/metacubex/quic-go v0.49.1-0.20250212162123-c135a4412996 // indirect
github.com/metacubex/randv2 v0.2.0 // indirect
github.com/metacubex/reality v0.0.0-20250219003814-74e8d7850629 // indirect
github.com/metacubex/sing-quic v0.0.0-20250119013740-2a19cce83925 // indirect
github.com/metacubex/sing-quic v0.0.0-20250404030904-b2cc8aab562c // indirect
github.com/metacubex/sing-shadowsocks v0.2.8 // indirect
github.com/metacubex/sing-shadowsocks2 v0.2.2 // indirect
github.com/metacubex/sing-tun v0.4.6-0.20250312042506-6d3b4dc05c04 // indirect
github.com/metacubex/sing-tun v0.4.6-0.20250408111348-d1d90a8d694b // indirect
github.com/metacubex/sing-vmess v0.1.14-0.20250228002636-abc39e113b82 // indirect
github.com/metacubex/sing-wireguard v0.0.0-20241126021510-0827d417b589 // indirect
github.com/metacubex/tfo-go v0.0.0-20241231083714-66613d49c422 // indirect
Expand Down
8 changes: 4 additions & 4 deletions core/src/main/golang/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ github.com/metacubex/reality v0.0.0-20250219003814-74e8d7850629 h1:aHsYiTvubfgMa
github.com/metacubex/reality v0.0.0-20250219003814-74e8d7850629/go.mod h1:TTeIOZLdGmzc07Oedn++vWUUfkZoXLF4sEMxWuhBFr8=
github.com/metacubex/sing v0.0.0-20250228041610-d94509dc612a h1:xjPXdDTlIKq4U/KnKpoCtkxD03T8GimtQrvHy/3dN00=
github.com/metacubex/sing v0.0.0-20250228041610-d94509dc612a/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/metacubex/sing-quic v0.0.0-20250119013740-2a19cce83925 h1:UkPoRAnoBQMn7IK5qpoIV3OejU15q+rqel3NrbSCFKA=
github.com/metacubex/sing-quic v0.0.0-20250119013740-2a19cce83925/go.mod h1:g7Mxj7b7zm7YVqD975mk/hSmrb0A0G4bVvIMr2MMzn8=
github.com/metacubex/sing-quic v0.0.0-20250404030904-b2cc8aab562c h1:OB3WmMA8YPJjE36RjD9X8xlrWGJ4orxbf2R/KAE28b0=
github.com/metacubex/sing-quic v0.0.0-20250404030904-b2cc8aab562c/go.mod h1:g7Mxj7b7zm7YVqD975mk/hSmrb0A0G4bVvIMr2MMzn8=
github.com/metacubex/sing-shadowsocks v0.2.8 h1:wIhlaigswzjPw4hej75sEvWte3QR0+AJRafgwBHO5B4=
github.com/metacubex/sing-shadowsocks v0.2.8/go.mod h1:X3x88XtJpBxG0W0/ECOJL6Ib0SJ3xdniAkU/6/RMWU0=
github.com/metacubex/sing-shadowsocks2 v0.2.2 h1:eaf42uVx4Lr21S6MDYs0ZdTvGA0GEhDpb9no4+gdXPo=
github.com/metacubex/sing-shadowsocks2 v0.2.2/go.mod h1:BhOug03a/RbI7y6hp6q+6ITM1dXjnLTmeWBHSTwvv2Q=
github.com/metacubex/sing-tun v0.4.6-0.20250312042506-6d3b4dc05c04 h1:B211C+i/I8CWf4I/BaAV0mmkEHrDBJ0XR9EWxjPbFEg=
github.com/metacubex/sing-tun v0.4.6-0.20250312042506-6d3b4dc05c04/go.mod h1:V0N4rr0dWPBEE20ESkTXdbtx2riQYcb6YtwC5w/9wl0=
github.com/metacubex/sing-tun v0.4.6-0.20250408111348-d1d90a8d694b h1:lfO44NtD27WTNyLuXApTHBGYk1f72gSdWCJESu/JWEo=
github.com/metacubex/sing-tun v0.4.6-0.20250408111348-d1d90a8d694b/go.mod h1:V0N4rr0dWPBEE20ESkTXdbtx2riQYcb6YtwC5w/9wl0=
github.com/metacubex/sing-vmess v0.1.14-0.20250228002636-abc39e113b82 h1:zZp5uct9+/0Hb1jKGyqDjCU4/72t43rs7qOq3Rc9oU8=
github.com/metacubex/sing-vmess v0.1.14-0.20250228002636-abc39e113b82/go.mod h1:nE7Mdzj/QUDwgRi/8BASPtsxtIFZTHA4Yst5GgwbGCQ=
github.com/metacubex/sing-wireguard v0.0.0-20241126021510-0827d417b589 h1:Z6bNy0HLTjx6BKIkV48sV/yia/GP8Bnyb5JQuGgSGzg=
Expand Down
Loading