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

5316 Commits

Author SHA1 Message Date
loyalsoldier
c6c0030b89
Merge branch 'master' into v5 2020-12-16 12:38:16 +08:00
Loyalsoldier
eed3f5a13f
Fix: typo (#524) 2020-12-16 09:26:25 +08:00
database64128
0eccf52399
🧦 Fix socks client UDP outbound's wrong destination (#522)
- When you connect to a non-localhost socks5 server, in the response of a UdpAssociate from a socks5 server, the remote address may be `::` or `0.0.0.0`. The previous behavior is to connect to the remote address in the response, which obviously fails.
- This commit changes the behavior to dial to the outbound server's address when the remote address in the response is `::` or `0.0.0.0`.
- Rename `cmdUDPPort` to `cmdUDPAssociate` for clarity.
2020-12-16 04:23:40 +08:00
Loyalsoldier
d9db22093b
Fix: write to log without clientIP (#517) 2020-12-15 16:59:23 +08:00
young-zy
3e9b74c234
Add specific build for Android (#512)
Fixes #491
2020-12-14 01:48:06 +08:00
Loyalsoldier
166d1afee5
DNS: add clientip for specific nameserver (#504) 2020-12-12 07:15:29 +08:00
CalmLong
6858a7b0a7
Routing: consistent with domains key in DNS configuration (#502) 2020-12-11 21:16:52 +08:00
GitHub Action
0dcd6ee838 update geoip, geosite 2020-12-11 00:11:23 +00:00
dependabot[bot]
f4a5715d22
Bump github.com/pires/go-proxyproto from 0.3.2 to 0.3.3 (#499)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.3.2...v0.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 15:19:35 +08:00
dependabot[bot]
083970c073
Bump h12.io/socks from 1.0.1 to 1.0.2 (#500)
Bumps [h12.io/socks](https://github.com/h12w/socks) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/h12w/socks/releases)
- [Commits](https://github.com/h12w/socks/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 15:18:01 +08:00
kslr
75b5379231 update discussions link 2020-12-09 16:02:10 +08:00
loyalsoldier
659f16e8ee
Merge branch 'master' into v5 2020-12-05 23:49:51 +08:00
dependabot[bot]
d0ee7d2600
Bump google.golang.org/grpc from 1.33.2 to 1.34.0 (#483)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.2 to 1.34.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.33.2...v1.34.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 06:58:05 +08:00
Kslr
9a03660efe
add codacy badge 2020-12-05 06:35:26 +08:00
Jebbs
7c1ab06206
v5: Remove v2ctl & wv2ray (#488)
* remove v2ctl, wv2ray
* remove v2ctl, wv2ray build scripts
* remove infra/control/main
* remove !confonly flag
* remove ctlcmd package
* remove Confgi.Override func
* move commands package into main
2020-12-04 22:32:55 +08:00
dependabot[bot]
97385e364b
Bump github.com/lucas-clemente/quic-go from 0.19.2 to 0.19.3 (#489) 2020-12-04 14:31:21 +08:00
GitHub Action
6efed11f98 update geoip, geosite 2020-12-04 00:10:27 +00:00
Loyalsoldier
e6fb0e1e5d
Suppress lint error (#486) 2020-12-03 16:14:34 +08:00
Loyalsoldier
5e99737c12
Fix: close response body (#484) 2020-12-03 16:07:41 +08:00
Jebbs
9367e9b1f2
V5: YAML support (#475)
* yml support

* code optimize

* remove external conf loaders

* update yaml test
code optimize

* code optimize

* fix a typo

* update convert desc
2020-12-03 06:11:24 +08:00
loyalsoldier
483103a16b
Merge branch 'master' into v5 2020-12-03 00:01:36 +08:00
Loyalsoldier
45aeaa8080
Refine pick port logic (#481) 2020-12-02 23:48:32 +08:00
Loyalsoldier
ff09993c8b
Refine coverall (#472) 2020-12-02 21:57:31 +08:00
Loyalsoldier
cf11bf0498
Suppress lint error (#480) 2020-12-02 21:07:58 +08:00
CalmLong
9c1ad3ab93
remove "v2ray.com/core" in log (#478)
* format errlog output

* fix test
2020-12-02 20:00:51 +08:00
QxQ
fe60260d48
Update release.yml 2020-12-02 19:05:46 +08:00
Loyalsoldier
5bf470d9cb
Remove removeVSign.sh (#470) 2020-11-30 21:00:05 +08:00
loyalsoldier
9475e8df3c
Merge branch 'master' into v5 2020-11-30 20:59:04 +08:00
Loyalsoldier
7de5bca056
Remove Bazel (#469)
due to https://github.com/v2fly/v2ray-core/pull/468
2020-11-30 20:48:17 +08:00
QxQ
3342afbada
Use GitHub Actions matrix feature to build and release (#468)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-30 20:17:33 +08:00
Jebbs
a17fc40651
v5: API commands (#452)
* api commands

* do not build all commands texts

* apply lint style

* configurable api timeout

* api cmds accepts file, url, stdin.
optimze output

* extract to dialAPIServer()
2020-11-30 20:08:08 +08:00
kslr
aa24f9a638 remove mtproto 2020-11-28 22:28:14 +08:00
Jebbs
ff59bd37ce
v5: New multi-json loader (#451)
* scalable commands column

* new multi-json loader
For both internal & external json loader

This commit also:
* applies -confdir to other formats, e.g. "yaml" in the future
* multiple assign of -confdir is accepted
* add flag to load confdir recursively
* config loader can have alias name
* json loader also accepts .jsonc
* add merge command
* add help topics for json merge, format loader
* format loaders don't panic

* apply lint style

* add merge test

* merge same tag in array, solve v2fly/discussion#97

* apply lint style

* merge code optimize

* fix merge cmdarg.Arg

* update cmd description

* improve merge logic
* fix zero value overwrite
* fix "null" lost after array merge

* code optimize

* fix merged slices not sorted

* code optimize

* add package doc

* fix a typo
2020-11-28 22:06:03 +08:00
Loyalsoldier
8cb2db5321
Fix: security issues & overflow potentiality (#465) 2020-11-28 21:56:20 +08:00
Loyalsoldier
0bf185e705
Remove Dockerfile (#467)
Use https://github.com/v2fly/docker instead.
2020-11-28 15:18:16 +08:00
loyalsoldier
a7fa78c9a6
Merge branch 'master' into v5 2020-11-27 08:35:04 +08:00
Loyalsoldier
63912f99ec
Refine workflows (#464) 2020-11-27 08:33:44 +08:00
Kslr
5bebe87492
Fix: test run command (#463) 2020-11-27 08:19:52 +08:00
GitHub Action
cfbb826e1e update geoip, geosite 2020-11-27 00:10:04 +00:00
loyalsoldier
e35d04f557
Merge branch 'master' into v5 2020-11-26 16:52:07 +08:00
Loyalsoldier
ea0210acee
Migrate release from Azure Pipelines to GitHub Actions (#453) 2020-11-26 16:30:17 +08:00
Loyalsoldier
b93f69fb48
Update dependencies (#458) 2020-11-26 05:32:04 +08:00
dependabot[bot]
7bac8188f1
Bump github.com/google/go-cmp from 0.5.3 to 0.5.4 (#455)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.3...v0.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 04:41:21 +08:00
loyalsoldier
78aaa9ff5f
Merge branch 'master' into v5 2020-11-25 11:35:42 +08:00
Loyalsoldier
e74c03541e
Update variables (#454)
due to https://github.com/v2fly/V2BuildAssist/pull/4
2020-11-25 11:25:33 +08:00
Loyalsoldier
2dfe64f2b0
Merge pull request #450 from Loyalsoldier/sync-master
Sync with master branch
2020-11-24 06:13:42 +08:00
Jebbs
521120d196
go style commands, merge v2ctl commands, v5 oriented (#369)
* go style commands
merge v2ctl commandsw

* migrate go style commands to v2ctl

* fixes & code optimize

* sort the commands

* update commands description

* restore old proto
golang.org proto has removed UnmarshalText, without alternative

* add test command

* remove unused code

* code optimize and fix
* The commit simplifies the run and test commands code,
* Fixes a hidden issue that the format flag not applied in command "v2ray test -format=pb ..."

* fix default loader logic
2020-11-23 23:38:43 +08:00
Loyalsoldier
7acf515258
Refine GitHub workflows running condition (#447) 2020-11-23 20:51:58 +08:00
dependabot[bot]
cfe5de7b97
Bump actions/stale from v3.0.13 to v3.0.14 (#446)
Bumps [actions/stale](https://github.com/actions/stale) from v3.0.13 to v3.0.14.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.13...87c2b794b9b47a9bec68ae03c01aeb572ffebdb1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 07:05:07 +00:00
Kslr
bb74ef99e2
new readme design (#444)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-23 00:06:51 +08:00