1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 01:05:35 -05:00
Commit Graph

6258 Commits

Author SHA1 Message Date
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 v5.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 v5.0.7 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
Shelikhoo
7deca02977 Add JsonV5 support for QUIC 2022-05-12 23:05:07 +01:00
dependabot[bot]
c333383a0a Chore: bump github.com/miekg/dns from 1.1.48 to 1.1.49 (#1779)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 23:05:30 +08:00
Shelikhoo
0468cdfa56 Fix convert time ip parsing in jsonv5 2022-05-11 15:04:28 +01:00
dependabot[bot]
0685f8c55d Chore: bump github.com/go-playground/validator/v10 (#1764)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.10.1 to 10.11.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.10.1...v10.11.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 22:52:43 +08:00
Shelikhoo
17a93bbc65 update version v5.0.6 2022-05-03 15:25:49 +01:00
Shelikhoo
52ea2b0146 Fix TLS Client Certificate Verify Not Applied 2022-05-03 15:23:33 +01:00
Shelikhoo
c93ad2fc1c update version v5.0.5 2022-05-02 15:51:18 +01:00
dyhkwong
703b2da5a7 Fix "disable quit on connection interrupt" 2022-05-02 15:50:35 +01:00
Shelikhoo
dbbb84007f update version v5.0.4 2022-05-01 17:02:06 +01:00