github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/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 = "v2ray.com/core/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  
    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    // UdpEnabled specified whether or not to enable UDP for Shadowsocks.
    32    // Deprecated. Use 'network' field.
    33    bool udp_enabled = 1 [deprecated = true];
    34    v2ray.core.common.protocol.User user = 2;
    35    repeated v2ray.core.common.net.Network network = 3;
    36  }
    37  
    38  message ClientConfig {
    39    repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
    40  }