github.com/imannamdari/v2ray-core/v5@v5.0.5/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/imannamdari/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    v2ray.core.proxy.shadowsocks.CipherType 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  
    29    v2ray.core.common.net.IPOrDomain address = 1;
    30    uint32 port = 2;
    31    v2ray.core.proxy.shadowsocks.CipherType method = 3;
    32    string password = 4;
    33    bool experiment_reduced_iv_head_entropy = 90001;
    34  }