-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #28: SNMPv2c does not work anymore (ErrNoPermission)
1. Introduction of SnmpV3Only Configuration: A new `SecurityConfig` configuration option, `SnmpV3Only`, has been added. This setting instructs the server to accept SNMP version 3 (SNMPv3) requests exclusively. This addition is a response to the request made in issue #23, aiming to provide enhanced security by leveraging SNMPv3's advanced features. @see #23 (comment) 2. Code Improvements and Bug Fix for Issue #28: The contributions from @adenis78 and @ConsoleTVs have been refined and incorporated to resolve the issue where SNMPv2c was not functioning correctly. 3. Defensive Rechecking of Configuration and Community Handling: Enhanced validation checks have been implemented to ensure robust error handling and response mechanisms. In scenarios where the specified community is not found within the subagent configuration, and there's an absence of a SecurityConfig.NoSecurity setting, the server will now refrain from responding. 4. Utilization of NoSecurity for Compatibility and Testing: The SecurityConfig.NoSecurity configuration has been introduced to facilitate bypassing certain security checks.
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters