1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00
Commit Graph

5773 Commits

Author SHA1 Message Date
Shelikhoo
9cb1566a78 moving health ping to observatory as a standalone component 2021-09-04 11:12:30 +01:00
jebbs
a8dd708028 parse duration conf with time.Parse() 2021-09-04 11:12:04 +01:00
Shelikhoo
718d6f32bf update coding style 2021-09-04 11:12:04 +01:00
Shelikhoo
cd86ba9f4a update distro file
(rebased from 9b30bcf6df)
2021-09-04 11:12:04 +01:00
Shelikhoo
ca7a16104d isolate jsonv4 format that invalided selective compile 2021-09-04 11:12:04 +01:00
QxQ
8989dd8336 fix typo 2021-09-04 11:12:04 +01:00
loyalsoldier
a5224a2bb7 Chore: remove build tag !confonly 2021-09-04 11:12:02 +01:00
Jebbs
7a0af318df refine api, run command and merger (#766)
* mergers code optimize

* api log work with pipe

* remove inbounds/outbounds by tags
*fix rmo flag parse

* cmds description and message optimize
2021-09-04 11:11:45 +01:00
Jebbs
2523d77919 improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +01:00
Jebbs
fa0cf6db26 v5: Health Check & LeastLoad Strategy (rebased from 2c5a714903)
Some changes will be necessary to integrate it into V2Ray
2021-09-04 11:11:45 +01:00
秋のかえで
dde9463275 V5: Add TOML Support (rebased from 36ba06837f) 2021-09-04 11:11:45 +01:00
loyalsoldier
a95bb95267 Remove !confonly build tag 2021-09-04 11:11:43 +01:00
Jebbs
ec1694beb1 fix commands issues (#492)
* fix api commands output

* remove unused code

* fix convert always has -r

* update merge err to locate failed file
2021-09-04 11:09:58 +01:00
young-zy
12dfbc78a3 Update protobuf version (rebased from 6d25d51519)
Some change is not adopted since it would break the code base. These changes will be reintroduced at a later date.
2021-09-04 11:09:58 +01:00
Jebbs
b05a469488 v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206) 2021-09-04 11:09:55 +01:00
Jebbs
557b0c3353 V5: YAML support (rebased from 9367e9b1f2) 2021-09-04 11:05:52 +01:00
CalmLong
96a4ab8a77 remove "v2ray.com/core" in log (rebased from 9c1ad3ab93) 2021-09-04 11:05:38 +01:00
Jebbs
0506757caf v5: API commands (rebased from a17fc40651) 2021-09-04 11:05:37 +01:00
kslr
54a627c443 remove mtproto (rebased from aa24f9a638) 2021-09-04 11:05:36 +01:00
Jebbs
8c78712841 v5: New multi-json loader (rebased from ff59bd37ce) 2021-09-04 11:05:20 +01:00
Kslr
d1eafe2b4c Fix: test run command (#463) 2021-09-04 11:05:19 +01:00
Jebbs
a96e093432 go style commands, merge v2ctl commands, v5 oriented (rebased from 521120d196) 2021-09-04 11:05:19 +01:00
Shelikhoo
c4a6686e77 update version v4.42.1 2021-09-03 22:22:21 +01:00
Shelikhoo
d23f457be5 Revert "refactor go.mod file"
This reverts commit 84918fbaac.
v4.42.0
2021-09-03 21:49:50 +01:00
Shelikhoo
ebdacfdb86 add comment for gRPC TLS silent failure behavior
When gRPC transport have been configured to use TLS, it may silently ignore TLS failure. This may make it harder to diagnose TLS setting issues when gRPC transport is used. This comment is added to help other developers be aware of this caveat.
2021-09-03 21:34:34 +01:00
Shelikhoo
84918fbaac refactor go.mod file
This is required to make sure the go.mod's style is consistent with Go best practice.
2021-09-03 21:25:17 +01:00
Shelikhoo
8ac4750f9e fix lint warning
apply coding style. Be sure to update the style checking tool after a long time of inactivity.
2021-09-02 17:34:39 +01:00
Shelikhoo
a53fd35205 separate client ca and server ca
This is designed to prevent a server from being attacked with a client with a certificate issued by a trusted system CA.
Some commercial CA actually can issue certificate to individual to proof their identity. The server should not accept these certs as a valid client certificates.
2021-09-01 22:34:13 +01:00
ydx
fb665ee94a add client certificate verify (#1169) 2021-09-01 21:12:03 +01:00
Loyalsoldier
46fa8f7480 Fix: DNS return value (#1242) 2021-08-29 16:24:10 +08:00
秋のかえで
50bcb6831c Fix: response AAAA records in TypeA query (#1235) 2021-08-26 23:39:59 +08:00
Loyalsoldier
70e341564a Chore: deb package uses Golang v1.17 (#1234) 2021-08-26 15:20:31 +08:00
Loyalsoldier
1a686b0abc Chore: add trimmed geoip-only-cn-private.dat to package (#1233)
This size-reduced dat file only includes `cn` and `private` list, which is suitable for ROM/RAM insufficient devices.

Use it in V2Ray like this:

- `ext:geoip-only-cn-private.dat:cn`
- `ext:geoip-only-cn-private.dat:private`
2021-08-26 12:46:14 +08:00
朱聖黎 (Zhu Sheng Li)
67cd3ac40e Fix: keep probeInterval consistent for the same outbound (#1230) 2021-08-25 20:16:10 +08:00
秋のかえで
4f9415d001 Fix: DoQ local mode compatible with IP destination (#1226) 2021-08-23 19:46:19 +08:00
Loyalsoldier
c91f98c60d Lint: check Go modules before test (#1220) 2021-08-21 14:45:38 +08:00
Loyalsoldier
5ba50d6951 Fix: go module & update dependencies (#1219) 2021-08-21 14:19:16 +08:00
Loyalsoldier
f2a504e2bb Fix: semgrep lint (#1218) 2021-08-21 13:50:51 +08:00
database64128
c78ee5aac7 🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
dependabot[bot]
91ae805337 Chore: bump github.com/lucas-clemente/quic-go from 0.22.1 to 0.23.0 (#1213)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.22.1 to 0.23.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.22.1...v0.23.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-08-20 10:22:19 +08:00
Loyalsoldier
5794a97708 Fix: JSON tag case (#1212)
JSON unmarshal is case insensitive in Golang
2021-08-19 21:16:54 +08:00
ihotte
8f429c35cb Fix: observatory log & JSON config(#1211)
Co-authored-by: ihotte <ihotte@yeah.net>
2021-08-19 13:40:47 +08:00
Loyalsoldier
e39a69e688 Chore: update deb package to v4.41.1 (#1207) 2021-08-18 13:18:13 +08:00
dependabot[bot]
729cd06bee Chore: bump lucas-clemente/quic-go from 0.22.0 to 0.22.1 (#1198) 2021-08-13 06:26:19 +08:00
Loyalsoldier
639148dda4 Refinement: LRU (#1142) 2021-08-10 11:08:45 +08:00
Loyalsoldier
a783cd5f08 DNS: refine code (#1193) 2021-08-10 11:08:05 +08:00
rurirei
73470e8dd8 DNS: fix typo & refine code (#1183)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-08-10 10:49:56 +08:00
Loyalsoldier
ecaf597a76 Chore: update dependencies (#1192) 2021-08-10 02:58:29 +08:00
dependabot[bot]
152a5df3f4 Chore: bump lucas-clemente/quic-go from 0.21.2 to 0.22.0 (#1165) 2021-08-10 02:39:22 +08:00
dependabot[bot]
1fb003835e Chore: bump h12.io/socks from 1.0.2 to 1.0.3 (#1188) 2021-08-10 02:35:17 +08:00