📄 changes_snmp++v3.txt
字号:
Changes snmp++v3.2.9d=====================- Improved: Removed usage of some multi-threading critical C routines (for example strtok). Although on many systems, these routines are multi-threading safe, this may not be true for some systems. - Fixed: High CPU usage in SNMPProcessEvents() on Win32 platform.- Fixed: SNMPv1 trap sysUpTime TimeTicks where not decoded correctly as unsigned integer value, resulting in a parse error when sysUpTime > 2^31-1.- Improved: Log levels.- Fixed: USMUserNameTable::add_entry() did not update the privacy password length.- Improved: Examples now use the Snmp::socket_startup() on Win32 platforms.- Added: Two static methods Snmp::socket_startup() and Snmp::socket_cleanup() that initialize/cleanup Winsock library on WIN32 and do nothing for other platforms. The startup method must be called before creating Snmp or Address objects.- Changed: Type of some vars in UsmUserNameTableEntry from uchar* to OctetStr. Check if your code uses this struct.- Changed: engineBoots and engineTime are set to 0 for SNMPv3 noAuthNoPriv messages.Changes snmp++v3.2.8====================- Added: Support for OpenSSL.- Fixed: Compile problem in uxsnmp.cpp. Changes snmp++v3.2.7c=====================- Fixed: Synchronization problem with mpV3::Cache. (Henning Eggers)- Fixed: Memory leak in OctetStr::from_hex_string. (Kent Gibson)- Changed: EventListHolder::SNMPProcessEvents() param is now in milliseconds (was seconds).- Fixed: Memory leak if an async SNMPv3 message timed out (Henning Eggers).- Added: Method Snmp::broadcast_discovery() to do SNMP broadcast discovery. - Improved: Console examples now accept 0 retries, removed warnings with gcc 3.2, and v3MP is now always created.- Added: Qt 3.1 example that demonstrates SNMP++v3 usage with a GUI (Trolltechs Qt 3.1).- Added: Methods to store, load, and query USM users.- Improved: Some minor clean-ups.Changes snmp++v3.2.6b=====================- Fixed: GenAddress passed IPv4 addresses as IPv6 addresses.- Changed: By default IDEA is not compiled into SNMP++ by default because patent licensing is required for commercial use. Please #define _USE_IDEA if you want to compile IDEA into SNMP++. For more details please read also README.v3.- Fixed: Do not add -Dsun to compile command. If you have problems with the SnmpCollection template look at the instructions in collect.h. - Fixed: Destroy Mutex in ~EventListHolder(). - Improved: Lots of cleanups for the address classes. This leads to the following incompatibilities to former versions: + Enums addr_type and version_type are now inside class Address + MacAddress, IpxAddress and IpxSockAddress are no longer included by default, but can be enabled in config_snmp_pp.h Changes snmp++v3.2.5d=====================- Improved: Made AuthMD5::password_to_key more robust against empty passwords.- Changed: The Win32 DLL export macros now use SNMP_PP_DLL instead _USRDLL.- Changed: Moved VC++ project files in a separate package. - Improved: Minor issues with IPv6 support.- Improved: Socket handling.- Fixed: uxsnmp.cpp: Detecting error from socket() return values.- Fixed: Moved SNMPAddInput() SNMPRemoveInput() SNMPAddTimeout and SNMPREmoveTimeout to the class EventListHolder- Fixed: Unique Id generation in CUDEventQueue and CUTEventQueue.- Fixed: Bugs in Vb::get_value() methods that take a char* or unsigned char* as argument- Added: operator+() for Oids (Alexander Gutkin)- Improved: Cleanups in queues Changes snmp++v3.2.4a=====================- Improved: Synchronous and asynchronous SNMP request processing is now separated. Thus, the global event lists have been removed. Each Snmp class now holds its own event lists. To eliminate the use of global event lists a new class EventListHolder was defined. Two new files eventListHolder.h and eventListHolder.cpp contain now declaration and definition of that class respectively. That new class is a container of former eventList global data structure and former global user defined events, user-defined timeouts, notifications and all outstanding messages. (LiorK)- Improved: collect.h (Bill McKinnon)- Improved: FreeBSD 5.0 support.- Added: Makefile.gcc_solaris for compilation with GNU C++ compiler on Solaris. Changes snmp++v3.2.3b=====================- Fixed: Counter64::get_printable() could print negative values (Yakov Y.)- 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. - Fixed: Compilation problems without _SNMPv3 defined.- Fixed: PDU length computation for encrypted SNMPv3 PDUs.- Improved: New v3MP class.- Fixed: Estimated length calculation for encoded PDU.Changes snmp++v3.2.2d=====================- Fixed: Possible timeouts under heavy load in a multi-threaded environment. [Pavel Spakovsky]- Fixed: DLL support for VC++ did not allow static linking.- Added: Computation of BER encoded length of a Pdu. - Added: VC++.NET project files and fixed DLL support.- Fixed: Errors in Counter64::c64_to_ld() and Counter64::ld_to_c64() [Mikhail Evstiounin]- Improved: Prepared for AES usage replacing libDES. - Fixed: Compilation problems with G++3.2 (needs updated libDES download).Changes snmp++v3.2.1d=====================- Fixed: Memory leak (40 bytes) when adding an user to usm.- Improved: Some cleanups (#include, const).- Fixed: Due to possible race condition in MyMakeReqId() (uxsnmp.cpp) two requests could get the same request id. - Fixed: const casting caused problems with AIX compiler.Changes snmp++v3.2.1====================- Improved: Use zero length user name for SNMPv3 discovery.- Lots of cleanups.Changes snmp++v3.2a===================- Fixed: Compilation problem with address.cpp on Solaris. Changes snmp++v3.2==================- Added: IPv6 support.- Improved: moved the USM functions into the class USM. To add or delete users, you will now have to do the following (see usm_v3.h for more details): Usm *usm = mpGetUsm(); usm->add_usm_user(...); usm->delete_usm_user(...);- Fixed: Possible SegFault in notify queue (Lior Klibansky)- Fixed: Timeout problem in event list (Don Dietz)- Fixed: Don't use isdigit() for BCC (Eric Zerbib)- Added: clear() method to SnmpCollection- Fixed: added clone() method to Pdu class, so SnmpCollection<Pdu> will work again.- Added: Make notify socket decriptor available in Snmp class (Don Dietz)Changes snmp++v3.1.6c=====================- Fixed: mp_v3.cpp: Unsigned integer values were not BER decoded correctly for SNMPv3 messages.- Fixed: Some errors when compiling with -ansi- Improved: Class AuthPriv does no longer depend on USM. Changes snmp++v3.1.6b=====================- Added: BCC32 support.- Added: DLLOPT decoration for debugprintf.Changes snmp++v3.1.6a=====================- Fixed: Agent address of v1 trap PDUs is set from received SNMPmessage if address is not "0.0.0.0".- Improved: Free BSD support.- Improved: UdpAddress performance.- Added: Pdu::set_v1_trap_address to set v1 trap address. If not set, SNMP++ will use the default host address.- Improved: Added casts in auth_priv.cpp and idea.cpp.Changes snmp++v3.1.5====================- Fixed: Memory leak during processing of SNMPv3 traps- Fixed: Memory leak in agents when sending a UnknownEngineID report- Fixed: Set contextEngineId in Pdu if it was not set by the user.- Improved: Prepared authentication/privacy module for easy extensibility.- Fixed: Convert asn1.cpp back to unix CR/LF ;-)Changes snmp++v3.1.4b=====================- Fixed: Possible crash in ASN.1 BER decoding caused by incorrect SNMP BER encodings.Changes snmp++v3.1.4a=====================- Fixed: Compilation problems with non Linux systems regarding *_r system calls.- Fixed: Handling of unusual v3 msgFlags and msgSecurityModels.Changes snmp++v3.1.4====================- Added: Support for Opaque type. The Opaque type is implemented as OpaqueStr as subclass of OctetStr.Changes snmp++v3.1.3i=====================- Fixed: ASN.1 encoding of very long OIDs (128 subidentifiers) could cause seg.fault.- Improved: Removed obsolete #includes and comments. Changes snmp++v3.1.3h=====================- Fixed: Compilation problems introduced by debugging output redirection on Solaris.- Added: Makefile.hpux11 for HPUX11 aCC.- Improved: ASN.1 decoding of integers.- Fixed: Sending SNMP requests form within asynchronous callback functions.Changes snmp++v3.1.3g=====================- Fixed: ASN.1 parse error when parsing some unsigned integers introduced in v3.1.3c.- Fixed: Completed work on redirecting debugging output. Changes snmp++v3.1.3f=====================- Improved: SNMP++ is no longer busy looping when waiting for synchronous requests. (Changed select timeout in ProcessPendingEvents in eventlist.cpp from 0 to 10 usec).- Improved: Debugging output can now be redirected to a file.Changes snmp++v3.1.3e=====================- Fixed: Dropped v1 traps because of a wrongly detected ASN.1 parse error.- Fixed: Wrongly added trap oid and timestamp variable bindings for received notifications.- Added: _NO_THREADS in config.h to facilitate disabling of threads (contributed by Martin Janzen).Changes snmp++v3.1.3d=====================- Fixed: Traps sent out may had wrong security level noAuthNoPriv.Changes snmp++v3.1.3c=====================- Fixed: Missing type checks in BER decoding have been added.Changes snmp++v3.1.3b=====================- Fixed: A pdu with an unknown engineId report
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -