Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Exceeded maximum login attempts?

More
1 year 11 months ago #214933 by joebloggs1987
Just wondering if there are any settings that would be restricting an IP address with a token-based survey?

When accessing the survey link and entering a token, it is coming up with this error and won't allow survey access for 10 minutes. It also blocks the ability to sign into the admin panel.
This is with 40 PCs all connected via the same IP, so it seems like it's not allowing multiple connections from the same IP?
There were no attempts to sign into the admin panel when the errors start, just multiple users entering unique tokens on the token page (no duplicate tokens).

I tried connecting via a different IP address and it works fine, but switching back to the original IP the error comes up again.

I can confirm that the latest updates have all been applied as of this morning but the error still occurs. Screenshots are attached.

Thanks in advance.
The topic has been locked.
More
1 year 11 months ago #214934 by jelo

Just wondering if there are any settings that would be restricting an IP address with a token-based survey?

LimeSurvey has a simple protection against brute-force. If you use LimeSurvey in a group (e.g. classroom), it's not uncommon to trigger that brute-force protection.But there is no way to control and manage that via the GUI.

There is currently no indication that LimeSurvey will offer a GUI to control and manage the brute-force behaviour.
github.com/LimeSurvey/LimeSurvey/commit/...cb0be67d829b34b750fa

You haven't mentioned what LimeSurvey version you use.

You can override bruteforce settings in the config file.

Compare with the defaults

// If the user enters password incorrectly
$config    = 3; // Lock them out after 3 attempts
$config        = 60 * 10; // Lock them out for 10 minutes.

github.com/LimeSurvey/LimeSurvey/blob/ma.../config-defaults.php

I'm not aware of more settings, but perhaps there are some undocumented for token as well.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: joebloggs1987
The topic has been locked.
More
1 year 11 months ago #214936 by joebloggs1987
Thank you for this. We have managed to find these settings and have increased the number of attempts to 10 and the lock out time to 1*10 (10 seconds).
We've been using Limesurvey for years but only just now encountering this issue, and found that for some reason the number of attempts was set to 1.
I'll see if this helps, but will there be any issues with setting this to a large number such as 1000 attempts to ensure that it doesn't appear again?

Limesurvey Version 3.25.22+210413
The topic has been locked.
More
1 year 11 months ago #214946 by DenisChenu
It's a new system since github.com/LimeSurvey/LimeSurvey/commit/...6eb8be7a81da5e614617

It use same system for admin and token.

Like all Brute force attack : it's always possible …
With 10 seconds : i think it's OK for all bots (even 1 seconds is OK for bots).
If you need more securisation for admin : you muts choose complex password.

Maybe have 2 separate settings for timing here can be a good idea ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
1 year 11 months ago - 1 year 11 months ago #214955 by jelo

Maybe have 2 separate settings for timing here can be a good idea ?

A GUI is needed to allow unblocking and excluding IPs from Blocks.
I wonder if the SaaS version of LimeSurvey has that system activated.
The IP logging/storing has to be indicated in the data protection policy. What is the retention? It can be relevant for the admin to know.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 1 year 11 months ago by jelo.
The topic has been locked.
More
1 year 11 months ago #214965 by DenisChenu

Maybe have 2 separate settings for timing here can be a good idea ?

A GUI is needed to allow unblocking and excluding IPs from Blocks.
IP spoofing is so easy !

I wonder if the SaaS version of LimeSurvey has that system activated.
The IP logging/storing has to be indicated in the data protection policy. What is the retention? It can be relevant for the admin to know.
 
Not sure : it's used only for technical and security issue.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose