简体   繁体   English

如何在Python中获取SNMP数据包的请求ID

[英]How to get the request ID of a SNMP packet in Python

Which SNMP library offers an API to get single properties of captured (tcpdump) SNMP packets like the request-ID or the protocol version? 哪个SNMP库提供了API,以获取捕获的(tcpdump)SNMP数据包的单个属性,例如请求ID或协议版本?

I found that pySNMP offers such a low-level API but only for v1/v2c versions. 我发现pySNMP提供了这样的低级API,但仅适用于v1 / v2c版本。 But I need both v2c and v3. 但是我需要v2c和v3。

what exactly you want to know. 您到底想知道什么。 whether : python net-snmp api supports v3 or not or oid for finding request-id of a snmp packet 是否:python net-snmp api是否支持v3或oid以查找snmp数据包的请求ID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM