📄 changes_agent++v3.txt
字号:
Version 3.5.14a: CHANGES since Version 3.5.13a==============================================* Fixed: Compilation problem in agentpp_config_mib.cpp* Added: Sparse table test MIB implementation to agentpp_test_mib.cpp of the ATM example agent.* Changed: Mib constructor with persistency path parameter. The type of the parameter has been changed from "const char*" to "const OctetStr&". Access method and member "persistent_objects_path" are no longer static! * Fixed: Incorrect error check in snmpTargetAddrTMask that prevent modifying the row while notInService(2).* Fixed: Check whether a snmpTargetAddrTable row can be set active when using createAndWait(5).* Added: IPv6 support for the snmpTargetAddrTable. This includes support for the new Transport Domain OIDs defined in the TRANSPORT_ADDRESS_MIB.* Added: AGENTPP_CONFIG_MIB that allows to configure logging levels at runtime and source address validation for SNMPv1/v2c protocols (see the ATM example or just add "mib->add(new agentpp_config_mib());" to your agent).Version 3.5.13a: CHANGES since Version 3.5.12g==============================================* Fixed: Prefix match for context was incorrect implemented, since the OctetStr::operator== had been fixed in order to compare all bytes of octet strings.* Fixed: An authorizationError has been returned on a notInView VACM exception on GET requests instead of returning noSuchObject or noSuchNam (SNMPv1).* Fixed: In some cases there were variables returned for some subrequests although the request (typically a GET request) failed because of an error.* Fixed: Views created on runtime were not immediately effective.* Fixed: Setting the privacy protocol to usmNoPrivProtocol via SNMP was no longer possible in v3.5.12d - v3.5.12g. Version 3.5.12g: CHANGES since Version 3.5.11c==============================================* Improved: Examples now use the Snmp::socket_startup() on Win32 platforms.* Added: Some error checking for assignment operators.* Fixed: usmUserTable accept all registered auth and priv protocols.* Fixed: Compilation problem with _SNMPv3 not defined in agentgen/agent/src/agent.cpp and the corresponding counter part of the simulation agent template.* Fixed: Compilation problems introduced by the latest fix (v3.5.12d) for request.cpp when _SNMPv3 was disabled.* Fixed: For notInTimeWindow authentication failures no authenticationFailure notification will be generated by default. * Fixed: AuthenticationFailure notification was not send on some SNMPv3 authentication failures.* Fixed: Memory leak when deserializing MibLeaf.* Fixed: Memory leak and inconsistent calling sequence when a row was created using the RowStatus TC. The cleanup_set_request (undo_set_request) method was not called for all relevant sub-requests.* Improved: snmpTargetAddrExtEntry::set_row now uses OctetStr instead const char* which allows to specify addresses containing 0. * Fixed: Missing end_synch() statements in snmpTargetAddrExtEntry::passes_filter().* Fixed: Compilation problem with new Mib::get_boot_counter method when _SNMPv3 not defined.* Added: Mib::get_boot_counter and Mib::set_boot_counter to persistently store the SNMPv3 boot counter. This is a wrapper for the related SNMP++ functions.* Added: DateAndTime is now also compiled for Win32 environment.* Changed: snmp_pp_ext.cpp to meet changes in SNMP++v3.2.7.Version 3.5.11c: CHANGES since Version 3.5.10c==============================================* Fixed: Compilation problem in snmp_pp_ext.cpp when SNMP_PP_IPv6 was defined.* Fixed: Incorrect use of NO_STATIC_REQUEST_LIST instead of STATIC_REQUEST_LIST in mib.cpp.* Changed: v3.5.11 requires SNMP++v3.2.6a or later.* Improved: Removing redirections in request processing to RequestList (now performance).* Changed: Made requestList member of Mib non-static by default. If you need a static request list, then define STATIC_REQUEST_LIST. PLEASE NOTE: AgentX++ users should upgrade to v1.4.7a before upgrading AGENT++ to v3.5.11! Version 3.5.10c: CHANGES since Version 3.5.9a=============================================* Fixed: Removed redundant check for setting non-default values in created rows from MibTable::ready.* Changed: Moved VC++ project files in a separate project.* Fixed: Array bounds check in List.h (Array::overwriteNth()). * Improved: Socket handling in snmp_pp_ext.cpp* Fixed: Synchronized class for WIN32 platform. Error codes returned by WaitForSingle objcect were not handled correctly.* Fixed: Initialization of local engine ID for proxy forwarder. * Changed: Methods to process requests (class Mib) are now public. * Added: NotificationSender interface to standardize sending notifications. The Mib class now has a "notify" method that should be used to send traps/notifications. By default, it uses a NotificationOriginator (which also implements the NotificationSender interfaces).* Added: NotificationType interface as common interface for all trap/notification implementations.* Fixed: Opaque::get_syntax did no longer override OctetStr::get_syntax because the latter was made const. As a consequence, Opaque behaved like OctetStr. For future development, the OpaqueStr class of SNMP++ should be used.Version 3.5.9a: CHANGES since Version 3.5.8c============================================* Improved: LockQueue used by Request is no longer static. It is allocated when needed, but has to be freed manually.* Added: Methods to access the number of entries and MibGroup instances.* Changed: request.cpp to match new Snmp::report signature in SNMP++v3.2.4.* Fixed: Constructors of Mib now access v3MP via requestList member instead v3MP::I. Version 3.5.8c: CHANGES since Version 3.5.8===========================================* Fixed: Linking problems with g++3.2 due to "extern" declaration of template instantiations.* Fixed: Segmentation fault when running AgentX++ subagent without v3MP initialized and _PROXY_FORWARDER defined (which is the default).* Fixed: Compilation problems without _SNMPv3 defined.* Note: New Makefiles assume that you have defined _USE_LIBTOMCRYPT when a "crypt" directory is present in the same folder as the "snmp++" and "agent++" directories. Version 3.5.8: CHANGES since Version 3.5.7c===========================================* Fixed: Compilation problems on some systems with template initialization.* Improved: Support for table augmentation has been improved. MibTable::fire_row_changed no longer locks listening tables. Instead, all tables that listen for a table's row events are now locked during request processing. * Fixed: Could create rows for snmpTargetAddrExtEntry without creating the corresponding row in snmpTargetAddrEntry.* Fixed: Memory leak when failing to create a new row with RowStatus.* Fixed: GETBULK TooBig error handling.* Changed: Changed v3* Added: Support for AES encryption. It needs libtomcrypt installed. It can be downloaded from SNMP++v3.x download page located at http://www.agentpp.com LibTomCrypt is originally distributed from http://www.iahu.ca:8080/libcrypt.html The examples try to link against this package. If you do not want to use it, remove "-libtomcrypt" from common.mk.Version 3.5.7c: CHANGES since Version 3.5.6d============================================* Fixed: Unfortunately, during DLL modifications two important methods had been removed from the Array template. These are required at least by AgentX++ and have been included again.* Fixed: DLL support for VC++ did not allow static linking.* Fixed: TooBig errors are now reported correctly even for SNMPv3. In addition, GETBULK responses now have the correct size in all cases.* Added: VC++.NET project files and DLL support.* Fixed: Destructor of Thread did not join itself when the thread has stopped running. This could have caused a memory leak.* Changed: Changed v3_mib.cpp to be compatible with SNMP++v3.2.2.Version 3.5.6d: CHANGES since Version 3.5.6b============================================* Fixed: Possible memory leak in AgentLog when using dynamically created threads.* Improved: Compilation on Cygwin.* Fixed: Array bounds read in notification_log_mib.cpp line 1263.* Fixed: Daylight savings time bug in DateAndTime::update().Version 3.5.6b: CHANGES since Version 3.5.6a============================================* Fixed: MibTable::remove_row caused segmentation fault when specified row was not part of the table.* Changed: Opaque::get_syntax() to const.* Changed: snmp_pp_ext.h according to SNMP++ v3.2.1cVersion 3.5.6a: CHANGES since Version 3.5.5b============================================* Fixed: Renamed MibGroup::is_persitent to MibGroup::is_persistent.* Fixed: DateAndTime in snmp_textual_conventions.cpp* Fixed: MibLeaf::set_value(unsigned long) changed syntax to INT32 instead to UINT32.Version 3.5.5b: CHANGES since Version 3.5.5a============================================* Improved: Some cleanups (#include, const).Version 3.5.5a: CHANGES since Version 3.5.5===========================================* Fixed: Removed const from Request::get_oid which has broken AgentX++ request handling with AGENT++ v3.5.4.* Fixed: MibTable::find_succ was not synchronized which could cause race conditions when updating table (removing rows) from MibTable::*_request methods. Updating from MibTable::update was OK.* Fixed: MibStaticEntry::find_succ was not completely protected by synchronization.* Fixed: Mib::next_access_control did not lock a table when getting successor leaf.Version 3.5.5: CHANGES since Version 3.5.4a===========================================* Added: Example implementation in NotificationOriginator to add v2c trap destination.* Added: INSTALL file which describes how to setup AGENT++ with SNMP++ and AgentGen Pro.* Improved: agent.cpp for simulation agents.* Cleanup: agent_copy.cppVersion 3.5.4a: CHANGES since Version 3.5.4===========================================* Fixed: Thread::wait(ulong millis) did compute nsec part of time to wait incorrect.* Added: Vacm::get_vacm_tables() to get the pointers of to the SNMP tables used by the VACM.Version 3.5.4: CHANGES since Version 3.5.3a===========================================* Requires SNMP++v3.2 or later, if _SNMPv3 is defined in "snmp++/include/config.h".* Changed behavior when committing a SET request fails. The error status returned by "commit_set_request" is now returned as error status of the request, instead SNMP_ERROR_COMITFAIL in case of any error.* Improved: Undoing of SET requests. * Fixed: Wrong error status returned when setting usmKeyChange object with uninitialized usmCloneFrom object.* Added: Request::search_value(..)* Changed: Request::get_oid() to const* Improved: Logging now follows the singleton design pattern which ensures proper initialization.Version 3.5.3a: CHANGES since Version 3.5.2b============================================* Fixed: snmp_request.cpp: Did not count incoming traps (snmpOutTraps).* Fixed: Added support for (POSIX) thread implementations that do not allow a thread to release a lock which the thread does not own in FAST mode. This fixes also a problem that occured on WIN32 operating systems which caused AgentX++ subagents to crash when performing SET request in parallel on the same object or with some latency. POSIX threads FAST mode is used by default on UNIX systems. The new LockQueue mechanism is used on WIN32 systems by default. See include/agent++.h* Added: IPv6 support. SNMP++v3.2 or later is needed to able to use it.* Added: Makefile.bcc provided by Luis F. Pollo.Version 3.5.2b: CHANGES since Version 3.5.2===========================================* Fixed: request.cpp: Support for contexts
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -