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

feature: trusted ip address ranges skip authentication #4

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

jordemort
Copy link
Owner

Merging thomseddon#327

} else {
ok, err := config.IsIPAddressAuthenticated(ipAddr)
if err != nil {
logger.WithField("error", err).Warn("Invalid forwarded for")

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
if err != nil {
logger.WithField("error", err).Warn("Invalid forwarded for")
} else if ok {
logger.WithField("addr", ipAddr).Info("Authenticated remote address")

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
@jordemort jordemort merged commit 74b0194 into master Nov 5, 2022
@jordemort jordemort deleted the halimath-pr branch November 5, 2022 21:17
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