C# 클래스 Simulator.SimIpHistory

파일 보기 프로젝트 열기: Microsoft/StopGuessing 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AccountFailuresFrequentPassword StopGuessing.DataStructures.DecayingDouble
AccountFailuresInfrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresNoTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresNoTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
RecentPotentialTypos SmallCapacityConstrainedSet
RepeatAccountFailuresFrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatAccountFailuresInfrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresNoTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresNoTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
SuccessfulLogins StopGuessing.DataStructures.DecayingDouble

공개 메소드들

메소드 설명
AdjustBlockingScoreForPastTyposTreatedAsFullFailures ( Simulator simulator, SimulatedUserAccount account, System.DateTime whenUtc, string correctPassword ) : void

This analysis will examine the client IP's previous failed attempts to login to this account to determine if any failed attempts were due to typos.

GetAllScores ( System.TimeSpan halfLife, System.DateTime whenUtc ) : double[]
SimIpHistory ( int numberOfPastLoginsToKeepForTypoAnalysis ) : System

메소드 상세

AdjustBlockingScoreForPastTyposTreatedAsFullFailures() 공개 메소드

This analysis will examine the client IP's previous failed attempts to login to this account to determine if any failed attempts were due to typos.
public AdjustBlockingScoreForPastTyposTreatedAsFullFailures ( Simulator simulator, SimulatedUserAccount account, System.DateTime whenUtc, string correctPassword ) : void
simulator Simulator
account SimulatedUserAccount The account that the client is currently trying to login to.
whenUtc System.DateTime
correctPassword string The correct password for this account. (We can only know it because /// the client must have provided the correct one this loginAttempt.)
리턴 void

GetAllScores() 공개 메소드

public GetAllScores ( System.TimeSpan halfLife, System.DateTime whenUtc ) : double[]
halfLife System.TimeSpan
whenUtc System.DateTime
리턴 double[]

SimIpHistory() 공개 메소드

public SimIpHistory ( int numberOfPastLoginsToKeepForTypoAnalysis ) : System
numberOfPastLoginsToKeepForTypoAnalysis int
리턴 System

프로퍼티 상세

AccountFailuresFrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures AccountFailuresFrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

AccountFailuresInfrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures AccountFailuresInfrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

PasswordFailuresNoTypoFrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresNoTypoFrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

PasswordFailuresNoTypoInfrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresNoTypoInfrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

PasswordFailuresTypoFrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresTypoFrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

PasswordFailuresTypoInfrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresTypoInfrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

RecentPotentialTypos 공개적으로 프로퍼티

public SmallCapacityConstrainedSet RecentPotentialTypos
리턴 SmallCapacityConstrainedSet

RepeatAccountFailuresFrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures RepeatAccountFailuresFrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

RepeatAccountFailuresInfrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures RepeatAccountFailuresInfrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresNoTypoFrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresNoTypoFrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresNoTypoInfrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresNoTypoInfrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresTypoFrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresTypoFrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresTypoInfrequentPassword 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresTypoInfrequentPassword
리턴 StopGuessing.DataStructures.DecayingDouble

SuccessfulLogins 공개적으로 프로퍼티

public DecayingDouble,StopGuessing.DataStructures SuccessfulLogins
리턴 StopGuessing.DataStructures.DecayingDouble