VXVX Docs

Shadowsocks

Shadowsocks and Shadowsocks 2022 configs

Shadowsocks (classic)

Proto: shadowsocks.proto

ShadowsocksCipherType

ValueName
0AES_128_GCM
1AES_256_GCM
2CHACHA20_POLY1305
3NONE

ShadowsocksServerConfig

FieldDescription
cipherTypeCipher enum
ivCheckIV validation
userSingle UserConfig (secret = password)
experimentReducedIvHeadEntropyExperimental option

ShadowsocksClientConfig

FieldDescription
cipherTypeCipher enum
passwordPSK
{
  "@type": "type.googleapis.com/vx.proxy.shadowsocks.ShadowsocksServerConfig",
  "cipherType": "CHACHA20_POLY1305",
  "user": { "secret": "your-password" }
}

Shadowsocks 2022

Proto: shadowsocks2022.proto

Shadowsocks2022ServerConfig

FieldDescription
methodCipher suite string (e.g. 2022-blake3-aes-128-gcm)
userUserConfig with PSK in secret
networksAllowed networks (TCP, UDP, …)

Shadowsocks2022ClientConfig

FieldDescription
methodCipher suite string
keyPSK / key material
{
  "@type": "type.googleapis.com/vx.proxy.shadowsocks2022.Shadowsocks2022ServerConfig",
  "method": "2022-blake3-aes-128-gcm",
  "user": { "secret": "base64-or-raw-key" }
}

Comments