pysnmp-sky/CHANGES.txt

718 lines
35 KiB
Plaintext
Raw Normal View History

Revision 4.2.4
--------------
- SNMPv3 native API examples reworked and extended to cover many use cases.
- The missing functionality of NOTIFICATION-TYPE objects being looked up
at local Management Instrumentation and attached to TRAP/IMFORM message
by Notification Originator is now fully implemented.
- Examples on SNMPv3 TRAP Originator now includes fixing local
snmpEngineId value.
- Oneliner example apps now include cases where non-default SNMP
context is used.
- The contextName parameter of SnmpContext.getMibInstrum made optional.
- AbstractMibInstrumController class added as a base class for all possible
kinds of Management Instrumentation controllers.
- MibInstrumController.getMibBuilder() added.
- I/O sockets buffer sizes made configurable, minimum default is now
2012-10-13 12:35:19 +02:00
forced to be no less than 2**17 (to fit two huge datagrams).
- Catch possible exceptions on pyasn1 encoder invocation.
- Unnecessary *MibSource explicit initialization calls removed at MibBuilder.
- Example configuration for Net-SNMP's snmptrapd added.
- Cast additionalVarBinds into ObjectIdentifier type at
NotificationOriginator.sendNotification()
- Fixes to ContextEngineId/ContextName support at the oneliner API: now
both items can be passed to request PDU right from *Cmd() request initiation
method, the items of authData object now used only for USM configuration.
- Fix to outgoing queue processing order at socket transport. Now
it's a FIFO discipline rather than LIFO.
- Fix to NotificationOriginator's additionalVarBinds parameter - it is
not mandatory anymore with the oneliner API. Also additionalVarBinds
defaulted value changed from None to () meaning no var-binds.
- Attempt to convert Windows style EOL into UNIX ones in MIB source
modules appeared to be unnecessary and even destructive to modules
data in some cases. So the convertion code removed altogether.
- Fix to isAccessAllowed() error handling at NotificationOriginator. System
used to crash on access denied condition.
- Fix to NotificationOriginator to make it use system uptime and trap OID
values from SNMP engine's instrumentation rather then from SNMP context.
- Fix a couple of bugs at MibTable* logic involved for table instances
creation.
- Fix to Management Instrumentation code to handle cases of non-initialized
or not-compliant-to-constraints Managed Objects Instances.
- Fix to Management Instrumentation code to make table row removal through
SNMP working again. Wrong method (instumClone) was probed at terminal
MIB nodes values instead of the right one (setValue).
Revision 4.2.3
--------------
2012-06-26 09:17:20 +02:00
- SECURITY FIX: USM subsystem did not verify securityLevel of a request
to an authoritative SNMP engineinbound against auth/priv protocols
configured for the user in question. That allowed unauthenticated/unciphered
access to pysnmp-based Agent even if USM user is configured to provide one.
- Oneliner [Asy6]CommandGenerator now supports optional keyword args
lookupNames, lookupValues that enable response OID / value looked up at
MIB and reported as a MibVariable container object carrying relevant
MIB info.
- Oneliner [Asyn]CommandGenerator now supports symbolic MIB object names to be
passed within a MibVariable container object which would do a deferred
MIB lookup for name resolution. This is a new and preferred API which
obsoletes the tuple-based one (it is still suppored though).
- Oneliner CommandGenerator's class attributes lexicographicMode, maxRows
and ignoreNonIncreasingOid moved to optional keyword args of nextGen()
and bulkGen() methods.
- IPv6/UDP and Local Domain Socket transport interfaces added to the
oneliner API.
- Mib Instrumentation subsystem re-worked to replace excessive
MibNode's smiCreate()/smiWrite()/smiDestroy() methods with
MibScalarInstance's getValue()/setValue()
- MibTree.readTest[Get]Next() reworked to be called uniformely so
user could tap on these methods at any level of the MIB tree.
2012-07-16 13:02:22 +02:00
- MibTableColumn.getNextNodeWithValue() unpublished API method obsoleted
and removed for clarity.
- Hex dumps of binary parts of the protocol added to ease system
operations analysis.
- SnmpEngineId autogeneration does not call DNS resolver but uses
local hostname not to depend upon local IP availability and performance.
2012-07-19 19:04:00 +02:00
- Example apps reworked, additional SNMPv3 auth/priv protocols and transports
added.
- Package version is now available as __init__.__version__ and it is
in-sync with distutils.
2012-07-04 17:05:10 +02:00
- Package meta-information updated.
- The __init__.py's made non-empty (rumors are that they may be optimized
out by package managers).
2012-06-30 12:09:02 +02:00
- Multiple fixes to UNIX domain socket transport to make it fully
operational again.
- Use sysUpTime value whenever it is included in Notification PDU, otheriwese
resort to SNMP engine uptime reading.
- SNMPv2c Message is now defined in rfc1901.py what matches standard
definition.
- Types defined within SNMPv1/v2c data structures (rfc1157.py/rfc1905.py)
moved to module scope to become accessible by wrapper routines
(v1.py/v2c.py). This is used for setting strictly typed default values
to corresponding SNMP data structures.
- The obsolete and unpublished MibInstrumController.readVarsFast() method
removed for API clarity.
- MibBuilder now distinguishes case of MIB modules filenames even if
underlying OS does not.
- LCD configuration caching is implemented at pysnmp.entity.rfc3413.config
that improves performance of repetitive calls by 10% and might hugely
improve NotificationOriginator's performance when working on a large
number of targets.
2012-07-14 12:36:30 +02:00
- A caching maps implemented at rfc2576 subsystem to speed-up communityName
to/from securityName resolution. The also makes transport tags processing
better compliant to the standard.
2012-07-19 12:22:25 +02:00
- Community and Transport tags processing changed at the oneliner interface
to make the whole mechanism more compliant with the standard. Most
importantly, it is now possible to tag authentication and transport
information separately.
- The NoSuchInstanceError exception class is no more inherits from
NoSuchObjectError to make class hierarchy closer to SNMP specification
which states that these errors are separate and independent.
2012-07-22 11:22:56 +02:00
- The Next & BulkCommandGenerator's split onto single-run and iterative
impementations. The former just process a single interaction and complete
while the latter run as many interactions as user callback function
indicates to.
2012-08-12 08:55:37 +02:00
- The pysnmp.entity.rfc3413.mibvar module is now obsolete by
pysnmp.entity.rfc3413.oneliner.mibvar featuring basically the same
features but within a stateful, dedicated object.
- Auth & target configuration container classes moved to their separate
modules at oneliner API.
- The notificationType parameter of AsynNotificationOriginator.sendNotification
made defaulted to reflect its optional nature.
- Oneliner UsmUserData, UdpTransportTarget, Udp6TransportTarget instances
are not hashable anymore as they are intended to act more like a data
structure than object.
- Built-in debugger now supports negating debugging categories.
2012-09-03 17:28:40 +02:00
- An async/getgen.py example script added.
- Fix to MIB data reading routine to make it working with possible
Windows end-of-line's.
- Fix to CommandGenerator's SNMPv3 engine autodiscovery algorithm
when retryCount is administratively set to 0.
- Fix to Notification Originator to make it communicating a single
sendPduHandle to an application even when multiple INFORMs are triggered
and processed by a single call by way of transport tagging feature.
- Fix to rfc2576:processIncomingMessage() to take SecurityModel into account
when lookup up SecurityName by CommunityName. This allows mixed SNMPv1/v2c
communication with the same target.
- Fix to internal MessageProcessing and SecurityModel timers so they become
dependant on system timer resolution.
- Fix to v1.PDUAPI.setDefaults() method that used to set wrongly typed
time-stamp component.
- Fix to IPv6 address handling to prevent system from crashing whilst
running Python3.
- Fix to SNMPv2 exception objects translation into SNMPv1 PDU and NEXT
OIDs calculation.
- Fix to MibTree class to properly report noSuchObject & noSuchInstance
SNMP special values.
- Fix to libsmi2pysnmp tool to make it working again in Python < 2.7
- Fix to exception handling at decodeMessageVersion() caller to prevent
ASN.1 parsing errors crashing the whole app.
- Fix to GenericTrap type processing at rfc2576:v1Tov2c() which used to
crash the whole SNMP engine.
2012-07-18 11:59:09 +02:00
- Fix to [possibly uninizilaized] pyasn1 objects printouts at
MibInstrumController.__indexMib()
- Fix to maxSizeResponseScopedPDU calculation at rfc3414/service.py.
2012-07-22 21:31:30 +02:00
- Dedicated 'withmib' example set is obsolete and removed.
- Another SNMP proxy example app added (1to3.py).
- Fix to MIB modules loading code to make it using __import__() properly.
This also makes pysnmp working again with Python 3.3rc0.
2012-05-15 13:02:11 +02:00
- Typo fix to snmpInASNParseErrs MIB instance object.
- Typo fix to errind.EngineIdMismatch class and its instance.
Revision 4.2.2
--------------
- Oneliner CommandGenerator can now limit the number of SNMP table
rows returned by nextCmd()/bulkCmd() methods.
2011-12-03 13:33:26 +01:00
- Oneliner CommunityData configuration object can now be initialized
with community name only, security name will be chosen automatically.
- Oneliner LCD configuration routines reworked towards clarity. The
side-effect of this change is that repetitive oneliner call with the same
securityName and different configuration options will only honor
the first settings. Previous implementation would override older settings.
2011-12-02 19:42:49 +01:00
- Transport dispatcher now provides its own time expressed in
fractions of second. SNMP engine uses this notion of time for
handling requests timeout to make packet flow time bound
to async I/O core operations rather than to real time.
- The libsmi2pysnmp tool improved to handle incomplete SMI v1->v2
conversion performed by smidump. The remaining core SMIv1 modules
excluded from the core MIB set.
- The pyasn1 constraint and enumeration objects put into ASN1-*
MIB modules what appears to be more in-line with SMI. Existing
MIB modules as well as libsmi2pysnmp tool corrected accordingly.
2012-11-24 08:54:06 +01:00
- SMIv1 MIB modules (including RFC1155 and RFC1213) were moved to
pysnmp-mibs as pysnmp is SMIv2-based.
- The MibBuilder.importSymbols() now takes optional kwargs and
push them into MIB modules globals(). This is to facilitate
passing user infomation, such as DB connection handler, to MIB
module namespace so it could be used by ManagedObjects implementations.
- When running on Python3, SMI will re-raise exceptions with the original
traceback for easier diagnostics.
- Out of PYTHONPATH MIB paths now supported.
- Added pyasn1 decoder failures diagnistics in debug mode.
- Fix to non-MT-safe class attributes at SNMPv3 MP & SEC modules.
- Fix to ContextName handling in bytes form whilst running Python3. Data
mismatch error would return otherwise.
- Fix to SNMPv3 MP peer engine ID discovery not to learn and use
user-specified ContextEngineId.
- Fix to socket.error processing at Py3 on Windows.
- Fix to oneliner GETNEXT/GETBULK implementation to properly support
ignoreNonIncreasingOIDs option.
2012-04-02 18:36:05 +02:00
- Fix to setEndOfMibError()/setNoSuchInstanceError() at v1 PDU not to
loose errorIndex.
- Fix to api.v2c.getVarBindTable() to ignore possible non-rectangular GETBULK
response tables.
- Fix to oneliner getnext/getbulk response table rectangulation procedure
to gracefully handle an empty column condition.
- Fix to legacy MibBuilder.getMibPath() to prevent it from missing
.egg-based components in path.
2011-12-03 13:33:26 +01:00
- Fix to oneliner configuration routine that used to implicitly
tag SNMPv1/v2c auth and transport LCD rows what resulted in
huge delays when processing incoming messages with large number
2011-12-03 13:33:26 +01:00
of peers configured.
- Fix to UDP6 transport handling at rfc2576 security module.
- Fix to SnmpEngineID value autogeneration (used to fail on Mac).
- SNMPv2-SMI.ObjectType.__repr__() fixed to do a repr() on its components.
2011-12-15 15:51:16 +01:00
- All SNMPv2-SMI.MibNode-based objects, once exported to a mibBuilder, will
carry an embedded label symbol.
- Exlicit repr() calls replaced with '%r'
2011-11-10 10:25:49 +01:00
- Fix to error processing at GETNEXT & GETBULK apps response handlers.
- Fix to libsmi2pysnmp to make it supporting long (256+) list of function
params.
- Fix to libsmi2pysnmp to support inheritance of MIB types.
Revision 4.2.1
--------------
- Support string OIDs at one-liner API.
- Code quality of libsmi2pysnmp tool improved, MIBs re-built.
- SNMP-PROXY-MIB & SNMP-USER-BASED-SM-3DES-MIB added
- v1arch bulkgen.py example added
- Major overhawl for Python 2.4 -- 3.2 compatibility:
+ get rid of old-style types
+ drop string module usage
+ switch to rich comparation
+ drop explicit long integer type use
+ map()/filter() replaced with list comprehension
+ apply() replaced with */**args
+ dictionary operations made 2K/3K compatible
+ division operator made 2K/3K compatible
+ sorting function now operates on key
+ iterators returned by some funcs in py3k converted to lists
+ exception syntax made 2K/3K compatible
+ tuple function arguments resolved to scalars to become py3k compatible
+ BER octetstream is now of type bytes (Py3k) or still string (Py2k)
2011-09-10 15:39:45 +02:00
Revision 4.1.16d
----------------
2011-09-21 16:01:52 +02:00
- Fix to SNMPv1 Trap PDU agentAddress setter shortcut method.
2011-09-10 15:39:45 +02:00
2011-08-14 20:43:07 +02:00
Revision 4.1.16c
----------------
- Missing module import fixed in privacy subsystem
2011-03-24 18:21:07 +01:00
Revision 4.1.16b
----------------
- Oneliner CommandGenerator can now optionally ignore non-increasing OIDs.
2011-03-25 09:39:53 +01:00
- Default CommandResponder now skips non-compliant (Counter64) values
when responding to a v1 Manager.
- Fix to state information handling at CommandResponder app.
2011-06-24 08:35:36 +02:00
- Fix to Twisted reactor shutdown condition.
2011-07-22 11:28:12 +02:00
- Fix to distutils dependencies syntax.
2011-03-24 18:21:07 +01:00
2010-12-25 22:50:56 +01:00
Revision 4.1.16a
----------------
- Extended Security Options (3DESEDE, AES192, AES256) privacy
protocols implemented.
2010-12-25 22:50:56 +01:00
- The error-indication codes moved from literals to objects for reliability
and clarity
2011-02-11 08:52:31 +01:00
- Fix to v1.TrapPDUAPI.getVarBinds() to address PDU component at the right
position.
2011-02-27 21:12:26 +01:00
- Fix to rfc1902.Bits initialization from named bits sequence.
- Fix to MIB builder by-extension module filtering code to cope with .pyw
files.
2011-02-11 08:52:31 +01:00
- Internal caches structure improved.
- Sync versions of oneliner apps split off async implementation for clarity.
- Randomize initial in various numeric sequences.
- MsgAndPduDsp expectResponse parameters passing reworked.
- GetNext/GetBulk response processing logic moved to getNextVarBinds()
- Changes towards performance improvement:
+ all dict.has_key() & dict.get() invocations replaced with modern syntax
(this breaks compatibility with Python 2.1 and older).
2011-01-21 20:46:00 +01:00
+ introduce the MibInstrumControlle.readVarsFast() method (which skips
the "testing" phase of MIB value readin) for dealing with internal
configuration (LCD).
+ default debug.logger is now just a zero value instead of an object
what saves big on frequent calls
+ SNMPv2-SMI columnar indices <-> index values convertion code optimized.
+ pre-compute and re-use some of ASN.1 structures.
+ avoid setting PDU defaults to save on unnecessary initialization.
+ skip ASN.1 types verification where possible.
2011-01-23 13:36:32 +01:00
+ at oneliner Command Generator, avoid looking up pure OID arguments
at MIB as it's pointless but takes time.
+ cache MIB columnar objects instance ID <-> symbolic index representation
mapping
2010-12-25 22:50:56 +01:00
2010-07-21 16:38:11 +02:00
Revision 4.1.15a
----------------
- SNMP Proxy example added.
- End-of-MIB condition detection reworked what caused backward
incompatibility at v1arch GETNEXT API. Previous pysnmp versions
used value = None in var-binds as returned by getVarBindTable()
API method. This version uses rfc1905 exception values (v2c/v3)
or pyasn1 Null (v1).
Built-in GETNEXT/GETBULK apps now do not require user to track
end-of-mib conditions anymore -- this is now done automatically.
- CommandResponder API now supports async mode of operation.
- SNMP exception values now exported from rfc1905 module, and made
pretty printable.
- Lexicographic walking mode is now supported at oneliner CommandGenerator.
- ContextEngineId&ContextName parameters passing implemented at
v3arch oneliner API.
- Multiple instances of the same transport domain now supported.
2010-09-23 08:20:06 +02:00
- Initial snmpEngineId value generation improved not to accidentally
collide within an administrative domain.
- MibTableColumn instances now build value-to-column-instance map
to speedup by-value search.
- SNMPv2-CONF::AgentCapabilities macro implemented.
2010-11-29 00:53:13 +01:00
- The libsmi2pysnmp tool handles some more MACROs.
2010-12-01 18:58:21 +01:00
- Void access control module implemented to let apps disabling [default] VACM.
- Allow standard SNMP apps to choose access control method to use.
2010-12-12 23:54:39 +01:00
- Twisted-based CommandResponder example added.
- Fix/rework of Twisted GETNEXT/BULK CommandGenerator callback API to
make it simpler and uniform with other CommandGenerators
- Fix to SNMPv3 security module to store peer SNMP engine timeline
only if taken from an authenticated message. Prior to this fix
SNMP engine was not been protected from spoofing.
- Fix to $SMIPATH initialization at build-pysnmp-mib.
- Fix to maxSizeResponseScopedPDU calculation.
- Fix to Next/Bulk CommandGenerators to catch a non-increasing OID
error condition (what prevents looping).
2010-09-23 08:20:06 +02:00
- Fix to Opaque value tagging at rfc1155.Opaque type.
- Fix to handle (fail gracefully) zero-length user password.
- Fix to SNMP error propagation at Twisted driver (SF tracker ID #3054505).
- Fix to Agent-role snmpEngineId discovery procedure that allows
authenticated ReportPDU generation.
2010-09-23 08:20:06 +02:00
- Fix to SNMPv1 PDU handling at CommandResponder & NotificationReceiver
apps.
- Fix to CommandResponder app to skip Counter64 SMI values when responding
to SNMPv1 Manager.
- Fix to protocol translator code (rfc2576) to handle Counter64 type
in v2c-to-v1 PDU translation.
- Fix to non-response var-binds translation in rfc2576.v2ToV1().
2010-11-06 16:49:01 +01:00
- Fix to wrong exceptions used in pysnmp/entity modules.
- Fix to noauth/nopriv security module so that it would not crash SNMP
engine if called accidentally.
- Fix to CommandResponder not to return out-of-range errorIndex along
with genErr
- Fix to GETBULK CommandResponder to do a by-column MIB walk, not by-raw.
2010-11-14 01:18:33 +01:00
- Fix to getVarBindTable() API function logic.
- Fix to example Manager scripts to use errorIndex when available.
- Fix to dummy encryptData()/decryptData() API
- Fix to oneliner GETBULK table collection code to make it stripping
uneven rows off table tail.
2010-07-21 16:38:11 +02:00
2010-02-24 12:17:30 +01:00
Revision 4.1.14a
----------------
- Fix to maxSizeResponseScopedPDU calculation at USM security module: now
more precise and robust against screwed values on input.
- Fix to MIB loading logic that used to load same-name modules at
disticts search paths on each loadModules() call.
2010-04-16 19:38:25 +02:00
- Fix to AsynsockDispatcher.runDispatcher() to make use of optional
non-default select() timeout value.
2010-04-20 15:03:27 +02:00
- AbstractTransportDispatcher now allows user application registering
multiple timer callbacks each with dedicated call period.
- Asynsock mainloop default idle period reduced to 0.5 sec for better
timer resolution.
- Fix to SNMPv1->SNMPv2c error status handling at proxy module. This
defect may have caused an infinite loop on a multiple var-bind
SNMPv1 GetNext operation.
2010-05-21 09:34:28 +02:00
- Fix to contextName processing at config.addV1System -- typo rendered
passed contextName not committed into LCD.
- Fix to unknown ContextName exception handling at CommandResponder App.
2010-05-21 09:34:28 +02:00
- config.addVacmUser() now accepts an optional contextName what makes
it usable for configuring multiple contextName-bound bases of Managed
Objects to SnmpEngine.
- MP pending states cache management re-worked so that SNMP engine will
now handle an unlimited number of pending request/responses.
2010-06-23 19:43:47 +02:00
- Fix to SNMP discovery procedure: include ContentName in SNMP discovery
2010-06-24 11:11:17 +02:00
messaging.
2010-06-24 20:56:14 +02:00
- Many fixes to AES crypto code that makes it actually working.
2010-06-28 18:04:12 +02:00
- Fix to SNMPv2-SMI createUndo operations.
2010-07-07 17:31:17 +02:00
- Fix to INFORM sending error handling at oneliner.
- Fix to mismatched response PDU handling at CommandGenerator application.
- Debug category 'app' (for Application) added to facilitate
2010-07-10 11:43:29 +02:00
Standard SNMP Applications debugging.
2010-07-12 17:30:13 +02:00
- The retryCount semantic of CommandGenerator application changed to include
2010-07-14 19:29:38 +02:00
sole retries and do not include initial request. Thus, retryCount=1 will
2010-07-12 17:30:13 +02:00
now send up to two packets, not just one as it used to be.
2010-06-24 11:11:17 +02:00
- Debugging printout now escapes non-printable characters.
2010-02-24 12:17:30 +01:00
2010-01-12 18:51:05 +01:00
Revision 4.1.13a
----------------
- UDP over IPv6 transport implemented.
2010-02-05 15:44:45 +01:00
- Fix to MIB tree walking code that used to fail on table columns where
indices have identical leading parts.
2010-02-05 18:04:03 +01:00
- SNMPv1/v2c snmpCommunityTransportTag-based imcoming message filtering
implemented (rfc2576).
2010-01-12 18:51:05 +01:00
Revision 4.1.12a
----------------
2009-09-05 17:23:44 +02:00
- API versioning retired (pysnmp.v4 -> pysnmp).
2009-08-28 21:37:48 +02:00
- MIB loading mechanics re-designed to allow ZIP import.
2009-09-05 17:23:44 +02:00
- MIB loader supports code objects (py[co])
- Installer now uses setuptools for package management whenever available.
2009-08-29 10:08:36 +02:00
- The libsmi2pysnmp tool improved to build constraints of more than
2009-09-05 17:23:44 +02:00
256 items (Python has a limit on the number of function params).
- Missing SNMPTrap PDU API implemented at proto.api.v2c, RFC2576 proxy
code reworked.
- Fix to sysUpTime OID at SNMPv2 TRAP PDU.
2008-06-23 21:50:04 +02:00
Revision 4.1.11a
----------------
2009-07-31 21:59:36 +02:00
- Twisted integration implemented.
2009-08-21 18:12:50 +02:00
- Attempt to use hashlib whenever available.
2009-08-21 18:16:53 +02:00
- Fix to oneliner Manager code on < Python 2.4.
2009-05-22 09:10:09 +02:00
- Let NotificationReceiver and CommandResponder Apps browsing request details
(transport information at the moment) at SNMP engine.
2008-06-23 21:50:04 +02:00
- Fix to config.addV1System() to allow multiple systems to co-exist in LCD.
2008-08-03 22:28:26 +02:00
- Fix to wrongly succeeding user-parameters-by-community-name searching code
in rfc2576 processIncomingMsg() method.
2008-10-06 15:34:14 +02:00
- Do sanity checking on PYSNMP_MODULE_ID, Groups and Notifications in
libsmi2pysnmp (SF bug #2122489).
2008-11-10 00:14:05 +01:00
- Fix to oneliner Notification Originator that sometimes used to send multiple
requests at once.
- Oneliners LCD names generation code reworked to avoid accidental clashes.
2008-11-12 17:54:24 +01:00
- Fix and re-work of sysUpTime value management in LCD.
2008-11-13 02:13:11 +01:00
- Fix to pending inform request data caching in mpmod/rfc2576.py -- previous
code led to cache data corruption on multple outstanding requests.
2008-11-10 00:14:05 +01:00
- In SMI configuration wrapper functions, catch access to non-configured
2008-10-06 15:34:14 +02:00
entries and raise an exception.
2008-11-22 19:49:34 +01:00
- Allow multuple callback timer functions in all transport dispatchers.
2008-11-24 13:10:35 +01:00
- Fix to libsmi2pysnmp code to preserve more underscored object names and
to guess the right type between indistinguishable ObjectGroup &
NotificationGroup
2009-01-14 16:00:14 +01:00
- Fix to MibScalarInstance value setting logic - previous code failed
when modifying the same OID multiple times within a single SET operation.
2009-07-31 21:59:36 +02:00
- Minor usability improvements to tools/build-pysnmp-mib.
2009-05-18 19:27:54 +02:00
- Made MIB objects unexport feature operational.
2008-06-23 21:50:04 +02:00
2008-02-05 21:12:22 +01:00
Revision 4.1.10a
----------------
2007-12-20 14:30:03 +01:00
- Internal MIB indexing method __indexMib() unmangled to facilitate
setting up mutex there for sharing MIB stuff between threads.
2008-01-14 19:07:01 +01:00
- Fixed broken IpAddress value handling in SET operation.
2008-02-05 21:12:22 +01:00
- Broken MibBuilder.unloadModules() method now works.
2008-02-04 09:52:22 +01:00
- Use getLabel() SMI object method when building MIB tree (in builder.py)
in addition to direct attribute access for clearer object protocol.
2008-02-05 21:12:22 +01:00
- The MIB building tools updated to match significantly improved
smidump tool (libsmi version > 0.4.5).
2008-02-04 09:52:22 +01:00
- Made libsmi2pysnmp tool optionally building MIB text fields into pysnmp
MIB code (enabled by default) and MibBuilder conditionally loading them
up (disabled by default).
2008-02-05 21:12:22 +01:00
- SnmpEngine and MsgAndPduDispatcher constructors now optionally
take msgAndPduDspr and mibInstrumController class instances
respectively to facilitate these objects sharing within a process.
2008-04-27 23:49:17 +02:00
- Unique integers, for various parts of the system, are now generated
by a nextid.py module. This fixes possible issues with duplicate
request IDs and handlers.
2008-02-05 21:12:22 +01:00
- Built-in MIBs re-generated to include text fields.
2007-12-20 14:30:03 +01:00
2007-08-15 12:02:46 +02:00
Revision 4.1.9a
---------------
- UNSTABLE ALPHA RELEASE.
- At onliner CommandGenerator, close transport on destruction to
2007-09-03 09:16:34 +02:00
prevent socket leak. Implicit async transports registration at
default asyncore's socket map has been disabled to avoid side
effects.
2007-08-15 15:39:39 +02:00
- Fix to rfc2576.v1ToV2c() PDU converter to perform noSuchName error code
translation.
2007-10-05 19:50:10 +02:00
- Fixes to Notification PDU convertion code at rfc2576 in part of
snmpTrapOID handling.
2007-08-29 07:58:55 +02:00
- Fix to nonRepeaters object use as sequence slicer (must be int) at
cmdrsp.CommandResponderApplication
2007-11-16 09:56:20 +01:00
- Make AsynsockDispatcher using its own socket map by default for
threading safety. This will break asyncore apps that rely on pysnmp
sharing the same socket map with them. A solution would be to either
set asyncore map to pysnmp (AsynsockDispatcher.setSocketMap()) or pass
pysnmp map (AsynsockDispatcher.getSocketMap()) to asyncore.
2007-11-23 11:33:14 +01:00
- Fix to response timeout roundup bug at CommandGenerator and
NotificationOriginator code.
2007-11-23 12:36:37 +01:00
- Oneline configuration classes made hashable to prevent memory leaks
when committing them into CommandGenerator/NotificationOriginator
internal repository.
2007-11-26 13:30:00 +01:00
- Security information is now released properly in all MP modules.
2007-11-25 21:21:59 +01:00
This might fix a significant memory leak.
- Typo fix to rfc3411 confirmed class PDU members.
2007-08-15 12:02:46 +02:00
2007-02-24 23:47:40 +01:00
Revision 4.1.8a
---------------
- UNSTABLE ALPHA RELEASE.
- SMI/dispatcher timeout convertion multiplier is actually 100 (1/100 sec)
rather than 1/1000. This fix affects timeouts specified through SMI.
2007-04-03 16:39:29 +02:00
- __repr__() implemented for UdpTransportTarget, CommunityData, UsmUserData
in oneliner module.
2007-03-25 22:45:42 +02:00
- Automatically initialize table index values on table management
operations (SF bug ID #1671989).
2007-03-20 17:36:30 +01:00
- Fix to carrier code: ignore BADFD socket error as it may happen upon
FD closure on n-1 select() event.
2007-03-21 15:16:44 +01:00
- Fix to MibBuilder.setMibPath() to preserve previously loaded modules
intact. Otherwise loadModules() called after setMibPath() might fail
with 'MIB file not found in search path' exception.
2007-03-22 18:42:58 +01:00
- Fix to oneliner classes that now invoke unconfiguration methods on
destruction. This might have caused memory leaks.
2007-03-29 20:35:34 +02:00
- Automatically initialize SNMP-USER-BASED-SM-MIB::UsmUserSecurityName
columnar object instance on creation, as stated in DESCRIPTION (SF
tracker ID #1620392).
2007-03-30 07:58:42 +02:00
- Fix to USM timeframe arithmetics (SF bug #1649032).
2007-04-02 17:59:19 +02:00
- VACM shortcuts merged into universal add/delVacmUser() to let notifications
and requests to co-exist for the same user.
2007-04-03 17:00:34 +02:00
- At oneliners, build LCD tables keys from a hashed mix of input parameters
to make sure these automatic entries won't interfere or exceed constraints
on keys values.
2007-05-28 17:22:37 +02:00
- Made use of notificationType parameter of the sendNotification method
2009-05-22 09:10:09 +02:00
in NotificationOriginator applications. This parameter used to be
2007-05-28 17:22:37 +02:00
ignored in the past. Note, that previously used (and ignored) syntax
has been changed in an incompatible way.
2007-05-28 19:42:25 +02:00
- Allow plain Python values in setCmd() and sendNotification()
2009-05-22 09:10:09 +02:00
methods in CommandGenerator and NotificationOriginator applications
2007-05-28 19:42:25 +02:00
respectively.
2007-04-03 17:25:02 +02:00
- Multi-target oneliner API-based example script added.
2007-04-04 08:31:58 +02:00
- Ignore more socket errors in datagram-type async socket code.
2007-07-09 15:39:47 +02:00
- AES cipher now supported (rfc3826).
2007-07-12 18:23:50 +02:00
- Fix to messed up tagIDs of noSuchInstance and noSuchObject types.
2007-08-11 09:59:56 +02:00
- SET Command Responder fixed to obscure access to non-existing variables
2007-08-11 10:05:33 +02:00
by returning notWritable error (SF bug #1764839).
2007-08-13 18:11:29 +02:00
- AsynsockDispatcher.setSocketMap() method added to facilitate pysnmp
transport integration into third-party asyncore-based applications.
2007-08-14 10:18:59 +02:00
- Fix to errorIndex generation at CommandResponder application, the value
should be a one-based.
2007-02-24 23:47:40 +01:00
2006-06-05 13:35:19 +02:00
Revision 4.1.7a
---------------
- UNSTABLE ALPHA RELEASE.
2006-09-06 18:45:14 +02:00
- Low-level debugging facility implemented.
2006-11-03 23:20:39 +01:00
- Support UdpTransportTarget timeout and retries parameters in oneliner API.
2006-06-05 13:35:19 +02:00
- Fix to snmpTrapOID construction at ...proxy.rfc2576.v1ToV2()
function.
2006-06-15 00:10:08 +02:00
- Fix to MibViewController.getNodeName() to take MIB module name
into account (SF bug #1505847).
2006-11-15 16:33:09 +01:00
- Do explicit check for Counter32,Unsigned32,TimeTicks,Counter64 value types
in MibTableRow index convertion and in TextualConvention.prettyPrint()
methods (SF bug #1506341). Handle Bits in indices as RFC2578 suggests.
2006-06-20 15:13:57 +02:00
- Apply read-create column status to libsmi2pysnmp-generated code
whenever MIB text specifies that (SF bug #1508955).
2006-06-20 19:08:52 +02:00
- Honor and apply DISPLAY-HINT specification when building TextualConvention
class at libsmi2pysnmp.
2006-06-23 23:23:15 +02:00
- Managed Objects Instances files (smi/mibs/instances/) are now
double-underscore prefixed to make them imported explicitly by these
prefixed names. They used to be imported as a side-effect of
Managed Objects files import what is way too hackerish.
2006-07-12 10:54:12 +02:00
- The libsmi2pysnmp now supports future libsmi bugfix that would generate
2006-11-16 18:48:57 +01:00
"ranges" subtree along with the legacy and ambiguous "range" one.
2007-02-07 14:05:29 +01:00
- SMI support for fixed-length string indices implemented (SF bug #1584799,
#1653908).
2006-09-03 22:41:30 +02:00
- Managed Object Instances may now have smiRead, smiWrite, smiCreate methods
to support specific value mangling. These methods, if present, would be
invoked from SNMP [Agent] core instead of conventional clone() method.
The reason is to separate trivial value duplication from specific
Instance value mangling that may have Agent-specific side effects
(such as RowStatus).
2006-09-09 23:20:56 +02:00
- MIB table row destruction now works (SF bug #1555010).
2007-01-18 19:40:17 +01:00
- LCD unconfiguration functions for oneliners implemented (SF bug #1635270).
2007-02-05 19:54:45 +01:00
- unloadModules() and unexportSymbols() implemented at MibBuilder
2006-09-29 23:57:00 +02:00
- Notification type PDU proxy code fixed to produce symmetrical
convertion.
2006-09-20 19:42:17 +02:00
- Various SNMP engine-internal caches expiration implemented.
2006-10-01 21:22:00 +02:00
- SMI-level access control now takes effect only if AC object is
passed to MIB instrumentation API.
- LCD management code now uses generic MIB instrumentation features.
2006-10-31 00:11:33 +01:00
- Fix to oneliner manager code to have individual UdpSocketTransport
instance per each SnmpEngine. Multithreaded apps might fail otherwise.
(SF bug ID #1586420).
2007-01-09 20:16:28 +01:00
- Exclude the PYSNMP_MODULE_ID symbol from MIB view index, as it may get
resolved into OID label instead of actual MIB object name.
2006-12-21 00:27:58 +01:00
- Memory leak fixed in indices.OidOrderedDict implementation.
2007-01-13 14:55:08 +01:00
- Fix to VACM shortcuts to let notifications and requests to co-exist
for the same user otherwise.
2007-07-09 15:39:47 +02:00
- Fix to ...oneliner.cmdgen.UsmUserData to support non-default ciphers.
2007-02-14 07:47:23 +01:00
- USM now uses local notion of snmpEngineBoots/Time when authoritative
and cached estimate otherwise. Also, a security fix applied to to USM
time-window verification (SF bug #1649032).
2007-01-29 19:14:57 +01:00
- Fix to notification objects resolution code at
NotificationOriginator.sendNotification()
2007-02-16 09:35:02 +01:00
- Do not raise securityLevel for USM error reports that lacks user
2007-07-09 15:39:47 +02:00
information, as these reports could never be ciphered (SF bug #1624720).
2007-02-15 17:34:59 +01:00
- Non-default BULK PDU params now actually applied.
2007-02-19 09:23:02 +01:00
- SnmpEngineID default value generation algorithmic function changed
to allow multiple SNMP engines running on the same host.
2007-02-15 18:30:51 +01:00
- Documentation updated.
2006-08-10 10:27:32 +02:00
- A handful of minor fixes applied (SourceForge tracker IDs #1537592,
2006-12-13 21:00:35 +01:00
#1537600, #1537659, #1548208, #1560939, #1563715, #1575697, #1599220,
2006-12-15 23:53:03 +01:00
#1615077, #1615365, #1616579).
2006-06-05 13:35:19 +02:00
2005-12-09 18:27:15 +01:00
Revision 4.1.6a
---------------
- UNSTABLE ALPHA RELEASE.
- pysnmpUsmSecretAuthKey and pysnmpUsmSecretPrivKey length increased
up to 256 octets. There seems no limit on this in RFC, though.
2006-01-17 17:12:23 +01:00
- A workaround for probably broken Agents: SNMPv3 Manager code defaults
ContextEngineId to SecurityEngineId whenever ContextEngineId is not
reported by authoritative SNMP engine on discovery.
2006-04-05 10:49:40 +02:00
- Use empty PDU in engine-discovery report at mpmod/rfc3412.py.
2006-03-06 18:34:37 +01:00
- MibBuilder.loadModules() now fails on missing MIB files.
2006-04-05 10:31:55 +02:00
- MibBuilder.exportSymbols() now accepts unnamed objects (likely Managed
Objects Instances)
2006-05-21 13:26:38 +02:00
- SNMPv2-SMI.MibScalarInstance objects now support create*/destroy*
Management Instrumentation methods to pass Columnar Object creation and
removal events. MibTableColumn class invoke these methods accordingly.
- Fix to AsynNotificationOriginator.asyncSendNotification() callback
formal parameters
- Initial VACM configuration implemented according to rfc3415 Appendix 1
2006-04-05 10:17:32 +02:00
- tools/buildmibs.sh split-up and re-implemented as tools/build-pysnmp-mib
and pysnmp-mibs/tools/rebuild-pysnmp-mibs for better usability. These
and libsmi2pysnmp scripts made installable.
2006-03-06 18:34:37 +01:00
- Types/Notifications/Groups exportSymbols() call chunking implemented
in tools/libsmi2pysnmp
2006-04-24 18:33:27 +02:00
- Initial values specified to pyasn1 types to comply with latest pyasn1 API.
2006-05-21 13:26:38 +02:00
- Documentation improved
2005-12-16 16:43:09 +01:00
- Minor fixes towards Python 1.5 compatibility
2005-12-09 18:27:15 +01:00
2005-09-29 16:59:17 +02:00
Revision 4.1.5a
---------------
- UNSTABLE ALPHA RELEASE.
2005-10-14 15:15:39 +02:00
- Multi-lingual SNMP Trap/Inform Applications completed; examples added
2005-10-26 23:40:41 +02:00
- SMI model re-designed to make a clear separation between
Managed Objects and their specification (AKA Agent and Manager side)
2005-09-29 16:59:17 +02:00
- SNMP SET Application support completed
- Minor, though backward incompatible, changes to one-liner API
2005-10-14 15:15:39 +02:00
- Many bugfixes
2005-09-29 16:59:17 +02:00
2005-08-05 16:31:02 +02:00
Revision 4.1.4a
---------------
- UNSTABLE ALPHA RELEASE.
- SHA-based authentication fixed and privacy implemented
- ...oneliner.cmdgen.UsmUserData constructor now takes
authProtocol and privProtocol parameters in a backward incompatible
manner.
2005-07-27 21:13:44 +02:00
Revision 4.1.3a
---------------
- UNSTABLE ALPHA RELEASE.
- rfc3413 applications API changes (related to callback function
behaviour).
- TransportDispatcher now provides "jobs" interface to clients
for better control of dispatcher's execution.
- Many minor fixes.
2005-07-12 10:41:44 +02:00
Revision 4.1.2a
---------------
- UNSTABLE ALPHA RELEASE.
2005-07-12 15:50:08 +02:00
- Top-level application classes renamed into longer, self descripting names
for clarity.
- CommandResponder & NotificationOriginator applications now uses
stand-alone SnmpContext for application registration.
2005-07-12 15:25:32 +02:00
- Many minor fixes (inspired by testing on WinXP)
2005-07-12 10:41:44 +02:00
2005-06-28 23:39:11 +02:00
Revision 4.1.1a
---------------
2005-03-01 16:38:24 +01:00
2005-06-28 23:39:11 +02:00
- UNSTABLE ALPHA RELEASE.
- SNMPv3 code first published
- SNMP engine and applications implemented on library level
- Major re-design towards SNMPv3-style API.
2005-03-01 16:38:24 +01:00
2005-06-28 23:39:11 +02:00
Release 4.0.2a
--------------
2005-03-01 16:38:24 +01:00
2005-06-28 23:39:11 +02:00
- Adopted to slightly changed asyncore API (as shipped with python 2,4)
2004-11-18 10:47:50 +01:00
2005-06-28 23:39:11 +02:00
Release 4.0.1a
--------------
2004-11-18 10:47:50 +01:00
- Minor bug/typo fixes, mostly in example/ scripts.
2005-06-28 23:39:11 +02:00
Release 4.0.0a
--------------
2004-11-15 14:23:55 +01:00
- UNSTABLE EARLY ALPHA RELEASE.
2004-11-08 21:03:59 +01:00
- Major re-design and re-implementation.
2004-11-15 14:11:44 +01:00
- Rudimental API versioning implemented to let incompatible package
branches to co-exist within the same Python installation.
2004-11-08 21:03:59 +01:00
- SMI framework designed and implemented. This framework provides
1) various access to MIB data 2) a way to implement custom MIB
instrumentation objects. There's also a tool for building SMI classes
from libsmi(3) output (smidump -f python).
- ASN.1 subtyping machinery implemented. Now dynamic ASN.1 instances
subtyping and quering becomes available. Previously, this has been done
through Python classes inheritance what proved to be a wrong concept.
- ASN.1 codecs framework re-designed and re-implemented aimed at a more
consistent design and better performance. Highlights include abstract
codec interface and serialized data caching (at encoder).
2004-11-08 21:03:59 +01:00
- Asn1Item constraints machinery re-implemented based on Mike C. Fletcher's
design and code. Now various constrains are implemented as stand-alone
objects serving interested Asn1Object derivatives through some abstract
protocol (that's probably the Decorator design pattern).
2004-11-08 21:03:59 +01:00
- ASN.1 tagging facility re-implemented along the client-server design
pattern. Besides this seems to be a more appropriate design, it allows
an easier way for dynamic subtyping.