Skip to content

Reset bruteforce on token refresh OAuth - #12130

Merged
rullzer merged 1 commit into
masterfrom
fix/reset_bruteforce_oauth
Oct 30, 2018
Merged

Reset bruteforce on token refresh OAuth#12130
rullzer merged 1 commit into
masterfrom
fix/reset_bruteforce_oauth

Conversation

@rullzer

Copy link
Copy Markdown
Member

When using atoken obtained via OAuth the token expires. Resulting in
brute force attempts hitting the requesting IP.

This resets the brute force attempts for that UID on a valid refresh of
the token.

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

@DagefoerdeDagefoerde left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this mitigates the current problem with the brute force protection. #12131 still required as it would solve the actual problem.

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and changes make sense!

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code makes sense 👍

@MorrisJobke

Copy link
Copy Markdown
Member

Unit tests fail.

When using atoken obtained via OAuth the token expires. Resulting in
brute force attempts hitting the requesting IP.
This resets the brute force attempts for that UID on a valid refresh of
the token.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
rullzerforce-pushed the fix/reset_bruteforce_oauth branch from 33f2862 to 75456b0CompareOctober 30, 2018 10:21
@rullzer
rullzer merged commit c169894 into masterOct 30, 2018
@rullzer
rullzer deleted the fix/reset_bruteforce_oauth branch October 30, 2018 13:26
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@rullzer@MorrisJobke@Dagefoerde@ChristophWurst