* Fixed SNMP engine ID generation on Windows.
* SNMPv3 crypto operations that require external dependencies
made dependent on the optional external
package -- pysnmpcrypto.
* Added Slim class and simplified some examples.
* Fixed a #SNMP demo compatibility issue.
* Fixed passwordToKeySHA.
* Enabled Python 3.11 support.
* Switched to pyasn1/pyasn1 package.
* Removed legacy paddings in v3 packets.
* Changed web site to pysnmp.com.
* Inherited all changes made by Splunk team.
- Switch to pyproject macros.
- Add patch support-new-pyasn1.patch:
* Support pyasn1 0.5.0.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=49
- Update to version 4.4.10
* Reworked VACM access control function. Most important changes include:
+ Added subtree match negation support (vacmViewTreeFamilyType)
+ Added subtree family mask support (vacmViewTreeFamilyMask)
+ Added prefix content name matching support (vacmAccessContextMatch)
+ Added key VACM tables caching for better `isAccessAllowed` lookup
performance
One potential incompatibility may be caused by the `addContext()` call
which now needs to be made explicitly during low-level VACM configuration
rather than be a side effect of `addVacmAccess()` call.
* Rebased MIB importing code onto `importlib` because `imp` is long
deprecated
* Received MIB objects resolution made more forgiving to errors, added
optional `ignoreErrors` parameter to `ObjectType.resolveWithMib()` to
control that behaviour.
* Fixed asyncore main loop to respect non-default timer resolution
* Fixed `.setTimerResolution()` behaviour of abstract main loop dispatcher
to update call intervals of the existing periodic dispatcher jobs
* Fixed `var-bindings` initialization to prevent pyasn1 encoder failures
with newer pyasn1 versions where `SequenceOf` type looses its default
initializer.
* Fixed crash on uninitialized component serialization left out in
SNMP v1 TRAP PDU to SNMPv2/3 TRAP PDU proxy translation routine.
OBS-URL: https://build.opensuse.org/request/show/720117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=41
- Update to version 4.4.8
* Fixed Pythonized MIB load (in the source form) - made sure to
turn it into a code object prior to its execution
- Update to version 4.4.7
* Exposed ASN.1 `Null` type through `rfc1902` module for
convenience.
* Use `compile()` before `exec`'ing MIB modules to attach filename
to the stack frames (ultimately shown in traceback/debugger)
* Fixed hlapi/v3arch transport target caching to ensure transport
targets are different even if just timeout/retries options differ
* Fixed hlapi LCD configurator to include `contextName`. Prior to
this fix sending SNMPv3 TRAP with non-default `contextName` would
fail.
* Fixed possible duplicate key occurrence in the `OrderedDict`
following a race condition
* Fixed undefined name references in `inet_pton`/`inet_ntop`
substitute routines for IPv6 in `TRANSPORT-ADDRESS-MIB.py`
OBS-URL: https://build.opensuse.org/request/show/664286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=37
- Update to version 4.4.6
* Improved package build and dependency tracking
* Fixed missing LICENSE from the tarball distribution
* Fixed CommandGeneratorLcdConfigurator.unconfigure() to fully
clean up internal caches, otherwise repetitive attempts to
configure the target would fail.
* Fix to tolerate possible duplicate enumerations in Bits and
IntegerSMI types.
* Fix to tolerate non-initialised entries in SNMP community table.
Once a bad entry sneaked into the SNMP community table, all
the subsequent SNMP v1/v2c operations failed. The fix ignores
incomplete SNMP community table entries in the course of
building indices.
This is a bug fix release addressing a handful of accumulated bugs.
OBS-URL: https://build.opensuse.org/request/show/652206
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=33
- Update to version 4.4.5
* Added PySnmpError.cause attribute holding parent exception tuple
* Fixed broken InetAddressType rendering caused by a pyasn1 regression
* Fixed typo in RFC1158 module
* Fixed possible infinite loop in GETBULK response PDU builder
* Fixed memory leak in the `config.delContext()` VACM management harness
* Fixed `Bits` class initialization when enumeration values are given
* Fixed crash caused by incoming SNMPv3 message requesting SNMPv1/v2c
security model
* Fixed out-of-scope OIDs leaking at the end of SNMP table at hlapi
`nextCmd` and `bulkCmd` calls when `lexicographicMode = False`
OBS-URL: https://build.opensuse.org/request/show/627804
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=29
- Fix license
- Update to 4.4.4:
* Copyright notice extended to the year 2018
* Fixed short local key expansion at 3DES key localization
implementation.
- Update to 4.4.3:
* Migrated references from SourceForge
* Added missing SHA2 support for Blumenthal key localization
* Fixed named bits handling at rfc1902.Bits
* Fixed missing SmiError exception class at pysnmp.proto.rfc1155
* Fixed SNMP v1->v2c PDU proxy -- error-status & error-index fields
from v1 PDU get copied over to v2c PDU in addition to the exception
sentinels being set
- Update to 4.4.2:
* The pysnmp version being used gets exposed to the MIB modules
via the `MibBuilder` instance
* The .setObjects() method of the SMI types now accepts
`append=False` parameter to let the caller adding more
than 255 elements over the course of multiple calls
* Added support for some more missing fields of SMIv2 MACRO types
* Example scripts rearranged in a way that IPv6 requirement is
clearly encoded in the script's name
* Fixed SNMPv2-SMI.NotificationType to expose .set/getReference()
instead of .set/getRevision() which should not be there in the
first place
* Fixed non-implied-OID encoding in SNMP table indices
* Fixed inconsistent SNMPv3 discovery and retrying algorithm
- Update to 4.4.1:
* HMAC-SHA-2 Authentication Protocols support added (RFC-7860)
OBS-URL: https://build.opensuse.org/request/show/620239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=27
- update to 4.3.9:
- Deprecated UsmUserData initializaton parameters removed
- Adapted to pyasn1 API changes introduced by release 0.3.1
- Fix to a crash happening on inbound SNMP message having non-initialized
fields
- Fix to (persistent SNMP engine ID) file writing on Windows
- Security fix to the bug introduced in 4.3.6: msgAuthoritativeEngineTime
stopped changing over time and was returning the same timestamp (process
start time). This fix makes it growing as it should.
* Fixed import error in legacy NotificationOriginator implementation
- More instrumentation hooks added addressing security failures
auditing needs.
- SNMP table indices correlation implemented within SMI framework.
The opaque InetAddress type implemented. INET-ADDRESS-MIB included
into the distribution.
- SNMP table indices resolution logic made more robust against
malformed indices.
- Fixes to *lexicographicMode* option documentation to make it
unambiguous.
- The `ErrorIndication` object is now derived from `Exception` so
that it could be raised in exceptions.
- The `errorIndication` values produced by various parts of
SNMP engine unified to be `ErrorIndication` instances. This fixes
an issue with Twisted.
- Embedded MIB modules rebuilt with the latest pysmi adding previously
missing attributes like `status`, `description` etc.
- Fixed potential SNMP engine crash on handling incoming message
at unsupported security level
- The getNext() and getBulk() calls of Twisted interface.
now support ignoreNonIncreasingOid option.
OBS-URL: https://build.opensuse.org/request/show/518732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=24
- updated to 4.3.0
+ Critical error fixed in key localization procedure for AES192/AES256/3DES
cyphers. Previous versions might never worked properly in this respect.
Initial PySMI integration. Original ASN.1 MIBs could now be parsed, stored
at a local pysnmp MIBs repository and loaded into SNMP Engine. Relevant
example scripts added. Obsolete libsmi-based scripts removed.
+ Major rewrite of native SNMPv3 CommandGenerator and NotificationOriginator
applications towards the following goals:
+ avoid binding to specific SNMP engine instance to promote single SNMP
app instance using many SNMP engine instances
+ support two APIs for working with request data: one operates on the
whole PDU object while the other on PDU contents
+ keep callback context data in stack rather than in stateful application
cache
+ newly introduced sendVarBinds() method offers a more functional and
logical signatures.
+ Promote the use of dedicated classes for dealing with OID-value pairs.
Instances of those classes resemble OBJECT-IDENTITY, OBJECT-TYPE and
NOTIFICATION-TYPE MIB structures.
+ Oneliner API reworked to become more generic: its LCD configuration
shortcuts and and var-bindings processing code split off SNMP apps
classes to stand-alone objects. The whole API also moved up in package
naming hierarchy and becomes ‘pysnmp.hlapi.asyncore’ (hlapi is
apparently an African fish). Old oneliner API remains fully operational
at its original location.
+ Synchronous oneliner apps redesigned to offer Python generator-based
API along with a more comprehensive set of accepted parameters.
+ Asyncore-based asynchronous apps reworked to become functions.
+ Twisted API moved entirely into high-level domain to be aligned with
other high-level APIs. This WILL BREAK backward compatibility for those
OBS-URL: https://build.opensuse.org/request/show/336886
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=20
- 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)
- 4.1.16d
- Fix to SNMPv1 Trap PDU agentAddress setter shortcut method.
- 4.1.16c
- Missing module import fixed in privacy subsystem
- 4.1.16b
- Oneliner CommandGenerator can now optionally ignore non-increasing OIDs.
- Default CommandResponder now skips non-compliant (Counter64) values
when responding to a v1 Manager.
- Fix to state information handling at CommandResponder app.
- Fix to Twisted reactor shutdown condition.
- Fix to distutils dependencies syntax.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=13
- 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.
- Fix to AsynsockDispatcher.runDispatcher() to make use of optional
non-default select() timeout value.
- 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.
- Fix to contextName processing at config.addV1System -- typo rendered
passed contextName not committed into LCD.
- Fix to unknown ContextName exception handling at CommandResponder App.
- 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.
- Fix to SNMP discovery procedure: include ContentName in SNMP discovery
messaging.
- Many fixes to AES crypto code that makes it actually working.
- Fix to SNMPv2-SMI createUndo operations.
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=10