diff --git a/Core/IPBanConfig.cs b/Core/IPBanConfig.cs index af269a11..f6e2ec09 100644 --- a/Core/IPBanConfig.cs +++ b/Core/IPBanConfig.cs @@ -65,7 +65,6 @@ public class IPBanConfig private readonly HashSet whiteList = new HashSet(StringComparer.OrdinalIgnoreCase); private readonly bool clearBannedIPAddressesOnRestart; private readonly HashSet userNameWhitelist = new HashSet(StringComparer.Ordinal); - private readonly bool createWhitelistFirewallRule; private readonly int userNameWhitelistMaximumEditDistance = 2; private readonly int failedLoginAttemptsBeforeBanUserNameWhitelist = 20; private readonly Dictionary osAndFirewallType = new Dictionary(StringComparer.OrdinalIgnoreCase); @@ -97,7 +96,6 @@ private IPBanConfig(string xml, IDnsLookup dns) GetConfig("CycleTime", ref cycleTime); GetConfig("MinimumTimeBetweenFailedLoginAttempts", ref minimumTimeBetweenFailedLoginAttempts); GetConfig("FirewallRulePrefix", ref firewallRulePrefix); - GetConfig("CreateWhitelistFirewallRule", ref createWhitelistFirewallRule); string whiteListString = GetConfig("Whitelist", string.Empty); string whiteListRegexString = GetConfig("WhitelistRegex", string.Empty);