github.com/v2fly/v2ray-core/v4@v4.45.2/proxy/shadowsocks/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.proxy.shadowsocks;
     4  option csharp_namespace = "V2Ray.Core.Proxy.Shadowsocks";
     5  option go_package = "github.com/v2fly/v2ray-core/v4/proxy/shadowsocks";
     6  option java_package = "com.v2ray.core.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    bool iv_check = 3;
    18  }
    19  
    20  enum CipherType {
    21    UNKNOWN = 0;
    22    AES_128_GCM = 1;
    23    AES_256_GCM = 2;
    24    CHACHA20_POLY1305 = 3;
    25    NONE = 4;
    26  }
    27  
    28  message ServerConfig {
    29    // UdpEnabled specified whether or not to enable UDP for Shadowsocks.
    30    // Deprecated. Use 'network' field.
    31    bool udp_enabled = 1 [deprecated = true];
    32    v2ray.core.common.protocol.User user = 2;
    33    repeated v2ray.core.common.net.Network network = 3;
    34  }
    35  
    36  message ClientConfig {
    37    repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
    38  }