1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-03 07:45:29 -05:00
Commit Graph

6669 Commits

Author SHA1 Message Date
Shelikhoo
14bc04a889 Update version to v5.29.0 v5.29.0 2025-02-16 14:24:16 +00:00
dependabot[bot]
24d4dcda3a Chore: bump golang.org/x/net from 0.34.0 to 0.35.0 (#3309)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.35.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>
2025-02-16 14:23:11 +00:00
Xiaokang Wang (Shelikhoo)
2fefe944ca Enable restricted mode load for http protocol client (#3315) 2025-02-16 14:11:42 +00:00
Vigilans
8ceba34970 Correctly implement QUIC sniffer when handling multiple initial packets (#3310)
* Correctly implement QUIC sniffer when handling multiple initial packets

* Only parse token for initial packet

Signed-off-by: Vigilans <vigilans@foxmail.com>

* Update test case for QUIC sniffer

* Fix testcases
* Third packet in `Handshake[2]; packet 1-3` mistakenly copied UDP header into payload, making the payload length 1278 instead of 1250

* Introduce `protocol.ErrProtoNeedMoreData` to allow sniffer to fetch more packets until complete

---------

Signed-off-by: Vigilans <vigilans@foxmail.com>
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
Co-authored-by: dyhkwong <50692134+dyhkwong@users.noreply.github.com>
2025-02-16 14:11:27 +00:00
Shelikhoo
807d4b200e update to v5.28.0 v5.28.0 2025-02-10 20:36:54 +00:00
dependabot[bot]
22f8193138 Chore: bump google.golang.org/protobuf from 1.36.4 to 1.36.5 (#3302)
Bumps google.golang.org/protobuf from 1.36.4 to 1.36.5.

---
updated-dependencies:
- dependency-name: google.golang.org/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>
2025-02-10 20:18:08 +00:00
dependabot[bot]
ba44395d6c Chore: bump golang.org/x/crypto from 0.32.0 to 0.33.0 (#3305)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-02-10 19:46:59 +00:00
Xiaokang Wang (Shelikhoo)
e1064c5f4c Add Persistence to Subscription Imports, plus Subscription Update API (#3307)
* Add Persistence for Subscription imports

* Add Update Tracked Subscription
2025-02-10 19:27:32 +00:00
Shelikhoo
45e741bae0 update version to v5.27.0 v5.27.0 2025-02-06 18:17:40 +00:00
dependabot[bot]
0c878574b6 Chore: bump github.com/go-chi/chi/v5 from 5.2.0 to 5.2.1 (#3299)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.0 to 5.2.1.
- [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.0...v5.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  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-02-06 15:52:56 +00:00
dependabot[bot]
13e56e991e Chore: bump golang.org/x/sys from 0.29.0 to 0.30.0 (#3298)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/sys/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  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-02-06 15:27:37 +00:00
dependabot[bot]
225d2fb56e Chore: bump golang.org/x/sync from 0.10.0 to 0.11.0 (#3297)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/sync/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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-02-06 13:11:17 +00:00
Shelikhoo
b661f2e26a remove debian package builder 2025-02-05 20:42:51 +00:00
Xiaokang Wang (Shelikhoo)
78cd513b82 Add Persistent Storage Support to V2Ray (#3300)
* update protogen to strip unused part

* add persistent storage support

* fix coding style

* update linter setting

* update github integration
2025-02-05 20:36:40 +00:00
Shelikhoo
3ee9045697 chore: regenerate protos 2025-02-02 13:57:34 +00:00
Shelikhoo
1cf24f44b4 update version to v5.26.0 v5.26.0 2025-01-26 20:42:21 +00:00
Shelikhoo
f395b7dd7e really really fix pie build x2 2025-01-26 20:35:40 +00:00
Shelikhoo
ca5ce23fb4 really really fix pie build 2025-01-26 20:24:29 +00:00
oweid
81893cb41d Chore: update license year (#3289) 2025-01-26 20:20:52 +00:00
dependabot[bot]
63b90ccdf2 Chore: bump google.golang.org/protobuf from 1.36.3 to 1.36.4 (#3294)
Bumps google.golang.org/protobuf from 1.36.3 to 1.36.4.

---
updated-dependencies:
- dependency-name: google.golang.org/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>
2025-01-26 20:20:30 +00:00
dependabot[bot]
faae48bae6 Chore: bump github.com/miekg/dns from 1.1.62 to 1.1.63 (#3293)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.62 to 1.1.63.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.62...v1.1.63)

---
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>
2025-01-26 19:53:29 +00:00
dependabot[bot]
806d2d9fe4 Chore: bump google.golang.org/grpc from 1.69.4 to 1.70.0 (#3292)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.69.4 to 1.70.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.69.4...v1.70.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>
2025-01-26 19:25:25 +00:00
dependabot[bot]
41962e180a Chore: bump github.com/quic-go/quic-go from 0.48.2 to 0.49.0 (#3291)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.48.2 to 0.49.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.48.2...v0.49.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>
2025-01-26 09:32:20 +00:00
Xiaokang Wang (Shelikhoo)
524861989a update linter settings (#3290) 2025-01-22 12:52:32 +00:00
Xiaokang Wang (Shelikhoo)
442581d897 Fixing all the lint errors (#3288)
* Fixing all the lint errors!

* update lint settings
2025-01-22 08:27:48 +00:00
Shelikhoo
efec9ea0dc update version to v5.25.1 v5.25.1 2025-01-21 15:30:07 +00:00
Xiaokang Wang (Shelikhoo)
d5bcf9d878 really fix pie build (#3286) 2025-01-21 10:16:01 +00:00
Shelikhoo
f5938647a0 update version to v5.25.0 v5.25.0 2025-01-18 11:54:46 +00:00
dependabot[bot]
8ccaf4d544 Chore: bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#3236)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-01-18 11:52:45 +00:00
dependabot[bot]
0a301b93dd Chore: bump github.com/go-chi/chi/v5 from 5.1.0 to 5.2.0 (#3261)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.1.0 to 5.2.0.
- [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.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  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-01-18 11:35:38 +00:00
dependabot[bot]
9e373eed77 Chore: bump github.com/go-playground/validator/v10 (#3282)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.22.1 to 10.24.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.22.1...v10.24.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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-01-18 11:26:50 +00:00
dependabot[bot]
8c493134e4 Chore: bump google.golang.org/grpc from 1.68.1 to 1.69.4 (#3283)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.1 to 1.69.4.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.68.1...v1.69.4)

---
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>
2025-01-17 18:26:55 +00:00
dependabot[bot]
79f2b6cb77 Chore: bump google.golang.org/protobuf from 1.35.2 to 1.36.3 (#3285)
Bumps google.golang.org/protobuf from 1.35.2 to 1.36.3.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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-01-17 17:59:34 +00:00
Xiaokang Wang (Shelikhoo)
69b09074f8 Add WebUI Support for V2Ray (#3284)
* Add support for web based grpc

* Avoid panic in observatory command: incorrect tag

* Add WebCommander app for web based client

* Add WebCommander app for web based client

* Add urlline subscription container format support

* avoid panic when serving user request

* refine subscription info api

* fix start consistency issue in web commander

* fix webcommander import style

* fix urlline parsing

* fix crash in subscription commander

* add webroot file serving at webcommmander

* fix crash when observatory is not found

* add autogenerated subscriptionmgr err
2025-01-17 17:42:53 +00:00
Xiaokang Wang (Shelikhoo)
4adda5806a fix broken pie build with generating seperate files (#3281) 2025-01-14 10:06:23 +00:00
Xiaokang Wang (Shelikhoo)
54fbeeba6d Resync Hysteria2 Import (#3280)
* Revert "Remove hysteria2"

This reverts commit 1d21d7a077.

* Update Hysteria2

* Rename hysteria2 module

* fix broken hy2 import version

---------

Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>
2025-01-14 10:06:08 +00:00
Shelikhoo
ccacd52b24 update version to v5.24.0 2025-01-08 18:28:27 +00:00
Xiaokang Wang (Shelikhoo)
4c1d94863b Add Early Data and Custom Header Support to HTTPUpgrade Transport (#3276)
* Add early reply draining for httpupgrade

* Add early data config for httpupgrade

* Add early data implementation for httpupgrade

* Add send extra header for httpupgrade
2025-01-08 18:26:01 +00:00
世界
f0a87b9c09 Remove replace usage 2024-12-27 09:55:31 +08:00
世界
1d21d7a077 Remove hysteria2
The hysteria2 fork used "github.com/JimmyHuang454/hysteria" removed the original license of hysteria2 (which is not allowed) and replaced it with GPL which conflicts with v2ray's license.

Given that the quality of the related code is very poor and it is not synchronized with the upstream, I deleted it.
2024-12-27 09:50:22 +08:00
Shelikhoo
d59c2b4c85 update version to v5.23.0 v5.23.0 2024-12-08 22:16:10 +00:00
dependabot[bot]
2d719203e8 Chore: bump google.golang.org/grpc from 1.67.1 to 1.68.1 (#3242)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.1 to 1.68.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.68.1)

---
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>
2024-12-08 22:14:02 +00:00
dependabot[bot]
47fe2bee47 Chore: bump golang.org/x/net from 0.30.0 to 0.32.0 (#3241)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.30.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.32.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>
2024-12-08 22:11:10 +00:00
dependabot[bot]
3cbef76304 Chore: bump github.com/quic-go/quic-go from 0.48.1 to 0.48.2 (#3237)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.48.1 to 0.48.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.48.1...v0.48.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>
2024-12-08 22:03:23 +00:00
dependabot[bot]
04ad1db856 Chore: bump google.golang.org/protobuf from 1.35.1 to 1.35.2 (#3222)
Bumps google.golang.org/protobuf from 1.35.1 to 1.35.2.

---
updated-dependencies:
- dependency-name: google.golang.org/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>
2024-12-08 21:53:38 +00:00
dependabot[bot]
8d97e348dc Chore: bump github.com/adrg/xdg from 0.5.1 to 0.5.3 (#3211)
Bumps [github.com/adrg/xdg](https://github.com/adrg/xdg) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/adrg/xdg/releases)
- [Commits](https://github.com/adrg/xdg/compare/v0.5.1...v0.5.3)

---
updated-dependencies:
- dependency-name: github.com/adrg/xdg
  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>
2024-12-08 21:51:23 +00:00
秋野かえで
9ccb080dcc feat: copy some certificate related options for uTLS (#3240) 2024-12-08 21:44:37 +00:00
Shelikhoo
a72c4d2644 update version to v5.22.0 v5.22.0 2024-10-27 22:26:49 +00:00
dependabot[bot]
63f4901ef0 Chore: bump github.com/adrg/xdg from 0.5.0 to 0.5.1 (#3193)
Bumps [github.com/adrg/xdg](https://github.com/adrg/xdg) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/adrg/xdg/releases)
- [Commits](https://github.com/adrg/xdg/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/adrg/xdg
  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>
2024-10-27 22:16:59 +00:00
dependabot[bot]
0d0572338d Chore: bump github.com/quic-go/quic-go from 0.47.0 to 0.48.1 (#3201)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.47.0 to 0.48.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.47.0...v0.48.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>
2024-10-27 22:00:51 +00:00