Hossin Asaadi and GitHub
dbb1ea30ba
WireGuard proxy: Prevent panic when closing netTun with a write in flight ( #6778 )
...
https://github.com/XTLS/Xray-core/pull/6778#pullrequestreview-5251957308
2026-09-20 20:07:54 +00:00
LjhAUMEM and RPRX
efc9e6da62
WireGuard outbound: Remove remoteDNS' "local" mode and domainStrategy ( #6771 )
...
https://github.com/XTLS/Xray-core/issues/6567#issuecomment-5660953757
https://github.com/XTLS/Xray-core/pull/6771#issuecomment-5751826982
https://github.com/XTLS/Xray-core/pull/6771#issuecomment-5751831637
2026-09-20 19:07:51 +00:00
LjhAUMEM and GitHub
8267cf953a
Transport: Refactor to be based on Finalmask's dialer & listener ( #6754 )
...
https://github.com/XTLS/Xray-core/pull/6327#issuecomment-5645958010
https://github.com/XTLS/Xray-core/pull/6754#issuecomment-5720818254
https://github.com/XTLS/Xray-core/pull/6754#issuecomment-5751585906
2026-09-20 18:12:50 +00:00
c7e569b037
WireGuard outbound: Add remoteDNS & honor TTL ( #6620 )
...
Closes https://github.com/XTLS/Xray-core/pull/6569#issuecomment-5263789755
Fixes https://github.com/XTLS/Xray-core/issues/6567#issuecomment-5150957597
---------
Co-authored-by: LagPixelLOL <2282688304@qq.com >
2026-08-25 14:28:36 +00:00
风扇滑翔翼 and GitHub
7d214f8b09
WireGuard outbound: Fix sendThrough support ( #6570 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6559
2026-08-12 08:38:01 +00:00
0bafca9486
Stats: Fix GetOrRegister*() races ( #6468 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6467#issue-4856851059
---------
Co-authored-by: Joshua Su <i@joshua.su >
2026-07-10 20:34:27 +00:00
LjhAUMEM and GitHub
412898fed7
WireGuard outbound: Fix a race condition ( #6461 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6321#issuecomment-4881463309
2026-07-09 20:40:02 +00:00
345c76f9a8
WireGuard inbound: Support dynamic peer management ( #6360 )
...
https://github.com/XTLS/Xray-core/pull/6360#issuecomment-4780311547
Closes https://github.com/XTLS/Xray-core/issues/6314
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
Co-authored-by: LjhAUMEM <llnu14702@gmail.com >
2026-06-27 11:41:22 +00:00
LjhAUMEM and RPRX
862631172d
WireGuard proxy: Refactor ( #6287 )
...
And https://github.com/XTLS/Xray-core/pull/6303#issuecomment-4669158076
Fixes https://github.com/XTLS/Xray-core/issues/6257
2026-06-17 12:02:10 +00:00
LjhAUMEM and GitHub
da21a8f77f
TUN & WireGuard inbounds: Ignore b.UDP's domain when receiving it from outbound ( #6285 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6279
2026-06-09 20:53:55 +00:00
𐲓𐳛𐳪𐳂𐳐 𐲀𐳢𐳦𐳫𐳢 𐲥𐳔𐳛𐳪𐳌𐳑𐳖𐳇 and GitHub
d43a808ea5
GitHub Action CI: Add Go source file format check ( #6090 )
...
https://github.com/XTLS/Xray-core/pull/6057#issuecomment-4364819830
And https://github.com/XTLS/Xray-core/pull/6149#issuecomment-4546876261
2026-05-29 15:04:59 +00:00
cb206ddc74
DNS: Avoid passing domain to WriteTo func ( #6163 )
...
https://github.com/XTLS/Xray-core/pull/6163#issuecomment-4528771758
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-05-28 18:27:08 +00:00
LjhAUMEM and RPRX
fa07b34956
XDNS finalmask: Use single UDP socket for multiple resolvers for now ( #5982 )
...
https://github.com/XTLS/Xray-core/pull/5982#issuecomment-4302271929
Closes https://github.com/XTLS/Xray-core/pull/5976#issuecomment-4320460288
2026-04-25 20:26:15 +00:00
风扇滑翔翼 and GitHub
3691741440
Chore: Use buf.New() instead of buf.NewWithSize() ( #5946 )
...
https://github.com/XTLS/Xray-core/pull/5941#issuecomment-4252905907
https://github.com/XTLS/Xray-core/pull/5946#issuecomment-4253919073
2026-04-15 16:57:51 +00:00
LjhAUMEM and GitHub
5c3d639c09
Chore: Use buf.NewWithSize() ( #5941 )
2026-04-15 12:11:51 +00:00
LjhAUMEM and GitHub
ba88aa173c
WireGuard outbound: Fix UDP FullCone NAT on Linux ( #5858 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5848
2026-04-05 12:57:08 +00:00
风扇滑翔翼 and GitHub
6eccc59728
WireGuard: Use Xray's buffer ( #5880 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5878
2026-04-03 21:22:45 +00:00
LjhAUMEM and GitHub
8aacdbd71b
WireGuard inbound: Fix multi-peer; Fix potential routing issue ( #5843 )
...
Fixes https://github.com/XTLS/Xray-core/pull/5554
Fixes https://github.com/XTLS/Xray-core/issues/4760
2026-03-27 17:30:21 +00:00
d8a8629a14
WireGuard outbound: Fix multi-peer's readQueue issue ( #5554 )
...
Fixes https://github.com/XTLS/Xray-core/issues/4507
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-03-23 08:08:28 +00:00
67a71adad1
WireGuard: Implement UDP FullCone NAT ( #5833 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5601
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-03-22 17:42:40 +00:00
RPRX and GitHub
d14767d4f3
Chore: Generate *.pb.go files with protoc v6.33.5
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v33.5
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.6.0
(Xray-core/) go run ./infra/vprotogen
2026-02-03 09:34:02 +00:00
Owersun and GitHub
e742e84ded
Upgrade gVisor to latest version v0.0.0-20260109181451-4be7c433dae2 ( #5527 )
...
https://github.com/XTLS/Xray-core/pull/5526#issuecomment-3738638586
2026-01-12 18:18:02 +00:00
Meow and GitHub
a3ba3eefb6
Wireguard: Decouple server endpoint DNS from address option ( #5417 )
...
* Wireguard: Decouple server endpoint DNS from address option
Previously, Wireguard server endpoint's domain resolution was incorrectly constrained by the local `address` option. For example, `ForceIPv6v4` might fail to resolve AAAA records for the server domain if no IPv6 was explicitly configured in the `address` option.
This commit decouples the server endpoint's domain resolution from the local `address` configuration. It ensures the Wireguard server address is resolved independently, allowing its `domainStrategy` to function correctly without being limited by the client's local network or `address` settings.
* Delete code instead of commenting it out
2025-12-14 10:13:47 -05:00
风扇滑翔翼 and GitHub
a610a4c89a
Chore: Remove all double gonet import ( #5402 )
2025-12-10 07:17:29 +00:00
Exclude0122 and RPRX
18a4104737
Fix wireguard not discarding broken connection on android ( #5304 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5303
2025-11-19 04:53:54 +00:00
风扇滑翔翼 and GitHub
5fa5f3fbb9
WireGuard outbound: Fix close closed ( #5054 )
...
Fixes https://github.com/XTLS/Xray-core/issues/5053
2025-08-27 09:33:09 +00:00
yuhan6665 and GitHub
337b4b814e
Wireguard inbound: Fix context sharing problem ( #4988 )
...
* Try fix Wireguard inbound context sharing problem
* Shallow copy inbound and content
* Fix context passing
* Add notes for source address
2025-08-17 10:56:48 -04:00
Cl-He-O and GitHub
7a2f42f8d5
Fix issues related to android client ( #4616 )
...
* WireGuard: Fix tunnel not closed
* Dialer: Apply controllers in lc.Control
2025-04-14 11:08:26 -04:00
Ilya Gulya and RPRX
17207fc5e4
WireGuard: Improve config error handling; Prevent panic in case of errors during server initialization ( #4566 )
...
https://github.com/XTLS/Xray-core/pull/4566#issuecomment-2764779273
2025-03-30 22:55:21 +00:00
Meo597 and GitHub
4afe2d0cff
DNS: Support returning upstream TTL to clients ( #4526 )
...
Closes https://github.com/XTLS/Xray-core/issues/4527
2025-03-24 13:33:56 +00:00
Hossin Asaadi and GitHub
de53a3b94e
Upgrade gVisor to a newer version ( #3903 )
2025-01-03 15:50:23 +00:00
风扇滑翔翼 and RPRX
3e7002d24c
WireGuard inbound: Add missing inbound session information back ( #4126 )
...
Fixes https://github.com/XTLS/Xray-core/issues/4121
2024-12-06 23:50:26 +00:00
风扇滑翔翼 and GitHub
59e5d24280
WireGuard inbound: Fix leaking session information between requests ( #4030 )
...
Fixes https://github.com/XTLS/Xray-core/issues/3948 https://github.com/XTLS/Xray-core/issues/4025
2024-11-20 05:00:40 +00:00
风扇滑翔翼 and GitHub
17825b25f2
WireGuard kernelTun: Fix multi-outbounds not work ( #4015 )
...
Fixes https://github.com/XTLS/Xray-core/issues/2817
2024-11-14 00:13:27 +00:00
zonescape and GitHub
83bab5dd90
Chore: Run gofmt ( #3990 )
2024-11-09 11:16:11 +00:00
风扇滑翔翼 and RPRX
b7aacd3245
Wireguard inbound: Do not use kernel TUN ( #3960 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2024-11-02 21:07:17 +00:00
RPRX and GitHub
ceb6eac8e7
WireGuard createTun: Add more logs
2024-10-30 02:20:55 +00:00
RPRX and GitHub
9bdf72d658
WireGuard config: Replace kernelMode with noKernelTun
...
https://github.com/XTLS/Xray-core/pull/3871#issuecomment-2420770309
2024-10-18 00:10:09 +00:00
RPRX
47fad1fbfd
Chore: Generate *.pb.go files with protoc v5.28.2
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v28.2
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.35 .1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
(Xray-core/) go run ./infra/vprotogen
2024-10-16 04:06:21 +00:00
19f3f709b2
WireGuard kernelTun: Check Capabilities instead of checking UID ( #3871 )
...
https://github.com/XTLS/Xray-core/pull/3871#issuecomment-2412820323
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2024-10-15 03:30:29 +00:00
Kobe Arthur Scofield and GitHub
7086d286be
Remove legacy code ( #3838 )
...
* Add feature migration notice
* Remove legacy code of transport processing
* Clear legacy proto field
* Fix missing
* Unify protocolname
* Test remove
* Supressor
* Weird code
* Remove errorgen related comments
2024-09-23 11:28:19 -04:00
mmmray and GitHub
2be03c56cb
Pin protobuf packages ( #3715 )
...
* Pin protobuf packages
It happened in the past that I ran with the wrong protobuf version
installed locally, and apparently there is even still some file wrong in
splithttp. Fix this issue once and for all.
* bump protobuf packages
* Revert "bump protobuf packages"
This reverts commit 7a3509346a .
* Revert "Revert "bump protobuf packages""
This reverts commit bb79707d15 .
* fix deprecated grpc usage
2024-08-22 10:18:36 -04:00
チセ and GitHub
41d03d1856
Wireguard inbound: Fix no route when bind to interface ( #3698 )
2024-08-20 08:20:01 +00:00
yuhan6665 and GitHub
a342db3e28
Fix a nil pointer in Wireguard client logging ( #3608 )
2024-07-29 06:43:46 +00:00
yuhan6665 and GitHub
079d0bd8a9
Refactor log ( #3446 )
...
* Refactor log
* Add new log methods
* Fix logger test
* Change all logging code
* Clean up pathObj
* Rebase to latest main
* Remove invoking method name after the dot
2024-06-29 14:32:57 -04:00
yuhan6665
bbf25b14d9
Update dependencies
2024-06-01 11:56:24 -04:00
RPRX and GitHub
ca07a705dc
Generate *.pb.go files with protoc v5.27.0
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v27.0
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34 .1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
(Xray-core/) go run ./infra/vprotogen
2024-05-26 03:20:53 +00:00
yuhan6665
9b6141b83f
Wireguard dial with context
2024-05-22 09:02:20 -04:00
yuhan6665 and GitHub
017f53b5fc
Add session context outbounds as slice ( #3356 )
...
* Add session context outbounds as slice
slice is needed for dialer proxy where two outbounds work on top of each other
There are two sets of target addr for example
It also enable Xtls to correctly do splice copy by checking both outbounds are ready to do direct copy
* Fill outbound tag info
* Splice now checks capalibility from all outbounds
* Fix unit tests
2024-05-13 21:52:24 -04:00
yuhan6665
657c5c8570
Update HTTPUpgrade spelling and proto
2024-03-20 13:08:43 -04:00