github.com/EagleQL/Xray-core@v1.4.3/proxy/shadowsocks/config.proto (about) 1 syntax = "proto3"; 2 3 package xray.proxy.shadowsocks; 4 option csharp_namespace = "Xray.Proxy.Shadowsocks"; 5 option go_package = "github.com/xtls/xray-core/proxy/shadowsocks"; 6 option java_package = "com.xray.proxy.shadowsocks"; 7 option java_multiple_files = true; 8 9 import "common/net/network.proto"; 10 import "common/protocol/user.proto"; 11 import "common/protocol/server_spec.proto"; 12 13 message Account { 14 string password = 1; 15 CipherType cipher_type = 2; 16 } 17 18 enum CipherType { 19 UNKNOWN = 0; 20 AES_128_CFB = 1; 21 AES_256_CFB = 2; 22 CHACHA20 = 3; 23 CHACHA20_IETF = 4; 24 AES_128_GCM = 5; 25 AES_256_GCM = 6; 26 CHACHA20_POLY1305 = 7; 27 NONE = 8; 28 } 29 30 message ServerConfig { 31 repeated xray.common.protocol.User users = 1; 32 repeated xray.common.net.Network network = 2; 33 } 34 35 message ClientConfig { 36 repeated xray.common.protocol.ServerEndpoint server = 1; 37 }