diff --git a/v2rayN/ServiceLib/Enums/ECoreType.cs b/v2rayN/ServiceLib/Enums/ECoreType.cs index e3fb7786..d2252078 100644 --- a/v2rayN/ServiceLib/Enums/ECoreType.cs +++ b/v2rayN/ServiceLib/Enums/ECoreType.cs @@ -13,6 +13,7 @@ namespace ServiceLib.Enums juicity = 25, hysteria2 = 26, brook = 27, + overtls = 28, v2rayN = 99 } } diff --git a/v2rayN/ServiceLib/Global.cs b/v2rayN/ServiceLib/Global.cs index 1164c773..3fc549f9 100644 --- a/v2rayN/ServiceLib/Global.cs +++ b/v2rayN/ServiceLib/Global.cs @@ -19,6 +19,7 @@ namespace ServiceLib public const string SpeedPingTestUrl = @"https://www.google.com/generate_204"; public const string JuicityCoreUrl = "https://github.com/juicity/juicity/releases"; public const string BrookCoreUrl = "https://github.com/txthinking/brook/releases"; + public const string OvertlsCoreUrl = "https://github.com/ShadowsocksR-Live/overtls/releases"; public const string SingboxRulesetUrl = @"https://raw.githubusercontent.com/2dust/sing-box-rules/rule-set-{0}/{1}.srs"; public const string IPAPIUrl = "https://api.ip.sb/geoip"; diff --git a/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs b/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs index 25cdebea..4b978105 100644 --- a/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs +++ b/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs @@ -188,6 +188,15 @@ namespace ServiceLib.Handler Arguments = " {0}", Url = Global.BrookCoreUrl, AbsolutePath = true, + }, + + new CoreInfo + { + CoreType = ECoreType.overtls, + CoreExes = [ "overtls-bin", "overtls"], + Arguments = "-r client -c {0}", + Url = Global.OvertlsCoreUrl, + AbsolutePath = false, } ];