summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop Python < 2.6 except statement compatibility trickIlya Etingof2019-02-0926-169/+158
|
* Drop Python < 2.6 kwargs expansion compatibility trickIlya Etingof2019-02-0912-64/+64
|
* Release 4.4.9Ilya Etingof2019-02-091-3/+3
|
* Add missing SNMP PDU error classesIlya Etingof2019-02-084-14/+45
| | | | | Added missing SNMP PDU error classes and their handling in Command Responder
* Fix IPV6_TRANSPARENT socket optionIlya Etingof2019-02-073-2/+5
|
* Do not set IP_PKTINFO socket option on IPv6 socketIlya Etingof2019-02-072-4/+3
| | | | | Trying to understand why sendmsg() fails on a transparent IPv6 socket
* Improve IPV6 debuggingIlya Etingof2019-02-072-4/+12
|
* Fix socket iov blob dump in debugIlya Etingof2019-02-071-3/+5
|
* Add `IPV6_V6ONLY` IPV6 socket optionIlya Etingof2019-02-072-2/+3
| | | | SO says this is required for proper UDP socket multi-homing.
* Emit low-level sendmsg/recvmsg debuggingIlya Etingof2019-02-072-0/+28
| | | | | When running in transparent proxy mode, log syscall parameters to aid troubleshooting
* Remove commit badgeIlya Etingof2019-01-131-2/+1
|
* Add more badges to READMEIlya Etingof2019-01-131-0/+2
|
* Uninitialized MibSclarInstance -> noSuchInstanceIlya Etingof2019-01-101-4/+4
|
* Release 4.4.8Ilya Etingof2019-01-080-0/+0
|
* MIB loader ignores file and directory access errorsIlya Etingof2019-01-082-10/+19
| | | | | Also fixed crash on MIB load failure in case of directory access error
* Fix Pythonized MIB load in source formIlya Etingof2018-12-302-22/+36
|
* Prepare for 4.4.8Ilya Etingof2018-12-301-0/+5
|
* Release 4.4.7Ilya Etingof2018-12-301-1/+1
|
* Extend copyright notice to year 2019Ilya Etingof2018-12-30157-147/+820
|
* Fix undefined names in `TRANSPORT-ADDRESS-MIB.py`Ilya Etingof2018-12-302-3/+5
|
* Switch Travis CI to TrustyIlya Etingof2018-12-301-18/+20
|
* Redesigned SMI objects management model (#214)Ilya Etingof2018-12-2919-796/+3139
| | | | | | | | | | | | | | The primary motivation behind this redesign is to allow asynchronous operations between SNMP responder and the data source feeding its MIB. This is achieved by redesigning all `read*`, `write*`, `create*` and `destroy*` methods of the `SNMPv2-SMI` MIB objects to return immediately and deliver their results via a call back. This modification brings significant and backward incompatible changes to the low-level MIB operations. The pysnmp MIB modules compiled for older pysnmp remain compatible.
* Fix hlapi/v1arch GETNEXT EOM processingIlya Etingof2018-12-291-3/+6
| | | | | The hlapi/v1arch GETNEXT command crashes when hitting end-of-mib condition. This patch fixes this.
* Fix hlapi/v1arch request timeoutIlya Etingof2018-12-293-5/+4
| | | | The retrying mechanism never worked, apparently.
* Fix wrong `set()` member deletion in `MibBuilder`Ilya Etingof2018-12-251-2/+2
|
* Fix possible duplicate key condition in `OrderedDict`Ilya Etingof2018-12-252-38/+41
| | | | | Also, updated thr `.update` and `__init__` methods signatures to match `dict` interface. Implementation details renewed.
* Disable pypy build in TravisIlya Etingof2018-11-031-8/+8
| | | | Because it stopped working.
* Disable Travis builds for py 2.6, 3.2 & 3.3Ilya Etingof2018-11-031-12/+0
| | | | Seems like they discontinued those.
* Fix hlapi LCD to include `contextName` (#217)Ilya Etingof2018-11-039-34/+52
| | | | | | | | | Fixed hlapi LCD configurator to include `contextName`. Prior to this fix sending SNMPv3 TRAP with non-default `contextName` would fail. This change modifies the signature of the internal LCD methods.
* Expose ASN.1 `Null` type through `rfc1902` moduleIlya Etingof2018-10-263-1/+41
|
* Use `compile()` before `exec` of MIB modulesIlya Etingof2018-10-262-5/+7
| | | | | | This change attaches the file name to the stack frames what is helpful when reading traceback or debugging interactively.
* Merge branch 'master' of github.com:etingof/pysnmpIlya Etingof2018-10-269-223/+279
|\
| * Refactor MIB state machine into asynchronous operations (#210)Ilya Etingof2018-10-249-223/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert to async MIB instrumentation API (#210) MIB instrumentation API changed to allow for asynchronous managed objects access. The MIB instrumentation methods called by the state machine now return immediately and resume once the callback is called. The built-in SNMPv2-SMI objects are still synchronous. This change is a prerequisite for fully asynchronous managed objects implementation.
* | Fix typosIlya Etingof2018-10-171-1/+1
|/
* Convert to async MIB instrumentation API (#209)Ilya Etingof2018-10-137-99/+167
| | | | | | | | | | | | | | | | MIB instrumentation API changed to allow for asynchronous managed objects access. Although built-in SNMPv2-SMI objects are still synchronous, the MIB instrumentation API is async what allows users to replace default MIB instrumentation with their own, potentially asynchronous. CommandResponder refactored to facilitate asynchronous MIB instrumentation routines. The `readVars`, `readNextVars` and `writeVars` MIB controller methods return immediately and deliver their results via a call back. SMI/MIB managed objects API overhauled for simplicity and flexibility breaking backward compatibility.
* Fix Sphinx markup for USM crypto algorithm IDsIlya Etingof2018-10-064-40/+108
|
* Reformat `isAccessAllowed()` for clarityIlya Etingof2018-10-061-13/+30
|
* Avoid deprecation warnings for asyncio.async() in server mode (#202)Fabrizio Vanni2018-09-261-1/+5
| | | | This is actually needed for Python 3.7 which introduces async and await as reserved keywords, see https://docs.python.org/3/whatsnew/3.7.html
* Ensure distinct transports if timeout/retries differIlya Etingof2018-09-202-1/+10
| | | | | Fix hlapi/v3arch transport target caching to ensure transport targets are different even if just timeout/retries options differ.
* Register missing v1arch.asyncore.sync sub-packageIlya Etingof2018-09-141-0/+1
|
* Accommodate changed `.writeVars` signatureIlya Etingof2018-09-141-2/+2
|
* Release 4.4.6Ilya Etingof2018-09-132-3/+7
|
* Tolerate non-initialised entries in SNMP community table (#195)Ilya Etingof2018-09-131-25/+75
| | | | | | | | | | It can happen that SNMP community table contains uninitialized entries. These entries may stop internal SNMP community table indexing which is done in rfc2576 to speed up SNMP engine operations when SNMPv1/v2c is involved. Once a bad entry gets into SNMP community table, all the rest queries would start failing. This patch ignores incomplete SNMP community table entries in the course of building indices.
* Tolerate duplicate enumerationsIlya Etingof2018-09-092-4/+15
| | | | | | Possible duplicate enumerations in `Bits` and `Integer` SMI types causes pyasn1 exception. This fix reduces duplicates prior to passing them to pyasn1.
* Add a CHANGELOG entry for previous fixIlya Etingof2018-09-091-0/+3
|
* Fix lcd.unconfigure not removing cached addr value preventing the same ↵Ryan Van Gilder2018-09-091-1/+1
| | | | target being re-configured (#194)
* Simplify SNMPv3 TRAP receiver exampleIlya Etingof2018-09-021-22/+3
|
* Add `hlapi.v1arch` API (#186)Ilya Etingof2018-08-12267-1356/+5997
| | | | | | | | | | | | | | | | | | | | * Add `hlapi.v1arch` API Introduce new sub-package `pysnmp.hlapi.v1arch` which wraps otherwise very detailed packet-level SNMP messaging into a handful of convenience functions. As a side effect, the `pysnmp.hlapi.*` sub-packages moved under `pysnmp.hlapi.v3arch` though `pysnmp.hlapi` still exposes `pysnmp.hlappi.v3arch.*` symbols to retain some degree of backward compatibility. The signature of the hlapi `.sendNotification()` call has changed to accept `*varBinds` instead of a sequence of `varBinds`. The rationale is to unify this method call with similar methods of CommandGenerator. * Add v1arch docs and reshuffle hlapi docs
* Recover missing LICENSE in tarballIlya Etingof2018-08-082-1/+2
|
* Improve long description in TroveIlya Etingof2018-08-061-5/+5
|