mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
584 B
29 lines
584 B
syntax = "proto3";
|
|
|
|
package com.v2ray.core.proxy.shadowsocks;
|
|
option go_package = "shadowsocks";
|
|
|
|
import "v2ray.com/core/common/protocol/user.proto";
|
|
import "v2ray.com/core/common/protocol/server_spec.proto";
|
|
|
|
message Account {
|
|
string password = 1;
|
|
CipherType cipher_type = 2;
|
|
}
|
|
|
|
enum CipherType {
|
|
UNKNOWN = 0;
|
|
AES_128_CFB = 1;
|
|
AES_256_CFB = 2;
|
|
CHACHA20 = 3;
|
|
CHACHA20_IEFT = 4;
|
|
}
|
|
|
|
message ServerConfig {
|
|
bool udp_enabled = 1;
|
|
com.v2ray.core.common.protocol.User user = 2;
|
|
}
|
|
|
|
message ClientConfig {
|
|
repeated com.v2ray.core.common.protocol.ServerSpecPB server = 1;
|
|
} |