[Date Prev][Date Next]
Re: Password policy: possible DoS scenario
----- "Konstantin Boyandin" <firstname.lastname@example.org> wrote:
> >> Narrower question: do password policy module developers plan to
> >> into account what IPs are used to connect (thus, blocking only
> >> from specific IPs)?
> > Maybe you should provide a specific use case, besides "my users
> violate my
> A typical use case is this. We make users change their passwords
> regularly, password policy was introduced to further urge to use
> Now imagine a person's email being checked regularly from outside the
> intranet. After the specified attempts the account gets locked. The
> option we have in such a case is to firewall the address that sends
> wrong credentials.
There are other options. ppolicy is not meant to prevent attacks on accounts, but to try and prevent attacks on accounts being successful. Prevention (or other responses) are only possible if the attacks are detected. If you want attackers to be able to make as many attempts as they like to try and compromise accounts, you would be better off without ppolicy.
> In case the locks are IP-bound, they would only affect those
> to gain access (regardless of whether those are legitimate or
> unauthorized attempts).
But it opens you up to making it easier for attackers to brute-force your accounts.
However, in your scenario of a user's email account being attacked, to LDAP, the client IP address is that of your mail server, so having IP-specific lockout would not help you.