RPRX
f84b6f9537
Update handler.go
2025-06-06 01:53:57 +00:00
Aubrey Yang
4894154a5e
Update handler.go
...
fix(proxy/freedom): prevent crash when passthrough is "origin" or "srcip"
In certain routing scenarios, outbound detour tags like "origin" or "srcip" may be assigned
to freedom handlers without proper initialization, causing nil pointer dereference during Dial().
This patch adds guard checks to ensure the outbound handler is valid before dialing, and improves
fallback logic for local address passthrough (e.g., 127.0.0.1) to avoid kernel crashes.
Also ensures `sendThrough` behavior gracefully degrades if loopback or empty DNS response is encountered.
2025-05-31 02:37:59 +09:00
Aubrey Yang
da5adf368a
Merge branch 'XTLS:main' into main
2025-05-31 02:35:52 +09:00
yuhan6665
84c8e24a6c
Update reality to 20250527
2025-05-26 21:55:30 -04:00
dependabot[bot]
9fe4ee75b7
Bump github.com/quic-go/quic-go from 0.51.0 to 0.52.0 ( #4752 )
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.51.0 to 0.52.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.51.0...v0.52.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-version: 0.52.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-26 01:33:50 +00:00
yiguodev
f1116cee60
README.md: Rename FoXray to OneXray in GUI Clients ( #4754 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2025-05-26 01:31:19 +00:00
Aubrey Yang
ea8c21f66a
Update xray.go
2025-05-21 01:29:59 +09:00
RPRX
800b8b50cc
v25.5.16
...
Announcement of NFTs by Project X: #3633
Project X NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1
XHTTP: Beyond REALITY: #4113
REALITY NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
2025-05-16 12:18:34 +00:00
风扇滑翔翼
ef1c165cc5
QUIC sniffer: Fix potential slice panic ( #4732 )
...
Fixes https://github.com/XTLS/Xray-core/issues/3914#issuecomment-2853392827
2025-05-16 12:08:29 +00:00
patterniha
bb0e561caf
Sniffer: Fix potential infinite loop ( #4726 )
...
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
2025-05-16 12:04:54 +00:00
RPRX
09d84c42e9
REALITY protocol: Remove ChaCha20-Poly1305 support for REALITY's session id auth
...
https://github.com/XTLS/Xray-core/pull/3813#issuecomment-2885686468
https://github.com/XTLS/REALITY/pull/4#issuecomment-2885815235
Reverts 65b467e448
2025-05-16 07:29:05 +00:00
RPRX
7ddc4a2525
REALITY practice: Support X25519MLKEM768 for TLS' communication
...
https://github.com/XTLS/Xray-core/pull/3813#issuecomment-2873889724
2025-05-16 04:08:38 +00:00
patterniha
882975ce5a
DNS Host: Removing code that was not being executed and should not be executed. ( #4721 )
...
* Removing a piece of code that was not being executed and should not be executed.
* Remove d.dns
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
2025-05-15 10:15:03 -04:00
dependabot[bot]
30bf7be429
Bump google.golang.org/grpc from 1.72.0 to 1.72.1 ( #4729 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.72.0 to 1.72.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.0...v1.72.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.72.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 10:12:49 -04:00
dependabot[bot]
c53c1bfc51
Bump github.com/refraction-networking/utls from 1.7.2 to 1.7.3 ( #4730 )
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.7.2...v1.7.3 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-version: 1.7.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 10:11:39 -04:00
dependabot[bot]
72170d8b6b
Bump github.com/vishvananda/netlink from 1.3.0 to 1.3.1 ( #4719 )
...
Bumps [github.com/vishvananda/netlink](https://github.com/vishvananda/netlink ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/vishvananda/netlink/releases )
- [Commits](https://github.com/vishvananda/netlink/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: github.com/vishvananda/netlink
dependency-version: 1.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-11 20:55:45 -04:00
dependabot[bot]
e9b3c53a0d
Bump github.com/refraction-networking/utls from 1.7.1 to 1.7.2 ( #4710 )
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-version: 1.7.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-09 10:32:00 -04:00
dependabot[bot]
7afed1e74d
Bump lukechampine.com/blake3 from 1.4.0 to 1.4.1 ( #4709 )
...
Bumps [lukechampine.com/blake3](https://github.com/lukechampine/blake3 ) from 1.4.0 to 1.4.1.
- [Commits](https://github.com/lukechampine/blake3/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: lukechampine.com/blake3
dependency-version: 1.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-09 10:31:28 -04:00
dependabot[bot]
6ed636840b
Bump actions/github-script from 6 to 7 ( #4708 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-09 10:29:52 -04:00
Meow
f0dfbc2e66
Workflows: Ensure Geodat exists ( #4680 )
2025-05-08 15:44:54 -04:00
dependabot[bot]
0d0fe7ef7a
Bump github.com/miekg/dns from 1.1.65 to 1.1.66 ( #4707 )
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.65 to 1.1.66.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.65...v1.1.66 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-version: 1.1.66
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-08 14:48:12 -04:00
patterniha
59aa5e1b88
DNS: temporary appending hosts results ( #4702 )
2025-05-06 18:11:08 -04:00
dependabot[bot]
3e52f73e3c
Bump golang.org/x/net from 0.39.0 to 0.40.0 ( #4698 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/net/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 17:56:07 -04:00
dependabot[bot]
d4ca42715a
Bump github.com/pires/go-proxyproto from 0.8.0 to 0.8.1 ( #4695 )
...
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases )
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
dependency-version: 0.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 17:55:42 -04:00
A1lo
c847c21f3b
Workflows: Authenticating the GitHub API call with GitHub token ( #4703 )
2025-05-06 17:54:14 -04:00
RPRX
87ab8e5128
v25.4.30
...
Announcement of NFTs by Project X: #3633
Project X NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1
XHTTP: Beyond REALITY: #4113
REALITY NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
2025-04-30 04:40:58 +00:00
patterniha
54c6513fd4
DNS: Extend hosts
Abilities ( #4673 )
2025-04-30 04:32:52 +00:00
Aubrey Yang
5e6a5ae01d
Improve random IP compatibility: support IPv4, add srcip option, and sync client source IP via sendthrough ( #4671 )
2025-04-30 04:32:02 +00:00
Pk-web6936
19ba9cbe91
Chore: Update gVisor to the latest version; Fmt .go files ( #4663 )
2025-04-29 11:32:23 +00:00
j2rong4cn
16641fc4b5
Workflows: Build Android(7+) using NDK; Add Android(7+) amd64 build ( #4664 )
...
Makes net.LookupIP() work on Android builds
2025-04-29 11:29:52 +00:00
patterniha
aa4134f4a6
DNS: Fix some bugs; Refactors; Optimizations ( #4659 )
2025-04-29 08:39:57 +00:00
patterniha
1c4e246788
Sockopt: Fix some domainStrategy & dialerProxy bugs ( #4661 )
2025-04-29 08:33:36 +00:00
j2rong4cn
d9ebb9b2dc
QUIC sniffer: Optimize the code ( #4655 )
...
Based on 2eed70e17d
2025-04-29 08:04:04 +00:00
RPRX
2eed70e17d
buffer.go: Ensure extended part by Extend() & Resize() are all-zero
...
https://github.com/XTLS/Xray-core/pull/4655#issuecomment-2837693439
2025-04-29 07:33:37 +00:00
j2rong4cn
58c48664e2
QUIC sniffer: Full support for handling multiple initial packets ( #4642 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
Co-authored-by: Vigilans <vigilans@foxmail.com>
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
Co-authored-by: dyhkwong <50692134+dyhkwong@users.noreply.github.com>
2025-04-28 10:03:03 +00:00
yuhan6665
a608c5a1db
uTLS: Add new fingerprints
...
PSK extension, Post-Quantum Key Agreement, ML-KEM
2025-04-26 12:31:41 -04:00
dependabot[bot]
0dd74cf072
Bump github.com/refraction-networking/utls from 1.6.7 to 1.7.1
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.6.7 to 1.7.1.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.6.7...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-version: 1.7.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 00:14:52 +00:00
peter zhang
922ae98a4a
DNS log: Optimize IP address display ( #4630 )
2025-04-23 03:10:20 +00:00
dependabot[bot]
800b33c626
Bump github.com/quic-go/quic-go from 0.50.1 to 0.51.0 ( #4634 )
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.50.1 to 0.51.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.50.1...v0.51.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-version: 0.51.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-23 02:58:09 +00:00
dependabot[bot]
0563c9750e
Bump google.golang.org/grpc from 1.71.1 to 1.72.0 ( #4640 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.1...v1.72.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.72.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-23 02:57:57 +00:00
xqzr
907a182f64
Sockopt: Fix Windows IP_MULTICAST_IF & IPV6_MULTICAST_IF ( #4627 )
...
Completes https://github.com/XTLS/Xray-core/pull/4568
2025-04-19 09:30:12 +00:00
RPRX
0995fa41fe
XHTTP client: Set packet-up as the default mode
(auto) when using TLS
...
https://t.me/projectXtls/929
2025-04-18 06:18:51 +00:00
RPRX
2916b1b977
README.md: Rename Clash.Meta to mihomo in Others
2025-04-18 03:57:14 +00:00
RPRX
8212325980
README.md: Add Loon to Others
...
https://t.me/LoonNews/1662
2025-04-18 03:18:38 +00:00
风扇滑翔翼
5f3ae64f0c
Sockopt: Allow customSockopt
work for Windows & Darwin ( #4576 )
...
* Sockopt: Add custom sockopt on Windows & Darwin
* fix windows udp by the way
* use resolved addr
https://github.com/XTLS/Xray-core/pull/4504#issuecomment-2769153797
2025-04-18 02:30:47 +00:00
Cl-He-O
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
dependabot[bot]
53552d73cc
Bump github.com/cloudflare/circl from 1.6.0 to 1.6.1 ( #4602 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-version: 1.6.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-13 00:55:00 -04:00
dependabot[bot]
19e884bebf
Bump golang.org/x/net from 0.38.0 to 0.39.0 ( #4598 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/net/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 11:17:36 -04:00
xqzr
78a1e37e89
Sockopt: Use Windows syscall
( #4581 )
2025-04-07 11:50:07 -04:00
Ragavendaran Puliyadi
2d3126b752
Config: Implement missing MarshalJSON for structs having custom UnmarshalJSON ( #4585 )
...
* conf: implement MarshalJSON for FakeDNSConfig
* conf: Rewrite MarshalJSON for PortList
decouple PortRange from PortList.
* conf: implement MarshalJSON for HostAddress
* conf: Add MarshalJSON comments and use pointers.
2025-04-07 11:46:49 -04:00