Closed regulatre closed 11 years ago
There is a difference of encoding of strings above that length, so it sounds reasonable. Could you grab a pcap of doing an snmpget of such a value so I can verify and if so fix it? tcpdump -s0 -w snmp.pcap -i <someinterface> port 161
and then just snmpget using either node-snmp or regular snmpget tool.
Fixed in 1.0.15. Thanks for reporting and collecting data on it.
Confirmed! Well done, and thank you. This is a great module.
I'm seeing an issue where long snmp responses are being truncated (to 129 characters). For example a really long sysDescr.
I re-produced the issue using a few lines of sample code on the git page so I'm pretty sure it's something within the node-snmp-native library that's truncating it.
BH