patterniha and Claude Opus 5.5
ab3c3f9909
TUN inbound: Consolidate files and remove unneeded tests; Rename wfp_leak.go to wfp_block.go
...
As requested in https://github.com/XTLS/Xray-core/pull/7460#issuecomment-7131171930 :
proxy/tun goes from 36 files to 29. No behaviour change: the merged code is
moved as it is.
Merged:
- guid.go into config.go
- tun_windows_outbound.go into tun_windows.go
- tun_windows_wfp_test.go and guid_windows_test.go into tun_windows_test.go
- tun_freebsd_dns_test.go into tun_freebsd_test.go
- tun_linux_dns_test.go and tun_linux_dns_route_test.go into tun_linux_test.go
Renamed wfp_leak.go and wfp_leak_test.go to wfp_block.go and wfp_block_test.go.
Removed:
- guid_test.go: TestTunConfigGUID in infra/conf covers what ParseGUID accepts,
and TestAdapterGUID the bytes it returns. The one case they lacked, a hyphen
out of place, is now in TestTunConfigGUID.
- TestLeakCovers: covers is only ever asked about port 53, which
TestExpandWfpBlockLeak checks through BlocksSystemDNS.
- udp_queue_bench_test.go and BenchmarkUDPNewSession: benchmarks, which CI
does not run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-25 18:25:44 +09:00
5d8b20239f
VLESS outbound: Better UDP/443 dropping ( #7467 )
...
https://github.com/XTLS/Xray-core/pull/7465#issuecomment-7081110276
---------
Co-authored-by: StarProxima <34741787+StarProxima@users.noreply.github.com >
2026-11-24 23:03:44 +00:00
e17392a96e
VLESS Multiplex, Reverse Proxy: Refactor to move code into VLESS; Mux only uses settings.multiplex in VLESS/VMess outbound ( #7364 )
...
https://github.com/XTLS/Xray-core/pull/6748#issuecomment-5752780799
https://github.com/XTLS/Xray-core/issues/7240#issuecomment-6439951754
https://github.com/XTLS/Xray-core/pull/4231#issuecomment-6679992732
https://github.com/XTLS/Xray-core/pull/7355#issuecomment-6739539943
https://github.com/XTLS/Xray-core/pull/7359#issuecomment-6742147165
https://github.com/XTLS/Xray-core/pull/7364#issuecomment-6784892866
https://github.com/XTLS/Xray-core/pull/7364#issuecomment-6812285253
https://github.com/XTLS/Xray-core/pull/7364#issuecomment-6842747639
https://github.com/XTLS/Xray-core/pull/4231#issuecomment-7012427059
https://github.com/XTLS/Xray-core/pull/7364#issuecomment-7108550396
https://github.com/XTLS/Xray-core/pull/7364#issuecomment-7129493942
https://github.com/XTLS/Xray-core/pull/7364#issuecomment-7130454962
---------
Co-authored-by: Codex <codex@users.noreply.github.com >
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-11-24 18:20:46 +00:00
Plangto and GitHub
d9131d381c
TUN inbound: Support configurable Wintun adapter guid on Windows ( #7460 )
...
Closes https://github.com/XTLS/Xray-core/issues/7458
2026-11-24 12:09:36 +00:00
Meow and GitHub
8f0bb9fbfa
Outbounds: Avoid circular dependencies with the built-in DNS ( #7425 )
...
https://github.com/XTLS/Xray-core/pull/7425#issuecomment-6900056768
https://github.com/XTLS/Xray-core/pull/7425#issuecomment-6953371666
https://github.com/XTLS/Xray-core/pull/7425#issuecomment-7023506796
2026-11-21 20:37:44 +00:00
Meow and GitHub
ce074ce572
Env: Remove XRAY_CONE_DISABLED ( #6110 )
...
https://github.com/XTLS/Xray-core/pull/6057#issuecomment-4364744151
https://github.com/XTLS/Xray-core/pull/6075#issuecomment-4395258425
https://github.com/XTLS/Xray-core/pull/6110#issuecomment-7003152469
2026-11-19 11:25:41 +00:00
Roy Hill-Percival and GitHub
1c5a1fbf70
TUN inbound: End UDP flows and cancel dispatches when the inbound closes ( #7350 )
...
https://github.com/XTLS/Xray-core/pull/7350#pullrequestreview-5901009138
2026-11-19 07:57:32 +00:00
deadnews and GitHub
b983473390
Socks & HTTP inbounds: Add email to access log ( #7437 )
...
Fixes https://github.com/XTLS/Xray-core/issues/7436
2026-11-19 07:11:16 +00:00
5e861653c2
VMess inbound: Refactor code to use DispatchLink() ( #5143 )
...
https://github.com/XTLS/Xray-core/pull/5143#issuecomment-3403697498
https://github.com/XTLS/Xray-core/pull/5143#issuecomment-6743282472
https://github.com/XTLS/Xray-core/pull/5143#issuecomment-7000643202
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-11-19 06:38:22 +00:00
7daa8e4b6a
Direct/Freedom outbound: Rename finalRules to firewall; Add reply to firewall; Merge Block/Blackhole outbound; Move proxyProtocol to "proxy-protocol" TCP finalmask ( #7281 )
...
https://github.com/XTLS/Xray-core/pull/7238#issuecomment-6467092152
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6484050347
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6484439860
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6621021705
https://github.com/XTLS/Xray-core/pull/7329#issuecomment-6623818990
https://github.com/XTLS/Xray-core/pull/7329#issuecomment-6624149740
https://github.com/XTLS/Xray-core/pull/7329#issuecomment-6625219097
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6627156942
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6850640864
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6973501579
---------
Co-authored-by: Codex <codex@openai.com >
2026-11-18 10:39:20 +00:00
𐲓𐳛𐳪𐳂𐳐 𐲀𐳢𐳦𐳫𐳢 𐲥𐳔𐳛𐳪𐳌𐳑𐳖𐳇 and GitHub
c456141815
Build: Build list optimization; build tags clean-up ( #5824 )
...
https://github.com/XTLS/Xray-core/pull/5824#issuecomment-6796919801
2026-11-11 13:42:32 +00:00
RPRX
924a5e7814
uTLS: Temporarily switch to official 20261108164504, with REALITY 20261108101329
...
https://github.com/XTLS/Xray-core/pull/7135#issuecomment-6724425673
https://github.com/refraction-networking/utls/commit/a13c59ffe98bb01b2ca14143eb2e887664b1f138
https://github.com/XTLS/REALITY/commit/4bb46b2afd8b4f1f082fbaccae34fd3c7a3f8973
2026-11-09 01:06:40 +00:00
Gleb and GitHub
3d3a504159
uTLS: Switch to XTLS/utls fork; Register hellochrome_155, which is also the new default fingerprint ( #7135 )
...
https://github.com/XTLS/Xray-core/discussions/7333#discussioncomment-19433184
https://github.com/XTLS/Xray-core/issues/7259#issuecomment-6718349626
https://github.com/XTLS/Xray-core/issues/7208#issuecomment-6677620667
https://github.com/XTLS/Xray-core/pull/7187#issuecomment-6314784068
https://github.com/XTLS/Xray-core/discussions/7144#discussioncomment-18912091
https://github.com/XTLS/Xray-core/issues/6299#issuecomment-4658601714
https://github.com/XTLS/Xray-core/pull/6181#issuecomment-4567373533
...
Closes https://github.com/XTLS/Xray-core/issues/7131#issuecomment-6139192035
2026-11-08 07:59:54 +00:00
2d287bbdee
TUN inbound: Log IPv6 setup errors (gateway, dns and autoSystemRoutingTable) instead of exiting on Windows when DisabledComponents turns IPv6 off, with autoSystemWfpBlockLeak's "misconfigtun" blocking IPv6 then ( #7341 )
...
https://github.com/XTLS/Xray-core/pull/7325#issuecomment-6628514757
https://github.com/XTLS/Xray-core/pull/7332#issuecomment-6676374920
https://github.com/XTLS/Xray-core/pull/7341#issuecomment-6700092032
Replaces https://github.com/XTLS/Xray-core/pull/7332 , https://github.com/XTLS/Xray-core/pull/7325 and https://github.com/XTLS/Xray-core/pull/6874
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-08 04:01:04 +00:00
36756ad672
TUN inbound: IPv6 entries in dns exit the core on Windows when IPv6 cannot be set up, as in gateway and autoSystemRoutingTable ( #7332 )
...
https://github.com/XTLS/Xray-core/pull/7325#issuecomment-6637932641
https://github.com/XTLS/Xray-core/pull/7332#issuecomment-6643930058
https://github.com/XTLS/Xray-core/pull/7332#issuecomment-6676374920
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-06 03:53:19 +00:00
Hossin Asaadi and GitHub
fff4acac52
WireGuard proxy: Give up on the endpoint lookup at the connection's deadline ( #7323 )
...
https://github.com/XTLS/Xray-core/pull/7323#issuecomment-6623261000
2026-11-04 10:53:08 +00:00
ad98ffd42b
TUN inbound: Ignore dns IPv6 setup error when neither gateway nor autoSystemRoutingTable has an IPv6 entry on Windows ( #7325 )
...
https://github.com/XTLS/Xray-core/pull/7325#issuecomment-6619158295
---------
Co-authored-by: patterniha <71074308+patterniha@users.noreply.github.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-04 10:20:31 +00:00
Meow and GitHub
63ca2e0c1d
Direct/Freedom outbound's finalRules: Add logLevel; blockDelay->delay; Apply default safe policy on MASQUE as well ( #7329 )
...
https://github.com/XTLS/Xray-core/pull/7281#issuecomment-6482226042
https://github.com/XTLS/Xray-core/issues/7240#issuecomment-6601762396
https://github.com/XTLS/Xray-core/pull/7324#issuecomment-6621358849
https://github.com/XTLS/Xray-core/pull/7329#issuecomment-6622083462
https://github.com/XTLS/Xray-core/pull/7329#issuecomment-6625219097
https://github.com/XTLS/Xray-core/pull/7329#issuecomment-6625305192
2026-11-04 08:34:58 +00:00
967ade1e03
TUN inbound's autoSystemWfpBlockLeak: Add "all", "allexceptlan", port alone, port range, "tcp"/"udp" alone or with port range, "icmp", and a CIDR in front of any value; Always allow loopback, DHCP and IPv6 neighbor discovery ( #7315 )
...
https://github.com/XTLS/Xray-core/pull/7288#issuecomment-6559954865
https://github.com/XTLS/Xray-core/pull/7315#issuecomment-6582481840
https://github.com/XTLS/Xray-core/pull/7315#issuecomment-6588253141
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 21:40:36 +00:00
6cdd323ad8
TUN inbound's autoSystemWfpBlockLeak: Support "tcp/port" and "udp/port"; "dns" covers "tcp/853" and "udp/853" as well ( #7288 )
...
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-6492838227
https://github.com/XTLS/Xray-core/pull/7288#issuecomment-6507229727
https://github.com/XTLS/Xray-core/pull/7288#issuecomment-6516762634
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-31 13:16:31 +00:00
bc7c895278
HTTP inbound: Forward short 100 Continue responses promptly ( #7298 )
...
https://github.com/XTLS/Xray-core/pull/7298#issuecomment-6542585254
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-31 11:29:02 +00:00
风扇滑翔翼 and GitHub
d1140de273
Chore: Regenerate *.pb.go files ( #7287 )
...
https://github.com/XTLS/Xray-core/pull/7263#issuecomment-6464669635
2026-10-31 07:13:55 +00:00
78b5a6ec5c
GitHub Action CI: Enforce stricter checks on generated protobuf files ( #7263 )
...
https://github.com/XTLS/Xray-core/pull/7263#issuecomment-6447862934
https://github.com/XTLS/Xray-core/pull/7263#issuecomment-6484719865
https://github.com/XTLS/Xray-core/pull/7263#issuecomment-6485805671
---------
Co-authored-by: Fangliding <Fangliding.fshxy@outlook.com >
2026-10-29 02:34:47 +00:00
5865e3ac3d
DNS outbound: Keep hijacked A/AAAA replies within the buffer ( #7225 )
...
https://github.com/XTLS/Xray-core/pull/7225#pullrequestreview-5613859264
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-29 00:42:19 +00:00
6a4274ab75
TUN inbound: autoOutboundsInterface should not set IP_BOUND_IF on IPv6 sockets on Darwin (mainly macOS) ( #7230 )
...
Fixes https://github.com/XTLS/Xray-core/issues/7228
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-28 20:34:40 +00:00
solodecode and GitHub
229799a7a3
Direct/Freedom outbound: Fix blockDelay for DispatchLink() inbounds such as VLESS, Hysteria, etc. ( #7238 )
...
https://github.com/XTLS/Xray-core/pull/7238#pullrequestreview-5627787937
https://github.com/XTLS/Xray-core/pull/7238#issuecomment-6467092152
https://github.com/XTLS/Xray-core/pull/6060#issuecomment-4384511163
2026-10-28 11:02:55 +00:00
3071fbfa25
Sockopt: Handle single-family interface binding on Windows, including TUN inbound's autoOutboundsInterface ( #7214 )
...
And https://github.com/XTLS/Xray-core/pull/7214#issuecomment-6329118637
https://github.com/XTLS/Xray-core/pull/7201#issuecomment-6314453444
Fixes https://github.com/XTLS/Xray-core/issues/7160#issuecomment-6246944012
---------
Co-authored-by: patterniha <71074308+patterniha@users.noreply.github.com >
2026-10-28 10:15:58 +00:00
Artem Lytkin and GitHub
557657b576
TUN inbound: Read large TCP segments straight into Xray-core's buffers on Linux ( #7179 )
...
https://github.com/XTLS/Xray-core/pull/7130#issuecomment-6119897360
https://github.com/XTLS/Xray-core/pull/7156#issuecomment-6205035216
https://github.com/XTLS/Xray-core/pull/7179#issuecomment-6250145934
2026-10-21 11:49:36 +00:00
061c2df291
HTTP outbound: Fix hanging on server-first traffic ( #7193 )
...
https://github.com/XTLS/Xray-core/pull/7193#issuecomment-6312885274
Fixes https://github.com/XTLS/Xray-core/issues/3459
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-21 10:33:27 +00:00
41797c234d
Socks inbound: Initialize TempUDPConn's Timer at the beginning ( #7203 )
...
Fixes https://github.com/XTLS/Xray-core/pull/7200
---------
Co-authored-by: Eliot the Cougar <1861169+eliotcougar@users.noreply.github.com >
2026-10-21 09:17:34 +00:00
0f127f934c
XTLS Vision: Compatible with Go 1.27.3+ ( #7176 )
...
https://github.com/XTLS/Xray-core/pull/7176#issuecomment-6229087350
Fixes https://github.com/XTLS/Xray-core/issues/7162#issuecomment-6210430747
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-10-17 03:37:14 +00:00
0f3d884786
WireGuard outbound: Keep the device when its setup fails ( #7151 )
...
https://github.com/XTLS/Xray-core/pull/7151#issuecomment-6186150131
Fixes https://github.com/XTLS/Xray-core/pull/7151#issuecomment-6190189547
---------
Co-authored-by: LjhAUMEM <llnu14702@gmail.com >
2026-10-16 09:50:47 +00:00
fe2ae23f42
Sockopt: Cancel dialing after failed to bind interface, external controllers included such as TUN inbound's ( #7173 )
...
https://github.com/XTLS/Xray-core/pull/7161#issuecomment-6185101741
Fixes https://github.com/XTLS/Xray-core/issues/7160#issuecomment-6200788453
---------
Co-authored-by: Gleb <a1212gleb@gmail.com >
2026-10-16 06:37:52 +00:00
d15966c76c
Fixes: Regard int() as int32() by default, which should be a coding standard ( #7155 )
...
https://github.com/XTLS/Xray-core/pull/7155#issuecomment-6208455069
Fixes https://github.com/XTLS/Xray-core/pull/7148#issuecomment-6173633056
---------
Co-authored-by: Denis Orlov <freshcrowd@gmail.com >
Co-authored-by: Milomilo777 <117558067+Milomilo777@users.noreply.github.com >
2026-10-16 05:12:52 +00:00
Artem Lytkin and GitHub
8703fdb101
WireGuard, MASQUE proxies: Use Xray-core's built-in lightweight TCP/IP stack instead of gVisor as well ( #7156 )
...
https://github.com/XTLS/Xray-core/pull/7130#issuecomment-6116258188
https://github.com/XTLS/Xray-core/pull/7130#issuecomment-6120742739
https://github.com/XTLS/Xray-core/pull/7130#issuecomment-6137264458
https://github.com/XTLS/Xray-core/pull/7156#issuecomment-6202933664
https://github.com/XTLS/Xray-core/pull/7156#issuecomment-6203239736
2026-10-15 23:38:14 +00:00
0888beb38a
SS2022 proxy: Correct interrupt behavior and UDP conn change ( #7143 )
...
Fixes https://github.com/XTLS/Xray-core/pull/7142 and https://github.com/XTLS/Xray-core/pull/7143#issuecomment-6163926468
---------
Co-authored-by: ChownYourLife <260039878+ChownYourLife@users.noreply.github.com >
2026-10-14 11:05:45 +00:00
c77a4d0e49
MASQUE client: Support XMUX ("maxConnections": 1 by default); Use Chrome's User-Agent by default ( #7121 )
...
https://github.com/XTLS/Xray-core/pull/6810#issuecomment-5842441136
https://github.com/XTLS/Xray-core/pull/6878#issuecomment-6095112915
https://github.com/XTLS/Xray-core/pull/7121#issuecomment-6117636043
---------
Co-authored-by: SVLAVR <skugorov.s@gmail.com >
2026-10-12 19:40:04 +00:00
brookwko and RPRX
1dd2a0bd3c
TUN inbound: Support autoSystemDnsToGateway on FreeBSD as well ( #7123 )
...
https://github.com/XTLS/Xray-core/issues/6454#issuecomment-5859521287
https://github.com/XTLS/Xray-core/pull/6691#issuecomment-5445818753
https://github.com/XTLS/Xray-core/pull/6773 & https://github.com/XTLS/Xray-core/pull/6853
2026-10-12 02:48:59 +00:00
Artem Lytkin and RPRX
70ef97d564
TUN inbound: Use Xray-core's built-in lightweight TCP/IP stack instead of gVisor ( #7130 )
...
https://github.com/XTLS/Xray-core/pull/6771#issuecomment-5752154561
https://github.com/XTLS/Xray-core/pull/6795#issuecomment-6095740152
https://github.com/XTLS/Xray-core/pull/7130#issuecomment-6116258188
2026-10-12 02:18:56 +00:00
2a14c50775
Socks inbound: Fix stats for UDP Associate traffic ( #7101 )
...
https://github.com/XTLS/Xray-core/pull/7101#pullrequestreview-5452526703
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-08 09:21:21 +00:00
8989adfd3f
TUN inbound: Handle weak host send and forwarding on the outbound interface on Windows ( #7092 )
...
https://github.com/XTLS/Xray-core/issues/6776#issuecomment-5994046421
https://github.com/XTLS/Xray-core/issues/6776#issuecomment-5994796106
Closes https://github.com/XTLS/Xray-core/issues/6776
Closes https://github.com/XTLS/Xray-core/issues/6872
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-08 05:49:28 +00:00
Hossin Asaadi and GitHub
1a60fc78ff
TUN inbound: Duplicate the iOS tunnel file descriptor ( #6883 )
...
https://github.com/XTLS/Xray-core/pull/6883#issuecomment-6008368575
2026-10-08 05:14:14 +00:00
nSQUICK and GitHub
1e08d48d88
TUN inbound: Start on Windows when IPv6 is disabled system-wide ( #6874 )
...
https://github.com/XTLS/Xray-core/pull/6874#issuecomment-5989986544
2026-10-05 07:26:00 +00:00
92f7e72490
WireGuard kernelTun: Fix IPv6 table index allocation when the first table is occupied ( #6881 )
...
https://github.com/XTLS/Xray-core/pull/6881#issuecomment-5927334896
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-10-05 03:50:22 +00:00
Denis and GitHub
08775afd65
WireGuard inbound: Reduce memory held by idle UDP flows ( #6856 )
...
https://github.com/XTLS/Xray-core/pull/6856#issuecomment-5870639238
2026-10-05 01:56:36 +00:00
Denis and GitHub
e0bae21201
WireGuard inbound: Reply fake pong to ICMP ping ( #6855 )
...
https://github.com/XTLS/Xray-core/pull/6015#issuecomment-4321525342
2026-10-05 01:36:54 +00:00
1f304916bd
TUN inbound: Add autoSystemWfpBlockLeak on Windows (blocks "dns" and "misconfigtun" IPv4/IPv6 traffic leaks outside the TUN); Rename autoSystemDNS to autoSystemDnsToGateway on Linux (and change some behaviors) ( #6853 )
...
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-5899791359
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-5901287980
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-5903680113
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-5904123488
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-5904647772
https://github.com/XTLS/Xray-core/pull/6853#issuecomment-5905047424
Fixes https://github.com/XTLS/Xray-core/issues/6454#issuecomment-5863800676
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-30 06:26:16 +00:00
风扇滑翔翼
0086362663
SS2022 proxy: Refactor to fix some issues ( #6866 )
...
https://github.com/XTLS/Xray-core/pull/6866#issuecomment-5904374529
Fixes https://github.com/XTLS/Xray-core/pull/6831#issuecomment-5884408501 and https://github.com/XTLS/Xray-core/pull/6866#issuecomment-5889568266
2026-09-30 13:16:27 +08:00
风扇滑翔翼
35e616d3b9
Xray-core: Move PacketConnWrapper to common/net ( #6854 )
...
https://github.com/XTLS/Xray-core/pull/6854#issuecomment-5895541650
Fixes https://github.com/XTLS/Xray-core/issues/6849
2026-09-30 02:33:53 +08:00
v2ray and RPRX
08cb6e6bca
WireGuard proxy: Fix potential startup races ( #6852 )
...
https://github.com/XTLS/Xray-core/pull/6852#issuecomment-5871816550
Fixes https://github.com/XTLS/Xray-core/issues/6850
2026-09-29 18:13:43 +00:00