Add vmess inbound/outbound

This commit is contained in:
世界
2022-07-18 12:32:31 +08:00
parent 02ef795581
commit 4fce3cff24
18 changed files with 476 additions and 105 deletions

View File

@@ -14,6 +14,7 @@ import (
)
func TestShadowsocks(t *testing.T) {
t.Parallel()
for _, method := range []string{
"aes-128-gcm",
"aes-256-gcm",
@@ -32,6 +33,7 @@ func TestShadowsocks(t *testing.T) {
}
func TestShadowsocks2022(t *testing.T) {
t.Parallel()
for _, method16 := range []string{
"2022-blake3-aes-128-gcm",
} {
@@ -74,7 +76,7 @@ func testShadowsocksInboundWithShadowsocksRust(t *testing.T, method string, pass
})
startInstance(t, option.Options{
Log: &option.LogOption{
Disabled: true,
Level: "error",
},
Inbounds: []option.Inbound{
{
@@ -106,7 +108,7 @@ func testShadowsocksOutboundWithShadowsocksRust(t *testing.T, method string, pas
})
startInstance(t, option.Options{
Log: &option.LogOption{
Disabled: true,
Level: "error",
},
Inbounds: []option.Inbound{
{
@@ -143,7 +145,7 @@ func testShadowsocksSelf(t *testing.T, method string, password string) {
testPort := mkPort(t)
startInstance(t, option.Options{
Log: &option.LogOption{
Disabled: true,
Level: "error",
},
Inbounds: []option.Inbound{
{