Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay config documentation #121

Closed
dmitton42 opened this issue Mar 2, 2016 · 3 comments
Closed

Delay config documentation #121

dmitton42 opened this issue Mar 2, 2016 · 3 comments
Assignees
Labels

Comments

@dmitton42
Copy link

I've just installed this on a site that sees attacks every day.

I'd like to see a discussion of what the parameters on the Delay tab do:
What are the units of Delay (seconds, minutes, hours??)
What process/change does Adaptive Delay enable?
Maximum Delay defaults to 0, does that mean off or infinite? Range? Units?
What do Min and Max Threshold do? and again, units?

Thanks.

@codeling
Copy link
Owner

codeling commented Mar 3, 2016

A short discussion of each parameter is given in the mouse-over hints.
The unit of delays is in seconds - as mentioned in the hint for the "delay" (but not in maximum delay, as I just noticed, but it's the same there).

The adaptive delay process is described in the mouse-over-hint for "Adaptive delay".

It's intended to be a measure against distributed attacks.
The more failed logins there are per hour, the longer the delay that's used before a failed login response is shown.
As soon as the attacks per hour go over the "min. threshold" the adaptive threshold linearly increases, and reaches the maximum of "Maximum delay" seconds when "max. threshold" is reached.

When "adaptive delay" is set to disabled, all settings below don't have any effect, only the "delay" is also used by itself for delaying the response each failed login attempt.

I will put this into the wiki as well. Any comments on the procedure? For upcoming versions I'm planning to improve the defence against distributed attachs through adaptive failed login allowances (which are probably more effective than delaying response), see here: #76

@codeling codeling self-assigned this Mar 15, 2016
@codeling
Copy link
Owner

Where would you have expected to see this documented?
Does this clarify your concerns?

@codeling
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants