1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
Commit Graph

6356 Commits

Author SHA1 Message Date
Shelikhoo
b18f592fba
Update version to 5.2.0 2022-12-25 16:55:02 +00:00
Shelikhoo
3631053c2b Crash process when encountered when unknown security settings type was supplied 2022-12-24 21:52:23 +00:00
Shelikhoo
e4188c8604 Add uTLS support for Security Engine 2022-12-24 21:52:23 +00:00
Shelikhoo
4a887e3b77 Use security engine for (tls like) security client in websocket transport 2022-12-24 21:52:23 +00:00
Shelikhoo
de55f3a675 Use security engine for (tls like) security client without transport 2022-12-24 21:52:23 +00:00
Vigilans
f8ac919d66
[app/dns] Support per-client configuration for fakedns (#2212)
* Move `filterIP` from `hosts.go` to `dnscommon.go`

* Implement adding pools for fakedns.HolderMulti

* Implement per-client fakedns for DNS app

* Remove `dns.ClientWithIPOption` and replace with new programming model

* Implement JSON config support for new fakedns config

* Fix lint and tests

* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
Vigilans
32475d9239
[app/dns] Add tests for idn support (#2213)
Co-authored-by: kallydev <kallydev@gmail.com>

Co-authored-by: kallydev <kallydev@gmail.com>
2022-12-15 10:26:53 +08:00
dependabot[bot]
a1ee432d29
Chore: bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#2100)
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 18:01:45 +08:00
kvii
7c12b706c7
fix: unexpected typo (#2146) 2022-12-10 17:28:10 +08:00
dependabot[bot]
8c8bbfa6f9
Chore: bump google.golang.org/grpc from 1.50.0 to 1.51.0 (#2159)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.50.0 to 1.51.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.0...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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 17:12:09 +08:00
Vigilans
ac0d9480bd
[app/dispatcher] [proxy/dns] Support domain string validation (#2188) 2022-12-10 17:07:59 +08:00
dependabot[bot]
305ec638f4
Chore: bump github.com/lucas-clemente/quic-go from 0.31.0 to 0.31.1 (#2205)
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 16:58:57 +08:00
dependabot[bot]
810d78120f
Chore: bump github.com/go-chi/chi/v5 from 5.0.7 to 5.0.8 (#2202)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.7 to 5.0.8.
- [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.7...v5.0.8)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  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-12-08 09:41:58 +08:00
Vigilans
5604863859
DNS: Support specifying domain matcher (#1979) 2022-11-30 14:34:24 +08:00
Vigilans
d3b50bb989
Feat: [app/dns] Support per-client configuration (#1977)
* DNS: Support per-client configuration

* Add deprecated feature warnings for `skipFallback`, `disableCache`, `disableFallback`, `disableFallbackIfMatch`
2022-11-30 08:43:39 +08:00
Vigilans
291b5466de
Fix: Charset of ACAutomationMatcherGroup should accept all ASCII characters (#1988) 2022-11-29 10:35:49 +08:00
dependabot[bot]
1a01f2ca4d
Chore: bump github.com/jhump/protoreflect from 1.13.0 to 1.14.0 (#2104)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.13.0...v1.14.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 10:01:40 +08:00
秋のかえで
3c0aff73e8
Fix: logic of domain override 2022-11-29 09:55:55 +08:00
dependabot[bot]
82495d092b
Chore: bump github.com/lucas-clemente/quic-go from 0.29.2 to 0.31.0 (#2157)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.29.2 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.29.2...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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 09:28:14 +08:00
秋のかえで
82c42fc32c
Fix: HTTP sniff 2022-11-29 09:27:28 +08:00
Jebbs
9bbc3af6cd
Fix: config merger fixes (#2084) 2022-11-05 19:12:11 +08:00
秋のかえで
294efeefd7
Test: fix leastload strategy unit test 2022-11-03 20:30:28 +08:00
Jebbs
f9422d60aa
fix selectLeastLoad() returns wrong number of nodes (#2083) 2022-10-20 12:00:21 +08:00
dependabot[bot]
0cd219fdc5
Chore: bump quic-go from 0.29.1 to 0.29.2 (#2064)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 14:17:59 +08:00
_ksco
d5b5d60956
Fix(freebsd): ReadUDPMsg nil pointer
Co-authored-by: ksco.he <ksco.he@ponyft.com>
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
2022-10-09 10:15:16 +08:00
dependabot[bot]
052271b63a
Chore: bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#2046)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 11:01:25 +08:00
dyhkwong
d467eb7511
fix: socks4/4a client handshake (#1971) 2022-10-08 10:59:28 +08:00
秋のかえで
b9a8a7e237
Feat: add transport original name to listen unix (#2048) 2022-10-08 09:04:05 +08:00
秋のかえで
5593fdee09
Feat: add bind to device to Windows and Darwin (#1972) 2022-10-08 09:03:51 +08:00
NaLan ZeYu
a4a3f4deec
fix: Replace "math/rand" with "crypto/rand" in padding generation(#2032) 2022-10-06 18:21:09 +08:00
dependabot[bot]
5e8f5b38b6
Chore: github.com/lucas-clemente/quic-go from 0.29.0 to 0.29.1 (#2010)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 11:47:25 +08:00
Bernd Eichelberger
5bc04f3269
feat: Replace default Health Ping URL to HTTPS (#1991) 2022-09-19 16:03:43 +08:00
Loyalsoldier
0cf7ac64da
Chore: update dependencies (#1995) 2022-09-18 12:14:56 +08:00
Loyalsoldier
1643b486cb
Refactor: replace netaddr package with netipx (#1994) 2022-09-18 10:26:33 +08:00
Felix Yan
de90ec40fc
Fix: remove v2ctl from debian/rules (#1954)
* Remove v2ctl from debian/rules

It seems to be left over from https://github.com/v2fly/v2ray-core/pull/488

* Chore: use Go v1.19 to build debian package

Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2022-09-18 08:46:32 +08:00
dependabot[bot]
98a0399a21
Chore: bump google.golang.org/grpc from 1.48.0 to 1.49.0 (#1935)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 16:18:26 +08:00
dependabot[bot]
7e5b22b36b
Chore: bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#1959)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 15:57:31 +08:00
dependabot[bot]
305661c32b
Chore: bump github.com/jhump/protoreflect from 1.12.0 to 1.13.0 (#1982)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 15:00:23 +08:00
Vigilans
f494df2567
feat: Implement Match and MatchAny for all MatcherGroup, IndexMatcher
[common/strmatcher] Implement Match and MatchAny for all MatcherGroup and IndexMatcher
2022-09-16 14:40:03 +08:00
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