From b52472ebd7f519032cbf8a0ed688d090eeb75b2e Mon Sep 17 00:00:00 2001 From: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Sun, 21 Mar 2021 09:48:59 +0800 Subject: [PATCH] Chore: comply with V2Ray config --- Shadowsocks.Interop/V2Ray/FakeDnsObject.cs | 2 +- Shadowsocks.Interop/V2Ray/RoutingObject.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Shadowsocks.Interop/V2Ray/FakeDnsObject.cs b/Shadowsocks.Interop/V2Ray/FakeDnsObject.cs index 40af739d..8672331b 100644 --- a/Shadowsocks.Interop/V2Ray/FakeDnsObject.cs +++ b/Shadowsocks.Interop/V2Ray/FakeDnsObject.cs @@ -5,7 +5,7 @@ namespace Shadowsocks.Interop.V2Ray /// /// Gets or sets the IP pool CIDR. /// - public string IpPool { get; set; } = "240.0.0.0/8"; + public string IpPool { get; set; } = "198.18.0.0/15"; /// /// Gets or sets the IP pool size. diff --git a/Shadowsocks.Interop/V2Ray/RoutingObject.cs b/Shadowsocks.Interop/V2Ray/RoutingObject.cs index b35804b6..b7b7a82a 100644 --- a/Shadowsocks.Interop/V2Ray/RoutingObject.cs +++ b/Shadowsocks.Interop/V2Ray/RoutingObject.cs @@ -15,7 +15,7 @@ namespace Shadowsocks.Interop.V2Ray /// /// Gets or sets the domain matcher used for routing. /// Default value: "linear". - /// Available values: "linear" | "hybrid" + /// Available values: "linear" | "mph" /// public string DomainMatcher { get; set; } @@ -39,13 +39,13 @@ namespace Shadowsocks.Interop.V2Ray public static RoutingObject Default => new() { DomainStrategy = "IPOnDemand", - DomainMatcher = "hybrid", + DomainMatcher = "mph", }; public static RoutingObject DefaultBalancers => new() { DomainStrategy = "IPOnDemand", - DomainMatcher = "hybrid", + DomainMatcher = "mph", Balancers = new(), }; }