42 Commits
Author SHA1 Message Date
RPRX 8cdf7bf9c7 REALITY protocol: Reject outdated/strange Client Hello that doesn't have X25519MLKEM768 before optional X25519
https://github.com/XTLS/Xray-core/issues/6714#issuecomment-5575338614
2026-09-08 06:21:03 +00:00
RPRX dab26e77fc go.mod & go.sum: Upgrade direct dependencies
github.com/refraction-networking/utls v1.8.1
golang.org/x/crypto v0.43.0
golang.org/x/sys v0.37.0
2025-10-14 19:45:36 +00:00
RPRX 431b6ff8c6 README.md: Update Donation & NFTs 2025-09-04 21:47:05 +00:00
RPRX 046fad5ab6 README.md: Update Donation & NFTs
Announcement of NFTs by Project X: https://github.com/XTLS/Xray-core/discussions/3633
Project X NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1

VLESS Post-Quantum Encryption: https://github.com/XTLS/Xray-core/pull/5067
VLESS NFT: https://opensea.io/collection/vless

XHTTP: Beyond REALITY: https://github.com/XTLS/Xray-core/discussions/4113
REALITY NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
2025-08-28 04:45:27 +00:00
RPRX 5b52a03d4f Fix sending Server Hello in an unexpected way for fixing edge cases
https://t.me/projectXray/4377580
2025-07-25 14:20:56 +00:00
RPRX c6320729d9 README.md: Add REALITY NFT's image & link
https://opensea.io/item/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
2025-07-23 12:10:14 +00:00
RPRX 00881f6740 README.md: Add "mldsa65Seed" and "mldsa65Verify" to example
https://github.com/XTLS/Xray-core/pull/4915
2025-07-23 02:23:38 +00:00
RPRX 4eaf7927f3 REALITY protocol: Add optional Post-Quantum ML-DSA-65 signature to cert's ExtraExtensions 2025-07-22 04:56:54 +00:00
RPRX ebbbf46ec3 REALITY protocol: Use X25519MLKEM768's data if X25519 doesn't exist in Client Hello 2025-07-22 04:56:14 +00:00
RPRX 05a351a645 Three types of ALPN for post-handshake records detection & imitation
https://github.com/XTLS/Xray-core/issues/4778#issuecomment-3072047745
2025-07-15 05:57:25 +00:00
RPRX e62c4aed0d Refactor post-handshake records detection & imitation again
https://github.com/XTLS/Xray-core/issues/4843#issuecomment-3013196642
2025-06-27 14:14:58 +00:00
50752aec6b Some small changes
https://github.com/XTLS/REALITY/pull/10
https://github.com/XTLS/REALITY/pull/11

---------

Co-authored-by: Jes Cok <xigua67damn@gmail.com>
Co-authored-by: caikun233 <69567735+caikun233@users.noreply.github.com>
2025-06-08 13:21:14 +00:00
RPRX 90e738a94c Refine GlobalPostHandshakeRecordsLens' locker
https://github.com/XTLS/Xray-core/issues/4778#issuecomment-2952303176
2025-06-07 10:56:25 +00:00
RPRX 88910695ec Use Chrome's fingerprint to trigger target's post-handshake records
https://github.com/XTLS/Xray-core/issues/4778#issuecomment-2952140234
2025-06-07 08:21:47 +00:00
RPRX 21af070492 Refactor post-handshake records detection & imitation
https://github.com/XTLS/Xray-core/issues/4778#issuecomment-2948185205
2025-06-06 06:46:02 +00:00
RPRX 4df2ec9a5b 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 https://github.com/XTLS/REALITY/commit/e07c3b04b98322bb369e3b3ee5ced7e27803d0c9
2025-05-16 07:07:13 +00:00
RPRX 2ea7e5619e Fix https://github.com/XTLS/Xray-core/pull/3813#issuecomment-2874943277 2025-05-13 04:53:25 +00:00
RPRX f07c896f71 REALITY practice: Support X25519MLKEM768 for TLS' communication
Thank https://github.com/XTLS/REALITY/pull/14 @yuhan6665
2025-05-12 20:18:51 +00:00
RPRX ce2747b9b0 Merge pull request #14 from XTLS/go124
Update to latest Go
2025-05-12 17:55:31 +00:00
RPRXandFangliding 48f0b2d5ed Call underlying.CloseWrite() once io.Copy() returned (#7)
Co-authored-by: Fangliding <Fangliding.fshxy@outlook.com>
2024-07-12 05:55:06 +00:00
RPRX 870716f6af Sync upstream Go 1.20
Excluding `boring` or test files
2023-11-12 12:08:30 -05:00
RPRX e426190d57 Allow fragmented REALITY Client Hello & Simplify logic
It's mainly for defending against certain attacks.
2023-08-28 17:12:59 +00:00
RPRX 176a94313e REALITY protocol: Set the fourth byte as reserved 2023-03-31 22:31:27 +00:00
RPRX d3d37610da Allow Client Hello with other data attached & Simplify logic 2023-03-31 19:11:18 +00:00
RPRX 442d33ede9 Do not show ciphertext SessionID or full AuthKey 2023-03-20 15:37:27 +00:00
RPRX 0d0713b108 Replace bytes.Clone() with append() 2023-03-09 12:52:56 +00:00
RPRX a7ae8b57f1 Apply target's time-out to hs.readClientFinished() 2023-03-09 20:51:17 +08:00
RPRX 6288e760a9 Reuse buf (though io.CopyBuffer() is not likely to actually use it) 2023-03-08 15:19:09 +00:00
RPRX dc9a7cef8e crypto/tls: set const maxUselessRecords to 32 (the same with OpenSSL)
https://github.com/golang/go/pull/58913
2023-03-07 15:20:57 +00:00
RPRX 15efa424b2 crypto/tls: reject change_cipher_spec record after handshake in TLS 1.3
https://github.com/golang/go/pull/58912
2023-03-07 15:19:08 +00:00
RPRX 6f8fa90c03 Generate template signedCert in advance 2023-03-06 07:23:16 +00:00
RPRX 524506d975 Add defer recover() to avoid potential panics 2023-02-27 19:29:02 +00:00
RPRX 9e83b0bee1 Make Accept() available 2023-02-27 15:02:28 +00:00
RPRX f34b4d1743 Use underlying for io.Copy() only 2023-02-26 07:26:56 +00:00
RPRX 8f76c23ba6 Add example 2023-02-19 12:35:07 +00:00
RPRX 085bdf2104 Refine the logic after Read(buf) 2023-02-17 10:27:04 +00:00
RPRX e814936a3d Use for i, t := range types instead
Much easier for other people to understand the code.
2023-02-10 13:50:08 +08:00
RPRX 5a9e6c0cc2 Show hs.c.conn == underlying instead
Most log points were added last month and are stable.
2023-02-09 21:39:09 +08:00
RPRX 02fa0dd5f6 Combine check and its for
They were seven different parts at the beginning. Finally, they become one.
2023-02-09 19:57:16 +08:00
RPRX 5e6719eaf3 REALITY is REALITY now
Thank @yuhan6665 for testing
2023-02-09 11:59:09 +08:00
RPRX fb7fc93023 Prepare for REALITY protocol 2023-01-29 14:32:27 +00:00
RPRX c3c05667a5 Package tls in Go 1.19.5
Excluding `boring` or test files
2023-01-29 14:31:01 +00:00