1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-19 10:56:06 -05:00
Commit Graph

6407 Commits

Author SHA1 Message Date
Bo He
79f751662c
fix typo (#1475) 2021-12-22 22:51:11 +08:00
世界
fa61371102
Fix log usage 2021-12-12 18:10:21 +08:00
XGFan
e3610870d1
replace same tag default outbound handler (#1437)
* replace old default handler with same tag

Signed-off-by: Guofan Xu <xuguofan@live.com>

* add warning log when replace outbound

* fix lint

Signed-off-by: Guofan Xu <xuguofan@live.com>
2021-12-11 11:22:38 +08:00
Loyalsoldier
1a04abc820
Chore: update dependencies (#1450) 2021-12-06 22:03:50 +08:00
Loyalsoldier
31a10d5e0f
Fix: lint (#1449) 2021-12-06 21:22:11 +08:00
Shelikhoo
144a7929d8
Fix DoS attack vulnerability in CommandSwitchAccountFactory 2021-12-05 19:40:10 +00:00
Shelikhoo
b960d3f1fb Add tcp transport registration 2021-11-28 22:49:16 +00:00
Shelikhoo
718922b047 use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
a47fcffe50 use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
4cf9992f89 add TCP Keep Alive support in config 2021-11-28 22:49:02 +00:00
Shelikhoo
44272fa82f embed macOS const to avoid platform inconsistency(again) 2021-11-28 22:49:02 +00:00
Shelikhoo
fb4ad3f5fa embed macOS const to avoid platform inconsistency 2021-11-28 22:49:02 +00:00
Shelikhoo
3e42fc417b fix bug introduced in adding tcp keep alive adjustment 2021-11-28 22:49:02 +00:00
ValdikSS
1a3d6eeca8 Add TCP keep alive support in Windows 2021-11-28 22:49:02 +00:00
ValdikSS
dc709f56dd Add TCP keep alive support in MacOS, FreeBSD 2021-11-28 22:49:02 +00:00
ValdikSS
499a0e19cb Add TCP keep alive support in Linux 2021-11-28 22:49:02 +00:00
Shelikhoo
6e7e864f2f Add TCP keep alive idle setting: auto generated 2021-11-28 22:49:02 +00:00
ValdikSS
7563338cc8 Add TCP keep alive idle setting 2021-11-28 22:49:02 +00:00
秋のかえで
801d4a1d60
Chore: fix lint 2021-11-28 16:55:37 +08:00
Loyalsoldier
dce8764fd7
Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
Loyalsoldier
43447aa2e4
Chore: format code to fix lint (#1426) 2021-11-27 14:32:07 +08:00
KallyDev
cbb6d7a509
CI: add FreeBSD and OpenBSD ARM build tasks (#1423) 2021-11-27 13:14:57 +08:00
Bo He
f2b1b79283
Fix: raising no route matched log level to Warning (#1424) 2021-11-27 13:11:38 +08:00
yuhan6665
2bbf2523e0
Fix: increase some TLS tests timeout (#1422) 2021-11-27 12:57:27 +08:00
秋のかえで
7413246fb8
Feat: implement set buffer methods in QUIC sysConn (#1404) 2021-11-22 14:13:25 +08:00
dependabot[bot]
8107b73082
Chore: bump github.com/go-chi/chi/v5 from 5.0.6 to 5.0.7 (#1397)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.6 to 5.0.7.
- [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.6...v5.0.7)

---
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>
2021-11-19 11:40:00 +08:00
dependabot[bot]
bd21b9329a
Chore: bump github.com/go-chi/chi/v5 from 5.0.5 to 5.0.6 (#1386)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.5 to 5.0.6.
- [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.5...v5.0.6)

---
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>
2021-11-16 10:10:09 +08:00
Shelikhoo
65174fa487
rename buf type adaptor into FromBytes 2021-11-13 14:24:43 +00:00
Shelikhoo
802780e9e1
rename buf pool membership status to unmanaged 2021-11-13 14:23:29 +00:00
世界
d781cc0cfd
Add uTP sniffer 2021-11-13 14:22:36 +00:00
世界
dbc26775c9
Add quic sniffer 2021-11-13 14:21:57 +00:00
kslr
1490ce645d put code_of_conduct in the right place 2021-11-06 22:18:26 +08:00
朱聖黎 (Zhu Sheng Li)
77b88171d6
fix: readRequest API changed since go1.17 (#1370)
fixed: #1265
2021-11-06 22:09:26 +08:00
dyhkwong
c25e33c423
Fix test command does not load default config.json (#1368) 2021-11-06 15:48:06 +08:00
Ye Zhihao
ed9641dad1
Refactor strmatcher.MphMatcherGroup (#1364)
* Refactor strmatcher.MphMatcherGroup

* Add test for empty mph matcher group
2021-11-05 13:24:46 +08:00
ayanamist
80d92381af
Add PATCH TRACE http method to sniffer (#1314) 2021-11-05 13:22:30 +08:00
dependabot[bot]
5dedf7d951
Chore: bump github.com/jhump/protoreflect from 1.9.0 to 1.10.1 (#1323)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.9.0 to 1.10.1.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.9.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  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>
2021-11-03 13:11:06 +08:00
dependabot[bot]
5f86668ceb
Chore: bump google.golang.org/grpc from 1.40.0 to 1.42.0 (#1366)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.40.0 to 1.42.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.40.0...v1.42.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>
2021-11-03 11:28:39 +08:00
Jachin
05f96fc434
Fix load single config auto format. (#1354) 2021-11-01 11:28:57 +08:00
dependabot[bot]
b467f44ef0
Chore: bump github.com/lucas-clemente/quic-go from 0.23.0 to 0.24.0 (#1338)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases)
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/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>
2021-10-31 18:41:06 +08:00
dependabot[bot]
5931240fb1
Chore: bump github.com/pelletier/go-toml from 1.2.0 to 1.9.4 (#1342)
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.2.0 to 1.9.4.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.2.0...v1.9.4)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
  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>
2021-10-31 18:07:20 +08:00
Ye Zhihao
d4da365c5f
Refactor: strmatcher module (#1333)
* Reorganize strmatcher's package structure

* Rename types in strmatcher package according to their file names

* Stablize strmatcher's Matcher interface

* Implement []matcherEntry as SimpleMatcherGroup

* Implement mph algorithm extracted from MphIndexMatcher as MphMatcherGroup

* Implement AddMatcher/AddFullMatcher/AddDomainMatcher/AddSubstrMatcher for each MatcherGroup

* Stablize strmatcher's MatcherGroup interface

* Stablize strmatcher's IndexMatcher interface

* Update strmatcher's benchmark

* Compatibility fix for app/router's DomainMatcher condition

* Fix code quality issue

* Fix basic matcher issues

* Update priority specification for Substr matcher
2021-10-31 18:01:13 +08:00
世界
a66bb28aee
Reformat code 2021-10-28 18:34:19 +08:00
秋のかえで
0f1e21ceba
Chore: rename binary for Windows (#1356) 2021-10-28 13:15:37 +08:00
dependabot[bot]
925209683c
Chore: bump github.com/go-chi/chi/v5 from 5.0.4 to 5.0.5 (#1359)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.4 to 5.0.5.
- [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.4...v5.0.5)

---
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>
2021-10-28 12:51:48 +08:00
Kslr
e3d966a756
Update cert.go (#1353)
Fix: the description of -name parameter is missing

Co-authored-by: c0520ccf <93182069+c0520ccf@users.noreply.github.com>
2021-10-26 23:16:35 +08:00
秋のかえで
3f1a415ce5
Docs: fix a typo in security policy (#1344) 2021-10-23 11:41:03 +08:00
Shelikhoo
37f1b98cb2
relax test for mixed type content
Whether to allow mixed type data is contested. Since V2Ray does not use this kind of mix content in array by design, relaxing this test to avoid test break.
https://github.com/toml-lang/toml/issues/553
2021-10-21 23:34:53 +01:00
Shelikhoo
f7ba3d0341
fix test break for TOML JSON convertion
Based on 352072d51a/cmd/tomljson/main.go (L56)

Commit 0f7345ba76 updated toml library version, however, the library have changed its check logic for input. This issue is now fixed.
2021-10-21 23:30:35 +01:00
Shelikhoo
054e667983
update version: V5
This is a pre-release version of V2Ray intended for developer preview. Users are not advised to use this version right now. Contributors are encouraged to send pull requests to the V5 Version of the codebase.
2021-10-21 22:52:01 +01:00