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

6571 Commits

Author SHA1 Message Date
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
dependabot[bot]
ea4bdcd849
Chore: bump github.com/refraction-networking/utls from 1.3.0 to 1.3.1 (#2402)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.0...v1.3.1)

---
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-03-15 07:12:15 +08:00
dependabot[bot]
c8b6237c04
Chore: bump github.com/refraction-networking/utls from 1.2.2 to 1.3.0 (#2396)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.2.2...v1.3.0)

---
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-03-12 16:04:17 +08:00
dependabot[bot]
aa32199bf3
Chore: bump github.com/jhump/protoreflect from 1.14.0 to 1.15.0 (#2359)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.14.0...v1.15.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>
2023-03-02 10:39:16 +08:00
dependabot[bot]
25cab608fc
Chore: bump github.com/miekg/dns from 1.1.50 to 1.1.51 (#2360)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.50 to 1.1.51.
- [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.50...v1.1.51)

---
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>
2023-03-01 09:33:09 +08:00
dependabot[bot]
c353544fab
Chore: bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#2361)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
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>
2023-03-01 09:32:06 +08:00
dependabot[bot]
f1b9b57188
Chore: bump github.com/quic-go/quic-go from 0.32.0 to 0.33.0 (#2348)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.32.0 to 0.33.0.
- [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.32.0...v0.33.0)

---
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-02-24 22:30:57 +08:00
Shelikhoo
e9943b5a72
update version to v5.4.0 2023-02-19 15:12:01 +00:00
Shelikhoo
c055a08b2c
Refine header based websocket earlydata fix 2023-02-19 14:41:28 +00:00
dyhkwong
dca2f2bd83
fix header-based websocket earlydata compat 2023-02-19 14:34:22 +00:00
Vigilans
882a363b85
DomainStrategy support for all outbounds 2023-02-19 13:34:15 +00:00
Vigilans
b1d38db30a
Support using custom resolver when dialing domain address 2023-02-19 13:34:15 +00:00
Vigilans
44be94a0e7
Add bytespools ownership for buf.Buffer 2023-02-19 13:30:45 +00:00
Vigilans
8b3215c72a
Correctly implement quic sniffer's frame parsing 2023-02-19 12:28:41 +00:00
mydogshitgold
5893d2f3a6
feat: add option to override destination of access log
When SystemPolicy.OverrideAccessLogDest is enabled, destination host
in access log will be replaced with sniffed host. (#866)
2023-02-19 12:26:33 +00:00
Cubarco
c5386b88ad
Fix sockopt.TcpKeepAliveInterval
The Keep-Alive configs may be overridden with golang default settings when `tcpKeepAliveInterval` is set without `tcpKeepAliveIdle`.
Adopt: https://github.com/XTLS/Xray-core/pull/1328
2023-02-19 12:24:24 +00:00
秋のかえで
67c19f7054
feat: refine PacketConnectionReader 2023-02-18 21:44:30 +00:00
秋のかえで
ca185b3310
chore: format code 2023-02-18 21:44:30 +00:00
秋のかえで
1bd1de5f52
fix: read logic of PacketConnectionReader 2023-02-18 21:44:29 +00:00
秋のかえで
c10e16cb5e
Style: format imports 2023-02-18 21:44:29 +00:00
秋のかえで
147641e981
Style: refine code style 2023-02-18 21:44:29 +00:00
秋のかえで
01a2686568
Feat: add PacketAddr support to Trojan client 2023-02-18 21:44:29 +00:00
秋のかえで
f2ae2777fe
Feat: add PacketAddr support to Trojan server 2023-02-18 21:44:25 +00:00
heimoshuiyu
b8ab91b0d3
Skip validating on empty http host config 2023-02-18 14:39:33 +00:00
MoetaYuko
0dcf8cad0d
Compatibility change for go 1.18 2023-02-18 14:36:47 +00:00
Shelikhoo
179cd1d62f
Add container build file 2023-02-18 14:32:43 +00:00
dependabot[bot]
83ea1ba3ba
Chore: bump github.com/quic-go/qtls-go1-19 from 0.2.0 to 0.2.1 (#2331)
Bumps [github.com/quic-go/qtls-go1-19](https://github.com/quic-go/qtls-go1-19) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/quic-go/qtls-go1-19/releases)
- [Commits](https://github.com/quic-go/qtls-go1-19/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-19
  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-02-17 09:51:12 +08:00
dependabot[bot]
a8221446dd
Chore: bump github.com/quic-go/qtls-go1-20 from 0.1.0 to 0.1.1 (#2332)
Bumps [github.com/quic-go/qtls-go1-20](https://github.com/quic-go/qtls-go1-20) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/quic-go/qtls-go1-20/releases)
- [Commits](https://github.com/quic-go/qtls-go1-20/compare/v0.1.0...v0.1.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-20
  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-02-17 09:40:58 +08:00
dependabot[bot]
e93c516609
Chore: bump github.com/pion/dtls/v2 from 2.0.0-rc.7 to 2.2.4 (#2323)
Bumps [github.com/pion/dtls/v2](https://github.com/pion/dtls) from 2.0.0-rc.7 to 2.2.4.
- [Release notes](https://github.com/pion/dtls/releases)
- [Commits](https://github.com/pion/dtls/compare/v2.0.0-rc.7...v2.2.4)

---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 22:00:35 +08:00
dependabot[bot]
91520a0ab5
Chore: bump google.golang.org/grpc from 1.51.0 to 1.53.0 (#2312)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.51.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.53.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-02-15 11:46:31 +08:00
dependabot[bot]
a2be133339
Chore: bump github.com/go-playground/validator/v10 (#2288)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.11.1...v10.11.2)

---
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>
2023-02-15 11:44:19 +08:00