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

6267 Commits

Author SHA1 Message Date
dependabot[bot]
2e0ea88041
Chore: bump github.com/lucas-clemente/quic-go from 0.28.1 to 0.29.0 (#1940)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.28.1 to 0.29.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.28.1...v0.29.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 10:51:22 +08:00
秋のかえで
61cfe628d3
Lint: exclude ST1016 2022-09-07 22:08:17 +08:00
秋のかえで
4bdb411747
Style: remove duplicate FetchHTTPContent function 2022-09-07 21:42:25 +08:00
Hork
d355e80b18
Fix getting shared flags for balance info command (#1905) 2022-09-07 18:01:19 +08:00
Hork
1b0e046c99 Fix erroneous prefix checking 2022-09-07 10:51:00 +01:00
Huang-Huang Bao
f0236233f3 Fix: json.Reader: fill output bytes as much as possible
Fix JSON parsing state machine so Read([]byte) can accept byte array of any length.

This fixes a infinite read with io.ReadFull().
2022-09-07 10:50:17 +01:00
Huang-Huang Bao
ddc6312c5d Fix: guard against nil pointer dereference of (*NetworkList) 2022-09-07 10:50:17 +01:00
Shelikhoo
6fcdf998f1
chore: disable lint on generated protobuf file 2022-09-06 20:53:17 +01:00
Shelikhoo
e29defc9f9
update version: 5.1.0 2022-09-06 20:39:05 +01:00
Shelikhoo
137cd7093c
chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
Shelikhoo
e3424a5ec8 chore: normalize generated .pb.go file to reduce unnecessary change 2022-09-06 20:26:52 +01:00
Shelikhoo
5028310b1e
update signing service url 2022-08-19 23:01:56 +01:00
Shelikhoo
64cb1a21d5
update version to 5.0.8 2022-08-19 22:41:07 +01:00
Hellojack
a8b0991b52
Feat: refine the logic of security type AUTO (#1913)
* Feat: refine the logic of security type AUTO

https://cs.opensource.google/go/go/+/master:src/crypto/tls/cipher_suites.go;drc=9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb;l=364

* fix fmt
2022-08-19 20:56:32 +01:00
dependabot[bot]
0a0fecbfe8
Chore: bump github.com/go-chi/render from 1.0.1 to 1.0.2 (#1891)
Bumps [github.com/go-chi/render](https://github.com/go-chi/render) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/go-chi/render/releases)
- [Commits](https://github.com/go-chi/render/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 22:29:34 +08:00
秋のかえで
8b7d283bf8
Feat: rename network to networks for JsonV5 2022-08-19 22:28:20 +08:00
秋のかえで
adb7871f82
Feat: refine cipher and network config (#1436) 2022-08-19 20:41:18 +08:00
秋のかえで
05df03edc0
Feat: increase idle timeout to 300s for udp split (#1903) 2022-08-19 20:12:30 +08:00
秋のかえで
8f883040ab
Lint: add nolint flags to avoid SA1029 2022-08-19 20:09:39 +08:00
秋のかえで
a788be738e
Lint: add nolint flags to avoid lint 2022-08-19 20:05:50 +08:00
秋のかえで
9ae51c1f15
Chore: use Go v1.19 2022-08-19 19:37:09 +08:00
dependabot[bot]
ad51c06506
Chore: bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#1892)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-31 23:06:05 +08:00
dependabot[bot]
01104c2e06
Chore: bump github.com/lucas-clemente/quic-go from 0.28.0 to 0.28.1 (#1886)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 21:23:36 +08:00
秋のかえで
7e1f461b74
Fix: length of DNS over QUIC (#1888) 2022-07-27 10:04:52 +08:00
秋のかえで
8c6dfb2b6f
Fix: V5 config register (#1879) 2022-07-21 22:05:30 +08:00
秋のかえで
5157e5fffe
Fix: load auto format config with io.Reader (#1773) 2022-07-21 21:56:50 +08:00
秋のかえで
e4cacab9d1 feat: change ALPN of DNS over QUIC 2022-07-21 21:55:17 +08:00
simpleandstupid
2614dd7383 Change the default port of Dns over Quic 2022-07-21 21:55:17 +08:00
dependabot[bot]
70e5eeefea
Chore: bump github.com/stretchr/testify from 1.7.1 to 1.8.0 (#1852)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 11:17:11 +08:00
dependabot[bot]
1a1df18254
Chore: bump github.com/miekg/dns from 1.1.49 to 1.1.50 (#1840)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 11:17:01 +08:00
秋のかえで
3dd347f9d2
Chore: bump github.com/lucas-clemente/quic-go from 0.27.0 to 0.28.0 2022-07-15 11:13:44 +08:00
dependabot[bot]
53f25a95b1
Chore: bump google.golang.org/grpc from 1.46.0 to 1.48.0 (#1866)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.0 to 1.48.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 22:17:18 +08:00
dependabot[bot]
7fec5bc158
Chore: bump github.com/marten-seemann/qtls-go1-17 from 0.1.1 to 0.1.2 (#1820)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 21:22:19 +08:00
秋のかえで
79320d34d4
Chore: bump gopkg.in/yaml.v2 to gopkg.in/yaml.v3 (#1828)
* Chore: bump gopkg.in/yaml.v2 to gopkg.in/yaml.v3

* Test: fix YAML test

* Test: refine json_test style
2022-07-13 21:21:32 +08:00
dependabot[bot]
b71598d461
Chore: bump github.com/marten-seemann/qtls-go1-18 from 0.1.1 to 0.1.2 (#1818)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 21:21:05 +08:00
世界
fc6ae4d4e7
Fix lint 2022-06-28 21:36:12 +08:00
世界
ebee459f1f
Fix ticker usage
ticker.Close does not close ticker.C
2022-06-28 20:13:30 +08:00
Huang-Huang Bao
02c8b04230 Fix: correct TCP keepalive sockopt names for darwin
Fixes: a0eb84dbff
2022-06-25 19:45:18 +01:00
秋のかえで
2e1d542a5c Feat: add bytes support to v5 configuration 2022-06-25 19:43:51 +01:00
秋のかえで
28d197b6f3 Feat: add JSONC support to v5 configuration 2022-06-25 19:43:51 +01:00
Huang-Huang Bao
5d3915c751 Fix: build routing condition for geo domain 2022-06-25 19:42:40 +01:00
Shelikhoo
3673ed2be8
Fix: Support both dokodemo inbound config types 2022-06-25 19:41:45 +01:00
Huang-Huang Bao
4ea9a5638e Fix: correct a type assertion of dokodemo simplified config
Fixes tproxy not working with jsonv5 config
2022-06-25 19:40:08 +01:00
yuhan6665
9484390b18 Fix TestUserValidator 2022-06-25 19:39:21 +01:00
Vigilans
81ef92c077 Refactor strmatcher.ACAutomatonMatcherGroup 2022-06-25 19:38:35 +01:00
lrh2000
396ee770b7
proxy: Unify timeouts of different protocols for reading the first payload 2022-06-25 19:34:32 +01:00
lrh2000
17d85263e2
proxy/http: Avoid getting stuck when using server-first protocols
PR #99 reduces an extra RTT when setting up the CONNECT tunnel
via http proxy, however, server-first protocols (such as MySQL)
will be unusable as v2ray keeps to wait for the client request.
This commit solves the problem by limiting the maximum waiting
time to 50 ms.
2022-06-25 19:26:33 +01:00
Shelikhoo
b4069f743c
update version 2022-06-12 23:29:37 +01:00
Shelikhoo
5eff77c48a
Fix DoS attack vulnerability in VMess Option Processing 2022-06-12 23:29:09 +01:00
Shelikhoo
4e24784082
Add JsonV5 support for QUIC: auto generated 2022-05-12 23:05:08 +01:00