1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 17:27:50 -04:00
Commit Graph

6221 Commits

Author SHA1 Message Date
dependabot[bot]
ff4d2cf840
Chore: bump actions/setup-go from 2 to 3 (#1721)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-04-09 17:41:11 +08:00
秋のかえで
552936674c
Style: formart code by gofumpt 2022-04-07 00:06:46 +08:00
秋のかえで
2332513471
Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
1ocalhost
64a780bba6
Fix: net.Address type checking (#1629)
Allow zero port for listening port, namely random port.
2022-04-06 13:42:25 +08:00
yuhan6665
7bcb3c901b
Fix client dialer log (#1568)
* Fix client dialer log

Log such as:
tunneling request to tcp:www.google.com:80 via tcp:x.x.x.x:443
the second "tcp" is misleading when using mKcp or quic transport

Remove the second "tcp" and add the correct logging for transport dialer:
- transport/internet/tcp: dialing TCP to tcp:x.x.x.x:443
- transport/internet/quic: dialing quic to udp:x.x.x.x:443

* Update transport/internet/quic/dialer.go

Co-authored-by: 秋のかえで <autmaple@protonmail.com>

Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: Kslr <kslrwang@gmail.com>
2022-04-06 13:24:43 +08:00
秋のかえで
84c31ba87f
Chore: bump github.com/lucas-clemente/quic-go from 0.26.0 to 0.27.0 (#1716) 2022-04-06 12:59:25 +08:00
dyhkwong
5ce71e0652
Feat: make gRPC dialer accept socket config (#1697) 2022-04-06 12:26:04 +08:00
yuhan6665
5b9f7821ea
Test: Add statistics in conn testing (#1444)
* Add statistics in conn testing

Occasional error is observed when we execute long test
Print time and memory for better troubleshooting in the future

* fix: units import version error

Co-authored-by: Kslr <kslrwang@gmail.com>
Co-authored-by: Kslr <hi@kslr.org>
2022-04-06 12:22:35 +08:00
秋のかえで
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