- Update to version 7.1.4
* Dumped pysnmpcrypto dependency and bind to cryptography if
presented.
- Update to version 7.1.3
* Fixed a bulkCmd IndexError bug.
* Cleaned up nextCmd/bulkCmd related code.
* Revised docs and examples accordingly.
- Update to version 7.1.2
* Revised v1arch hlapi and its docs/examples.
* Revised nextCmd, bulkCmd, walkCmd, and bulkWalkCmd returned
collections.
* Moved Slim class to v1arch.
OBS-URL: https://build.opensuse.org/request/show/1202043
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=59
- Update to version 7.1.1
* Reimplemented walkCmd and bulkWalkCmd.
- Update to version 7.1.0
* Removed pyasn1.compat dependency.
* Switched to async DNS resolver.
- Update to version 7.0.3
* The high-level API (hlapi) extended to cover lightweight SNMP
v1arch in hope to ease the use of packet-level SNMP API.
* The signature of the hlapi .sendNotification() call has changed
to accept *varBinds instead of a sequence of varBinds.
- Update to version 7.0.2
* Fixed a duplicate item issue in bulkWalkCmd.
- Update to version 7.0.1
* Many really old backward-compatibility code snippets removed.
Most importantly, everything related to (non-standard) UNIX
domain socket transport are gone.
* The MIB instrumentation API overhauled in backward incompatible
way:
+ MIB instrumentation methods signatures simplified to accept
just var-binds (as var-arg), the rest of the parameters
packed into opaque kwargs
+ CommandResponder application passes snmpEngine and optionally
user-supplied cbCtx object throughout the MIB instrumentation
methods. The goal is to let MIB objects access/modify whatever
custom Python objects they need while being called back.
* Cherry-picked many minor fixes from etingof/master branch.
- Update to version 7.0.0
* Applied PEP8 recommended names.
This breaks backward compatibility.
- Update to version 6.2.6
OBS-URL: https://build.opensuse.org/request/show/1200703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=57
- Update to version 6.2.4
* Deleted more obsolete items.
- Update to version 6.2.3
* Removed unused dependencies.
- Enable tests
- Get source from pypi, github tag doesn't have the latest version and
looks like the releases are not done in the github.
- Update to version 6.2.2
* Cleaned up sync API leftover.
* Retired temporary sync API.
* Removed package postfix. A helper release to enable migration.
* Merged changes from 4.4.13.
* Fixed more access descriptors.
* Initial work to support pysmi-lextudio 1.3.0 and above.
* Removed package postfix. A helper release to enable migration.
* Restricted pysmi-lextudio version to 1.2.0 to avoid
breaking changes.
* Fixed walkCmd bug.
* Fixed bulkWalkCmd bug.
* Added sync oneliner back.
* Fix annotations.
* Added walkCmd() and bulkWalkCmd() to hlapi.
* Improved Slim class to support IPv6.
* Added some sync API based on asyncio.
* Added custom socket support in openServerMode.
* Fixed various bugs in RFC3414 error handling.
* Reverted some changes in 6.0.2 on asyncio dispatch.
* Deleted asyncore related bits.
* Simplified asyncio dispatch.
OBS-URL: https://build.opensuse.org/request/show/1190192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysnmp?expand=0&rev=19
- Update to version 6.6.2
* Deleted more obsolete items.
* Removed unused dependencies.
* Cleaned up sync API leftover.
* Retired temporary sync API.
* Removed package postfix. A helper release to enable migration.
* Merged changes from 4.4.13.
* Fixed more access descriptors.
* Initial work to support pysmi-lextudio 1.3.0 and above.
* Removed package postfix. A helper release to enable migration.
* Restricted pysmi-lextudio version to 1.2.0 to avoid
breaking changes.
* Fixed walkCmd bug.
* Fixed bulkWalkCmd bug.
* Added sync oneliner back.
* Fix annotations.
* Added walkCmd() and bulkWalkCmd() to hlapi.
* Improved Slim class to support IPv6.
* Added some sync API based on asyncio.
* Added custom socket support in openServerMode.
* Fixed various bugs in RFC3414 error handling.
* Reverted some changes in 6.0.2 on asyncio dispatch.
* Deleted asyncore related bits.
* Simplified asyncio dispatch.
* Added ignoreNonIncreasingOid option to nextCmd and bulkCmd.
* Fixed a dispatch bug related to "Slim.close".
* Improved asyncio "runDispatcher" method to support timeout.
* Changed internal defaults to asyncio.
* Converted asyncore samples to asyncio.
- Update to version 5.1.0
OBS-URL: https://build.opensuse.org/request/show/1188794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=53
- use poetry-core for building
- Update to version 4.4.6
+ Promote the use of dedicated classes for dealing with OID-value pairs.
Instances of those classes resemble OBJECT-IDENTITY, OBJECT-TYPE and
+ 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
+ Synchronous oneliner apps redesigned to offer Python generator-based
+ Twisted API moved entirely into high-level domain to be aligned with
+ Sphinx documentation added to source code and example scripts. Library
+ Execution Observer facility implemented to give app an inside view of SNMP
(and modifying) various internal states of pysnmp engine. Previously
introduced non-standard APIs (like getting peer’s transport endpoint which
+ Responding to SNMP requests from exactly the same IP address the query
+ Internal oneliner apps configuration cache moved from respective apps
objects to [a singular] snmpEngine “user context” object. That would allow
for better cache reuse and allow for a single app working with many
+ Oneliner GETBULK Command Generator now strips possible excessive OIDs off
+ Constraints assignment shortcut added to some base rfc1902 types (Integer,
+ Examples on a single Transport Dispatcher use with multiple SnmpEngine
+ AbstractTransportDispatcher’s jobStarted() and jobFinished() methods now
+ Oneliner transport object now supports setLocalAddress() method to force
+ New public DgramSocketTransport.getLocalAddress() returns local endpoint
+ Change to rfc2576.v1tov2() logic: errorStatus = noSuchName is now
on the platform. It would help handling a really large number (>1024)
addV3User() functions as well as to their oneliner's wrappers.
in both Generator and Responder modes and better follow RFC2576
OBS-URL: https://build.opensuse.org/request/show/1143200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysnmp?expand=0&rev=18
- Update to version 4.4.6
+ Promote the use of dedicated classes for dealing with OID-value pairs.
Instances of those classes resemble OBJECT-IDENTITY, OBJECT-TYPE and
+ 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
+ Synchronous oneliner apps redesigned to offer Python generator-based
+ Twisted API moved entirely into high-level domain to be aligned with
+ Sphinx documentation added to source code and example scripts. Library
+ Execution Observer facility implemented to give app an inside view of SNMP
(and modifying) various internal states of pysnmp engine. Previously
introduced non-standard APIs (like getting peer’s transport endpoint which
+ Responding to SNMP requests from exactly the same IP address the query
+ Internal oneliner apps configuration cache moved from respective apps
objects to [a singular] snmpEngine “user context” object. That would allow
for better cache reuse and allow for a single app working with many
+ Oneliner GETBULK Command Generator now strips possible excessive OIDs off
+ Constraints assignment shortcut added to some base rfc1902 types (Integer,
+ Examples on a single Transport Dispatcher use with multiple SnmpEngine
+ AbstractTransportDispatcher’s jobStarted() and jobFinished() methods now
+ Oneliner transport object now supports setLocalAddress() method to force
+ New public DgramSocketTransport.getLocalAddress() returns local endpoint
+ Change to rfc2576.v1tov2() logic: errorStatus = noSuchName is now
on the platform. It would help handling a really large number (>1024)
addV3User() functions as well as to their oneliner's wrappers.
in both Generator and Responder modes and better follow RFC2576
untagged snmpCommunityTable entries will *not* match tagged
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=51
- Switch to lextudio releases, and upgrade to 5.0.28:
* 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/request/show/1101627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysnmp?expand=0&rev=17
* 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/346345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysnmp?expand=0&rev=3
- 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