mirror of https://github.com/2dust/v2rayN
Add support for overtls custom configuration
https://github.com/ShadowsocksR-Live/overtlspull/6626/head
parent
2a0012824a
commit
e6b27d17e4
|
@ -13,6 +13,7 @@ namespace ServiceLib.Enums
|
|||
juicity = 25,
|
||||
hysteria2 = 26,
|
||||
brook = 27,
|
||||
overtls = 28,
|
||||
v2rayN = 99
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue