File tree 1 file changed +0
-2
lines changed
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ public class IPBanConfig
65
65
private readonly HashSet < string > whiteList = new HashSet < string > ( StringComparer . OrdinalIgnoreCase ) ;
66
66
private readonly bool clearBannedIPAddressesOnRestart ;
67
67
private readonly HashSet < string > userNameWhitelist = new HashSet < string > ( StringComparer . Ordinal ) ;
68
- private readonly bool createWhitelistFirewallRule ;
69
68
private readonly int userNameWhitelistMaximumEditDistance = 2 ;
70
69
private readonly int failedLoginAttemptsBeforeBanUserNameWhitelist = 20 ;
71
70
private readonly Dictionary < string , string > osAndFirewallType = new Dictionary < string , string > ( StringComparer . OrdinalIgnoreCase ) ;
@@ -97,7 +96,6 @@ private IPBanConfig(string xml, IDnsLookup dns)
97
96
GetConfig < TimeSpan > ( "CycleTime" , ref cycleTime ) ;
98
97
GetConfig < TimeSpan > ( "MinimumTimeBetweenFailedLoginAttempts" , ref minimumTimeBetweenFailedLoginAttempts ) ;
99
98
GetConfig < string > ( "FirewallRulePrefix" , ref firewallRulePrefix ) ;
100
- GetConfig < bool > ( "CreateWhitelistFirewallRule" , ref createWhitelistFirewallRule ) ;
101
99
102
100
string whiteListString = GetConfig < string > ( "Whitelist" , string . Empty ) ;
103
101
string whiteListRegexString = GetConfig < string > ( "WhitelistRegex" , string . Empty ) ;
You can’t perform that action at this time.
0 commit comments