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.
Xray-core/proxy/shadowsocks/config.proto

34 lines
767 B

4 years ago
syntax = "proto3";
package xray.proxy.shadowsocks;
option csharp_namespace = "Xray.Proxy.Shadowsocks";
4 years ago
option go_package = "github.com/xtls/xray-core/proxy/shadowsocks";
4 years ago
option java_package = "com.xray.proxy.shadowsocks";
option java_multiple_files = true;
import "common/net/network.proto";
import "common/protocol/user.proto";
import "common/protocol/server_spec.proto";
message Account {
string password = 1;
CipherType cipher_type = 2;
}
enum CipherType {
UNKNOWN = 0;
AES_128_GCM = 5;
AES_256_GCM = 6;
CHACHA20_POLY1305 = 7;
NONE = 8;
4 years ago
}
message ServerConfig {
repeated xray.common.protocol.User users = 1;
repeated xray.common.net.Network network = 2;
4 years ago
}
message ClientConfig {
repeated xray.common.protocol.ServerEndpoint server = 1;
}