mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 11:55:08 +03:00
spelling: protection
This commit is contained in:
parent
4807bfd712
commit
8af8347c2e
@ -2794,7 +2794,7 @@ void SiInitConfiguration(SERVER *s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->DisableDosProction)
|
if (s->DisableDosProtection)
|
||||||
{
|
{
|
||||||
DisableDosProtect();
|
DisableDosProtect();
|
||||||
}
|
}
|
||||||
@ -5905,7 +5905,7 @@ void SiLoadServerCfg(SERVER *s, FOLDER *f)
|
|||||||
s->Cedar->DisableIPv6Listener = CfgGetBool(f, "DisableIPv6Listener");
|
s->Cedar->DisableIPv6Listener = CfgGetBool(f, "DisableIPv6Listener");
|
||||||
|
|
||||||
// DoS
|
// DoS
|
||||||
s->DisableDosProction = CfgGetBool(f, "DisableDosProction");
|
s->DisableDosProtection = CfgGetBool(f, "DisableDosProtection");
|
||||||
|
|
||||||
// Num Connections Per IP
|
// Num Connections Per IP
|
||||||
SetMaxConnectionsPerIp(CfgGetInt(f, "MaxConnectionsPerIP"));
|
SetMaxConnectionsPerIp(CfgGetInt(f, "MaxConnectionsPerIP"));
|
||||||
@ -6329,7 +6329,7 @@ void SiWriteServerCfg(FOLDER *f, SERVER *s)
|
|||||||
CfgAddBool(f, "DisableIPv6Listener", s->Cedar->DisableIPv6Listener);
|
CfgAddBool(f, "DisableIPv6Listener", s->Cedar->DisableIPv6Listener);
|
||||||
|
|
||||||
// DoS
|
// DoS
|
||||||
CfgAddBool(f, "DisableDosProction", s->DisableDosProction);
|
CfgAddBool(f, "DisableDosProtection", s->DisableDosProtection);
|
||||||
|
|
||||||
// MaxConnectionsPerIP
|
// MaxConnectionsPerIP
|
||||||
CfgAddInt(f, "MaxConnectionsPerIP", GetMaxConnectionsPerIp());
|
CfgAddInt(f, "MaxConnectionsPerIP", GetMaxConnectionsPerIp());
|
||||||
|
@ -277,7 +277,7 @@ struct SERVER
|
|||||||
bool DontBackupConfig; // Do not save a backup of the configuration automatically
|
bool DontBackupConfig; // Do not save a backup of the configuration automatically
|
||||||
bool BackupConfigOnlyWhenModified; // Save a backup of the configuration only if there is a modification
|
bool BackupConfigOnlyWhenModified; // Save a backup of the configuration only if there is a modification
|
||||||
UINT ConfigRevision; // Configuration file revision
|
UINT ConfigRevision; // Configuration file revision
|
||||||
bool DisableDosProction; // Disable the DoS attack protection
|
bool DisableDosProtection; // Disable the DoS attack protection
|
||||||
UCHAR MyRandomKey[SHA1_SIZE]; // Their own random key
|
UCHAR MyRandomKey[SHA1_SIZE]; // Their own random key
|
||||||
bool FarmControllerInited; // Initialization of farm controller has been completed
|
bool FarmControllerInited; // Initialization of farm controller has been completed
|
||||||
bool DisableDeadLockCheck; // Disable the deadlock check
|
bool DisableDeadLockCheck; // Disable the deadlock check
|
||||||
|
Loading…
Reference in New Issue
Block a user