1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 18:00:43 +00:00
Commit Graph

6213 Commits

Author SHA1 Message Date
秋のかえで
e0df70b16d Feat: use different qtls modules for different Go version 2022-04-05 14:47:21 +08:00
Loyalsoldier
56371d87ef Chore: use Go v1.18 & update dependencies 2022-04-05 14:47:21 +08:00
dependabot[bot]
7559bff979
Chore: bump github.com/miekg/dns from 1.1.47 to 1.1.48 (#1710)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.47 to 1.1.48.
- [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.47...v1.1.48)

---
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-04-02 13:05:01 +08:00
秋のかえで
b76b10b529
Fix: failure of cache expired DNS record querying over DoQ 2022-04-02 13:02:03 +08:00
秋のかえで
975f78a7ce
Feat: refine find IPs logic for DoH 2022-04-02 13:01:00 +08:00
KujouRinka
2dc4ee2d51
Fix: fix failure of cache expired DNS record querying over DoH (#1706) 2022-04-02 12:59:21 +08:00
dependabot[bot]
0bf1f2bae6
Chore: bump github.com/marten-seemann/qtls-go1-17 from 0.1.0 to 0.1.1 (#1687)
Bumps [github.com/marten-seemann/qtls-go1-17](https://github.com/marten-seemann/qtls-go1-17) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/marten-seemann/qtls-go1-17/releases)
- [Commits](https://github.com/marten-seemann/qtls-go1-17/compare/v0.1.0...v0.1.1)

---
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-03-22 11:51:07 +08:00
dependabot[bot]
26c8d5d12a
Chore: bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#1682)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 11:07:41 +08:00
dependabot[bot]
aab9d23607
Chore: bump github.com/miekg/dns from 1.1.46 to 1.1.47 (#1679)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.46 to 1.1.47.
- [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.46...v1.1.47)

---
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-03-15 09:29:25 +08:00
dependabot[bot]
d366f29d29
Chore: bump google.golang.org/grpc from 1.44.0 to 1.45.0 (#1671)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.45.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-03-10 10:59:06 +08:00
秋のかえで
dc69c9502d
Fix: context of DNS simplified config (#1665)
* Fix: context of DNS simplified config

* Lint: remove nolint flag
2022-03-09 10:59:18 +08:00
yuhan6665
6f8af37568
fix: a concurrency issue in fakedns (#1666)
In rare cases different domains asking for dns will return the same IP, Add a mutex.
2022-03-09 10:58:49 +08:00
dependabot[bot]
1039ed98b1
Chore: bump github.com/go-playground/validator/v10 (#1670)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.10.0 to 10.10.1.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.10.0...v10.10.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>
2022-03-09 10:46:21 +08:00
dependabot[bot]
97f6d8fcb4
Chore: bump github.com/pires/go-proxyproto from 0.6.1 to 0.6.2 (#1643)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  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-03-03 11:23:57 +08:00
dependabot[bot]
fd30b97a85
Chore: bump actions/checkout from 2 to 3 (#1641)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 13:10:12 +08:00
dependabot[bot]
65e425ecf5
Chore: bump golangci/golangci-lint-action from 2.5.2 to 3 (#1630)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2.5.2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.5.2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 10:01:58 +08:00
dependabot[bot]
86268f31b5
Chore: bump github.com/jhump/protoreflect from 1.11.0 to 1.12.0 (#1623)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.11.0...v1.12.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>
2022-02-22 10:39:15 +08:00
dependabot[bot]
d9befd28c9
Chore: bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 (#1610)
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  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-02-16 16:33:11 +08:00
dependabot[bot]
2c391cafc3
Chore: bump github.com/jhump/protoreflect from 1.10.3 to 1.11.0 (#1608)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.10.3 to 1.11.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.10.3...v1.11.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>
2022-02-16 03:11:24 +08:00
dependabot[bot]
e55639058e
Chore: bump github.com/jhump/protoreflect from 1.10.2 to 1.10.3 (#1597)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.10.2...v1.10.3)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  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-02-09 23:32:54 +08:00
dependabot[bot]
166d3fd3f4
Chore: bump github.com/miekg/dns from 1.1.45 to 1.1.46 (#1590)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.45 to 1.1.46.
- [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.45...v1.1.46)

---
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-02-08 14:00:21 +08:00
dependabot[bot]
f8348c0d69
Chore: bump google.golang.org/grpc from 1.43.0 to 1.44.0 (#1574)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.43.0...v1.44.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-02-06 14:34:49 +08:00
Nick Cao
118a99e773
search for assets in xdg data directories on non-windows platforms (#1578)
* common/platform: cleanup unused functions

* common/platform: search for assets in xdg data directories on non-windows platforms
2022-02-06 14:24:23 +08:00
dependabot[bot]
cf500eadd7
Chore: bump github.com/jhump/protoreflect from 1.10.1 to 1.10.2 (#1585)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  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-02-06 14:17:47 +08:00
Shelikhoo
1df432218e
fix fakedns is nil 2022-01-23 20:38:18 +00:00
Shelikhoo
f965d25af2 add jsonConf support for bindToDevice, bufSize 2022-01-23 20:33:01 +00:00
Shelikhoo
4357719480 apply sockopt rename 2022-01-23 20:33:01 +00:00
Shelikhoo
190a8e7ed7 rename sockopt options: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
1fc7c5731a rename sockopt options 2022-01-23 20:33:01 +00:00
Shelikhoo
547b4fb49b rewrite sockopt rxtx buf size message for darwin, freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
16a44f65be add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
1a004529d9 apply coding style for keep alive sockopt in freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
1a35c1dc69 add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
7dc8559f1c add socksopt rxtxbuf for windows 2022-01-23 20:33:01 +00:00
Shelikhoo
eb0b52fdfa add socksopt bindToDevice, rxtxbuf for linux 2022-01-23 20:33:01 +00:00
Shelikhoo
ccab22b863 add force buffer size sockopt option: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
e088086abf add force buffer size sockopt option 2022-01-23 20:33:01 +00:00
Shelikhoo
1019ae36c2 refactor linux socket opts 2022-01-23 20:33:01 +00:00
Shelikhoo
434d8a49a0 add bind to device, socket buf size setting to socket options: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
84f2d47c74 add bind to device, socket buf size setting to socket options 2022-01-23 20:33:01 +00:00
dependabot[bot]
98f575ba40
Chore: bump google.golang.org/grpc from 1.42.0 to 1.43.0 (#1525)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.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-01-22 19:12:08 +08:00
dependabot[bot]
15dbb63438
Chore: bump github.com/go-playground/validator/v10 (#1526)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.9.0 to 10.10.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.9.0...v10.10.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-01-22 19:11:58 +08:00
dependabot[bot]
2a54a5c517
Chore: bump github.com/google/go-cmp from 0.5.6 to 0.5.7 (#1561)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  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-01-21 18:06:17 +08:00
dependabot[bot]
411e4a1c1f
Chore: bump github.com/lucas-clemente/quic-go from 0.24.0 to 0.25.0 (#1559)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.24.0 to 0.25.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.24.0...v0.25.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-19 13:12:02 +08:00
世界
093a4d6a82
fix error formatting in sockopt 2022-01-16 20:39:29 +00:00
Shelikhoo
84c428c226 adapt style recommendations for keep alive control
From: https://github.com/v2fly/v2ray-core/pull/1484#discussion_r777456773 https://github.com/v2fly/v2ray-core/pull/1484#discussion_r777270291
2022-01-16 13:31:44 +00:00
ValdikSS
a0eb84dbff Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic 2022-01-16 13:31:44 +00:00
Shelikhoo
748f06d8dc
update version 2022-01-15 21:34:12 +00:00
Shelikhoo
ca5695244c add reduced iv head entropy to simplified config processor(fix) 2022-01-15 20:47:20 +00:00
Shelikhoo
d7eb207c12 add reduced iv head entropy to simplified config processor 2022-01-15 20:47:20 +00:00