1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00
Commit Graph

6718 Commits

Author SHA1 Message Date
dependabot[bot]
92c33d4162 Chore: bump github.com/go-playground/validator/v10 (#3438)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.26.0 to 10.27.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.26.0...v10.27.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.27.0
  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>
2025-07-03 11:49:57 +01:00
Xiaokang Wang (Shelikhoo)
b1ef737d48 Add TLSMirror looks like TLS censorship resistant transport protocol as a developer preview transport (#3437)
* Add tlsmirror server processing routine

* Add tlsmirror server processing routine: generated

* Add tlsmirror server handshake capture

* it runs version~

* add draining copy for handshake

* refactor out base tls mirror connection

* tls mirror server side base

* add random field extraction

* add tls like encryption

* add tls like encryption (generated)

* add server side implementation for tlsmirror

* apply coding style: tlsmirror

* fix typo in mirrortls mirror crypto

* add client initial implementation for tls mirror

* add traffic generator implementation for tlsmirror

* add client processing of traffic generator originated traffic

* add embedded traffic generator support to mirrortls client

* override security setting of traffic generator if appropriate

* override security setting of traffic generator if appropriate

* apply request wait time for traffic generator

* add unsafe keyword required for linkname

* fix outbound manager registration for traffic ingress at tlsmirror client

* initial works at sticking packets together

* fix traffic generator's traffic goto logic

* fix get client and server random

* fix applying primary key

* fix log error handling for handshake random retrieval

* fix nonce generation and key derivation logic

* fix: add readPipe channel to client and server connection handlers

* fix: use detached context for persistent mirror TLS dialer

* fix: ensure proper closure of connections on context cancellation

* fix: proper detection of traffic generator originated connection

wait for connection ready before sending payload

* fix coding style
2025-07-03 11:33:16 +01:00
Shelikhoo
248cba4e43 update version to v4.35.0 v5.35.0 2025-06-30 05:28:12 +01:00
Xiaokang Wang (Shelikhoo)
eff7df91d0 Update quic version to v0.53.0 (#3435) 2025-06-30 05:13:51 +01:00
风扇滑翔翼
dc1bbbb427 HTTP inbound: Directly forward plain HTTP 1xx response header (#3434) 2025-06-30 04:23:51 +01:00
basinilya
6c93961392 fix false success from SOCKS server when Dispatch() fails (#3431)
Postpone SOCKS server ok reply to a TCP Connect command until Dispatch()
actually creates an upstream Link. Previously it was sent immediately
inside Handshake(). UDP works as before.
2025-06-30 04:23:40 +01:00
Shelikhoo
6eb00bec29 update version to v5.34.0 v5.34.0 2025-06-22 23:59:50 +01:00
dependabot[bot]
7ecebc80d9 Chore: bump github.com/go-chi/chi/v5 from 5.2.1 to 5.2.2 (#3430)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-22 23:56:40 +01:00
dependabot[bot]
138af4b69f Chore: bump golang.org/x/net from 0.40.0 to 0.41.0 (#3426)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/net/compare/v0.40.0...v0.41.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.41.0
  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>
2025-06-22 23:32:13 +01:00
dependabot[bot]
aef7f62957 Chore: bump github.com/cloudflare/circl from 1.5.0 to 1.6.1 (#3428)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.5.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-version: 1.6.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-22 23:10:14 +01:00
dependabot[bot]
b14ff7b1fe Chore: bump golang.org/x/crypto from 0.38.0 to 0.39.0 (#3424)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.39.0
  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>
2025-06-22 22:52:43 +01:00
dependabot[bot]
8ead4b6e2f Chore: bump google.golang.org/grpc from 1.72.1 to 1.73.0 (#3425)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.72.1 to 1.73.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.1...v1.73.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.73.0
  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>
2025-06-22 22:32:46 +01:00
rhjdvsgsgks
704c0d2145 Add echQueryDomain option (#3421)
Co-authored-by: myself <mail@mail.mail>
2025-06-22 22:20:15 +01:00
Shelikhoo
9844b507e5 Update version to v5.33.0 v5.33.0 2025-05-26 23:20:59 +01:00
dependabot[bot]
b39d891ebb Chore: bump github.com/quic-go/quic-go from 0.51.0 to 0.52.0 (#3413)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.51.0 to 0.52.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.51.0...v0.52.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.52.0
  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>
2025-05-26 23:19:17 +01:00
yiitz
7c5e4c7a4b Fix mkcp unreleased buffer (#3411)
* Fix buffer leak in mkcp transport protocol

* fix Write panic caused by concurrent state check
2025-05-26 23:15:48 +01:00
Shelikhoo
a4f28a2f6f update version to 5.32.0 v5.32.0 2025-05-17 22:05:22 +01:00
Shelikhoo
f0d87d13d6 Update linter version 2025-05-17 21:57:59 +01:00
Shelikhoo
d565c48690 Revert "Fix buffer leak in mkcp transport protocol (#3347)"
This reverts commit d2b2f8c1f3.
2025-05-17 21:50:18 +01:00
dependabot[bot]
ce14b96d9a Chore: bump golang.org/x/net from 0.39.0 to 0.40.0 (#3400)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/net/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.40.0
  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>
2025-05-17 21:45:17 +01:00
dependabot[bot]
0b6cfbbe1e Chore: bump github.com/pires/go-proxyproto from 0.8.0 to 0.8.1 (#3397)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-version: 0.8.1
  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>
2025-05-17 21:21:01 +01:00
dependabot[bot]
05f09b7388 Chore: bump golang.org/x/crypto from 0.37.0 to 0.38.0 (#3401)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.38.0
  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>
2025-05-17 21:07:13 +01:00
dependabot[bot]
e094238fd3 Chore: bump github.com/miekg/dns from 1.1.65 to 1.1.66 (#3403)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.65 to 1.1.66.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.65...v1.1.66)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-version: 1.1.66
  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>
2025-05-17 21:03:22 +01:00
dependabot[bot]
a06726b3b8 Chore: bump lukechampine.com/blake3 from 1.4.0 to 1.4.1 (#3405)
Bumps [lukechampine.com/blake3](https://github.com/lukechampine/blake3) from 1.4.0 to 1.4.1.
- [Commits](https://github.com/lukechampine/blake3/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: lukechampine.com/blake3
  dependency-version: 1.4.1
  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>
2025-05-17 21:02:28 +01:00
dependabot[bot]
b3cc452234 Chore: bump google.golang.org/grpc from 1.72.0 to 1.72.1 (#3408)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.72.0 to 1.72.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.0...v1.72.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.1
  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>
2025-05-17 21:01:53 +01:00
dependabot[bot]
86d8d633f6 Chore: bump github.com/refraction-networking/utls from 1.7.1 to 1.7.3 (#3409)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.7.1 to 1.7.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.7.1...v1.7.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  dependency-version: 1.7.3
  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>
2025-05-17 21:01:08 +01:00
yiitz
d2b2f8c1f3 Fix buffer leak in mkcp transport protocol (#3347) 2025-05-17 20:54:42 +01:00
风扇滑翔翼
1f2d76c066 QUIC sniffer: Fix potential slice panic (#3406)
* QUIC sniffer: Fix potential slice panic

* Fix type err

* Update sniff.go

* Add test and fix more

* Refine
2025-05-17 20:53:29 +01:00
Shelikhoo
28f558601f update version to v5.31.0 v5.31.0 2025-04-28 14:12:25 +01:00
dependabot[bot]
23607bb8b1 Chore: bump github.com/quic-go/quic-go from 0.50.1 to 0.51.0 (#3387)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.50.1 to 0.51.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.50.1...v0.51.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.51.0
  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>
2025-04-28 14:04:18 +01:00
dependabot[bot]
20b183b4f8 Chore: bump google.golang.org/grpc from 1.71.1 to 1.72.0 (#3386)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.1...v1.72.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.0
  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>
2025-04-28 13:44:50 +01:00
Shelikhoo
5910b3388c update utls to v1.7.1 2025-04-28 13:42:16 +01:00
dependabot[bot]
d8d461d6b8 Chore: bump github.com/miekg/dns from 1.1.64 to 1.1.65 (#3375)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.64 to 1.1.65.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.64...v1.1.65)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-version: 1.1.65
  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>
2025-04-15 15:08:04 +01:00
dependabot[bot]
7f11e5f9aa Chore: bump google.golang.org/protobuf from 1.36.5 to 1.36.6 (#3372)
Bumps google.golang.org/protobuf from 1.36.5 to 1.36.6.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.36.6
  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>
2025-04-15 14:01:23 +01:00
dependabot[bot]
887c3ea65d Chore: bump golang.org/x/net from 0.38.0 to 0.39.0 (#3371)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/net/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.39.0
  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>
2025-04-15 14:01:05 +01:00
Shelikhoo
db2cea29c1 update version to v5.30.0 v5.30.0 2025-04-06 19:11:41 +01:00
Shelikhoo
6a27c0c852 bulk update of dependencies 2025-04-05 21:52:53 +01:00
Shelikhoo
c06fe2d34c update builder golang version 2025-04-05 16:08:00 +01:00
Shelikhoo
4c96d63e10 update golang version req 2025-04-05 16:06:25 +01:00
dependabot[bot]
d0bd11dde1 Chore: bump lukechampine.com/blake3 from 1.3.0 to 1.4.0 (#3327)
Bumps [lukechampine.com/blake3](https://github.com/lukechampine/blake3) from 1.3.0 to 1.4.0.
- [Commits](https://github.com/lukechampine/blake3/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: lukechampine.com/blake3
  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>
2025-04-05 15:52:28 +01:00
dependabot[bot]
fbea5ac4a1 Chore: bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#3322)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  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>
2025-04-05 15:52:12 +01:00
Xiaokang Wang (Shelikhoo)
c3be0e2622 Add dns proxy response ttl control (#3323) 2025-04-05 15:51:27 +01:00
alingse
21653e2ecf fix wrong use a nil value error err (#3365)
the `err` has been check abrove, so it is nil value,

check the errWrite != nil, should return `.Base(errWrite)`
2025-04-05 15:50:30 +01:00
Shelikhoo
2b4546a4b3 update version to v5.29.3 v5.29.3 2025-03-23 18:17:49 +00:00
Xiaokang Wang (Shelikhoo)
c8c1120747 QUIC sniffer restructure (#3360) 2025-03-23 18:16:29 +00:00
Shelikhoo
77d2d1b172 Update version to v5.29.2 v5.29.2 2025-02-27 14:33:25 +00:00
Xiaokang Wang (Shelikhoo)
561f31245d A temporary testing fix for the buffer corruption issue (#3331) 2025-02-27 14:32:04 +00:00
Shelikhoo
4144c87fc1 Update version to v5.29.1 v5.29.1 2025-02-20 20:58:26 +00:00
Vigilans
3d54bec86a Fix unreleased cache buffer in QUIC sniffing (#3320) 2025-02-20 20:57:11 +00:00
Shelikhoo
14bc04a889 Update version to v5.29.0 v5.29.0 2025-02-16 14:24:16 +00:00