commit | 621be84a9d1fbf0097fd058e249ec5cc4f35f3c5 | [log] [tgz] |
---|---|---|
author | Namjae Jeon <linkinjeon@kernel.org> | Wed Oct 13 17:28:31 2021 +0900 |
committer | Steve French <stfrench@microsoft.com> | Wed Oct 20 00:07:10 2021 -0500 |
tree | e6d922ce3d5262c34c781768ee51588ce4c80e2e | |
parent | 34061d6b76a41b1e43c19e1e50d98e5d77f77d4e [diff] |
ksmbd: throttle session setup failures to avoid dictionary attacks To avoid dictionary attacks (repeated session setups rapidly sent) to connect to server, ksmbd make a delay of a 5 seconds on session setup failure to make it harder to send enough random connection requests to break into a server if a user insert the wrong password 10 times in a row. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>