Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

vtarnavsky
Copy link

Added the HLD for intigrating restrictions under aaa authentication. improving general security and resilience against brute force attacks in particular.

doc/aaa/AAA Restrictions/AAA Restrictions.md Outdated Show resolved Hide resolved
doc/aaa/AAA Restrictions/AAA Restrictions.md Show resolved Hide resolved
doc/aaa/AAA Restrictions/AAA Restrictions.md Outdated Show resolved Hide resolved
doc/aaa/AAA Restrictions/AAA Restrictions.md Show resolved Hide resolved
doc/aaa/AAA Restrictions/AAA Restrictions.md Outdated Show resolved Hide resolved
enum authentication;
**enum restrictions;**
**
leaf lockout_state {
Copy link
Contributor

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?

Copy link
Author

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

Copy link
Contributor

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.
Copy link
Contributor

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

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants