echoowall
d5dcc4d6fe
splithttp: bind sendThrough=origin to the real per-connection local IP
...
The XHTTP inbound set every accepted connection's LocalAddr to the
listener's address (h.localAddr = l.listener.Addr()). On a wildcard
listener that is the unspecified address ("[::]" / "0.0.0.0").
sendThrough "origin" derives the outbound gateway from inbound.Local,
which comes from conn.LocalAddr(). So with XHTTP every connection's
egress was bound to the wildcard, collapsing all entry IPs onto one
(often IPv6) source address and breaking source-in-source-out on
multi-IP hosts (and failing outright when that address has no route).
Read the concrete per-connection local address from the request context
(http.LocalAddrContextKey), which net/http populates with the address
the client actually connected to. Fall back to the listener address when
the key is absent (e.g. HTTP/3, where net/http does not set it).
2026-07-12 03:39:36 +08:00
Exclude0122 and GitHub
35387572e0
Finalmask: Add XMC (TCP, Minecraft) ( #6210 )
...
https://github.com/XTLS/Xray-core/pull/6210#issuecomment-4573680059
https://github.com/XTLS/Xray-core/pull/6210#issuecomment-4582554889
https://github.com/XTLS/Xray-core/pull/6210#issuecomment-4937008835
2026-07-11 13:59:24 +00:00
风扇滑翔翼 and GitHub
64fada32b5
TLS client: Pinning CA must have serverName (or higher-priority verifyPeerCertByName or outbound's address) for pinnedPeerCertSha256 ( #6472 )
...
Fixes https://github.com/XTLS/Xray-core/security/advisories/GHSA-5wf9-h793-w73c
2026-07-10 21:03:35 +00:00
yiguodev and GitHub
d5bc58dc6b
Root config: Add env config ( #6400 )
...
https://github.com/XTLS/Xray-core/pull/6400#issuecomment-4880198100
https://github.com/XTLS/Xray-core/pull/6400#issuecomment-4916892425
https://github.com/XTLS/Xray-core/pull/6400#issuecomment-4929136670
2026-07-10 02:56:49 +00:00
patterniha and GitHub
c18b39ed80
TLS client: Support more cipherSuites for "unsafe" (golang) fingerprint for anti-NIN ( #6450 )
...
https://github.com/XTLS/Xray-core/pull/6450#issuecomment-4929495504
2026-07-10 02:02:31 +00:00
c320e89108
HTTPUpgrade server: Keep accepting after transient errors as RAW does; Add handshake read deadline as WS does ( #6463 )
...
https://github.com/XTLS/Xray-core/pull/6463#issuecomment-4929183257
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-07-09 20:55:40 +00:00
ivolfram and GitHub
1aabe7ea78
XHTTP transport: Do not force trailing path / when both sessionID and seq are placed elsewhere ( #6307 )
...
https://github.com/XTLS/Xray-core/discussions/6385#discussioncomment-17454120
https://github.com/XTLS/Xray-core/pull/6307#issuecomment-4917498294
Closes https://github.com/XTLS/Xray-core/issues/6410
2026-07-08 17:59:19 +00:00
e4e7614c62
TLS ECH: Update ECH configuration parsing logic to be more robust ( #6441 )
...
https://github.com/XTLS/Xray-core/pull/6441#issuecomment-4903624643
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2026-07-08 11:12:37 +00:00
452b719504
Hysteria inbound: Support routing's vlessRoute as well ( #6375 )
...
https://github.com/XTLS/Xray-core/pull/6375#issuecomment-4795522284
---------
Co-authored-by: LjhAUMEM <llnu14702@gmail.com >
2026-06-27 12:04:58 +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
f496437b84
XHTTP server: Refactor upload_queue.go ( #6372 )
...
https://github.com/XTLS/Xray-core/pull/6372#issuecomment-4801395378
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-06-27 10:40:58 +00:00
Omoeba and GitHub
583bb4a63f
XHTTP server: Fix scStreamUpServerSecs when xPaddingObfsMode is true ( #6343 )
...
https://github.com/XTLS/Xray-core/pull/6343#issuecomment-4771666966
2026-06-22 18:51:47 +00:00
567500c4af
Fragment finalmask: Add lengths and delays ( #6334 )
...
Usage: https://github.com/XTLS/Xray-core/pull/6334#issue-4685556394
Behavior: https://github.com/XTLS/Xray-core/pull/6334#issuecomment-4751547750
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-06-22 17:38:12 +00:00
风扇滑翔翼 and GitHub
1e036ce1c5
XHTTP/3 client: Actively close underlying QUIC & UDP ( #6332 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6328#issuecomment-4730379021
2026-06-18 23:55:11 +00:00
bytecategory and GitHub
986c512e0f
XHTTP client: Avoid panic when host is invalid ( #6316 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6315
2026-06-18 22:55:18 +00:00
Meow and GitHub
711aea4e34
XHTTP & WS & HU & gRPC servers: Require sockopt.trustedXForwardedFor ( #6309 )
...
https://github.com/XTLS/Xray-core/pull/6258#issuecomment-4663652131
Behavior: https://github.com/XTLS/Xray-core/pull/6258#issuecomment-4746598275
Replaces https://github.com/XTLS/Xray-core/pull/6159
2026-06-18 22:31:21 +00:00
LjhAUMEM and RPRX
ad2e4cb0e1
Finalmask: Fix unexpected order and UDP's buf issue ( #6331 )
...
https://github.com/XTLS/Xray-docs-next/pull/866#issuecomment-4729859528
And https://github.com/XTLS/Xray-core/pull/6331#issuecomment-4730527410
Fixes https://github.com/XTLS/Xray-core/issues/6184#issuecomment-4725831023
2026-06-17 14:44:12 +00:00
829d54d7be
Hysteria & XHTTP/3 clients: udpHop supports dialerProxy ( #6320 )
...
https://github.com/XTLS/Xray-core/pull/6320#issuecomment-4725679616
Fixes https://github.com/XTLS/Xray-core/pull/6320#issuecomment-4699599655
---------
Co-authored-by: LjhAUMEM <llnu14702@gmail.com >
2026-06-17 12:20:28 +00:00
e10347bf01
XHTTP transport: Add sessionIDTable and sessionIDLength; Rename session* to sessionID* ( #6258 )
...
https://github.com/XTLS/Xray-core/pull/6258#issuecomment-4658534046
https://github.com/XTLS/Xray-core/pull/6253#issuecomment-4657704004
https://github.com/XTLS/Xray-core/pull/6251#issuecomment-4612756220
Usage: https://github.com/XTLS/Xray-core/pull/6258#issue-4580617110
Closes https://github.com/XTLS/Xray-core/issues/6264
---------
Co-authored-by: XXcipherX <knazevvv6514@gmail.com >
2026-06-09 15:58:02 +00:00
𐲓𐳛𐳪𐳂𐳐 𐲀𐳢𐳦𐳫𐳢 𐲥𐳔𐳛𐳪𐳌𐳑𐳖𐳇 and GitHub
95e9816223
Chore: Limit sing* dependencies to shadowsocks_2022 only ( #6286 )
...
https://github.com/XTLS/Xray-core/pull/6286#issuecomment-4658968225
2026-06-09 10:55:42 +00:00
LjhAUMEM and GitHub
6189d2bfd5
XICMP finalmask: Refine Linux sever ( #6272 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6168
2026-06-09 09:14:54 +00:00
a0e9347f1b
TLS ECH: Handle "h2c://" query correctly ( #6261 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6259#issuecomment-4614984919
---------
Co-authored-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
2026-06-09 09:03:24 +00:00
IconHHw and GitHub
83cf229909
Salamander finalmask: Replace math/rand with crypto/rand in salt generation ( #6228 )
...
And https://github.com/XTLS/Xray-core/pull/6228#issuecomment-4612712100
Fixes https://github.com/XTLS/Xray-core/pull/6228#issuecomment-4599037015
2026-06-08 19:55:06 +00:00
55956f8d70
TLS config: Remove some deprecated fields ( #6226 )
...
https://t.me/projectXtls/1490
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-06-02 23:36:42 +00:00
Davoyan and GitHub
455f6bc2d5
uTLS: Update ModernFingerprints map and OtherFingerprints map ( #6181 )
...
Paying attention to https://github.com/XTLS/Xray-core/pull/6181#issuecomment-4567373533
And a real issue: https://github.com/XTLS/Xray-core/pull/6181#issuecomment-4583018017
2026-05-30 17:29:33 +00:00
LjhAUMEM and GitHub
ba538619eb
Realm finalmask: Fix client punch peers ( #6213 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6137
2026-05-30 09:30:23 +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
LjhAUMEM and RPRX
aba22722a6
Finalmask: Add mkcp-legacy (UDP) to replace mkcp-* and legacy header-* ( #6201 )
...
https://github.com/XTLS/Xray-core/pull/6193#issuecomment-4543737699
https://github.com/XTLS/Xray-core/pull/6201#issuecomment-4574213827
Example: https://github.com/XTLS/Xray-core/pull/6201#issue-4525483699
2026-05-29 11:57:32 +00:00
569459c54c
Sudoku finalmask: Harden UDP ReadFrom() against invalid packets ( #6185 )
...
https://github.com/XTLS/Xray-core/issues/6184#issuecomment-4573949756
Fixes https://github.com/XTLS/Xray-core/issues/6184
---------
Co-authored-by: LjhAUMEM <llnu14702@gmail.com >
2026-05-29 10:47:58 +00:00
LjhAUMEM and GitHub
2b42699623
XICMP finalmask: Refactor & Speed up; Add multi ips and dgram mode (client) ( #6168 )
...
https://github.com/XTLS/Xray-core/pull/5872#issuecomment-4198514120
https://github.com/XTLS/Xray-core/pull/6168#issuecomment-4571606666
https://github.com/XTLS/Xray-core/pull/6168#issuecomment-4573294637
Example: https://github.com/XTLS/Xray-core/pull/6168#issue-4484980927
Closes https://github.com/XTLS/Xray-core/discussions/5879
2026-05-29 09:44:06 +00:00
LjhAUMEM and RPRX
66a8100737
Salamander finalmask: Support packetSize (Gecko in Hysteria v2.9.2) ( #6198 )
...
And some other refinements
https://github.com/XTLS/Xray-core/pull/6198#issuecomment-4567438813
Example: https://github.com/XTLS/Xray-core/pull/6198#issue-4522226670
2026-05-29 08:51:41 +00:00
LjhAUMEM and GitHub
36303694d1
Finalmask: Add Realm (UDP hole punching in Hysteria v2.9.1) ( #6137 )
...
https://github.com/XTLS/Xray-core/pull/5657#issuecomment-4446406536
https://github.com/XTLS/Xray-core/pull/6137#issuecomment-4469822775
Example: https://github.com/XTLS/Xray-core/pull/6137#issue-4454013510
2026-05-29 08:29:53 +00:00
LjhAUMEM and GitHub
1cd7d25fec
header-custom finalmask: Remove headerConnMode headerReadAddrAware interface ( #6193 )
...
https://github.com/XTLS/Xray-core/pull/5920#issuecomment-4253108964
https://github.com/XTLS/Xray-core/pull/6193#issuecomment-4531875088
2026-05-28 19:44:16 +00:00
LjhAUMEM and GitHub
09002ab763
noise finalmask: Better reset ( #6188 )
...
https://github.com/XTLS/Xray-core/pull/6170
Explanation: https://github.com/XTLS/Xray-core/pull/5657#issue-3901983829
2026-05-28 19:24:22 +00:00
风扇滑翔翼 and RPRX
787aa7677b
Hysteria server: tls.WithNextProto("h3") by default ( #6186 )
...
Client: https://github.com/XTLS/Xray-core/pull/6186#issuecomment-4528041838
2026-05-24 14:35:12 +00:00
风扇滑翔翼 and GitHub
4c3842711d
XHTTP client: Fix packet-up OpenUsage counting and H3 keepAlivePeriod parameter ( #6140 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6140#issuecomment-4525409315
2026-05-24 12:05:40 +00:00
bytecategory and GitHub
359a28f876
XDNS finalmask: Support AAAA & A ( #6123 )
...
https://github.com/XTLS/Xray-core/pull/6123#issuecomment-4439994266
https://github.com/XTLS/Xray-core/pull/6123#issuecomment-4441819696
https://github.com/XTLS/Xray-core/pull/6123#issuecomment-4522352460
Example: https://github.com/XTLS/Xray-core/pull/6123#issue-4436283689
Document: https://xtls.github.io/config/transports/finalmask.html#xdns
2026-05-23 09:24:37 +00:00
fanymagnet and GitHub
d38ba9d507
XDNS finalmask: Allow "domain+udp://0.0.0.0:0" for using dialerProxy ( #6086 )
...
Fixes https://github.com/XTLS/Xray-core/issues/6046#issuecomment-4364873593
2026-05-09 17:30:08 +00:00
风扇滑翔翼 and GitHub
9d9eaf399f
XHTTP client: Fix potential memory leak in stream-up/one ( #6095 )
...
Fixes https://github.com/XTLS/Xray-core/pull/6087#issuecomment-4402474552
2026-05-09 16:54:57 +00:00
Meow and RPRX
1dbafe629a
Config: Rename network/address/port in Tunnel inbound and DNS outbound ( #6084 )
...
https://github.com/XTLS/Xray-core/pull/6083#issuecomment-4387702965
https://github.com/XTLS/Xray-core/pull/6084#issuecomment-4395333530
2026-05-07 14:13:25 +00:00
Meow and RPRX
c42deab55c
Config: Rename inbounds' clients/accounts to users ( #6083 )
...
https://github.com/XTLS/Xray-core/pull/6055#issuecomment-4363896372
https://github.com/XTLS/Xray-core/pull/6082#issuecomment-4384523482
2026-05-07 14:13:05 +00:00
LjhAUMEM and GitHub
756a2d1327
Hysteria client: Fix sendThrough ( #6063 )
...
And fixes https://github.com/XTLS/Xray-core/issues/6046
2026-05-03 07:18:23 +00:00
RPRX and GitHub
b279076ba1
Browser Dialer: Fix WSS with no early data
...
Fixes https://github.com/2dust/v2rayNG/issues/5519#issuecomment-4357741914
2026-05-02 21:55:12 +00:00
LjhAUMEM and GitHub
1d62941bd2
Hysteria: Upgrade to official v2.8.2 ( #6041 )
...
https://github.com/XTLS/Xray-core/pull/6041#issuecomment-4357417742
And fixes https://github.com/XTLS/Xray-core/issues/6039
2026-05-02 12:27:27 +00:00
风扇滑翔翼 and GitHub
16568314d8
TLS for WSS/HUS: Allow outer "alpn": ["h2", "http/1.1"] for camouflage ( #6034 )
...
https://github.com/XTLS/Xray-core/pull/6034#issuecomment-4363639160
Closes https://github.com/XTLS/Xray-core/issues/6024#issuecomment-4328306231
2026-05-02 11:07:12 +00:00
风扇滑翔翼 and GitHub
1fc6850dc4
TLS ECH: Remove echForceQuery (ECH is forced now if configured) ( #6032 )
...
https://github.com/XTLS/Xray-core/pull/5887#issuecomment-4184701517
2026-05-02 10:33:43 +00:00
Meow and RPRX
4e87f59628
Direct/Freedom outbound: Add finalRules (matches network, port and ip, then action) with default safe policies ( #6027 )
...
Document: https://xtls.github.io/config/outbounds/freedom.html#finalruleobject
https://github.com/XTLS/Xray-core/pull/6027#issuecomment-4335790980
https://github.com/XTLS/Xray-core/pull/6027#issuecomment-4336309055
https://github.com/XTLS/Xray-core/pull/6027#issuecomment-4338269638
Closes https://github.com/XTLS/Xray-core/issues/6018#issuecomment-4329273637
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2026-05-02 01:58:43 +00:00
RPRX and GitHub
1836b1c6e4
Browser Dialer: Potential optimized IP and non-standard port
...
Fixes https://github.com/2dust/v2rayNG/issues/5519#issuecomment-4335112057
2026-04-28 20:57:20 +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
fish4terrisa-MSDSM and GitHub
85a8bf5f39
Browser Dialer: Allow being switched on runtime when Xray is used as a lib ( #5978 )
...
https://github.com/XTLS/Xray-core/pull/5978#issuecomment-4279520473
https://github.com/XTLS/Xray-core/pull/5978#issuecomment-4320401635
2026-04-25 19:48:49 +00:00