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

When using SNMPv3, userName always needs to be set. #68

Merged
merged 3 commits into from
May 13, 2021

Conversation

guscott
Copy link

@guscott guscott commented May 7, 2021

After testing the latest release, I noticed that my previous PR was incomplete. SNMPv3 username need to be set even if authentication is disabled (NoAuthNoPriv use case). This PR address this.
This fix was tested with a locally built container and it is working correctly.

Guillaume Scott added 3 commits November 27, 2020 10:05
See https://tools.ietf.org/html/rfc3414#section-3.1, point 7: userName is set into the trap even when securityLevel = NoAuthNoPriv
Dependency "github.com/k-sone/snmpgo" is returning an error when username is not set
@maxwo
Copy link
Owner

maxwo commented May 13, 2021

Thanks for you contribution

@maxwo maxwo merged commit 7a80841 into maxwo:master May 13, 2021
@maxwo
Copy link
Owner

maxwo commented May 13, 2021

I just released the 1.1.1 version with your fix.

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