Project

General

Profile

Actions

Refactor #22778

closed

Allow admin to opt-out from the Brute-force attack protection

Added by roman plevka almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Implementation of http://projects.theforeman.org/issues/4238 introduced a BFA protection, however this is not configurable at all (enable/disable, number of retries, blacklist timeout, etc.).

It would be beneficial, if I as an admin had a way of configure or completely disable the feature.

- e.g. our automation, running on a single foreman instance executes multiple tests, one of them being a negative tests trying an invalid authentication - this test typically lock the automation out from Foreman access, causing all further tests to fail.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #4238: Protection from Brute Force Password Attacks ClosedTomer Brisker02/03/2014Actions
Actions #1

Updated by Og Maciel almost 7 years ago

Please consider adding this RFE as its absence right now blocks QE's automation.

Actions #2

Updated by Marek Hulán almost 7 years ago

Interesting problem. I see we count to 30 if the login attempt fails. Does that mean that automation tried 30 times wrong password? Is that a single test that does that? Or what does the automation try to achieve? A workaround might be cleaning Rails cache, which is normally located at /usr/share/foreman/tmp/. Or you can try running foreman-rake tmp:clear

Actions #3

Updated by Marek Hulán almost 7 years ago

  • Related to Feature #4238: Protection from Brute Force Password Attacks added
Actions #4

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/5619 added
Actions #5

Updated by Lukas Zapletal over 6 years ago

  • Translation missing: en.field_release set to 353
Actions #6

Updated by Marek Hulán over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Marek Hulán about 6 years ago

  • Triaged set to No
  • Bugzilla link set to 1633360
Actions

Also available in: Atom PDF