namespace Netch.Models
{
public class LegacyServer
{
///
/// 备注
///
public string Remark;
///
/// 组
///
public string Group = "None";
///
/// 类型(Socks5、Shadowsocks、ShadowsocksR、VMess)
///
public string Type;
///
/// 地址
///
public string Address;
///
/// 端口
///
public int Port;
///
/// 用户名
///
public string Username;
///
/// 密码
///
public string Password;
///
/// 用户 ID(V2)
///
public string UserID = string.Empty;
///
/// 额外 ID(V2)
///
public int AlterID = 0;
///
/// 加密方式
///
public string EncryptMethod;
///
/// 协议
///
public string Protocol;
///
/// 协议参数
///
public string ProtocolParam;
///
/// 混淆(SSR)/ 插件(SS)
///
public string OBFS;
///
/// 混淆参数(SSR)/ 插件参数(SS)
///
public string OBFSParam;
///
/// 传输协议(V2)
///
public string TransferProtocol = "tcp";
///
/// 伪装类型(V2)
///
public string FakeType = string.Empty;
///
/// 伪装域名(V2:HTTP、WebSocket、HTTP/2)
///
public string Host = string.Empty;
///
/// 传输路径(V2:WebSocket、HTTP/2)
///
public string Path = string.Empty;
///
/// QUIC 加密方式(V2)
///
public string QUICSecurity = "none";
///
/// QUIC 加密密钥(V2)
///
public string QUICSecret = string.Empty;
///
/// TLS 底层传输安全(V2)
///
public bool TLSSecure = false;
///
/// 延迟
///
public int Delay = -1;
}
}