6691 Commits

Author SHA1 Message Date
风扇滑翔翼
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
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