1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00
Commit Graph

6618 Commits

Author SHA1 Message Date
Shelikhoo
cab66deace
update version to v5.21.0 2024-10-13 14:36:07 +01:00
dyhkwong
13bad86c3b
Fix the use of ServerName in ECH config (#3188) 2024-10-12 19:59:43 +01:00
dependabot[bot]
9ae5e71711
Chore: bump github.com/go-playground/validator/v10 (#3150)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.22.0 to 10.22.1.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.22.0...v10.22.1)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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>
2024-10-12 19:55:54 +01:00
dependabot[bot]
bf9fca1ae6
Chore: bump google.golang.org/protobuf from 1.34.2 to 1.35.1 (#3181)
Bumps google.golang.org/protobuf from 1.34.2 to 1.35.1.

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 19:50:22 +01:00
dependabot[bot]
046f6a648a
Chore: bump github.com/pires/go-proxyproto from 0.7.0 to 0.8.0 (#3183)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  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>
2024-10-12 19:48:46 +01:00
dependabot[bot]
62b8e80260
Chore: bump golang.org/x/net from 0.29.0 to 0.30.0 (#3178)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.30.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 19:47:09 +01:00
Kasefuchs
6a242d1e2e
feat: add jsonpb marshallers (#3165) 2024-10-12 19:26:59 +01:00
Xiaokang Wang (Shelikhoo)
229b30d877
drop unsupported domain address type in packet addr (#3186) 2024-10-12 19:25:59 +01:00
Xiaokang Wang (Shelikhoo)
05345cc4fd
Add Mekya Stereotype (#3185)
* Add mekya stereotype config

* Add mekya stereotype config: autogenerated

* add autogenerated files

* add mekya stereotype

* add mekya stereotype: fixup

* add mekya stereotype to default distro

* add mekya testing
2024-10-12 19:25:45 +01:00
dyhkwong
5ffbc0296c
Fix tls.WithDestination ignoring IP address (#3177) 2024-10-12 19:25:21 +01:00
dyhkwong
408e76f445
hysteria2, grpc: fix the use of GetTLSConfig (#3176) 2024-10-12 19:23:18 +01:00
Shelikhoo
6c091e6645
update version to v5.20.0 2024-10-01 20:01:13 +01:00
dependabot[bot]
ade8eed44f
Chore: bump google.golang.org/grpc from 1.66.2 to 1.67.1 (#3175)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.2 to 1.67.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.66.2...v1.67.1)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 19:52:46 +01:00
Xiaokang Wang (Shelikhoo)
5ca0f36743
generate alert instead of panic when encountering incorrect listen on port 0 on IPv4 or v6 address (#3172) 2024-10-01 19:33:50 +01:00
Xiaokang Wang (Shelikhoo)
b921dcad6c
add support for parsing some shadowsocks links (#3169) 2024-10-01 19:33:38 +01:00
风扇滑翔翼
5ff7c712f4
新增ECH客户端支持 (#3162)
* Add ECH support

* Use internet.DialSystem()
Why not

* Many fixes
2024-10-01 19:33:16 +01:00
Xiaokang Wang (Shelikhoo)
d9181ad84a
Add Testing for meek, grpc, httpUpgrade Transport (#3160)
* Add instance management based testing

* Add testing for meek transport

* Add testing for grpc, httpupgrade transport
2024-09-16 11:19:42 +01:00
Shelikhoo
531b3533b5
update version to v5.19.0 2024-09-15 16:09:44 +01:00
dependabot[bot]
8ee0399cbb Chore: bump github.com/quic-go/quic-go from 0.46.0 to 0.47.0
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.46.0 to 0.47.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.46.0...v0.47.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>
2024-09-15 16:08:07 +01:00
Shelikhoo
df52e20448 Update Go mod toolchain to v1.22 2024-09-15 15:54:06 +01:00
Shelikhoo
4402ebc0e2 Update Go version to v1.23 2024-09-15 15:33:54 +01:00
dependabot[bot]
f6cf0f28f3 Chore: bump google.golang.org/grpc from 1.66.0 to 1.66.2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.0 to 1.66.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.66.0...v1.66.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>
2024-09-15 14:29:54 +01:00
dyhkwong
256a8166cf Add packetEncoding for Hysteria 2 2024-09-15 14:13:26 +01:00
Shelikhoo
8b36010fc2
update version to v5.18.0 2024-09-08 18:43:31 +01:00
dyhkwong
84adf2bdb2
Some fixes about Hysteria 2 (#3147)
* hysteria2: remove unused code

* hysteria2: don't ignore some errors

* hysteria2: properly implement TCP request padding

* hysteria2: fix dialer reuse
2024-09-08 17:39:40 +01:00
Shelikhoo
80f1e2fa17 Add back tls certChainHash command 2024-09-08 08:38:05 +01:00
Shelikhoo
764fb2f7d8 removed unused hy2 config 2024-09-08 08:38:05 +01:00
Shelikhoo
3f419f93ec update generated protocol for grpc transport 2024-09-08 08:38:05 +01:00
Jimmy Huang
2078480c4e Add Add Hysteria2 Protocol 2024-09-08 08:38:05 +01:00
dependabot[bot]
485f5a0ef7 Chore: bump google.golang.org/grpc from 1.65.0 to 1.66.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.65.0...v1.66.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>
2024-09-08 08:02:19 +01:00
dependabot[bot]
90ddd3ba03 Chore: bump golang.org/x/net from 0.28.0 to 0.29.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.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>
2024-09-06 16:09:59 +01:00
dependabot[bot]
b4a14ca0b0 Chore: bump github.com/jhump/protoreflect from 1.16.0 to 1.17.0
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 15:56:22 +01:00
dependabot[bot]
94062d6839 Chore: bump golang.org/x/crypto from 0.26.0 to 0.27.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/crypto/compare/v0.26.0...v0.27.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>
2024-09-06 15:27:42 +01:00
Shelikhoo
c5dcf1be03 Adjust default build set to remove pprof from default distribution 2024-09-06 15:13:32 +01:00
sunshineplan
44a28de6f8 Register pprof as a plugin 2024-09-06 15:13:32 +01:00
sunshineplan
0809cdedfe Use pprof build tag for pprof debugging 2024-09-06 15:13:32 +01:00
sunshineplan
a57dfe2aad Add pprof flag for debugging 2024-09-06 15:13:32 +01:00
Shelikhoo
5961b2fd46 Add AllowInsecureIfPinnedPeerCertificate option to tls security 2024-09-06 14:39:53 +01:00
Misaki Kasumi
3d07f686a5 apply control func to activated sockets 2024-09-05 20:55:24 +01:00
Misaki Kasumi
9bee648078 add more checks 2024-09-05 20:55:24 +01:00
Misaki Kasumi
4efdc8016b fix windows build 2024-09-05 20:55:24 +01:00
Misaki Kasumi
90edd2e9db Feat: add special handling for /dev/fd address
to support socket activation
2024-09-05 20:55:24 +01:00
Shelikhoo
b7d02ad972
update to v5.17.1 2024-08-24 18:33:46 +01:00
Shelikhoo
3e7dc35562 fix: use sync.Map in request to packet conn server 2024-08-24 18:32:38 +01:00
Shelikhoo
ae4b7733ee
update to v5.17.0 2024-08-23 23:27:07 +01:00
dependabot[bot]
63ad86f9e3 Chore: bump github.com/go-chi/chi/v5 from 5.0.12 to 5.1.0
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.12 to 5.1.0.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.12...v5.1.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 05:10:00 +01:00
dependabot[bot]
4279585559 Chore: bump github.com/adrg/xdg from 0.4.0 to 0.5.0
Bumps [github.com/adrg/xdg](https://github.com/adrg/xdg) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/adrg/xdg/releases)
- [Commits](https://github.com/adrg/xdg/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/adrg/xdg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 04:48:10 +01:00
dependabot[bot]
b9ee1afdfa Chore: bump github.com/pion/transport/v2 from 2.2.5 to 2.2.10
Bumps [github.com/pion/transport/v2](https://github.com/pion/transport) from 2.2.5 to 2.2.10.
- [Release notes](https://github.com/pion/transport/releases)
- [Changelog](https://github.com/pion/transport/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/transport/compare/v2.2.5...v2.2.10)

---
updated-dependencies:
- dependency-name: github.com/pion/transport/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 04:11:19 +01:00
dependabot[bot]
404944a52d Chore: bump github.com/pion/dtls/v2 from 2.2.7 to 2.2.12
Bumps [github.com/pion/dtls/v2](https://github.com/pion/dtls) from 2.2.7 to 2.2.12.
- [Release notes](https://github.com/pion/dtls/releases)
- [Changelog](https://github.com/pion/dtls/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/dtls/compare/v2.2.7...v2.2.12)

---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 02:56:58 +01:00
dependabot[bot]
5c1b306cf9 Chore: bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.20.0 to 10.22.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.20.0...v10.22.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 19:41:09 +01:00