You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "ramackri (via GitHub)" <gi...@apache.org> on 2026/07/21 14:56:50 UTC

[PR] RANGER-5690: Backport UnixAuth rate limiting to ranger-2.9 [ranger]

ramackri opened a new pull request, #1098:
URL: https://github.com/apache/ranger/pull/1098

   ## Summary
   - Back-ports [514f2a3](https://github.com/apache/ranger/commit/514f2a376be3ad9059d8a44ec823ed257b4e887b) / master PR #1080 (RANGER-5690) to `ranger-2.9`.
   - Adds `LoginAttemptTracker` with configurable max failed attempts, attempt window, and lockout duration for the UnixAuth service.
   - Hardens `PasswordValidator` with generic failure responses and lockout handling; adds socket timeout and optional TLS client certificate auth in `UnixAuthenticationService`.
   - Preserves `ranger-2.9`-specific behavior: `TLSv1.2` SSL algorithm and existing `UserSyncMetricsProducer` startup.
   
   ## Test plan
   - [x] `mvn test` in `unixauthservice` — 15 tests pass (`LoginAttemptTrackerTest`, `TestPasswordValidator`)
   - [ ] CI on `ranger-2.9`
   
   
   Made with [Cursor](https://cursor.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RANGER-5690: Backport UnixAuth rate limiting to ranger-2.9 [ranger]

Posted by "ramackri (via GitHub)" <gi...@apache.org>.
ramackri merged PR #1098:
URL: https://github.com/apache/ranger/pull/1098


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org