Commit Graph
462 Commits
Author SHA1 Message Date
Xiaokang Wang (Shelikhoo)andGitHub 442581d897 Fixing all the lint errors (#3288)
* Fixing all the lint errors!

* update lint settings
2025-01-22 08:27:48 +00:00
54fbeeba6d Resync Hysteria2 Import (#3280)
* Revert "Remove hysteria2"

This reverts commit 1d21d7a077.

* Update Hysteria2

* Rename hysteria2 module

* fix broken hy2 import version

---------

Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>
2025-01-14 10:06:08 +00:00
Xiaokang Wang (Shelikhoo)andGitHub 4c1d94863b Add Early Data and Custom Header Support to HTTPUpgrade Transport (#3276)
* Add early reply draining for httpupgrade

* Add early data config for httpupgrade

* Add early data implementation for httpupgrade

* Add send extra header for httpupgrade
2025-01-08 18:26:01 +00:00
世界 1d21d7a077 Remove hysteria2
The hysteria2 fork used "github.com/JimmyHuang454/hysteria" removed the original license of hysteria2 (which is not allowed) and replaced it with GPL which conflicts with v2ray's license.

Given that the quality of the related code is very poor and it is not synchronized with the upstream, I deleted it.
2024-12-27 09:50:22 +08:00
Xiaokang Wang (Shelikhoo)andGitHub 05345cc4fd Add Mekya Stereotype (#3185)
* Add mekya stereotype config

* Add mekya stereotype config: autogenerated

* add autogenerated files

* add mekya stereotype

* add mekya stereotype: fixup

* add mekya stereotype to default distro

* add mekya testing
2024-10-12 19:25:45 +01:00
dyhkwongandGitHub 5ffbc0296c Fix tls.WithDestination ignoring IP address (#3177) 2024-10-12 19:25:21 +01:00
Xiaokang Wang (Shelikhoo)andGitHub d9181ad84a Add Testing for meek, grpc, httpUpgrade Transport (#3160)
* Add instance management based testing

* Add testing for meek transport

* Add testing for grpc, httpupgrade transport
2024-09-16 11:19:42 +01:00
Shelikhoo 764fb2f7d8 removed unused hy2 config 2024-09-08 08:38:05 +01:00
Jimmy HuangandXiaokang Wang (Shelikhoo) 2078480c4e Add Add Hysteria2 Protocol 2024-09-08 08:38:05 +01:00
秋のかえでandGitHub 2332513471 Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
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
yuhan6665andGitHub 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
yuhan6665andShelikhoo 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
yuhan6665andShelikhoo 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
JebbsandShelikhoo 2523d77919 improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +01:00
young-zyandShelikhoo 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
KslrandShelikhoo d1eafe2b4c Fix: test run command (#463) 2021-09-04 11:05:19 +01:00
database64128andGitHub 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
LoyalsoldierandGitHub b275548a80 CI: refine codecov (#1064) 2021-06-13 10:13:29 +08:00
LoyalsoldierandGitHub 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
LoyalsoldierandGitHub e6aaa57def Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
LoyalsoldierandGitHub 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
LoyalsoldierandGitHub 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
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
LoyalsoldierandGitHub 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
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
LoyalsoldierandGitHub f5ad09103f Chore: format code (#600) 2021-01-12 10:44:12 +08:00
KslrandGitHub 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
KslrandGitHub 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
KslrandGitHub 42f0f5dfec remove deprecate ciphers in shadowsocks (#566)
* remove deprecate ciphers in shadowsocks
2021-01-01 10:18:00 +08:00
291eff1aa3 Refine Android build (#525)
Co-authored-by: ghost <noreply@example.com>
2020-12-17 08:50:13 +08:00
LoyalsoldierandGitHub 5e99737c12 Fix: close response body (#484) 2020-12-03 16:07:41 +08:00
LoyalsoldierandGitHub 45aeaa8080 Refine pick port logic (#481) 2020-12-02 23:48:32 +08:00
LoyalsoldierandGitHub ff09993c8b Refine coverall (#472) 2020-12-02 21:57:31 +08:00
LoyalsoldierandGitHub 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