RPRX
f176ec54ee
v1.7.3
2023-02-02 05:50:21 +00:00
pocketW
bf35e9dcd6
fix: handle error raised by dispatcher
2023-02-01 10:17:42 -05:00
RPRX
dc72cf2c78
Refine fingerprints
...
Fixes https://github.com/XTLS/Xray-core/issues/1577
2023-02-01 12:58:17 +00:00
RPRX
74416570d4
Format VLESS inbound.go and outbound.go
2023-01-31 18:02:12 +00:00
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
2023-01-30 04:35:30 +00:00
yuhan6665
15bb23e4ec
XTLS Vision rejects Mux except for XUDP ( #1567 )
...
* Xtls vision reject vless-tcp-tls+Mux
* Address review comment
2023-01-28 05:39:36 +00:00
dependabot[bot]
915690b9ef
Bump google.golang.org/grpc from 1.52.0 to 1.52.3
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.52.0 to 1.52.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.0...v1.52.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-27 23:09:53 -05:00
mra9776
f571aa72df
uTLS PinnedPeerCertificateChainSha256 ( #1556 )
...
* Add tests for utls PinnedPeerCertificateChain
* Fix utls not checking PinnedPeerCertificate
Co-authored-by: ahmadi <ahmadi@meshkan.com >
2023-01-27 04:19:49 +00:00
yuhan6665
fb212905bd
XTLS Vision checks outer TLS version ( #1554 )
2023-01-27 03:43:58 +00:00
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
2023-01-20 23:36:08 -05:00
MP
77d2f9edd7
Revise the Code per XTLS#1515 ( #1536 )
...
* Use buf.FromBytes(make([]byte, 0, buf.Size)) to create `first`
Fixes https://github.com/XTLS/Xray-core/issues/1515
* Update server.go
* Update inbound.go
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2023-01-16 22:18:58 -05:00
dependabot[bot]
7added2693
Bump github.com/sagernet/sing from 0.1.5 to 0.1.6
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/sagernet/sing/releases )
- [Commits](https://github.com/sagernet/sing/compare/v0.1.5...v0.1.6 )
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-16 21:45:32 -05:00
dependabot[bot]
f536359367
Bump github.com/sagernet/sing from 0.1.3 to 0.1.5
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.1.3 to 0.1.5.
- [Release notes](https://github.com/sagernet/sing/releases )
- [Commits](https://github.com/sagernet/sing/compare/v0.1.3...v0.1.5 )
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-12 00:24:53 -05:00
dependabot[bot]
0d5c62e44d
Bump google.golang.org/grpc from 1.51.0 to 1.52.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.51.0 to 1.52.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.52.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-10 23:29:10 -05:00
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
2023-01-09 09:45:30 -05:00
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"
2023-01-09 09:19:53 -05:00
Hellojack
717518cb5f
Refine the logic of security type AUTO ( #1509 )
2023-01-09 11:14:03 +00:00
RPRX
7b8ff01114
Make sure that 0 <= b.start <= b.end
...
Fixes https://github.com/XTLS/Xray-core/issues/1501
2023-01-09 08:51:51 +00:00
dependabot[bot]
ed960cc885
Bump github.com/sagernet/sing from 0.1.2 to 0.1.3
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/sagernet/sing/releases )
- [Commits](https://github.com/sagernet/sing/compare/v0.1.2...v0.1.3 )
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-08 22:19:25 -05:00
RPRX
1bf3a632ca
v1.7.2
2023-01-07 17:51:40 +00:00
RPRX
ff5ce767df
Revert "add file soft link path resolve support ( #1482 )" ( #1495 )
...
This reverts commit eaf401eda9
.
2023-01-07 15:11:23 +00:00
RPRX
8c0d3c0257
XTLS Vision supports acceptProxyProtocol (test needed)
...
Fixes https://github.com/XTLS/Xray-core/issues/1339
2023-01-07 11:01:53 +00:00
yuhan6665
9bc1564b0a
Update v1.7.1 and dependencies
2023-01-06 21:10:47 -05:00
dependabot[bot]
6a85682716
Bump golang.org/x/crypto from 0.4.0 to 0.5.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-06 20:16:38 -05:00
RPRX
6f61021f7a
XTLS Vision processes struct TLS Conn's input and rawInput
...
Fixes https://github.com/XTLS/Xray-core/issues/1444
2023-01-06 05:37:16 +00:00
dependabot[bot]
c0ceebe709
Bump github.com/sagernet/sing from 0.1.1 to 0.1.2
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/sagernet/sing/releases )
- [Commits](https://github.com/sagernet/sing/compare/v0.1.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-03 19:44:22 -05:00
Nanyu
eaf401eda9
add file soft link path resolve support ( #1482 )
...
* add file soft link path resolve
* add configuration file soft link path resolve support
2023-01-03 10:52:11 -05:00
Senis John
11ec77bc76
update: release.yml
...
Replace old download URL
2022-12-29 23:50:36 -05:00
thank243
3b2ff95a9b
update: release.yml ( #1464 )
...
* update: release.yml
* update: release.yml
2022-12-29 22:34:49 -05:00
yuhan6665
3db7d44fc2
Update v1.7.0 and denpendencies
2022-12-25 19:47:53 -05:00
yuhan6665
c4fbdf1b78
Run core/format.go
2022-12-25 19:47:53 -05:00
PMExtra
c9b6fc0104
Add custom header support for HTTP proxy
2022-12-18 21:48:23 -05:00
dependabot[bot]
d7ac6946d2
Bump github.com/sagernet/sing from 0.1.0 to 0.1.1
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/sagernet/sing/releases )
- [Commits](https://github.com/sagernet/sing/compare/v0.1.0...v0.1.1 )
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-18 21:17:30 -05:00
yuhan6665
48a75fc340
Add retry for release steps to download geofiles
2022-12-18 21:16:53 -05:00
pocketW
a55cf1d0bf
fix: email inconsistent
2022-12-15 08:35:07 -05:00
yuhan6665
f35ded79ad
Vision only reject TCP command for VLESS-TCP-TLS
...
UDP and MUX command currently has no flow value.
Also the character is the same with or without XTLS
2022-12-12 21:20:01 -05:00
yuhan6665
f3104b8684
Update v1.6.6 and denpendencies
2022-12-11 10:03:33 -05:00
yuhan6665
bc4de6a026
Fix VLESS client doesn't handle traffic if not send data first
...
Certain ssh, mySQL and reverse proxy need server data first in a connection
2022-12-11 09:44:40 -05:00
renahita6
3e4e050313
Fixed a bug that mux.Session could not be properly closed when receiving an End status.
2022-12-10 18:59:51 -05:00
dependabot[bot]
b8e8229242
Bump github.com/lucas-clemente/quic-go from 0.31.0 to 0.31.1
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.31.0...v0.31.1 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-09 19:21:36 -05:00
dependabot[bot]
a8fa5bf516
Bump golang.org/x/crypto from 0.3.0 to 0.4.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-07 22:52:18 -05:00
dependabot[bot]
4a3f3ef775
Bump golang.org/x/net from 0.3.0 to 0.4.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-07 22:51:18 -05:00
dependabot[bot]
5858726233
Bump golang.org/x/net from 0.2.0 to 0.3.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-06 21:16:51 -05:00
dependabot[bot]
b13c3f053a
Bump golang.org/x/sys from 0.2.0 to 0.3.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-04 23:17:08 -05:00
yuhan6665
2e30093ffd
Enforce specific none flow for xtls vision
...
In the past, when user open xtls vision on the server side, plain vless+tls can connect.
Pure tls is known to have certain tls in tls characters.
Now server need to specify "xtls-rprx-vision,none" for it be able usable on the same port.
2022-12-04 23:15:36 -05:00
yuhan6665
1d7c40d728
Enable Xtls Vision (Direct not Splice) for any inbound connection
...
Before this change, Vision client need a pure inbound like socks or http.
After this change, it will support any inbound.
This is useful in traffic forwarder use case inside China.
2022-12-04 23:15:36 -05:00
Senis John
143229b148
update: Implement the proxy.UserManager of ss2022
2022-12-03 21:19:31 -05:00
yuhan6665
79eda46c62
Update v1.6.5 and denpendencies
2022-11-27 18:28:38 -05:00
yuhan6665
d87758d46f
Parse big server hello properly
2022-11-27 18:28:38 -05:00
yuhan6665
e5e9e58d66
Fix direct flow on Windows
2022-11-27 18:28:38 -05:00
aabbccgg
0565589b8b
Changed quic MaxIdleTimeout from 30s to 5min & HandshakeIdleTimeout to 8s
2022-11-23 10:52:50 -05:00
HalfLife
3cf1b7e601
replace set-output
with $GITHUB_ENV
2022-11-22 08:17:20 -05:00
nanoda0523
e18b52a5df
Implement WireGuard protocol as outbound (client) ( #1344 )
...
* implement WireGuard protocol for Outbound
* upload license
* fix build for openbsd & dragonfly os
* updated wireguard-go
* fix up
* switch to another wireguard fork
* fix
* switch to upstream
* open connection through internet.Dialer (#1 )
* use internet.Dialer
* maybe better code
* fix
* real fix
Co-authored-by: nanoda0523 <nanoda0523@users.noreply.github.com >
* fix bugs & add ability to recover during connection reset on UDP over TCP parent protocols
* improve performance
improve performance
* dns lookup endpoint && remove unused code
* interface address fallback
* better code && add config test case
Co-authored-by: nanoda0523 <nanoda0523@users.noreply.github.com >
2022-11-21 20:05:54 -05:00
dependabot[bot]
691b2b1c73
Bump google.golang.org/grpc from 1.50.1 to 1.51.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.50.1 to 1.51.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.1...v1.51.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-20 20:23:28 -05:00
yuhan6665
494a10971b
Fix xtls vision issue with big server hello
2022-11-20 18:54:07 -05:00
dependabot[bot]
34b3f0204a
Bump github.com/refraction-networking/utls from 1.1.5 to 1.2.0
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.1.5 to 1.2.0.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.1.5...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-20 18:53:09 -05:00
dependabot[bot]
18fd768166
Bump github.com/lucas-clemente/quic-go from 0.30.0 to 0.31.0
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-17 10:34:47 -05:00
dependabot[bot]
07d4cfd81a
Bump golang.org/x/crypto from 0.2.0 to 0.3.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-17 10:33:52 -05:00
degfw
d3efd2d24f
fix: Replace "math/rand" with "crypto/rand" in padding generation( #2032 ) ( #1337 )
...
Co-authored-by: NaLan ZeYu <nalanzeyu@gmail.com >
2022-11-14 09:24:24 -05:00
yuhan6665
aa846b8420
Update v1.6.4 and dependencies
2022-11-13 12:21:18 -05:00
yuhan6665
8006430c15
Add logic to filter TLS_AES_128_CCM_8_SHA256
2022-11-13 12:18:23 -05:00
yuhan6665
04278a8940
Refactor some variable names
2022-11-13 12:18:23 -05:00
yuhan6665
48f7cc2132
Reshape multi buffer to fix the padding when buffer is full
2022-11-13 12:18:23 -05:00
Cubarco
8e75e9d763
Fix sockopt.TcpKeepAliveInterval
...
The Keep-Alive configs may be overridden with golang default settings when `tcpKeepAliveInterval` is set without `tcpKeepAliveIdle`.
2022-11-12 09:15:21 -05:00
dependabot[bot]
c7f7e07821
Bump golang.org/x/crypto from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-09 20:12:45 -05:00
dependabot[bot]
ff2cdcdaaa
Bump golang.org/x/net from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-08 19:27:46 -05:00
dependabot[bot]
095e6a714b
Bump golang.org/x/sys from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-07 19:38:02 -05:00
yuhan6665
15d66974cc
Update v1.6.3 and dependencies
2022-11-06 22:15:41 -05:00
yuhan6665
8ef609ff46
Enable UTLS fingerprint for XTLS Vision
2022-11-06 21:50:19 -05:00
yuhan6665
fffd908db2
Fix direct and splice flow
2022-11-06 21:50:19 -05:00
yuhan6665
9b293013e6
Update v1.6.2 and dependencies
2022-10-29 00:57:00 -04:00
yuhan6665
5e695327b1
Add XTLS RPRX's Vision ( #1235 )
...
* Add XTLS RPRX's Vision
* Add helpful warning when security is wrong
* Add XTLS padding (draft)
* Fix number of packet to filter
* Xtls padding version 1.0 and unpadding logic
2022-10-29 00:51:59 -04:00
dependabot[bot]
341d317d0c
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-25 22:24:34 -04:00
dependabot[bot]
87c1c426d5
Bump github.com/lucas-clemente/quic-go from 0.29.2 to 0.30.0
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.29.2 to 0.30.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.29.2...v0.30.0 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 11:55:23 -04:00
yuhan6665
2637970976
Update version 1.6.1
...
Also update dependencies
2022-10-21 21:13:17 -04:00
Hirbod Behnam
da0b13cca0
Added uTLS to gRPC ( #1264 )
...
* Added uTLS to gRPC
* Use base 16 of ciphers as StandardName
2022-10-21 21:06:36 -04:00
Hirbod Behnam
1f93cbbc5d
Added utls to websocket ( #1256 )
...
* Added utls to websocket
* Slightly better code
One less allocation
2022-10-18 10:34:41 -04:00
dependabot[bot]
149e2247e8
Bump github.com/refraction-networking/utls from 1.1.3 to 1.1.5
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.1.3 to 1.1.5.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.1.3...v1.1.5 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-18 10:14:17 -04:00
dependabot[bot]
51859425d7
Bump google.golang.org/grpc from 1.50.0 to 1.50.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.50.0 to 1.50.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.0...v1.50.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-18 10:14:06 -04:00
Hirbod Behnam
93c7ebe382
Added utls to http2 transport
2022-10-13 10:44:49 -04:00
dependabot[bot]
ed9b99cfc8
Bump github.com/lucas-clemente/quic-go from 0.29.1 to 0.29.2
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.29.1 to 0.29.2.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.29.1...v0.29.2 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-12 22:22:19 -04:00
dependabot[bot]
825fb9f8bd
Bump github.com/refraction-networking/utls from 1.1.2 to 1.1.3
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.1.2...v1.1.3 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-12 22:22:05 -04:00
yuhan6665
8117b66949
Generate all protos
2022-10-10 13:17:32 -04:00
xqzr
8cf23f1947
add tcpcongestion
( #1234 )
...
* add `tcpcongestion`
* Update sockopt_linux.go
* Update config.pb.go
* Update transport_internet.go
* Update config.pb.go
* Update transport_internet.go
* Update config.proto
2022-10-10 13:13:50 -04:00
dependabot[bot]
43477109f5
Bump github.com/marten-seemann/qtls-go1-18 from 0.1.2 to 0.1.3
...
Bumps [github.com/marten-seemann/qtls-go1-18](https://github.com/marten-seemann/qtls-go1-18 ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/marten-seemann/qtls-go1-18/releases )
- [Commits](https://github.com/marten-seemann/qtls-go1-18/compare/v0.1.2...v0.1.3 )
---
updated-dependencies:
- dependency-name: github.com/marten-seemann/qtls-go1-18
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-09 23:32:54 -04:00
dependabot[bot]
632cb34116
Bump google.golang.org/grpc from 1.49.0 to 1.50.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.49.0 to 1.50.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.49.0...v1.50.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-07 10:10:25 -04:00
dependabot[bot]
79fdc5f6f7
Bump github.com/lucas-clemente/quic-go from 0.29.0 to 0.29.1
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.29.0 to 0.29.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.29.0...v0.29.1 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-26 10:15:41 -04:00
yuhan6665
6bb735d103
Update version 1.6.0
2022-09-18 10:46:21 -04:00
yuhan6665
c21595a937
Fix an issue with ss2022 generics
2022-09-16 21:54:37 -04:00
yuhan6665
92795677f9
Update dependencies
2022-09-16 21:47:06 -04:00
yuhan6665
debd2e3ba8
Remove compatibility code
...
The minimum support go version is already 1.18
2022-09-16 20:39:07 -04:00
yuhan6665
84537e98c4
Update xtls and go to 1.19
2022-09-15 22:06:59 -04:00
dependabot[bot]
ed9ffa82c9
Bump github.com/google/go-cmp from 0.5.8 to 0.5.9
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-08 21:21:41 -04:00
dependabot[bot]
b55b6bb5e0
Bump github.com/refraction-networking/utls from 1.1.1 to 1.1.2
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-08 08:56:39 -04:00
yuhan6665
35d5a7fe93
Update version 1.5.10
2022-08-27 22:57:35 -04:00
yuhan6665
71a9a6dd55
Update dependencies
...
- Sync with sing upstream
2022-08-27 22:57:14 -04:00
dependabot[bot]
2096821c07
Bump google.golang.org/grpc from 1.48.0 to 1.49.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.48.0 to 1.49.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.48.0...v1.49.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-23 23:43:16 -04:00
Mocking
4140bcd11a
Enhancement of "redirect" function, adding support for MacOS
...
Added the function of "MacOS" FreeBSD firewall traffic forwarding and resolving destination address
example:
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1122,
"protocol": "dokodemo-door",
"tag": "dokodemo",
"settings": {
"network": "tcp",
"followRedirect": true,
"userLevel": 0
},
"streamSettings": {
"sockopt": {
"tproxy": "Redirect"
}
}
}
]
还原#1189 提交
2022-08-22 10:33:58 -04:00
S-Mocking
59602db02d
Add "tproxy" option ( #1189 )
...
* Add "tproxy" option
Added the function of "MacOS" FreeBSD firewall traffic forwarding and resolving destination address
example:
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1122,
"protocol": "dokodemo-door",
"tag": "dokodemo",
"settings": {
"network": "tcp",
"followRedirect": true,
"userLevel": 0
},
"streamSettings": {
"sockopt": {
"tproxy": "pf"
}
}
}
]
* Add "tproxy" option
Added the function of "MacOS" FreeBSD firewall traffic forwarding and resolving destination address
example:
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1122,
"protocol": "dokodemo-door",
"tag": "dokodemo",
"settings": {
"network": "tcp",
"followRedirect": true,
"userLevel": 0
},
"streamSettings": {
"sockopt": {
"tproxy": "pf"
}
}
}
]
* Add "tproxy" option
Added the function of "MacOS" FreeBSD firewall traffic forwarding and resolving destination address
example:
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1122,
"protocol": "dokodemo-door",
"tag": "dokodemo",
"settings": {
"network": "tcp",
"followRedirect": true,
"userLevel": 0
},
"streamSettings": {
"sockopt": {
"tproxy": "pf"
}
}
}
]
Co-authored-by: Mocking <fanhaiwang0817@gmail.com >
2022-08-20 09:02:18 -04:00
ksco.he
76638d793c
fix(udp): check addr nil (close 1807)
2022-08-12 20:33:33 -04:00
yuhan6665
b67314796f
Add shadowsocks 2022 relay config
2022-08-09 10:37:21 -04:00
yuhan6665
340234166b
Add TCPKeepAliveIdle in Sockopt option ( #1166 )
...
* Add TCP keep alive idle setting
* Add TCP keep alive idle setting: auto generated
* Add TCP keep alive support in Linux
* Add TCP keep alive support in MacOS, FreeBSD
* Add TCP keep alive support in Windows
* fix bug introduced in adding tcp keep alive adjustment
* embed macOS const to avoid platform inconsistency
* embed macOS const to avoid platform inconsistency(again)
* add TCP Keep Alive support in config
* use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
* use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
* Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic
* Disable tcp keepAlive when TcpKeepAliveIdle < 0 and TcpKeepAliveInterval <= 0
Co-authored-by: xqzr <34030394+xqzr@users.noreply.github.com >
Co-authored-by: ValdikSS <iam@valdikss.org.ru >
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com >
Co-authored-by: xqzr <34030394+xqzr@users.noreply.github.com >
2022-07-31 09:55:40 -04:00
dependabot[bot]
50b5ea5a54
Bump google.golang.org/protobuf from 1.28.0 to 1.28.1
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.0...v1.28.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-28 22:47:35 -04:00
yuhan6665
5e323958b6
Unify dns log
2022-07-24 23:54:58 -04:00
dependabot[bot]
2b46178ff9
Bump github.com/lucas-clemente/quic-go from 0.28.0 to 0.28.1
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.28.0 to 0.28.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.28.0...v0.28.1 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-24 23:43:57 -04:00
dependabot[bot]
c835622b37
Bump github.com/refraction-networking/utls from 1.1.0 to 1.1.1
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-20 21:16:05 -04:00
yuhan6665
05483cc729
Update version 1.5.9
2022-07-15 22:05:40 -04:00
yuhan6665
b4e11e1856
Update other dependencies
2022-07-15 22:05:40 -04:00
yuhan6665
f956b142d8
Use protojson for marshal api output
2022-07-15 22:05:40 -04:00
世界
7d52ded2a3
Update dependencies
2022-07-16 09:33:03 +08:00
dependabot[bot]
e459daaaf6
Bump google.golang.org/grpc from 1.47.0 to 1.48.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.47.0...v1.48.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-12 22:16:04 -04:00
yuhan6665
00230a74d5
Fix new Quic lib: KeepAlivePeriod ( #1139 )
...
* Bump github.com/lucas-clemente/quic-go from 0.27.2 to 0.28.0
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.27.2...v0.28.0 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix new Quic lib: KeepAlivePeriod
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-10 21:38:39 -04:00
yuhan6665
9480bc0379
Fix ss2022 user stat for single user
2022-07-02 11:27:26 -04:00
dependabot[bot]
0eed604ba3
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-30 10:10:09 -04:00
世界
52930a16b2
Fix check ss bad udp request #1122
2022-06-28 07:50:18 +08:00
dependabot[bot]
0f2a6f2088
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-23 21:17:15 -04:00
dependabot[bot]
9f365b7b45
Bump github.com/miekg/dns from 1.1.49 to 1.1.50
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.49 to 1.1.50.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.49...v1.1.50 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-22 10:20:41 -04:00
dependabot[bot]
a809596829
Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-20 21:33:13 -04:00
yuhan6665
7d946562eb
Update version 1.5.8
2022-06-19 19:14:53 -04:00
Shelikhoo
d4f18b1342
Fix DoS attack vulnerability in VMess Option Processing
2022-06-19 19:13:37 -04:00
世界
ba4ce4c24f
Add shadowsocks 2022 relay service
2022-06-19 22:17:23 +08:00
Stash Networks
a1c3aed9d3
Add Stash to the iOS & macOS Client
2022-06-11 08:01:30 -04:00
世界
ec8904066a
Update dependencies
2022-06-10 15:53:05 +08:00
世界
def30a0882
Fix shadowsocks-2022 udp on 32-bit devices
2022-06-07 21:09:35 +08:00
世界
bd0cf955c7
Update shadowsocks-2022 multi-server usage
2022-06-07 11:17:08 +08:00
dependabot[bot]
e91f033c01
Bump github.com/marten-seemann/qtls-go1-18 from 0.1.1 to 0.1.2
...
Bumps [github.com/marten-seemann/qtls-go1-18](https://github.com/marten-seemann/qtls-go1-18 ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/marten-seemann/qtls-go1-18/releases )
- [Commits](https://github.com/marten-seemann/qtls-go1-18/compare/v0.1.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/marten-seemann/qtls-go1-18
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-06 10:21:59 -04:00
dependabot[bot]
f1b70b4155
Bump github.com/marten-seemann/qtls-go1-17 from 0.1.1 to 0.1.2
...
Bumps [github.com/marten-seemann/qtls-go1-17](https://github.com/marten-seemann/qtls-go1-17 ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/marten-seemann/qtls-go1-17/releases )
- [Commits](https://github.com/marten-seemann/qtls-go1-17/compare/v0.1.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/marten-seemann/qtls-go1-17
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-06 10:10:29 -04:00
yuhan6665
cc67e83a8f
Update version 1.5.7
2022-06-05 07:46:18 -04:00
世界
ea9246ec7f
Update dependencies
2022-06-05 09:35:52 +08:00
世界
0c9bd21b59
Fix disable invalidptr check
2022-06-05 09:35:32 +08:00
世界
34aab75484
Fix shadowsocks-2022 multi-user udp
2022-06-04 12:29:43 +08:00
世界
c3505632fd
Add udp over tcp support for shadowsocks-2022
2022-06-01 11:49:02 +08:00
世界
6f93ef7736
Remove useless error log
2022-06-01 11:11:53 +08:00
世界
c4a307e84d
Refactor to stdlib error unwrap method
2022-06-01 11:03:06 +08:00
世界
f1d753f069
Fix build in legacy golang version
2022-05-31 15:55:38 +08:00
世界
91ce752405
Fix close pipe
2022-05-31 11:44:32 +08:00
yuhan6665
f0b58d9ee0
Update version 1.5.6
2022-05-28 12:07:11 -04:00
yuhan6665
d56f38d38e
Break shadowsocks2022 test into Tcp and Udp
...
- make test smaller
- pickPort is more reliable for only Tcp or Udp
2022-05-28 12:05:54 -04:00
yuhan6665
7b72e19e16
Update dependencies
2022-05-28 11:47:41 -04:00
世界
4e5752f93e
Add more shadowsocks tests
2022-05-28 13:35:03 +08:00
世界
36906d018d
Update shadowsocks 2022 library
2022-05-28 13:34:58 +08:00
世界
79f3057687
Migrate shadowsocks-2022 to protocol library
2022-05-26 07:35:17 +08:00
dependabot[bot]
c375b144f8
Bump github.com/lucas-clemente/quic-go from 0.27.0 to 0.27.1
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.27.0...v0.27.1 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-24 22:23:24 -04:00
世界
1edce576ca
Fix missing user in shadowsocks-2022 inbound
2022-05-25 08:49:52 +08:00
世界
cf7e675c45
Add shadowsocks 2022 multi-user inbound
2022-05-24 07:37:14 +08:00
世界
b6391cbbe1
Fix shadowsocks config
2022-05-24 07:01:47 +08:00
世界
398375d76f
Reformat code (quic sniffers)
2022-05-24 06:57:16 +08:00
世界
3b77e26fa7
Merge shadowsocks 2022 config
2022-05-23 22:18:33 +08:00
Lemonawa
22706041d1
Update README.md
2022-05-23 00:06:06 -04:00
世界
087f0d1240
Add shadowsocks-2022 inbound/outbound ( #1061 )
2022-05-22 23:55:48 -04:00
yuhan6665
3f64f3206c
Quic sniffer ( #1074 )
...
* Add quic sniffer
* Fix quic sniffer
* Add uTP sniffer
* rename buf pool membership status to unmanaged
* rename buf type adaptor into FromBytes
Co-authored-by: 世界 <i@sekai.icu >
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com >
2022-05-22 23:48:10 -04:00
世界
f046feb9ca
Reformat code
2022-05-18 15:29:01 +08:00
世界
778992eeb9
Fix vformat
2022-05-18 15:27:55 +08:00
dependabot[bot]
5f3949a838
Bump google.golang.org/grpc from 1.46.0 to 1.46.2
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.46.0 to 1.46.2.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.0...v1.46.2 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-15 22:16:17 -04:00
dependabot[bot]
95af983154
Bump github.com/miekg/dns from 1.1.48 to 1.1.49
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.48 to 1.1.49.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.48...v1.1.49 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-10 23:03:46 -04:00
dependabot[bot]
63895caf60
Bump github.com/refraction-networking/utls from 1.0.0 to 1.1.0
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-01 21:45:03 -04:00
pocketW
dcba88e511
fix fakedns is nil
2022-04-30 11:21:23 -04:00
pocketW
244db57398
fix proto file name conflict by adding package name
2022-04-28 22:45:04 -04:00
pocketW
3bfd6853f4
Fix memory leak caused by requiring component.
2022-04-28 10:46:56 -04:00
dependabot[bot]
00c4b6f44f
Bump github.com/google/go-cmp from 0.5.7 to 0.5.8
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.7...v0.5.8 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-26 22:02:11 -04:00
yichya QC
2f86c7c795
fix: read port from environment variable
2022-04-26 10:27:42 -04:00
yuhan6665
5e18ae68b7
Update version 1.5.5
2022-04-23 19:38:50 -04:00
yuhan6665
8caf690680
Update dependencies and Go 1.18
2022-04-23 19:36:07 -04:00
yuhan6665
b413066012
Fakedns fix xUDP destination override ( #1011 )
...
* Fix UDP destination override
* Fix code style
* Fix fakedns object init
Do type convertion at runtime in case if user don't use fakedns in config.
Since dispatcher now depend on fakedns object, move the injection order of
fakedns to top (As a temporary solution)
* Amend logic for handing fakedns client
A map is used by server side when client turn on fakedns
Client will send domain address in the buffer.UDP.Address, server record all possible target IP addrs.
When target replies, server will restore the domain and send back to client.
Co-authored-by: hmol233 <82594500+hmol233@users.noreply.github.com >
2022-04-23 19:24:46 -04:00
yuhan6665
c9df755426
Add quic qlog to debug logs
2022-04-23 19:23:15 -04:00
dependabot[bot]
11518fe089
Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5
...
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.4...v1.9.5 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-22 12:00:37 -04:00
yuhan6665
4fb4dacae7
Reapply optimized log
2022-04-15 18:42:17 -04:00
dependabot[bot]
99f45a2d7f
Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-10 22:43:22 -04:00
dependabot[bot]
24a0ae0ea9
Bump actions/setup-go from 2 to 3
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-10 22:43:12 -04:00
yuhan6665
e8400e65f0
Update readme
2022-04-09 00:48:02 -04:00
yuhan6665
393d211d1e
Rename quic session to connection
...
Co-authored-by: 秋のかえで <autmaple@protonmail.com >
2022-04-09 00:48:02 -04:00
dependabot[bot]
c6550aecfc
Bump github.com/lucas-clemente/quic-go from 0.26.0 to 0.27.0
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-06 00:31:14 +00:00
dependabot[bot]
430235a1cf
Bump github.com/miekg/dns from 1.1.47 to 1.1.48
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.47 to 1.1.48.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.47...v1.1.48 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-04 10:52:51 -04:00
yichya
755268b7d4
fix: expvar error when observatory is not enabled & various typos
2022-04-01 11:05:38 -04:00
Lemonawa
70306c4ec8
Update README.md
2022-03-29 10:15:12 -04:00
yichya
35eb165f63
feat: metrics including pprof, expvars
2022-03-29 00:01:14 -04:00
dependabot[bot]
91ffb7617d
Bump github.com/lucas-clemente/quic-go from 0.25.0 to 0.26.0
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 10:01:11 -04:00
dependabot[bot]
09ca5c7341
Bump google.golang.org/protobuf from 1.27.1 to 1.28.0
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 10:00:58 -04:00
tzmax
97b7460786
Add V2RayXS to the macOS client
2022-03-17 09:02:35 -04:00
Lemonawa
fd508e92ca
Update README.md
2022-03-16 21:39:40 -04:00
dependabot[bot]
441e770b96
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 21:39:27 -04:00
yuhan6665
3d3801fc25
Update version 1.5.4
2022-03-12 20:39:54 -05:00
yuhan6665
7f00df4f02
Update dependencies
2022-03-12 12:12:52 -05:00
yuhan6665
94c249a8c8
Fix some flaky tests related to pick port ( #985 )
...
* Fix some tests to PickPort correctly
* Add retry logic for two socks tests
Two socks tests listen for both TCP and UDP with same port number, in some cases the port is not available
Add retry logic for server core, start server core and client core separately
Extract a common method
* Add retry logic for two dokodemo tests
Two dokodemo tests listen for 5 ports, in some cases they are not available
Add retry logic for client core, start server and client separately
2022-03-12 11:56:40 -05:00
yuhan6665
c1a54ae58e
Fix a concurrency issue in fakedns
...
In rare cases different domains asking for dns will return the same IP. Add a mutex.
2022-03-12 10:54:59 -05:00
dependabot[bot]
03ade23022
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-11 10:55:24 -05:00
3mc4
8bff676fb0
Maintain dependencies for GitHub Actions
2022-03-11 10:46:50 -05:00
dependabot[bot]
d78d1f119c
Bump google.golang.org/grpc from 1.44.0 to 1.45.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.45.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-10 10:28:53 -05:00
dependabot[bot]
cd93e10d58
Bump github.com/pires/go-proxyproto from 0.6.1 to 0.6.2
...
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/pires/go-proxyproto/releases )
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.6.1...v0.6.2 )
---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-04 11:38:03 -05:00
tritu
7dcf08c5ef
workflows: add check-latest
2022-02-21 10:01:17 -05:00
Varun Sharma
22e46b846c
Add specific permissions to workflows under .github/workflows ( #704 )
...
* Restrict permissions for the GITHUB_TOKEN in .github/workflows/release.yml
* Restrict permissions for the GITHUB_TOKEN in .github/workflows/test.yml
Co-authored-by: Step Security <bot@stepsecurity.io >
2022-02-19 22:53:11 -05:00
yuhan6665
496b2c02c5
Fix context api and document ( #727 )
...
* Fix Dial function crash instance when there is no instance context in the ctx
* check ctx to fix. (#841 )
* Feat: core.ToContext(ctx, v) for ctx initialization (#852 )
* remove exported API: toContext
* Remove unnecessary API
* rework document for API
* fix: make sure the ctx is propagated to connections by detached connection
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com >
Co-authored-by: rurirei <72071920+rurirei@users.noreply.github.com >
2022-02-19 22:45:41 -05:00
Johnshall
cf1ee095a2
Add background-working Xray to windows release version. ( #861 )
...
* Add wxray.
* Add wxray.exe into windows release version.
* Pretty the format on building wxray.
2022-02-19 22:22:12 -05:00
hmol233
b3ab94ef5b
Refine domain socket permission
2022-02-18 22:01:29 -05:00
dependabot[bot]
b6f77e4944
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-15 21:35:06 -05:00
Beginner-Go
d4f38ac339
workflows: use go 1.17.7 build
2022-02-11 11:37:56 -05:00
dependabot[bot]
ebf2873146
Bump github.com/miekg/dns from 1.1.45 to 1.1.46
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.45 to 1.1.46.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.45...v1.1.46 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-08 10:23:49 -05:00
yuhan6665
41ce6ccf9f
Make reverse proxy compatible with v2fly ( #924 )
...
* Make reverse proxy compatible with v2fly
* Fix gitignore
* Regenerate proto files
- fix v2ray name in loopback
* Fix fly.org in unit tests
2022-02-04 21:59:50 -05:00
Mustafa
42284a757c
chore fixed ( #921 )
...
* chore fixed
2022-02-02 19:57:32 -05:00
yuhan6665
d51db9469e
Update version 1.5.3
2022-01-28 18:13:15 -05:00
yuhan6665
aa554871ef
Update dependencies
2022-01-28 18:13:15 -05:00
yuhan6665
578d903a9e
Quic related improvements ( #915 )
...
* DialSystem for Quic
DialSystem() is needed in case of Android client,
where the raw conn is protected for vpn service
* Fix client dialer log
Log such as:
tunneling request to tcp:www.google.com:80 via tcp:x.x.x.x:443
the second "tcp" is misleading when using mKcp or quic transport
Remove the second "tcp" and add the correct logging for transport dialer:
- transport/internet/tcp: dialing TCP to tcp:x.x.x.x:443
- transport/internet/quic: dialing quic to udp:x.x.x.x:443
* Quic new stream allocation mode
Currently this is how Quic works: client muxing all tcp and udp traffic through a single session, when there are more than 32 running streams in the session,
the next stream request will fail and open with a new session (port). Imagine lineup the session from left to right:
|
| |
| | |
As the streams finishes, we still open stream from the left, original session. So the base session will always be there and new sessions on the right come and go.
However, either due to QOS or bugs in Quic implementation, the traffic "wear out" the base session. It will become slower and in the end not receiving any data from server side.
I couldn't figure out a solution for this problem at the moment, as a workaround:
| |
| | |
| | |
I came up with this new stream allocation mode, that it will never open new streams in the old sessions, but only from current or new session from right.
The keeplive config is turned off from server and client side. This way old sessions will natually close and new sessions keep generating.
Note the frequency of new session is still controlled by the server side. Server can assign a large max stream limit. In this case the new allocation mode will be similar to the current mode.
2022-01-28 18:11:30 -05:00
dependabot[bot]
30a40aa6f1
Bump google.golang.org/grpc from 1.43.0 to 1.44.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.43.0...v1.44.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-25 20:56:13 -05:00
dependabot[bot]
dfcfecf7d8
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-20 09:54:41 -05:00
dependabot[bot]
68d37adf88
Bump github.com/lucas-clemente/quic-go from 0.24.0 to 0.25.0
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-19 09:32:01 -05:00
Machtergreifung
e96e5994d0
Update Vmess Warning Errors
2022-01-19 09:30:28 -05:00
yuhan6665
b4cdb6075b
Remove a missed alterId in test
2022-01-14 17:52:12 -05:00
Machtergreifung
dde033ca1f
go 1.17.6 ( #900 )
...
* go 1.17.6
2022-01-14 17:49:46 -05:00
Machtergreifung
9ad26fa049
chore fixed ( #897 )
...
* chore fixed
2022-01-12 21:51:47 -05:00
Machtergreifung
800b3bd3fe
chore fixed ( #895 )
...
* chore fixed
2022-01-10 23:39:58 -05:00
dependabot[bot]
1447615f3a
Bump github.com/miekg/dns from 1.1.43 to 1.1.45
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.43 to 1.1.45.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.43...v1.1.45 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-10 23:38:33 -05:00