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

6556 Commits

Author SHA1 Message Date
Loyalsoldier
d9125f91af
Fix: gci command for formatting code (#1757)
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
Shelikhoo
d7ad10ff14
fix coding style issue 2022-04-29 21:36:26 +01:00
Shelikhoo
8a3e90c11f Fix bug incorrect config parse in VLite inbound 2022-04-28 19:32:55 +01:00
Shelikhoo
87090bf408 Add VLite inbound auto generated files 2022-04-28 19:32:55 +01:00
Shelikhoo
afa1302914 Update VLite & its dependencies 2022-04-28 19:32:55 +01:00
Shelikhoo
8cbfa3c6de Include VLite Server in default distribution 2022-04-28 19:32:55 +01:00
Shelikhoo
e6e5aa6ffc Add Support for VLite UDP Server: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
4c79629c69 Add Support for VLite UDP Server 2022-04-28 19:32:55 +01:00
Shelikhoo
7b1203ca96 Add Packet Scramble Support for VLite UDP Client 2022-04-28 19:32:55 +01:00
Shelikhoo
4016e0e961 Add VLite Server Support Definition: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
c009faa7c7 Add VLite Server Support Definition 2022-04-28 19:32:55 +01:00
Shelikhoo
11362acc79 Add VLite Client Support for Packet Armor: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
322c8cc663 Add VLite Client Support for Packet Armor 2022-04-28 19:32:55 +01:00
Shelikhoo
dae391fa41 Fix Simplified Router Bug in Processing Rules 2022-04-28 19:32:55 +01:00
Shelikhoo
010aa3a103 Fix VLite UDP Outbound bugs 2022-04-28 19:32:55 +01:00
Shelikhoo
0b20760e17 Add TODO for NarrowScopeToConnection 2022-04-28 19:32:55 +01:00
Shelikhoo
53a430ea5b Add UDP VLite Outbound to default distributions 2022-04-28 19:32:55 +01:00
Shelikhoo
0dea56fc63 Add UDP VLite Outbound Support: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
f25530717b Add UDP VLite Outbound Support 2022-04-28 19:32:55 +01:00
Shelikhoo
86f64c031a Add UDP VLite protobuf config 2022-04-28 19:32:55 +01:00
Shelikhoo
0ae6c7119e Add environment support in root level instance 2022-04-28 19:32:55 +01:00
Shelikhoo
7e35509381 Add environment implementation 2022-04-28 19:32:55 +01:00
Shelikhoo
3b142ae319 Add relax capability set type 2022-04-28 19:32:55 +01:00
Shelikhoo
49ea72d0ed Add create object with environment api 2022-04-28 19:32:55 +01:00
Shelikhoo
7888c10622 refine capability deisgn 2022-04-28 19:32:55 +01:00
Shelikhoo
2a90a46ed5 implement scoped transient storage: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo
f19f4eb430 implement scoped transient storage 2022-04-28 19:32:55 +01:00
Shelikhoo
0bfc2d1cd4 rewrite scoped storage interface 2022-04-28 19:32:55 +01:00
dependabot[bot]
5b7b53c2a8
Chore: bump github.com/google/go-cmp from 0.5.7 to 0.5.8 (#1750)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.7...v0.5.8)

---
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-04-27 10:42:09 +08:00
dependabot[bot]
eee91ae689
Chore: bump github/codeql-action from 1 to 2 (#1747)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-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-04-26 12:59:56 +08:00
dependabot[bot]
ce70439511
Chore: bump google.golang.org/grpc from 1.45.0 to 1.46.0 (#1739)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.45.0 to 1.46.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.45.0...v1.46.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-04-24 13:09:17 +08:00
dependabot[bot]
540b2e5f13
Chore: bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 (#1738)
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.4...v1.9.5)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
  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-24 13:08:21 +08:00
dependabot[bot]
542571d3a5
Chore: bump actions/download-artifact from 2 to 3 (#1723)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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:42:13 +08:00
dependabot[bot]
d877bad50e
Chore: bump actions/upload-artifact from 2 to 3 (#1724)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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:42:04 +08:00
dependabot[bot]
3dd5cd35be
Chore: bump actions/stale from 4 to 5 (#1722)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  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:26 +08:00
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