github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/proxy/shadowsocks/simplified/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.proxy.shadowsocks.simplified; 4 option csharp_namespace = "V2Ray.Core.Proxy.Shadowsocks.Simplified"; 5 option go_package = "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks/simplified"; 6 option java_package = "com.v2ray.core.proxy.shadowsocks.simplified"; 7 option java_multiple_files = true; 8 9 import "common/protoext/extensions.proto"; 10 import "common/net/address.proto"; 11 import "common/net/network.proto"; 12 import "common/net/packetaddr/config.proto"; 13 import "proxy/shadowsocks/config.proto"; 14 15 message ServerConfig{ 16 option (v2ray.core.common.protoext.message_opt).type = "inbound"; 17 option (v2ray.core.common.protoext.message_opt).short_name = "shadowsocks"; 18 19 CipherTypeWrapper method = 1; 20 string password = 2; 21 v2ray.core.common.net.NetworkList networks = 3; 22 v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 4; 23 } 24 25 message ClientConfig { 26 option (v2ray.core.common.protoext.message_opt).type = "outbound"; 27 option (v2ray.core.common.protoext.message_opt).short_name = "shadowsocks"; 28 option (v2ray.core.common.protoext.message_opt).allow_restricted_mode_load = true; 29 30 v2ray.core.common.net.IPOrDomain address = 1; 31 uint32 port = 2; 32 CipherTypeWrapper method = 3; 33 string password = 4; 34 bool experiment_reduced_iv_head_entropy = 90001; 35 } 36 37 message CipherTypeWrapper { 38 v2ray.core.proxy.shadowsocks.CipherType value = 1; 39 }