1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-17 19:19:11 -04:00

6896 Commits

Author SHA1 Message Date
Shelikhoo
05cc542463 Update version v5.49.0 v5.49.0 2026-04-12 22:09:45 +01:00
Shelikhoo
0b85f9ba86 chore: regenerate protobuf files 2026-04-12 21:53:10 +01:00
rhjdvsgsgks
bf57f113e9 also parse X-Forwarded-For in httpupgrade (#3676) 2026-04-12 22:48:02 +02:00
dependabot[bot]
d84ee59d78 Chore: bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.30.1 to 10.30.2.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.30.1...v10.30.2)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.30.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-12 21:45:15 +01:00
dependabot[bot]
2f4e6f08ad Chore: bump google.golang.org/grpc from 1.79.3 to 1.80.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.79.3 to 1.80.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.3...v1.80.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.80.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-12 21:44:25 +01:00
dependabot[bot]
0303e67de4 Chore: bump github.com/pion/stun/v3 from 3.1.1 to 3.1.2
Bumps [github.com/pion/stun/v3](https://github.com/pion/stun) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/pion/stun/releases)
- [Commits](https://github.com/pion/stun/compare/v3.1.1...v3.1.2)

---
updated-dependencies:
- dependency-name: github.com/pion/stun/v3
  dependency-version: 3.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-12 21:44:12 +01:00
dependabot[bot]
3abc92760d Chore: bump golang.org/x/net from 0.52.0 to 0.53.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.52.0 to 0.53.0.
- [Commits](https://github.com/golang/net/compare/v0.52.0...v0.53.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-12 21:41:43 +01:00
dependabot[bot]
044994a96e Chore: bump golang.org/x/crypto from 0.49.0 to 0.50.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.49.0 to 0.50.0.
- [Commits](https://github.com/golang/crypto/compare/v0.49.0...v0.50.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-11 21:17:22 +01:00
Xiaokang Wang (Shelikhoo)
cbab1db9f7 Add WebRTC Tunnel Support in V2Ray (#3660)
* add webrtc tunnel support in v2ray

* add webrtc tunnel support in v2ray

* add webrtc tunnel support in v2ray

* add webrtc tunnel support in v2ray(fix lint)
2026-04-06 19:43:56 +01:00
Xiaokang Wang (Shelikhoo)
d1e2c2391a Add RRPIT - Rapid Reliable Packet Interactive Transport (#3658)
* Add rrpit(unreleased) transport

* rrpit(unreleased) transport: boost reconstruction for the front lane

* rrpit(unreleased) transport: avoid blocking delivery of packets with smux packet reordering

* rrpit(unreleased) transport: add dual channel with differential prioritization

* rrpit(unreleased) transport: add remoteMaxDataShardsPerLane

* rrpit(unreleased) transport: add remoteMaxDataShardsPerLane(fix)

* rrpit(unreleased) transport: add auto-reconnect for transport connection

* rrpit(unreleased) transport: add auto-reconnect for transport connection

* rrpit(unreleased) transport: update tests

* rrpit(unreleased) transport: limit frame size for framed packet write closer

* rrpit(unreleased) transport: remove packet length wrapper

* rrpit(unreleased) transport: update go mod

* rrpit(unreleased) transport: update dtls error propagation

* rrpit(unreleased) transport: update broken tests

* rrpit(unreleased) transport: fix deadlock when closing persistent channel

* rrpit(unreleased) transport: add server disconnection detection for persistent connection

* rrpit(unreleased) transport: fix broken lints

* rrpit(unreleased) transport: fix broken lints

* rrpit(unreleased) transport: fix broken lints

* rrpit(unreleased) transport: fix broken lints

* rrpit(unreleased) transport: fix broken lints
2026-03-31 17:21:48 +01:00
Shelikhoo
cf7577f650 Update version to v5.48.0 v5.48.0 2026-03-26 21:25:04 +00:00
dependabot[bot]
4481af8dfc Chore: bump google.golang.org/grpc from 1.79.2 to 1.79.3 (#3655)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.79.2 to 1.79.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.2...v1.79.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.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>
2026-03-26 21:23:42 +00:00
dependabot[bot]
2e97de9b4f Chore: bump golang.org/x/net from 0.51.0 to 0.52.0 (#3650)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.51.0 to 0.52.0.
- [Commits](https://github.com/golang/net/compare/v0.51.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  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>
2026-03-17 12:47:12 +00:00
dyhkwong
edb1d76989 Fix shadowsocks2022 concurrent map read and map write (#3653)
Thanks dyhkwong!
2026-03-17 06:38:29 -06:00
Leo
126e70b23a feat: grpc: allow configurable keepalive and initial windows size (#3654)
added configuration options:

	- idle_timeout
	- health_check_timeout
	- permit_without_stream
	- initial_windows_size

acknowledge:

	- https://github.com/XTLS/Xray-core
	- https://xtls.github.io/en/config/transports/grpc.html

Signed-off-by: Leo <i@hardrain980.com>
Thanks Leo
2026-03-17 06:37:27 -06:00
dyhkwong
42a681aab1 Fix HTTP/1.1 CONNECT response close (#3652) 2026-03-17 06:36:23 -06:00
dependabot[bot]
fbff1421bf Chore: bump golang.org/x/crypto from 0.48.0 to 0.49.0 (#3649)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.48.0 to 0.49.0.
- [Commits](https://github.com/golang/crypto/compare/v0.48.0...v0.49.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.49.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>
2026-03-14 17:33:33 +00:00
dependabot[bot]
122f8497f0 Chore: bump golang.org/x/sync from 0.19.0 to 0.20.0 (#3645)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sync/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.20.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>
2026-03-14 17:14:55 +00:00
dependabot[bot]
4eea9286c7 Chore: bump golang.org/x/sys from 0.41.0 to 0.42.0 (#3644)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/sys/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.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>
2026-03-14 16:16:20 +00:00
Xiaokang Wang (Shelikhoo)
62a92780cf Add TCP Listener support for wireguard outbound (#3651) 2026-03-14 16:16:00 +00:00
Xiaokang Wang (Shelikhoo)
e93e5ac7d9 Better server failure detection and PreserveSourceIPPortWhenDestNATMa… (#3648)
* Better server failure detection and PreserveSourceIPPortWhenDestNATMapping detection

* improve PreserveSourceIPPortWhenDestNATMapping detection
2026-03-10 21:51:40 +00:00
Xiaokang Wang (Shelikhoo)
66c2586ec6 Improve API instance support (#3643)
* Improve API instance support

* fixup format
2026-03-10 19:41:03 +00:00
dependabot[bot]
8eb43be143 Chore: bump github.com/pion/dtls/v3 from 3.0.10 to 3.0.11 (#3647)
Bumps [github.com/pion/dtls/v3](https://github.com/pion/dtls) from 3.0.10 to 3.0.11.
- [Release notes](https://github.com/pion/dtls/releases)
- [Commits](https://github.com/pion/dtls/compare/v3.0.10...v3.0.11)

---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v3
  dependency-version: 3.0.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-10 19:40:48 +00:00
Xiaokang Wang (Shelikhoo)
1f4dc3b375 Stun Nat Type Testing (#3646)
* Add NAT Type Testing utility

* Add dualstack udp support for wireguard outbound

* tidy go.mod

* Do not include stun command on android by default

* fix lints

* add additional test when a secondary server was provided
2026-03-10 17:30:21 +00:00
Shelikhoo
bf1803ddb3 update version to v5.47.0 v5.47.0 2026-03-09 11:56:45 +00:00
dependabot[bot]
691a22aeba Chore: bump golang.org/x/net from 0.50.0 to 0.51.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.50.0 to 0.51.0.
- [Commits](https://github.com/golang/net/compare/v0.50.0...v0.51.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.51.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 11:51:04 +00:00
dependabot[bot]
a4d5541de9 Chore: bump google.golang.org/grpc from 1.79.1 to 1.79.2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.79.1 to 1.79.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.1...v1.79.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 11:50:54 +00:00
urugang
611175e8fc Generalize IP address parsing in TUN stack options
- Replaced `tcpip.AddrFrom4Slice` with `tcpip.AddrFromSlice` in `AddProtocolAddress` to support generic IP versions.
- Updated `SetRouteTable` to use `tcpip.AddrFromSlice` for subnet address calculations.
2026-03-09 11:50:44 +00:00
dependabot[bot]
9cf6a45519 Chore: bump actions/upload-artifact from 6 to 7 (#3628)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 01:47:56 +08:00
dependabot[bot]
46d7ff13ed Chore: bump actions/download-artifact from 7 to 8 (#3629)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 01:47:30 +08:00
Shelikhoo
52656926d9 update version to v5.46.0 v5.46.0 2026-02-20 23:43:19 +00:00
Shelikhoo
2b41da050f update hysteria version 2026-02-20 23:15:10 +00:00
JimmyHuang454
169fc92fd9 update hysteria2 2026-02-20 23:12:40 +00:00
Shelikhoo
2143d629ef filter debug output for wireguard 2026-02-20 11:43:33 +00:00
Shelikhoo
983fe93d51 lint fixup for wireguard 2026-02-20 11:43:33 +00:00
Shelikhoo
dc27b7725e Disable wireguard for dragonfly 2026-02-20 11:43:33 +00:00
Shelikhoo
f516eca541 Add IPv6 happy eyeball support for wireguard
(mostly vibe coded)
2026-02-20 11:43:33 +00:00
Shelikhoo
4c87c9f14f Add Wireguard Support for v2ray
(mostly vibe coded)
2026-02-20 11:43:33 +00:00
Shelikhoo
1bb3ff5b03 update gvisor versions 2026-02-20 11:43:33 +00:00
Shelikhoo
6a00cc3120 Add support for enrollment links in tlsmirror 2026-02-18 17:16:52 +00:00
Shelikhoo
268064bcbc update to v5.45.1 v5.45.1 2026-02-15 20:07:18 +00:00
Shelikhoo
401a96f04f disable windows/arm32 2026-02-15 20:06:33 +00:00
Shelikhoo
fc1554a508 update version to v5.45.0 v5.45.0 2026-02-15 18:44:59 +00:00
Shelikhoo
02434ca34b Add sticky choice option for leastping 2026-02-15 18:38:51 +00:00
dependabot[bot]
7a04bbdc9a Chore: bump github.com/jhump/protoreflect from 1.17.0 to 1.18.0
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  dependency-version: 1.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-15 11:41:30 +00:00
dependabot[bot]
9723bc10b2 Chore: bump github.com/miekg/dns from 1.1.70 to 1.1.72
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.70 to 1.1.72.
- [Commits](https://github.com/miekg/dns/compare/v1.1.70...v1.1.72)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-version: 1.1.72
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-14 09:59:03 +00:00
dependabot[bot]
de0c080044 Chore: bump golang.org/x/net from 0.49.0 to 0.50.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.49.0 to 0.50.0.
- [Commits](https://github.com/golang/net/compare/v0.49.0...v0.50.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-14 09:55:45 +00:00
dependabot[bot]
c7d8ca2749 Chore: bump google.golang.org/grpc from 1.78.0 to 1.79.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.78.0 to 1.79.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.78.0...v1.79.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-14 09:55:28 +00:00
dependabot[bot]
b8ca675b52 Chore: bump golang.org/x/crypto from 0.47.0 to 0.48.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.47.0 to 0.48.0.
- [Commits](https://github.com/golang/crypto/compare/v0.47.0...v0.48.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-14 09:37:34 +00:00
dependabot[bot]
b6b39fe271 Chore: bump github.com/pires/go-proxyproto from 0.8.1 to 0.11.0
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.8.1 to 0.11.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.8.1...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-14 09:33:25 +00:00