1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

6418 Commits

Author SHA1 Message Date
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
Wang Xiang
580d33a7e3
CI: Add Linux loong64 build task (#2609)
* CI: add Linux loongarch64 build tasks

* Fix: rename goarch from loongarch64 to loong64

* chore: go mod tidy

* Chore: bump github.com/refraction-networking/utls from 1.3.2 to 1.3.3 (#2611)

Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.2...v1.3.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>

* CI: add Linux loongarch64 build tasks

* Fix: rename goarch from loongarch64 to loong64

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 13:38:17 +08:00
dependabot[bot]
d99195b866
Chore: bump github.com/refraction-networking/utls from 1.3.2 to 1.3.3 (#2611)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.2...v1.3.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-07-18 09:57:50 +08:00
AkinoKaede
faa60cbb07
chore: go mod tidy 2023-07-17 12:43:36 +08:00
AkinoKaede
8c5bcacb99
feat: bulit-in qtls cipher suite implementation 2023-07-17 12:38:25 +08:00
dependabot[bot]
093d7b0b6f
Chore: bump actions/setup-go from 3 to 4 (#2412)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 12:01:43 +08:00
dependabot[bot]
843f4a3dc3
Chore: bump actions/stale from 7 to 8 (#2434)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 12:01:34 +08:00
dependabot[bot]
c6d743a8ae
Chore: bump github.com/quic-go/qtls-go1-20 from 0.2.2 to 0.3.0 (#2587)
Bumps [github.com/quic-go/qtls-go1-20](https://github.com/quic-go/qtls-go1-20) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/quic-go/qtls-go1-20/releases)
- [Commits](https://github.com/quic-go/qtls-go1-20/compare/v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-20
  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-07-17 11:59:49 +08:00
dependabot[bot]
cc49976d24
Chore: bump github.com/golang/protobuf from 1.5.2 to 1.5.3 (#2390)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/golang/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>
2023-07-17 11:58:46 +08:00
dependabot[bot]
959781c46f
Chore: bump github.com/quic-go/quic-go from 0.36.0 to 0.36.2 (#2600)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.36.0 to 0.36.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.36.0...v0.36.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>
2023-07-17 11:56:46 +08:00
AkinoKaede
5c995d97f4
fix: panic in dns over quic when address is a ip 2023-07-02 09:47:33 +08:00
Tim Xylon
e102d52e7c
Migrate to quic-go v0.36.0 (#2561) 2023-07-01 15:31:19 +08:00
dyhkwong
cd9f183fa8
DNS over QUIC should not have "http/1.1" and "h2" ALPNs (#2570) 2023-06-28 14:28:23 +08:00
Shelikhoo
2ac0188d6f
update to v5.7.0 2023-05-31 10:45:19 +01:00
Shelikhoo
1f8e71fe5c
apply styles 2023-05-30 17:49:28 +01:00
Shelikhoo
b7e8554ee3
http request decide protocol based on ALPN 2023-05-30 17:48:55 +01:00
Shelikhoo
0e519b9fb3
implement system network environment 2023-05-30 00:20:34 +01:00
Shelikhoo
94639807ad
add meek request stereotype 2023-05-29 23:55:45 +01:00
Shelikhoo
f68115c37e
add request transport base 2023-05-29 23:55:45 +01:00