summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make received MIB objects resolution more forgivingv4.4.10release-4.4.10Ilya Etingof2019-07-303-13/+23
| | | | | | | | | Previously, MIB resolution errors were ignored (whenever possible) for objects we were sending and receiving. This change tightens outgoing objects MIB compliance (send will fail), but tolerate non quite compliant objects we receive. Also, extend the same policy onto `NotificationOriginator`.
* Make MIB objects resolution more forgivingIlya Etingof2019-07-302-5/+21
| | | | | Added optional `ignoreErrors` parameter to `ObjectType.resolveWithMib()` to control that behaviour.
* Support various forms of `vacmViewTreeFamilyMask` inputIlya Etingof2019-07-301-1/+1
| | | | This fixes release 4.4.10 before it's actually released.
* Release 4.4.10Ilya Etingof2019-07-292-2/+2
|
* Fix Python 2.5 compatibilityIlya Etingof2019-07-291-2/+2
| | | | @property.setter has not been invented back then
* Fix Python 2.4 compatibilityIlya Etingof2019-07-291-8/+15
| | | | @property.setter has not been invented back then
* Rework VACM access control function (#287)Ilya Etingof2019-07-295-119/+508
| | | | | | | | 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 lookup performance
* Fix TRAP PDU proxy translationIlya Etingof2019-07-202-12/+14
| | | | | Fixed crash on uninitialized component serialization left out in SNMP v1 TRAP PDU to SNMPv2/3 TRAP PDU translation routine.
* Fix `var-bindings` initializationIlya Etingof2019-06-233-3/+9
| | | | | | | Set `var-bindings` to an empty sequence by default. Otherwise it can remain a "pyasn1 schema object" failing to encode. This can happen with newer pyasn1 versions where `SequenceOf` type does not have default initializer.
* Fix `importlib` use on Py27Ilya Etingof2019-04-121-5/+11
| | | | Also fixes bug in `imp`-based initialization
* Replace `imp` with `importlib` is availableIlya Etingof2019-04-012-19/+33
|
* Update periodics call interval on timer resolution changeIlya Etingof2019-03-312-1/+17
| | | | | Fix to updates call interval of the existing periodic dispatcher jobs on call interval change (via .setTimerResolution())
* Respect timer resolution in asyncore main loopIlya Etingof2019-03-312-3/+3
| | | | | Fixes asyncore main loop upper bound timeout to respect currently set timer resolution.
* Prepare for 4.4.10Ilya Etingof2019-02-092-1/+6
|
* Release 4.4.9v4.4.9Ilya Etingof2019-02-091-2/+2
|
* Add missing SNMP PDU error classesIlya Etingof2019-02-084-14/+70
| | | | | Added missing SNMP PDU error classes and their handling in Command Responder
* Fix IPV6_TRANSPARENT socket optionIlya Etingof2019-01-143-2/+5
|
* Do not set IP_PKTINFO socket option on IPv6 socketIlya Etingof2019-01-122-4/+3
| | | | | Trying to understand why sendmsg() fails on a transparent IPv6 socket
* Improve IPV6 debuggingIlya Etingof2019-01-112-4/+12
|
* Fix socket iov blob dump in debugIlya Etingof2019-01-111-3/+5
|
* Add `IPV6_V6ONLY` IPV6 socket optionIlya Etingof2019-01-102-2/+3
| | | | SO says this is required for proper UDP socket multi-homing.
* Emit low-level sendmsg/recvmsg debuggingIlya Etingof2019-01-102-0/+28
| | | | | When running in transparent proxy mode, log syscall parameters to aid troubleshooting
* MIB loader ignores file and directory access errorsIlya Etingof2019-01-082-10/+15
| | | | | Also fixed crash on MIB load failure in case of directory access error
* Prepare for 4.4.9Ilya Etingof2019-01-082-1/+6
|
* Release 4.4.8v4.4.8Ilya Etingof2018-12-301-1/+1
|
* Fix Pythonized MIB load in source formIlya Etingof2018-12-302-22/+36
|
* Prepare for 4.4.8Ilya Etingof2018-12-302-1/+6
|
* Release 4.4.7v4.4.7Ilya Etingof2018-12-301-1/+1
|
* Fix undefined names in `TRANSPORT-ADDRESS-MIB.py`Ilya Etingof2018-12-302-3/+5
|
* Extend copyright notice to year 2019Ilya Etingof2018-12-29144-144/+145
|
* Switch Travis CI to TrustyIlya Etingof2018-12-291-18/+20
|
* Fix wrong `set()` member deletion in `MibBuilder`Ilya Etingof2018-12-251-2/+2
|
* Fix possible duplicate key condition in `OrderedDict`Ilya Etingof2018-12-252-37/+40
| | | | | Also, updated thr `.update` and `__init__` methods signatures to match `dict` interface. Implementation details renewed.
* 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-46/+70
| | | | | | | | 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.
* Fix Sphinx markup for USM crypto algorithm IDsIlya Etingof2018-10-064-16/+88
|
* 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-2/+6
| | | | | Fix hlapi/v3arch transport target caching to ensure transport targets are different even if just timeout/retries options differ.
* Cut for 4.4.7Ilya Etingof2018-09-142-1/+6
|
* Release 4.4.6v4.4.6Ilya Etingof2018-09-132-2/+6
|
* Tolerate non-initialised entries in SNMP community tableIlya 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)
* Recover missing LICENSE in tarballIlya Etingof2018-08-082-1/+2
|
* Improve long description in TroveIlya Etingof2018-08-061-5/+5
|
* Improve package build and dependency trackingIlya Etingof2018-08-062-8/+28
|