public IpHistory( IPAddress address, BlockingAlgorithmOptions options) { Address = address; CurrentBlockScore = new DecayingDouble(); RecentPotentialTypos = new SmallCapacityConstrainedSet<LoginAttemptSummaryForTypoAnalysis>(options.NumberOfFailuresToTrackForGoingBackInTimeToIdentifyTypos); }
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); }