nobody
44bb83033f
Add sub-command "-dump" to "run". ( #2854 )
...
* Add MarshalToJson().
* Add cmd arg -dump for printing out merged multiple json configs.
---------
Co-authored-by: nobody <nobody@nowhere.mars>
11 months ago
Allo
006cf491e5
fix(conf): add Windows support for Unix Domain Socket in the fallback settings
11 months ago
R8s6
1dba70004f
Update README.md
...
Adding official docker repo.
11 months ago
dependabot[bot]
1dc9a72068
Bump google.golang.org/protobuf from 1.31.0 to 1.32.0
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.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>
11 months ago
yuhan6665
eacdda3c93
Fix connecting to quic outbound with domain address
11 months ago
Allo
b0bf0d7fd5
fix(conf): add Windows support for Unix Domain Socket
11 months ago
hossinasaadi
b7f21be8bc
fix ecdh crash in reality
11 months ago
Hossin Asaadi
01c14a5994
add Round-Robin Strategy to balancer ( #2844 )
...
* add Round-Robin Strategy
* clean up
11 months ago
风扇滑翔翼
9becf02316
allow empty route type
...
default field
11 months ago
dependabot[bot]
f51bf98714
Bump golang.org/x/crypto from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.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>
11 months ago
dependabot[bot]
5e19c1a778
Bump google.golang.org/grpc from 1.60.0 to 1.60.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.60.0 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.0...v1.60.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>
11 months ago
dependabot[bot]
e03b78dcec
Bump github.com/refraction-networking/utls from 1.5.4 to 1.6.0
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.5.4...v1.6.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>
11 months ago
yuhan6665
d60281d0a5
Add DestIpAddress() in Dialer interface
...
Android client prepares an IP before proxy connection is established. It is useful when connecting to wireguard (or quic) outbound with domain address. E.g. engage.cloudflareclient.com:2408
11 months ago
Zhang San
5a5e615b46
Enable interface setting for socketopt under Windows ( #2819 )
...
* allow set interface under windows
Signed-off-by: San Zhang <zhangan@mail.com>
* polish code
Signed-off-by: San Zhang <zhangan@mail.com>
---------
Signed-off-by: San Zhang <zhangan@mail.com>
Co-authored-by: San Zhang <zhangan@mail.com>
11 months ago
H1JK
c01a30e8f4
Cleanup sing buffer usage
11 months ago
dependabot[bot]
38b175d53e
Bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
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>
12 months ago
dependabot[bot]
53ac4c031d
Bump github.com/quic-go/quic-go from 0.40.0 to 0.40.1
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.40.0 to 0.40.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.40.0...v0.40.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
wyx2685
31a8fae764
Fix deprecated StackNew() function
12 months ago
dependabot[bot]
46d6b9f57a
Bump github.com/sagernet/sing from 0.2.18 to 0.2.19
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.2.18 to 0.2.19.
- [Commits](https://github.com/sagernet/sing/compare/v0.2.18...v0.2.19 )
---
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>
12 months ago
dependabot[bot]
921be3ac40
Bump google.golang.org/grpc from 1.59.0 to 1.60.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.59.0 to 1.60.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.60.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>
12 months ago
チセ
2da476eef4
Command: Add `wg` for wireguard key generation ( #2794 )
...
* Command: Add `wg` for wireguard key generation
* Command: Merge `x25519` and `wg`
12 months ago
Yu FranzKafka
2c97beae4e
delete my repo for unnecessary disputes
...
写了半天英文,感觉挺别扭的,还是用中文吧。
因为闭源的缘故,很抱歉给社区带来了负面影响;同时也是由于生活所迫,自己再没有额外的精力维护项目。自此,我提议在README中删除我的项目,并推荐大家使用其他仍在维护的版本。
原本想说的话有很多,千言万语到此都作烟消云散。
相信我不会离开,我们总会以其他的方式再次见面。
12 months ago
dependabot[bot]
4e7a57ef86
Bump github.com/sagernet/sing-shadowsocks from 0.2.5 to 0.2.6
...
Bumps [github.com/sagernet/sing-shadowsocks](https://github.com/sagernet/sing-shadowsocks ) from 0.2.5 to 0.2.6.
- [Commits](https://github.com/sagernet/sing-shadowsocks/compare/v0.2.5...v0.2.6 )
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing-shadowsocks
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
Lars Lehtonen
06734d6f08
common/ocsp: fix dropped error
12 months ago
dependabot[bot]
1444552691
Bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
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>
12 months ago
dependabot[bot]
0c3e1d4bd9
Bump github.com/sagernet/sing from 0.2.17 to 0.2.18
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.2.17 to 0.2.18.
- [Commits](https://github.com/sagernet/sing/compare/v0.2.17...v0.2.18 )
---
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>
12 months ago
Gorilla
c590163f9f
Update README.md
...
Add link to tutorial for "Xray with WireGuard inbound"
12 months ago
yuhan6665
2fd765ea4c
Delay XUDP Basekey read
12 months ago
dependabot[bot]
be21b1194b
Bump golang.org/x/net from 0.18.0 to 0.19.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/net/compare/v0.18.0...v0.19.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>
1 year ago
风扇滑翔翼
69cbb4c47a
Change WS upgraderBufferSize
...
due to https://github.com/gorilla/websocket/issues/223
1 year ago
yuhan6665
6f092bd212
Add "masterKeyLog" in TLS config ( #2758 )
...
* Add "enableMasterKeyLog" in TLS config
Turn on the debug option for Wireshark to decrypt traffic
* Change to "masterKeyLog" to configure a path
1 year ago
yuhan6665
2570855cd7
Update v1.8.6
1 year ago
dependabot[bot]
84014d7464
Bump github.com/miekg/dns from 1.1.56 to 1.1.57
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.56 to 1.1.57.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.56...v1.1.57 )
---
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>
1 year ago
hax0r31337
0ac7da2fc8
WireGuard Inbound (User-space WireGuard server) ( #2477 )
...
* feat: wireguard inbound
* feat(command): generate wireguard compatible keypair
* feat(wireguard): connection idle timeout
* fix(wireguard): close endpoint after connection closed
* fix(wireguard): resolve conflicts
* feat(wireguard): set cubic as default cc algorithm in gVisor TUN
* chore(wireguard): resolve conflict
* chore(wireguard): remove redurant code
* chore(wireguard): remove redurant code
* feat: rework server for gvisor tun
* feat: keep user-space tun as an option
* fix: exclude android from native tun build
* feat: auto kernel tun
* fix: build
* fix: regulate function name & fix test
1 year ago
cty123
f1c81557dc
#2605 : Add safety check for type casting for QUIC dialer
...
Issue #2605 brought up real problem that QUIC dialer doesn't support sockopt at the moment. Inside `internet.DialSystem(...)` function, one of the branch that involves `redirect(...)` returns `cnc.connection` instance that is currently unhandled by the code logic, and thus caused program panic during runtime.
It seems the sockopt support for QUIC protocol requires a couple changes including making `cnc.connection` public, such that we can handle in dialer, along with some thorough tests, this commit simply adds safety check to explicity state the fact that QUIC isn't working with sockopt. And the implementation of the feature can be scheduled later on.
1 year ago
yuhan6665
ac52a226d1
v1.8.5
1 year ago
yuhan6665
7205298474
Update dependencies
1 year ago
yuhan6665
7523f7f440
统一 `domainStrategy` 行为. ( #2720 )
...
* 统一 `domainStrategy` 行为.
* Update proto
---------
Co-authored-by: rui0572 <125641819+rui0572@users.noreply.github.com>
1 year ago
yuhan6665
d9fd3f8eb1
Freedom xdomain strategy ( #2719 )
...
* 统一 `domainStrategy` 行为.
* aliases NG.
* 化简.
* 调整.
* Let it crash.
* Update proto
---------
Co-authored-by: rui0572 <125641819+rui0572@users.noreply.github.com>
1 year ago
yuhan6665
a109389efb
Wireguard resolve strategy ( #2717 )
...
* 增加 wireguard 出站选项 `resolveStrategy`.
* They become a part of you.
* 移除不必要的选项别名.
* aliases NG.
* 微调.
---------
Co-authored-by: rui0572 <125641819+rui0572@users.noreply.github.com>
1 year ago
yuhan6665
cc4b28b159
Remove dragonfly build
1 year ago
yuhan6665
5ae3791a8e
feat : upgrade wireguard go sdk ( #2716 )
...
Co-authored-by: kunson <kunson@kunsondeMacBook-Pro-3.local>
Co-authored-by: 世界 <i@sekai.icu>
1 year ago
dependabot[bot]
ea67c98eaf
Bump golang.org/x/net from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.18.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>
1 year ago
dependabot[bot]
7f8ddda1c2
Bump github.com/sagernet/sing from 0.2.15 to 0.2.17
...
Bumps [github.com/sagernet/sing](https://github.com/sagernet/sing ) from 0.2.15 to 0.2.17.
- [Commits](https://github.com/sagernet/sing/compare/v0.2.15...v0.2.17 )
---
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>
1 year ago
dependabot[bot]
631301a6e1
Bump golang.org/x/sys from 0.13.0 to 0.14.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.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>
1 year ago
dependabot[bot]
ee981524b0
Bump golang.org/x/sync from 0.3.0 to 0.5.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.3.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
d25a2e0224
Bump github.com/gorilla/websocket from 1.5.0 to 1.5.1
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Ikko Eltociear Ashimine
1d89ae2847
Fix typo in xray.go
...
overide -> override
1 year ago
dependabot[bot]
3500f5b577
Bump github.com/quic-go/quic-go from 0.39.3 to 0.40.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.39.3 to 0.40.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.39.3...v0.40.0 )
---
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>
1 year ago
yuhan6665
d24a636c75
Move some log from stdout to ray log
1 year ago