All Downloads are FREE. Search and download functionalities are using the official Maven repository.

v2ray.com.core.proxy.socks.config.proto Maven / Gradle / Ivy

The newest version!
syntax = "proto3";

package v2ray.core.proxy.socks;
option csharp_namespace = "V2Ray.Core.Proxy.Socks";
option go_package = "socks";
option java_package = "com.v2ray.core.proxy.socks";
option java_multiple_files = true;

import "v2ray.com/core/common/net/address.proto";
import "v2ray.com/core/common/protocol/server_spec.proto";

message Account {
  string username = 1;
  string password = 2;
}

enum AuthType {
  NO_AUTH = 0;
  PASSWORD = 1;
}

message ServerConfig {
  AuthType auth_type = 1;
  map accounts = 2;
  v2ray.core.common.net.IPOrDomain address = 3;
  bool udp_enabled = 4;
  uint32 timeout = 5 [deprecated = true];
  uint32 user_level = 6;
}

message ClientConfig {
  repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy