1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 02:35:23 +00:00
Commit Graph

6486 Commits

Author SHA1 Message Date
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
AkinoKaede
54b605ba4c
fix: handler logic 2023-10-22 22:44:34 +01:00
AkinoKaede
2617a4c332
fix: cannot start tun 2023-10-22 22:44:34 +01:00
AkinoKaede
c6c1cdbb4f
feat: add tun to all distro 2023-10-22 22:44:28 +01:00
AkinoKaede
f9ea8609cc
feat: set route config 2023-10-22 22:44:28 +01:00
AkinoKaede
04104ad13d
feat: add promiscuous mode and spoofing config 2023-10-22 22:44:28 +01:00
AkinoKaede
a1c5a6bc41
feat: add address to NIC 2023-10-22 22:44:28 +01:00
AkinoKaede
5fafc29771
fix: inbound context 2023-10-22 22:44:28 +01:00
AkinoKaede
e2d2676dfc
feat: set MTU for gVisor tun 2023-10-22 22:44:28 +01:00
AkinoKaede
f39b046e03
style: refine code style 2023-10-22 22:44:28 +01:00
AkinoKaede
1cb3ab7f84
feat: add udp handler 2023-10-22 22:44:28 +01:00
AkinoKaede
06ed6f98b3
feat: create NIC 2023-10-22 22:44:28 +01:00
AkinoKaede
225d638338
style: refine code style 2023-10-22 22:44:27 +01:00
AkinoKaede
4276ee9464
chore: rename DeviceCreator 2023-10-22 22:44:27 +01:00
AkinoKaede
a3728b6abc
feat: set default config 2023-10-22 22:44:27 +01:00
AkinoKaede
12567c62ea
feat: add tun support for tcp 2023-10-22 22:44:26 +01:00
Seena Fallah
442eb44f74
outbounds: remove unused nil check for GetDefaultHandler (#2457)
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2023-10-21 08:43:09 +08:00
guangwu
39d2f293c6
chore: remove refs to deprecated io/ioutil (#2717)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-10-16 10:23:50 +08:00
dependabot[bot]
b617c97342
Chore: bump github.com/refraction-networking/utls from 1.5.3 to 1.5.4 (#2715)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-10-11 20:13:20 +08:00
dependabot[bot]
a1551c10b0
Chore: bump github.com/quic-go/quic-go from 0.38.1 to 0.39.0 (#2712)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.38.1 to 0.39.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.38.1...v0.39.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>
2023-10-10 08:50:23 +08:00
dependabot[bot]
ed7e4d00f3
Chore: bump github.com/refraction-networking/utls from 1.5.2 to 1.5.3 (#2682)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-10-08 19:46:09 +08:00
Shelikhoo
2f60dec37b
update version to v5.8.0 2023-10-06 21:45:26 +01:00
Shelikhoo
99c9beac4e
remove unused member of struct from http roundtripper 2023-09-24 22:39:17 +01:00
Shelikhoo
dec83fbd99
adjust depguard linter rule 2023-09-24 22:37:35 +01:00
dyhkwong
8de2f27043
fix protocol matching in routing (#2540)
* remove invalid http2 sniffer

* do not set metadata protocol for http inbound

http inbound may have transport settings

* fix doh metadata protocol
2023-09-14 08:27:36 +08:00
dependabot[bot]
7dbd3802bb
Chore: bump github.com/refraction-networking/utls from 1.4.3 to 1.5.2 (#2673)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.4.3...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-09-03 08:10:32 +08:00
Rinka
87155bfc71
fix(router): panic caused by concurrent map read and write (#2678) 2023-08-31 18:01:06 +08:00
dependabot[bot]
88b5b551c0
Chore: bump github.com/quic-go/quic-go from 0.37.5 to 0.38.1 (#2666)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.37.5 to 0.38.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.37.5...v0.38.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>
2023-08-26 21:59:34 +08:00
dependabot[bot]
19d75ac0c1
Chore: bump github.com/quic-go/quic-go from 0.37.4 to 0.37.5 (#2652)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.37.4 to 0.37.5.
- [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.37.4...v0.37.5)

---
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>
2023-08-20 18:54:01 +08:00
dependabot[bot]
508f0c9237
Chore: bump github.com/refraction-networking/utls from 1.4.1 to 1.4.3 (#2649)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.4.1 to 1.4.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.4.1...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-08-12 09:33:54 +08:00
dependabot[bot]
ae239fde9b
Chore: bump google.golang.org/grpc from 1.55.0 to 1.57.0 (#2624)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.57.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.57.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>
2023-08-10 10:09:48 +08:00
AkinoKaede
686ade1eaf
chore: update minimum go version to 1.20 2023-08-10 07:33:53 +08:00
AkinoKaede
0320aa8f8d
chore: update release go version to 1.21 2023-08-10 07:30:50 +08:00
dependabot[bot]
347088b286
Chore: bump github.com/refraction-networking/utls from 1.3.3 to 1.4.1 (#2648)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.3 to 1.4.1.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.3...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  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>
2023-08-10 07:28:38 +08:00
dependabot[bot]
c35d1bf62b
Chore: bump github.com/quic-go/quic-go from 0.36.2 to 0.37.4 (#2646)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.36.2 to 0.37.4.
- [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.36.2...v0.37.4)

---
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>
2023-08-10 00:22:29 +08:00
dependabot[bot]
f07ac31066
Chore: bump golang.org/x/net from 0.11.0 to 0.14.0 (#2642)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.14.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>
2023-08-10 00:09:31 +08:00
秋のかえで
d58649764e
fix: parse for the CipherType of Shadowsocks in simplified config (#2510) 2023-07-25 16:27:53 +08:00