Exemple #1
0
 public IpHistory(
     IPAddress address,
     BlockingAlgorithmOptions options)
 {
     Address = address;
     CurrentBlockScore = new DecayingDouble();
     RecentPotentialTypos =
         new SmallCapacityConstrainedSet<LoginAttemptSummaryForTypoAnalysis>(options.NumberOfFailuresToTrackForGoingBackInTimeToIdentifyTypos);
 }
Exemple #2
0
 public IpHistory(
     IPAddress address,
     BlockingAlgorithmOptions options)
 {
     Address              = address;
     CurrentBlockScore    = new DecayingDouble();
     RecentPotentialTypos =
         new SmallCapacityConstrainedSet <LoginAttemptSummaryForTypoAnalysis>(options.NumberOfFailuresToTrackForGoingBackInTimeToIdentifyTypos);
 }
 public SimIpHistory(int numberOfPastLoginsToKeepForTypoAnalysis)
 {
     RecentPotentialTypos =
         new SmallCapacityConstrainedSet<SimLoginAttemptSummaryForTypoAnalysis>(
             numberOfPastLoginsToKeepForTypoAnalysis);
 }
 public SimIpHistory(int numberOfPastLoginsToKeepForTypoAnalysis)
 {
     RecentPotentialTypos =
         new SmallCapacityConstrainedSet <SimLoginAttemptSummaryForTypoAnalysis>(
             numberOfPastLoginsToKeepForTypoAnalysis);
 }