mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
[Netch] WTF
This commit is contained in:
@@ -3,9 +3,33 @@
|
||||
public class ProcessMode
|
||||
{
|
||||
/// <summary>
|
||||
/// DNS
|
||||
/// 伪造 ICMP 延迟
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("dns")]
|
||||
public string DNS = "1.1.1.1:53";
|
||||
[Newtonsoft.Json.JsonProperty("icmping")]
|
||||
public int Icmping = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 仅劫持规则内进程
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("dnsOnly")]
|
||||
public bool DNSOnly = false;
|
||||
|
||||
/// <summary>
|
||||
/// 远程 DNS 查询
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("dnsProx")]
|
||||
public bool DNSProx = true;
|
||||
|
||||
/// <summary>
|
||||
/// DNS 地址
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("dnsHost")]
|
||||
public string DNSHost = "1.1.1.1";
|
||||
|
||||
/// <summary>
|
||||
/// DNS 端口
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("dnsPort")]
|
||||
public ushort DNSPort = 53;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user