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