1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 00:04:57 +03:00

v4.05-9422-beta

This commit is contained in:
dnobori
2014-02-17 03:16:50 +09:00
parent bad6a4c22b
commit e8ce5fa014
285 changed files with 346 additions and 277 deletions

View File

@ -12,6 +12,8 @@
// http://www.softether.org/
//
// Author: Daiyuu Nobori
// Contributors:
// - ELIN (https://github.com/el1n)
// Comments: Tetsuo Sugiyama, Ph.D.
//
//

View File

@ -12,6 +12,8 @@
// http://www.softether.org/
//
// Author: Daiyuu Nobori
// Contributors:
// - ELIN (https://github.com/el1n)
// Comments: Tetsuo Sugiyama, Ph.D.
//
//

View File

@ -117,7 +117,7 @@
#define CEDAR_VER 405
// Build Number
#define CEDAR_BUILD 9418
#define CEDAR_BUILD 9422
// Beta number
//#define BETA_NUMBER 3
@ -138,10 +138,10 @@
// Specifies the build date
#define BUILD_DATE_Y 2014
#define BUILD_DATE_M 2
#define BUILD_DATE_D 6
#define BUILD_DATE_D 17
#define BUILD_DATE_HO 1
#define BUILD_DATE_MI 58
#define BUILD_DATE_SE 47
#define BUILD_DATE_MI 29
#define BUILD_DATE_SE 56
// Tolerable time difference
#define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000)

View File

@ -3113,7 +3113,15 @@ bool SwInstallMain(SW *sw, WIZARD_PAGE *wp, SW_COMPONENT *c)
if (c->InstallService && sw->IsSystemMode)
{
// Not to install in the case of the VPN Client
//if (c->Id != SW_CMP_VPN_CLIENT)
bool install_su = false;
if (c->Id != SW_CMP_VPN_CLIENT)
{
install_su = true;
}
if (install_su)
{
SwPerformPrint(wp, _UU("SW_PERFORM_MSG_INSTALL_SELOW"));

View File

@ -230,9 +230,33 @@ bool SuInstallDriverInner(bool force)
// Get whether the current OS is supported by SeLow
bool SuIsSupportedOs()
{
// At present, this doesn't support any OS.
return false;
//return MsIsWindows7();
if (MsRegReadIntEx2(REG_LOCAL_MACHINE, SL_REG_KEY_NAME, "DisableSeLow", false, true) != 0)
{
// Force disable
return false;
}
// If the Su driver is currently running,
// then return true.
if (MsIsServiceRunning(SL_PROTOCOL_NAME))
{
return true;
}
// Currently Windows 8.1 or later are supported
if (MsIsWindows81() == false)
{
return false;
}
// If Microsoft Routing and Remote Access service is running,
// then return false.
if (MsIsServiceRunning("RemoteAccess"))
{
return false;
}
return true;
}
// Write the next packet to the driver