diff options
-rw-r--r-- | devel-requirements.txt | 8 | ||||
-rw-r--r-- | examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/devel-requirements.txt b/devel-requirements.txt index d03c9630..02629f5e 100644 --- a/devel-requirements.txt +++ b/devel-requirements.txt @@ -1,10 +1,16 @@ Sphinx <= 1.6; python_version < '2.7' Sphinx > 1.6; python_version >= '2.7' trollius; python_version < '3.0' +# NOTE: Twisted < 19.2.1 has a security problem in URL handling. +# However, newer Twisted does not work on older Pythons. That's why +# we have to pin to older Twisted here. +# On the other hand, pysnmp does not use anything HTTP, however other +# dependencies can rely on that. twisted < 15.4; python_version < '2.7' twisted; python_version == '2.7' twisted < 17.9; python_version == '3.0' twisted < 17.9; python_version == '3.1' twisted < 17.9; python_version == '3.2' twisted <= 17.9; python_version == '3.3' -twisted; python_version >= '3.4' +twisted <= 17.9; python_version == '3.4' +twisted; python_version >= '3.5' diff --git a/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py b/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py index 3b1119dd..9d1454ce 100644 --- a/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py +++ b/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py @@ -32,7 +32,7 @@ snmpEngine = engine.SnmpEngine() config.addTransport( snmpEngine, udp.domainName, - udp.UdpTransport().openServerMode(('127.0.0.1', 161)) + udp.UdpTransport().openServerMode(('127.0.0.1', 1161)) ) # SNMPv3/USM setup |