-
Notifications
You must be signed in to change notification settings - Fork 341
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
Validate SNMPv3 Auth/Priv Protocol for incoming trap message #351
Conversation
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
02f9acc
to
7a43e7a
Compare
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
94eced6
to
4711e8b
Compare
ci retry |
1 similar comment
ci retry |
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
…mp into v3_auth_priv_dev
You need to rebase your branch against the latest commit from #355. That should fix the tests. There was a CI container bug due to the release of Debian 11. |
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
Signed-off-by: Balasankar Rajaguru <balasank@juniper.net>
…mp into v3_auth_priv_dev
@SuperQ Thanks, I have updated the changes and addressed the comments. Please review |
Thanks! It would be great to add these two cases to |
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.
LGTM
We can do cleanup and add tests after merging. |
* [BUGFIX] parseLength: avoid OOB read, prevent panic gosnmp#354 * [FEATURE] Add LocalAddr setting to bind source address of SNMP queries gosnmp#342 * [ENHANCEMENT] Validate SNMPv3 Auth/Priv Protocol for incoming trap message gosnmp#351 * [ENHANCEMENT] helper.go: add error handling to parseLength gosnmp#358 * [ENHANCEMENT] Rename v3_testing_credentials to avoid testing import in prod builds gosnmp#360 * [ENHANCEMENT] helper.go: Improved decodeValue() function gosnmp#340 Signed-off-by: Tim Rots <tim.rots@protonmail.ch>
* [BUGFIX] parseLength: avoid OOB read, prevent panic gosnmp#354 * [FEATURE] Add LocalAddr setting to bind source address of SNMP queries gosnmp#342 * [ENHANCEMENT] Validate SNMPv3 Auth/Priv Protocol for incoming trap message gosnmp#351 * [ENHANCEMENT] helper.go: add error handling to parseLength gosnmp#358 * [ENHANCEMENT] Rename v3_testing_credentials to avoid testing import in prod builds gosnmp#360 * [ENHANCEMENT] helper.go: Improved decodeValue() function gosnmp#340 Signed-off-by: Tim Rots <tim.rots@protonmail.ch>
* [BUGFIX] parseLength: avoid OOB read, prevent panic #354 * [BUGFIX] Detect negative lengths in parseLength, prevent panic #369 * [FEATURE] Add LocalAddr setting to bind source address of SNMP queries #342 * [ENHANCEMENT] Validate SNMPv3 Auth/Priv Protocol for incoming trap message #351 * [ENHANCEMENT] helper.go: add error handling to parseLength #358 * [ENHANCEMENT] Rename v3_testing_credentials to avoid testing import in prod builds #360 * [ENHANCEMENT] helper.go: Improved decodeValue() function #340 Signed-off-by: Tim Rots <tim.rots@protonmail.ch>
Closes : #350
Changes