young-zy
6d25d51519
Update protobuf version ( #527 )
...
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-12-20 10:50:46 +08:00
loyalsoldier
ebb12b7e12
Merge branch 'master' into v5
2020-12-19 13:03:10 +08:00
Loyalsoldier
c27ed16e6a
Fix: DNS compatible with localhost
nameserver ( #530 )
2020-12-19 12:17:55 +08:00
loyalsoldier
e6bea0d112
Merge branch 'master' into v5
2020-12-18 17:37:01 +08:00
Ye Zhihao
d8c03f10b5
Refactoring: DNS App ( #169 )
...
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-12-18 17:24:33 +08:00
Loyalsoldier
7a020d2d71
DNS & Routing: refine rule parsing process ( #528 )
2020-12-18 08:36:34 +08:00
GitHub Action
3f7e6a07cf
update geoip, geosite
2020-12-18 00:12:52 +00:00
dyhkwong
291eff1aa3
Refine Android build ( #525 )
...
Co-authored-by: ghost <noreply@example.com>
2020-12-17 08:50:13 +08:00
database64128
3c988693b5
🕳 Prevent trailing whitespaces in logs ( #526 )
2020-12-17 05:03:26 +08:00
database64128
29f16cd054
🎳 Refine socks5 server UdpAssociate response behavior ( #523 )
...
- Previously, without specifying the server IP, the remote address in the response to a UdpAssoicate command is `127.0.0.1`, which might break UDP for non-localhost clients.
- This commit changes it so that, localhost clients get responses with the corresponding loopback IP, non-localhost clients get responses with the corresponding `net.AnyIP` or `net.AnyIPv6`.
- The new behavior is also consistent with many other implementations. So the compatibility is guaranteed. It also makes specifying server IP optional.
2020-12-16 16:39:14 +08:00
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