1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
Commit Graph

5978 Commits

Author SHA1 Message Date
Loyalsoldier
a783cd5f08
DNS: refine code (#1193) 2021-08-10 11:08:05 +08:00
rurirei
73470e8dd8
DNS: fix typo & refine code (#1183)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-08-10 10:49:56 +08:00
Loyalsoldier
ecaf597a76
Chore: update dependencies (#1192) 2021-08-10 02:58:29 +08:00
dependabot[bot]
152a5df3f4
Chore: bump lucas-clemente/quic-go from 0.21.2 to 0.22.0 (#1165) 2021-08-10 02:39:22 +08:00
dependabot[bot]
1fb003835e
Chore: bump h12.io/socks from 1.0.2 to 1.0.3 (#1188) 2021-08-10 02:35:17 +08:00
dependabot[bot]
256a3fdab3
Chore: bump google.golang.org/grpc from 1.39.0 to 1.39.1 (#1186)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.39.0 to 1.39.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.39.0...v1.39.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 10:42:15 +08:00
Xiaokang Wang
e0a73e563e
Update core.go 2021-07-30 14:45:21 +01:00
Loyalsoldier
470acefef6
Fix: use sorted cidr list (#1156) 2021-07-22 10:43:21 +08:00
Shelikhoo
e2d526cd8b
fix concurrent access crash for handler creator 2021-07-19 16:13:11 +01:00
朱聖黎
8fed55f69f
Fix: routing rule not applied for TCP DNS (#1144) 2021-07-16 15:13:58 +08:00
dependabot[bot]
6129f2b5b3
Chore: bump github.com/jhump/protoreflect from 1.8.2 to 1.9.0 (#1133)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.8.2...v1.9.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-16 13:01:01 +08:00
dependabot[bot]
696436b161
Chore: bump google.golang.org/grpc from 1.38.0 to 1.39.0 (#1102)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.38.0...v1.39.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>
2021-07-16 12:24:30 +08:00
dependabot[bot]
ce158b85ec
Chore: bump github.com/lucas-clemente/quic-go from 0.21.1 to 0.21.2 (#1145)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.21.1 to 0.21.2.
- [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.21.1...v0.21.2)

---
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>
2021-07-16 12:14:23 +08:00
dependabot[bot]
9b83bb1220
Chore: bump actions/stale from 3.0.19 to 4 (#1141) 2021-07-15 09:57:59 +08:00
dependabot[bot]
236a7cc38f
Chore: bump github.com/pires/go-proxyproto from 0.5.0 to 0.6.0 (#1132)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.5.0...v0.6.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>
2021-07-13 09:53:32 +08:00
Shelikhoo
91a2286064
apply coding style 2021-07-01 19:02:27 +01:00
Shelikhoo
1409be04c2
regenerate protobuf files 2021-07-01 18:58:48 +01:00
Shelikhoo
e00d80eac4
cancel failed grpc connection 2021-07-01 18:58:13 +01:00
Shelikhoo
54fc21e537
add custom probe interval for observer 2021-06-30 19:33:37 +01:00
Shelikhoo
4773e3a1ed
add custom probe URL support for observatory 2021-06-30 17:47:29 +01:00
dependabot[bot]
abf9b64436
Chore: bump google.golang.org/protobuf from 1.26.0 to 1.27.1 (#1100) 2021-06-29 12:10:34 +08:00
Shelikhoo
cf3688729e
show explicit error to users with a incorrect fake DNS setting. 2021-06-28 16:59:50 +01:00
Shelikhoo
0cbb6d75f3
attempt fix of h2 dialer by discarding http client on failure
https://github.com/v2fly/v2ray-core/issues/1056#issuecomment-868321840
2021-06-25 10:56:42 +01:00
dependabot[bot]
e5913a132a
Chore: bump github.com/miekg/dns from 1.1.42 to 1.1.43 (#1091)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.42 to 1.1.43.
- [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.42...v1.1.43)

---
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>
2021-06-23 10:39:02 +08:00
Loyalsoldier
4935e55e4b
Chore: update Debian package (#1090) 2021-06-22 22:44:55 +08:00
Loyalsoldier
d7a202a705
Lint: update linter config & fix code style (#1089)
* Lint: update linter config
* Fix: code style
2021-06-22 22:36:23 +08:00
Shelikhoo
841469bd17
Release 4.41.0 2021-06-22 13:55:08 +01:00
Shelikhoo
9a03b425c9
apply coding style 2021-06-22 12:56:35 +01:00
Shelikhoo
d0d09dfa7f
apply coding style 2021-06-22 12:46:20 +01:00
Shelikhoo
90b560cd75
use value delegate to separate value and cancel
This is a issue with the usage of context for value storage and cancell signaling. This issue will be addressed in a permanent way in v5.
2021-06-22 12:42:20 +01:00
Shelikhoo
3c17276462
drain: add generated file 2021-06-22 12:26:21 +01:00
Shelikhoo
79174ab2a0
unified drain support for vmess and shadowsockets 2021-06-22 12:26:17 +01:00
Shelikhoo
73ee3b0b1c
Added test for no terminate signal 2021-06-22 12:26:13 +01:00
Shelikhoo
c5357e1f00
Added experiment to avoid sending the termination signal 2021-06-22 12:26:08 +01:00
Shelikhoo
0822160008
VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
Shelikhoo
861d6be19a
use detached context to fix #1059 #1059
It is important to use a detached context when creating shared transport connections that will outlive the initializing connection.

Otherwise, once the original initializing connection is cancelled, the transport connection will be cancelled as well.

This issue will be addressed in v5 by providing a transport session storage that also reduce the usage of globalDialerMap and other global variables.
2021-06-22 12:20:27 +01:00
Xiaokang Wang
d7e1d004bf
Update core.go 2021-06-22 10:12:46 +01:00
dependabot[bot]
c39cff3aa4
Chore: bump quic-go from 0.21.0 to 0.21.1 (#1072)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.21.0 to 0.21.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/v.0.21...v0.21.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>
2021-06-16 13:49:50 +08:00
Loyalsoldier
92bb1688fd
Chore: update dependencies (#1071) 2021-06-15 10:39:16 +08:00
Loyalsoldier
b275548a80
CI: refine codecov (#1064) 2021-06-13 10:13:29 +08:00
Shelikhoo
4d768b575d
update version 2021-06-04 20:34:08 +01:00
dependabot[bot]
0520d4c474
Chore: bump github.com/lucas-clemente/quic-go from 0.20.1 to 0.21.0 (#1047)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.20.1 to 0.21.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.20.1...v0.21.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 20:14:07 +01:00
秋のかえで
f84a401704
Feat: DNS transport over TCP (#983)
* feat: DNS over TCP

* fix: DNS over TCP misbehaving

* fix: add a blank line after +build tag

* style: rename NewTCPLNameServer to NewTCPLocalNameServer

* style: add some comments

* style: format

Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
2021-06-04 20:09:06 +01:00
Shelikhoo
e98865a205
amend certificate removal message 2021-06-04 20:07:27 +01:00
Bhoppi Chaw
6d9c463b60
Fix: new cert issuing is incorrectly delayed (#998)
* fix new cert issuing is incorrectly delayed

* apply lint

* revert cert duration & write cert issue/revoke info into log

* apply lint

Co-authored-by: Bhoppi Chaw <bhoppi#outlook,com>
2021-06-04 19:55:30 +01:00
Loyalsoldier
de76a21e98
Chore: update dependencies (#1035) 2021-05-26 08:08:51 +08:00
Loyalsoldier
3cab4d17d9
Chore: update debian package to v4.39.2 (#1034) 2021-05-26 08:01:22 +08:00
Xiaokang Wang
fbccd47d3b
Update core.go 2021-05-25 14:49:09 +01:00
fanyiguan
09d900c753
Update strategy_leastping.go (#1019) 2021-05-25 14:48:13 +01:00
dependabot[bot]
445bc79436
Chore: bump github.com/google/go-cmp from 0.5.5 to 0.5.6 (#1028)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 13:43:47 +08:00