1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

6401 Commits

Author SHA1 Message Date
Shelikhoo
99c9beac4e
remove unused member of struct from http roundtripper 2023-09-24 22:39:17 +01:00
Shelikhoo
dec83fbd99
adjust depguard linter rule 2023-09-24 22:37:35 +01:00
dyhkwong
8de2f27043
fix protocol matching in routing (#2540)
* remove invalid http2 sniffer

* do not set metadata protocol for http inbound

http inbound may have transport settings

* fix doh metadata protocol
2023-09-14 08:27:36 +08:00
dependabot[bot]
7dbd3802bb
Chore: bump github.com/refraction-networking/utls from 1.4.3 to 1.5.2 (#2673)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.4.3...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-09-03 08:10:32 +08:00
Rinka
87155bfc71
fix(router): panic caused by concurrent map read and write (#2678) 2023-08-31 18:01:06 +08:00
dependabot[bot]
88b5b551c0
Chore: bump github.com/quic-go/quic-go from 0.37.5 to 0.38.1 (#2666)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.37.5 to 0.38.1.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.37.5...v0.38.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/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>
2023-08-26 21:59:34 +08:00
dependabot[bot]
19d75ac0c1
Chore: bump github.com/quic-go/quic-go from 0.37.4 to 0.37.5 (#2652)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.37.4 to 0.37.5.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.37.4...v0.37.5)

---
updated-dependencies:
- dependency-name: github.com/quic-go/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>
2023-08-20 18:54:01 +08:00
dependabot[bot]
508f0c9237
Chore: bump github.com/refraction-networking/utls from 1.4.1 to 1.4.3 (#2649)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.4.1 to 1.4.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.4.1...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-08-12 09:33:54 +08:00
dependabot[bot]
ae239fde9b
Chore: bump google.golang.org/grpc from 1.55.0 to 1.57.0 (#2624)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.57.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.57.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>
2023-08-10 10:09:48 +08:00
AkinoKaede
686ade1eaf
chore: update minimum go version to 1.20 2023-08-10 07:33:53 +08:00
AkinoKaede
0320aa8f8d
chore: update release go version to 1.21 2023-08-10 07:30:50 +08:00
dependabot[bot]
347088b286
Chore: bump github.com/refraction-networking/utls from 1.3.3 to 1.4.1 (#2648)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.3 to 1.4.1.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.3...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-08-10 07:28:38 +08:00
dependabot[bot]
c35d1bf62b
Chore: bump github.com/quic-go/quic-go from 0.36.2 to 0.37.4 (#2646)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.36.2 to 0.37.4.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.36.2...v0.37.4)

---
updated-dependencies:
- dependency-name: github.com/quic-go/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>
2023-08-10 00:22:29 +08:00
dependabot[bot]
f07ac31066
Chore: bump golang.org/x/net from 0.11.0 to 0.14.0 (#2642)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  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>
2023-08-10 00:09:31 +08:00
秋のかえで
d58649764e
fix: parse for the CipherType of Shadowsocks in simplified config (#2510) 2023-07-25 16:27:53 +08:00
Wang Xiang
580d33a7e3
CI: Add Linux loong64 build task (#2609)
* CI: add Linux loongarch64 build tasks

* Fix: rename goarch from loongarch64 to loong64

* chore: go mod tidy

* Chore: bump github.com/refraction-networking/utls from 1.3.2 to 1.3.3 (#2611)

Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>

* CI: add Linux loongarch64 build tasks

* Fix: rename goarch from loongarch64 to loong64

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 13:38:17 +08:00
dependabot[bot]
d99195b866
Chore: bump github.com/refraction-networking/utls from 1.3.2 to 1.3.3 (#2611)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-07-18 09:57:50 +08:00
AkinoKaede
faa60cbb07
chore: go mod tidy 2023-07-17 12:43:36 +08:00
AkinoKaede
8c5bcacb99
feat: bulit-in qtls cipher suite implementation 2023-07-17 12:38:25 +08:00
dependabot[bot]
093d7b0b6f
Chore: bump actions/setup-go from 3 to 4 (#2412)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
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>
2023-07-17 12:01:43 +08:00
dependabot[bot]
843f4a3dc3
Chore: bump actions/stale from 7 to 8 (#2434)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [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/v7...v8)

---
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>
2023-07-17 12:01:34 +08:00
dependabot[bot]
c6d743a8ae
Chore: bump github.com/quic-go/qtls-go1-20 from 0.2.2 to 0.3.0 (#2587)
Bumps [github.com/quic-go/qtls-go1-20](https://github.com/quic-go/qtls-go1-20) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/quic-go/qtls-go1-20/releases)
- [Commits](https://github.com/quic-go/qtls-go1-20/compare/v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-20
  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>
2023-07-17 11:59:49 +08:00
dependabot[bot]
cc49976d24
Chore: bump github.com/golang/protobuf from 1.5.2 to 1.5.3 (#2390)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
  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>
2023-07-17 11:58:46 +08:00
dependabot[bot]
959781c46f
Chore: bump github.com/quic-go/quic-go from 0.36.0 to 0.36.2 (#2600)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.36.0 to 0.36.2.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.36.0...v0.36.2)

---
updated-dependencies:
- dependency-name: github.com/quic-go/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>
2023-07-17 11:56:46 +08:00
AkinoKaede
5c995d97f4
fix: panic in dns over quic when address is a ip 2023-07-02 09:47:33 +08:00
Tim Xylon
e102d52e7c
Migrate to quic-go v0.36.0 (#2561) 2023-07-01 15:31:19 +08:00
dyhkwong
cd9f183fa8
DNS over QUIC should not have "http/1.1" and "h2" ALPNs (#2570) 2023-06-28 14:28:23 +08:00
Shelikhoo
2ac0188d6f
update to v5.7.0 2023-05-31 10:45:19 +01:00
Shelikhoo
1f8e71fe5c
apply styles 2023-05-30 17:49:28 +01:00
Shelikhoo
b7e8554ee3
http request decide protocol based on ALPN 2023-05-30 17:48:55 +01:00
Shelikhoo
0e519b9fb3
implement system network environment 2023-05-30 00:20:34 +01:00
Shelikhoo
94639807ad
add meek request stereotype 2023-05-29 23:55:45 +01:00
Shelikhoo
f68115c37e
add request transport base 2023-05-29 23:55:45 +01:00
Shelikhoo
69ab87239a
add implementation for transport environment and network env 2023-05-29 23:55:43 +01:00
Shelikhoo
acbb5e6e08
update version to v5.6.0 2023-05-29 00:30:33 +01:00
Seena Fallah
e738e05da3
build: set v2ray binary as an entrypoint
Use command to add args.
Also, add a default command to make it backward compatible with v4.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2023-05-29 00:10:05 +01:00
Shelikhoo
5a68536530
Add h1SkipWaitForReply Option to http proxy protocol: auto generated 2023-05-29 00:07:26 +01:00
Shelikhoo
cfc6bd465b
Add h1SkipWaitForReply Option to http proxy protocol 2023-05-29 00:07:26 +01:00
dependabot[bot]
262e9f1b37
Chore: bump github.com/refraction-networking/utls from 1.3.1 to 1.3.2 (#2482)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-05-27 11:02:16 +08:00
Shelikhoo
c251049568
update version to v5.5.0 2023-05-24 00:22:05 +01:00
dyhkwong
8433420654
make use of buf.NewWithSize() in Trojan's PacketReader and PacketWriter
also fix a domain length check bug
2023-05-24 00:18:19 +01:00
dyhkwong
923d49464d
proxy/trojan: fix writing UDP packet
close v2fly#2440, close v2fly#1795
2023-05-24 00:18:19 +01:00
Shelikhoo
680d5bb2ac
refactor trojan WriteHeader function. 2023-05-24 00:10:44 +01:00
AkinoKaede
72475c2924
fix: always send Trojan header 2023-05-23 14:05:10 +08:00
dependabot[bot]
62bef88a19
Chore: bump github.com/quic-go/qtls-go1-20 from 0.1.1 to 0.2.2 (#2452)
Bumps [github.com/quic-go/qtls-go1-20](https://github.com/quic-go/qtls-go1-20) from 0.1.1 to 0.2.2.
- [Release notes](https://github.com/quic-go/qtls-go1-20/releases)
- [Commits](https://github.com/quic-go/qtls-go1-20/compare/v0.1.1...v0.2.2)

---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-20
  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>
2023-04-26 17:00:13 +08:00
dependabot[bot]
0c5abc7e53
Chore: bump github.com/quic-go/qtls-go1-19 from 0.2.1 to 0.3.2 (#2445)
Bumps [github.com/quic-go/qtls-go1-19](https://github.com/quic-go/qtls-go1-19) from 0.2.1 to 0.3.2.
- [Release notes](https://github.com/quic-go/qtls-go1-19/releases)
- [Commits](https://github.com/quic-go/qtls-go1-19/compare/v0.2.1...v0.3.2)

---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-19
  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>
2023-04-06 20:33:07 +08:00
AkinoKaede
746c45036e
Chore: remove Go 1.18 support 2023-04-06 20:10:14 +08:00
Shelikhoo
9b5262855f
Update version to v5.4.1 2023-03-19 23:47:16 +00:00
Shelikhoo
9308de4e74
Fix incorrect UDP length in Torjan packet addr 2023-03-19 23:23:02 +00:00
YiGuo
f0a68ddcf6
fix: dns missing DomainMatcher in init function (#2375)
Co-authored-by: zl.kou <zl.kou@zuche.com>
2023-03-15 07:12:51 +08:00