yuhan6665
e244db76fb
Update all dependencies
1 year ago
Hossin Asaadi
07ae08126c
binding socket interface to sockopt_darwin.go
1 year ago
yylt
c00e56c0da
Add `tcpMptcp` to `sockopt` ( #2520 )
1 year ago
RPRX
d92002ad12
Dialer: Set TimeoutOnly for `gctx` and `hctx`
...
https://github.com/XTLS/Xray-core/issues/2232#issuecomment-1694570914
Thank @cty123 for testing
Fixes https://github.com/XTLS/Xray-core/issues/2232
BTW: Use `uConn.HandshakeContext(ctx)` in REALITY
1 year ago
A1lo
10d6b06578
fix(transport): correctly release UDS locker file ( #2305 )
...
* fix(transport): correctly release UDS locker file
* use callback function to do some jobs after create listener
1 year ago
RPRX
2d5475f428
Update transport/internet/reality/reality.go
...
Fixes https://github.com/XTLS/Xray-core/issues/2491
1 year ago
cty123
efe8f3f4d6
fix(config): fix grpc cofnig parsing when service name only has one '/' char
1 year ago
RPRX
51769fdde1
H2 transport: Abandon `client` if `client.Do(request)` failed
...
See https://github.com/golang/go/issues/30702
Fixes https://github.com/XTLS/Xray-core/issues/2355
1 year ago
RPRX
ee21763928
Run "go fmt ./..."
1 year ago
RPRX
084f4f2e4c
Update comments in reality.go
1 year ago
Hellojack
65b467e448
REALITY protocol: Add ChaCha20-Poly1305 auth mode ( #2212 )
...
https://github.com/XTLS/REALITY/pull/4
1 year ago
yuhan6665
d11d72be6c
Update proto file and fix protoc version parsing
...
The new protoc cli return version v23.1,
so we parse the file version v4.23.1 without "4."
1 year ago
dependabot[bot]
86b4b81f1d
Bump github.com/quic-go/quic-go from 0.34.0 to 0.35.1
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.34.0 to 0.35.1.
- [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.34.0...v0.35.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
sambali9
5f5ae37571
Added tcp fragmentation for freedom outbound ( #2021 )
...
* Added tcp fragmentation for freedom outbound
* Added TCP_NODELAY to outbound sockopt
* Changed fragment parameters to accept ranges and changed strategy to use length
* Changed packetNumber to packets, supporting range.
* Refactored the freedom fragment logic
* Refine Write()
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2 years ago
yuhan6665
c80646a045
Clean code dependencies on github.com/miekg/dns ( #2099 )
2 years ago
rurirei
d9af02812f
Add ctx to UDP dispatcherConn ( #2024 )
2 years ago
xqzr
dd81ad5342
Add `tcpMaxSeg` to `sockopt` ( #2002 )
2 years ago
世界
18e5b0963f
Update dependencies
2 years ago
yichya QC
90d915ea05
feat: add tcp_user_timeout
...
```json
{"streamSettings":{"sockopt": {"tcpUserTimeout": 10000}}}
```
run `gofmt -w -s .` as well
2 years ago
yuhan6665
197bc78ea1
Turn off Quic qlog since it jam the regular test info
2 years ago
RPRX
2c0a89f7dc
REALITY protocol: Set the fourth byte as reserved
2 years ago
RPRX
beb603af06
Allow IP address ServerName when "serverName" is not configured
...
In this case, TLS Client Hello will not have SNI (RFC 6066, Section 3)
2 years ago
Hirbod Behnam
526c6789ed
Add custom path to gRPC ( #1815 )
2 years ago
Hirbod Behnam
6872be5cc3
Add user agent to gRPC ( #1790 )
2 years ago
RPRX
0573760346
Do not show ciphertext SessionID or full AuthKey
2 years ago
世界
55efac7236
Reformat code
2 years ago
xqzr
c3322294be
Add `tcpWindowClamp` to `sockopt` ( #1757 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2 years ago
RPRX
836e84b851
Add recover() to H2 server's flushWriter.Write()
...
Fixes https://github.com/XTLS/Xray-core/issues/1748
2 years ago
yuhan6665
9e5bc07bf2
Legends never die ( #1725 )
2 years ago
RPRX
6526e74d49
Add WaitReadCloser to make H2 real 0-RTT
2 years ago
RPRX
55dc26f228
Add REALITY support to gRPC client and server
...
Now you are able to configure REALITY gRPC client and server
Duplicate of REALITY H2, perhaps, just for fun
2 years ago
RPRX
9401d65ef1
Add REALITY support to H2 server
...
Now you are able to configure REALITY H2 server directly
Before: REALITY VLESS fallbacks -> H2C inbound
2 years ago
RPRX
c38179a67f
Upgrade github.com/xtls/reality to f34b4d174342
...
Fixes https://github.com/XTLS/Xray-core/issues/1712
2 years ago
sduoduo233
336b2daeb9
DNS Header for KCP ( #1672 )
...
* dns header
* fixed domain name encoding for dns header
---------
Co-authored-by: kerry <lvhaiyangkerry@gmail.com>
2 years ago
xqzr
c8b4580869
add `V6Only` ( #1677 )
...
* add `V6Only`
* add `V6Only`
2 years ago
Yue Yin
03b8c094de
Support SPKI Fingerprint Pinning
...
Support SPKI Fingerprint Pinning for TLSObject
2 years ago
RPRX
4d5c3195d2
Refine random
...
Fixes https://github.com/XTLS/Xray-core/issues/1666
2 years ago
RPRX
4d2e2b24d3
THE NEXT FUTURE becomes THE REALITY NOW
...
Thank @yuhan6665 for testing
2 years ago
RPRX
9046eda5ce
Add callClose to UDP Dispatcher
...
Fixes https://github.com/XTLS/Xray-core/issues/1611
2 years ago
RPRX
f32921df30
Refine randomized
...
But we should avoid using it unless we have to, see
https://github.com/refraction-networking/utls/pull/157#issuecomment-1417156797
2 years ago
RPRX
f176ec54ee
v1.7.3
2 years ago
pocketW
bf35e9dcd6
fix: handle error raised by dispatcher
2 years ago
RPRX
dc72cf2c78
Refine fingerprints
...
Fixes https://github.com/XTLS/Xray-core/issues/1577
2 years ago
RPRX
b70912799b
Generate *.pb.go files with protoc v3.21.12
...
https://github.com/protocolbuffers/protobuf/releases/tag/v21.12
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
go run ./infra/vprotogen
2 years ago
mra9776
f571aa72df
uTLS PinnedPeerCertificateChainSha256 ( #1556 )
...
* Add tests for utls PinnedPeerCertificateChain
* Fix utls not checking PinnedPeerCertificate
Co-authored-by: ahmadi <ahmadi@meshkan.com>
2 years ago
yuhan6665
3fb67f065a
Add fingerprint xray_random ( #1540 )
...
* Add fingerprint xray_random
xray_random means to pick a random uTLS fingerprint at the core startup
This way, the fingerprint is stable for a user for some days. While there is no identifiable signature for the whole xray community
* Fingerprint "random" refine
Exclude old fingerprint from RNG
2 years ago
aeeq
620eb63c1b
Add sockopt interface setting for binding outbound to a particular device like "eth0" ( #1494 )
...
* Update sockopt_linux.go
add Interface Name
* Update config.pb.go
add Interface Name
* Update transport_internet.go
add Interface Name
* Update config.pb.go
* update config.proto add interface
* Update config.pb.go
2 years ago
yuhan6665
32ce7cd730
Add new uTLS fingerprints
...
- correct safari
- new format is the variable name in https://github.com/refraction-networking/utls/blob/master/u_common.go#L163
- notable ones "HelloChrome_106_Shuffle", "Hello360_Auto", "HelloQQ_Auto"
2 years ago
yuhan6665
c4fbdf1b78
Run core/format.go
2 years ago
aabbccgg
0565589b8b
Changed quic MaxIdleTimeout from 30s to 5min & HandshakeIdleTimeout to 8s
2 years ago