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

Implement per user IP allow lists #356

Merged
merged 1 commit into from
May 28, 2021
Merged

Conversation

hannesdejager
Copy link
Collaborator

@hannesdejager hannesdejager commented May 28, 2021

This PR allows libunftp authenticators to also consider the source IP when making authentication decisions. It then implements a basic allow list functionality in unftp-auth-jsonfile.

Furthermore it readies the authenticator interface to also check the client certificate chain.

This unfortunately introduces a breaking change in the Authenticator API.

@hannesdejager hannesdejager force-pushed the hannes/ip-whitelist branch 3 times, most recently from a9f9c42 to 74d0c42 Compare May 28, 2021 14:01
@hannesdejager hannesdejager force-pushed the hannes/ip-whitelist branch 2 times, most recently from 5fb0337 to d147e9f Compare May 28, 2021 14:40
src/auth/authenticator.rs Outdated Show resolved Hide resolved
This commit allows libunftp authenticators to also consider the source IP
when making authentication decisions. It then implements a basic allow
list functionality in `unftp-auth-jsonfile`.

Furthermore it readies the authenticator interface to also check the
client certificate chain.

This unfortunately introduces a breaking change in the Authenticator
API.
@hannesdejager hannesdejager merged commit 7caad12 into master May 28, 2021
@hannesdejager hannesdejager deleted the hannes/ip-whitelist branch May 28, 2021 15:57
@hannesdejager
Copy link
Collaborator Author

Pertains to #344

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