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