mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -05:00
proto for socks server
This commit is contained in:
parent
0f74c618de
commit
11e310298c
18
proxy/socks/server_config.proto
Normal file
18
proxy/socks/server_config.proto
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package com.v2ray.core.proxy.socks;
|
||||||
|
option go_package = "socks";
|
||||||
|
|
||||||
|
import "v2ray.com/core/common/net/address.proto";
|
||||||
|
|
||||||
|
message ServerConfig {
|
||||||
|
enum AuthType {
|
||||||
|
NO_AUTH = 0;
|
||||||
|
PASSWORD = 1;
|
||||||
|
}
|
||||||
|
AuthType auth_type = 1;
|
||||||
|
map<string, string> accounts = 2;
|
||||||
|
com.v2ray.core.common.net.AddressPB address = 3;
|
||||||
|
bool udp_enabled = 4;
|
||||||
|
uint32 timeout = 5;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user