This commit is contained in:
ChsBuffer
2021-11-13 00:16:37 +08:00
parent 40d8093e0a
commit 8fb2bdcee9
120 changed files with 8649 additions and 9015 deletions

View File

@@ -1,39 +1,36 @@
using System.Collections.Generic;
namespace Netch.Models.Modes.ProcessMode;
namespace Netch.Models.Modes.ProcessMode
public class Redirector : Mode
{
public class Redirector : Mode
{
public override ModeType Type => ModeType.ProcessMode;
public override ModeType Type => ModeType.ProcessMode;
#region Base
#region Base
public bool? FilterICMP { get; set; }
public bool? FilterICMP { get; set; }
public bool? FilterTCP { get; set; }
public bool? FilterTCP { get; set; }
public bool? FilterUDP { get; set; }
public bool? FilterUDP { get; set; }
public bool? FilterDNS { get; set; }
public bool? FilterDNS { get; set; }
public bool? FilterParent { get; set; }
public bool? FilterParent { get; set; }
public int? ICMPDelay { get; set; }
public int? ICMPDelay { get; set; }
public bool? DNSProxy { get; set; }
public bool? DNSProxy { get; set; }
public bool? HandleOnlyDNS { get; set; }
public bool? HandleOnlyDNS { get; set; }
public string? DNSHost { get; set; }
public string? DNSHost { get; set; }
#endregion
#endregion
public bool FilterLoopback { get; set; } = false;
public bool FilterLoopback { get; set; } = false;
public bool FilterIntranet { get; set; } = true;
public bool FilterIntranet { get; set; } = true;
public List<string> Bypass { get; set; } = new();
public List<string> Bypass { get; set; } = new();
public List<string> Handle { get; set; } = new();
}
public List<string> Handle { get; set; } = new();
}