2021-09-06 00:59:40 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.proxy.shadowsocks.simplified;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Shadowsocks.Simplified";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks/simplified";
|
2021-09-06 00:59:40 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.shadowsocks.simplified";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
import "common/protoext/extensions.proto";
|
|
|
|
import "common/net/address.proto";
|
|
|
|
|
|
|
|
message ServerConfig{
|
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "inbound";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "shadowsocks";
|
|
|
|
|
|
|
|
string method = 1;
|
|
|
|
string password = 2;
|
2021-09-06 10:48:54 -04:00
|
|
|
string network = 3;
|
2021-09-06 00:59:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
message ClientConfig {
|
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "outbound";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "shadowsocks";
|
|
|
|
|
|
|
|
v2ray.core.common.net.IPOrDomain address = 1;
|
|
|
|
uint32 port = 2;
|
|
|
|
string method = 3;
|
|
|
|
string password = 4;
|
|
|
|
}
|