1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 00:45:24 +00:00
Commit Graph

6522 Commits

Author SHA1 Message Date
57a4c324e742
1f449e2014 Add DomainStrategy for JSONv5 outbound 2023-11-19 00:55:39 +00:00
57a4c324e742
620c2c1e37 Add DomainStrategy for JSONv5 outbound 2023-11-19 00:55:39 +00:00
Vigilans
ce7dc23446 Apply DomainStrategy to outbound target 2023-11-19 00:23:31 +00:00
dependabot[bot]
bacdf986e8 Chore: bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.15.5 to 10.16.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.5...v10.16.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>
2023-11-19 00:11:42 +00:00
dependabot[bot]
7ec8e59306 Chore: bump github.com/gorilla/websocket from 1.5.0 to 1.5.1
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-19 00:10:11 +00:00
dependabot[bot]
71e7d9ae44 Chore: bump golang.org/x/sync from 0.4.0 to 0.5.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.4.0...v0.5.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>
2023-11-19 00:09:05 +00:00
dependabot[bot]
7ff61cbe7c Chore: bump golang.org/x/net from 0.17.0 to 0.18.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.18.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>
2023-11-19 00:07:37 +00:00
dependabot[bot]
0070ea6b0b Chore: bump github.com/miekg/dns from 1.1.56 to 1.1.57
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.56 to 1.1.57.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.56...v1.1.57)

---
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>
2023-11-19 00:07:18 +00:00
dependabot[bot]
48d1b160e9 Chore: bump golang.org/x/sys from 0.13.0 to 0.14.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.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>
2023-11-19 00:00:59 +00:00
heimoshuiyu
5a96b37980 Fix: empty usage message with undefined flag 2023-11-19 00:00:18 +00:00
Shelikhoo
f67e46cb1b
Update version to 5.11.0 2023-11-03 11:46:43 +00:00
Huang-Huang Bao
42c50d25e1 fix: set TTL for incoming UDP IP packets from TUN with PacketAddr dispatcher
Fixes UDP packets being dropped in non-local routing path(e.g. forwarding to LAN or container veth) due to 0-TTL.
2023-11-01 12:58:10 +00:00
AkinoKaede
c0a0ce29e3 feat: add sniffing for tun 2023-11-01 12:57:57 +00:00
dependabot[bot]
5ac91da18b Chore: bump github.com/quic-go/quic-go from 0.39.3 to 0.40.0
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.39.3 to 0.40.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.39.3...v0.40.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>
2023-11-01 12:57:28 +00:00
Shelikhoo
f8d27415bc
update version to v5.10.1 2023-10-28 03:46:12 +01:00
Shelikhoo
6cb780fea5
fix nil pointer deref at http upgrade transport hub 2023-10-28 03:45:39 +01:00
Shelikhoo
bf7684c790
update version to v5.10.0 2023-10-27 15:47:29 +01:00
dependabot[bot]
7f2956f1db Chore: bump github.com/quic-go/quic-go from 0.39.0 to 0.39.3
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.39.0 to 0.39.3.
- [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.39.0...v0.39.3)

---
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>
2023-10-27 15:45:42 +01:00
Shelikhoo
1eefcd31f7
add httpupgrade transport 2023-10-27 13:09:58 +01:00
Shelikhoo
cb84b28de4
Update generated protobuf files to v1.31.0 2023-10-24 19:50:30 +01:00
pathC
1ef0ee170d Chore: support the new versioning scheme of Protobuf
Protobuf has changed their versioning scheme to language-specific one. For Golang, the first version applied the scheme would be 4.21.0 which followed the preceding version,3.20.1. Basically the major part is language-specific and no longer important.
Check more:
https://protobuf.dev/news/2022-05-06/
https://github.com/protocolbuffers/protobuf/issues/11440
https://github.com/protocolbuffers/protobuf/issues/11123
2023-10-24 19:47:14 +01:00
Shelikhoo
be8e8accb8
update version to v5.9.0 2023-10-24 17:58:17 +01:00
dependabot[bot]
fd0b98700a Chore: bump github.com/google/gopacket from 1.1.17 to 1.1.19
Bumps [github.com/google/gopacket](https://github.com/google/gopacket) from 1.1.17 to 1.1.19.
- [Commits](https://github.com/google/gopacket/compare/v1.1.17...v1.1.19)

---
updated-dependencies:
- dependency-name: github.com/google/gopacket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 16:28:01 +01:00
dependabot[bot]
6eb7e46c95 Chore: bump github.com/google/go-cmp from 0.5.9 to 0.6.0
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.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>
2023-10-24 16:26:44 +01:00
dyhkwong
761422c28d fix http2 chain proxy 2023-10-24 16:23:15 +01:00
dependabot[bot]
abf03a2df9 Chore: bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.8 to 5.0.10.
- [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.0.8...v5.0.10)

---
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>
2023-10-23 20:55:44 +01:00
dependabot[bot]
477dcc434c Chore: bump github.com/go-chi/render from 1.0.2 to 1.0.3
Bumps [github.com/go-chi/render](https://github.com/go-chi/render) from 1.0.2 to 1.0.3.
- [Commits](https://github.com/go-chi/render/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-chi/render
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:45:28 +01:00
dependabot[bot]
87492f73b8 Chore: bump github.com/jhump/protoreflect from 1.15.1 to 1.15.3
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.15.1 to 1.15.3.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.15.1...v1.15.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:43:55 +01:00
dependabot[bot]
b364923acf Chore: bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.14.1 to 10.15.5.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.14.1...v10.15.5)

---
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>
2023-10-23 20:43:21 +01:00
dependabot[bot]
4444a02e90 Chore: bump google.golang.org/grpc from 1.57.0 to 1.59.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.59.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>
2023-10-23 20:41:47 +01:00
dependabot[bot]
6d84436f70 Chore: bump github.com/miekg/dns from 1.1.54 to 1.1.56
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.54 to 1.1.56.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.54...v1.1.56)

---
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>
2023-10-23 20:40:33 +01:00
allo
edff5c8e2d refactor: using callback instead of defer function 2023-10-23 20:38:07 +01:00
Allo
6593b88837 refactor: move unix domain socket filelocker to internal 2023-10-23 20:38:07 +01:00
Allo
79164496d0 feat(transport): allow to set permission for unix domain socket 2023-10-23 20:38:07 +01:00
OurebiKitsu
b0919678b3 fix: improve error messages when parsing config in jsonv5 2023-10-23 20:29:30 +01:00
pathC
21b7a0046b
feat: use security engine in h2 transport
This will enable uTLS support for h2 transport.
2023-10-23 20:26:09 +01:00
pathC
a98f468ac4
feat: add h2 as a stream protocol for jsonv5 2023-10-23 20:26:09 +01:00
Shelikhoo
0ca849637d
fix tun app lints 2023-10-23 01:47:08 +01:00
Shelikhoo
e87af12bf8
fix crash when tun app has no socket option 2023-10-23 01:39:19 +01:00
Shelikhoo
263fbf5765
fix domain socket abstract name and add jsonv5 support 2023-10-23 01:13:01 +01:00
Shelikhoo
efdc05f04c
Add fullcone packet filtering to tun app 2023-10-23 01:13:01 +01:00
AkinoKaede
89ff606655
feat: socket options 2023-10-22 22:44:43 +01:00
AkinoKaede
7a42380599
feat: add error log for create endpoint 2023-10-22 22:44:35 +01:00
AkinoKaede
98463db088
feat: remove packetaddr support because gVisor not support cone-nat 2023-10-22 22:44:35 +01:00
AkinoKaede
c439a12d06
feat: use goroutines to process connections 2023-10-22 22:44:35 +01:00
AkinoKaede
0a090a073b
feat: refine handle logic 2023-10-22 22:44:35 +01:00
AkinoKaede
5f6031b1e8
chore: refine code struct 2023-10-22 22:44:35 +01:00
AkinoKaede
c324d3af70
style: refine code style 2023-10-22 22:44:35 +01:00
AkinoKaede
d1c3007d30
style: remove unused code and comments 2023-10-22 22:44:34 +01:00
AkinoKaede
4b5f788b2f
fix: wrong source and destination 2023-10-22 22:44:34 +01:00