1
0
forked from 0ad/0ad
0ad/source
Angen 16a91c37e9 Limit possibility of brute force attacks when guessing password
As suggested by elexis, 1a8de6d2b8 should get some protection against
brute force attacks on password.

This is supposed to prevent attackers from getting connection data by
guessing the password.

Each failed attempt increases the counter.
XmppClient on the server side checks for the users with certain number
of failed attempts, determined in CNetServer, and refuses to check the
password, answering with banned message.
So they cant guess again in given match. Effect of this block will
dissapear after new match is created.

Differential revision: D3467
Comments by: wraitii, Stan
Tested by: Stan, Freagarach
Ref: #5913

This was SVN commit r24794.
2021-01-26 20:20:48 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Reduces shadow biases for landscape shaders. 2021-01-23 19:40:58 +00:00
gui Fix 3872ee43b5 and 768c84aa46 2021-01-18 12:16:27 +00:00
i18n Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
lib Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
lobby Limit possibility of brute force attacks when guessing password 2021-01-26 20:20:48 +00:00
maths Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Limit possibility of brute force attacks when guessing password 2021-01-26 20:20:48 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Allows to override GL version for SDL. 2021-01-22 19:40:02 +00:00
renderer Removes useless transparent pass before the water for lowest settings since the water is opaque there. 2021-01-21 22:38:11 +00:00
rlinterface Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
scriptinterface Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
simulation2 Fix NOPCH builds. 2021-01-25 11:12:11 +00:00
soundmanager Fix audio leak that resulted in openAL errors after a while. 2021-01-22 12:50:05 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Update bundle dist tools 2021-01-22 12:53:54 +00:00
main.cpp Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
test_setup.cpp Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00