1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-23 21:54:36 -04:00
Commit Graph

453 Commits

Author SHA1 Message Date
秋のかえで
2332513471
Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
yuhan6665
5b9f7821ea
Test: Add statistics in conn testing (#1444)
* Add statistics in conn testing

Occasional error is observed when we execute long test
Print time and memory for better troubleshooting in the future

* fix: units import version error

Co-authored-by: Kslr <kslrwang@gmail.com>
Co-authored-by: Kslr <hi@kslr.org>
2022-04-06 12:22:35 +08:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
秋のかえで
1ebb564047
Chore: change scenarios tests of VMess to AEAD 2022-01-01 11:10:09 +08:00
yuhan6665
2bbf2523e0
Fix: increase some TLS tests timeout (#1422) 2021-11-27 12:57:27 +08:00
世界
a66bb28aee
Reformat code 2021-10-28 18:34:19 +08:00
Shelikhoo
ee185a5824
rework protocol buffer log settings 2021-10-02 22:29:37 +01:00
yuhan6665
c58811c14b
Fix flaky TestVMessDynamicPort (#723)
(cherry-picked from a4cd3110f1, modified by committer)

See Also: https://github.com/v2fly/v2ray-core/pull/1289
2021-09-30 15:27:29 +01:00
yuhan6665
d84ead3e00
Fix some tests to use udp.PickPort()
(cherry picked from commit 9458a1abd3, modified by committer)

In the previous version of the test code, when attempting to listen for a UDP socket, the port availability check check for TCP port instead of UDP port. This make it possible to select a UDP port that is unavailable.

See Also: https://github.com/v2fly/v2ray-core/pull/1302
2021-09-30 15:27:27 +01:00
Shelikhoo
52d414fa49
integrate ioutil migration in test
Some inconsistent change have been introduced in a previous version of ioutil migration(0c3105691f).
2021-09-29 09:25:23 +01:00
Shelikhoo
0c3105691f
refactor: move from io/ioutil to io and os package (#1298)
Author: Eng Zer Jun <engzerjun@gmail.com>
Date:   Mon Sep 27 00:56:31 2021 +0800

    refactor: move from io/ioutil to io and os package (#1298)
2021-09-27 23:02:19 +01:00
Shelikhoo
98ee44befd
update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo
b3fb85804d
fix CI test issue 2021-09-04 11:13:31 +01:00
Shelikhoo
ba2dd5995d
replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Jebbs
2523d77919
improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +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
Kslr
d1eafe2b4c
Fix: test run command (#463) 2021-09-04 11:05:19 +01: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
Shelikhoo
73ee3b0b1c
Added test for no terminate signal 2021-06-22 12:26:13 +01:00
Shelikhoo
0822160008
VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
Loyalsoldier
b275548a80
CI: refine codecov (#1064) 2021-06-13 10:13:29 +08:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Shelikhoo
6263315923
added test case for pinned certificates 2021-04-15 19:49:26 +01:00
Loyalsoldier
e6aaa57def
Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
Loyalsoldier
9e9173acb4
Chore: update protobuf & dependencies (#793)
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
Loyalsoldier
88e1e25aa9
Chore: format import using goimports (#780) 2021-03-14 07:09:51 +08:00
Shelikhoo
77bddcceb7
Test for Imaginary Security Level: zero 2021-03-01 16:13:59 +00:00
yuhan6665
afb8385a7e
Feat: routing and freedom outbound ignore Fake DNS (#696)
Turn off fake DNS for request sent from Routing and Freedom outbound.
Fake DNS now only apply to DNS outbound.
This is important for Android, where VPN service take over all system DNS
traffic and pass it to core.  "UseIp" option can be used in Freedom outbound
to avoid getting fake IP and fail connection.

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-02-23 10:17:20 +08:00
Loyalsoldier
efb963237c
Fix: go generate command for Go v1.16 (#695)
* Fix: go generate command for Go v1.16
* Chore: ignore go generate binaries
* Chore: regenerate mock files
* Chore: update dependencies
2021-02-20 20:43:19 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier
f5ad09103f
Chore: format code (#600) 2021-01-12 10:44:12 +08:00
Kslr
795a3f632d
Test: fix race issue (#598)
other "race" problems are only in the test, and so I deleted the detection
2021-01-11 20:50:58 +08:00
Kslr
405a051c50
Test: fix http2 dial timeout (#570)
* fix http2 dial timeout
2021-01-11 17:03:03 +08:00
loyalsoldier
87e857ee3f
Chore: minor fixes 2021-01-01 12:52:04 +08:00
Kslr
42f0f5dfec
remove deprecate ciphers in shadowsocks (#566)
* remove deprecate ciphers in shadowsocks
2021-01-01 10:18:00 +08:00
dyhkwong
291eff1aa3
Refine Android build (#525)
Co-authored-by: ghost <noreply@example.com>
2020-12-17 08:50:13 +08:00
Loyalsoldier
5e99737c12
Fix: close response body (#484) 2020-12-03 16:07:41 +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
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
Kslr
9f344fa1c9
remove shadowsosks ota (#238)
* remove shadowsosks ota

* remove unused buf.Reader
2020-10-02 16:13:31 +08:00
loyalsoldier
1fa89b32d4
Format: run go fmt ./... 2020-08-30 21:17:22 +08:00
Shelikhoo
218d6204b8
Fix test break on socks TestSocksConformance, use ip instead of hostname 2020-06-28 13:59:26 +08:00
Kslr
475676eb87
update h12.io/socks 2020-06-27 20:36:10 +08:00
Agioi Theodoroi
bbd3988f3d
clean up code 2020-06-27 07:51:42 +08:00
kslr
78729fc698 improve test coverage 2020-06-20 16:10:07 +08:00
Kslr
51be32fa12
actions add coverage 2020-06-20 03:07:58 +08:00
Shelikhoo
00103d1f73
Fix tests 2020-06-08 16:16:50 +08:00
Shelikhoo
09b81b78c3
regenerate pb data 2020-06-08 16:16:32 +08:00