-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AAA restrictions hld #1690
base: master
Are you sure you want to change the base?
AAA restrictions hld #1690
Conversation
enum authentication; | ||
**enum restrictions;** | ||
** | ||
leaf lockout_state { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the main knob for enabling or disabling this feature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not exactly as it is independent from fail-delay.
the lockout_state is regarding the locking of users - to not use the blacklist. the delay on each login is not effected by this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we should either have something that enables this feature as a whole, or add a build flag on whether we would like these items or not.
I'm more for the cli command, as it is cleaner.
auth sufficient pam_faillock.so authsucc audit deny={{ attempts }} unlock_time={{ unlock_time }} | ||
``` | ||
### Flows | ||
The flows are aaa sonic-based flows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just put regular AAA flows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is part of the referenced aaa improvements and would be just coping large sections of text
Added the HLD for intigrating restrictions under aaa authentication. improving general security and resilience against brute force attacks in particular.