snmpsim
snmpsim copied to clipboard
SNMPv1 error variation always return genError
Hello.
I again played with SNMPsim and I found, that when I try to simulate error on SNMPv1, I got always error GenError(5). And what is more interesting with 2:error|status=genError it doesn't report any error but also any values. On SNMPv2 it works OK.
I attach wireshark and .snmprec which I tried. I'm testing on windows 10 with actual snmpsim-master copy and pysnmp 4.4.12
EDIT: Problem with no error for missing OID is fixed in pysnmp 4.4.12 (I tested previously on 4.4.11) But still it's reported as GenError
This seems to be a bug in pysnmp... Could you please try snmpsim with this pysnmp commit?
Hi. It looks like with this pysnmp it still report only GenError (even with errors NoSuchName, badValue, readOnly) but now at least the true GenError is reported so it doesn't stay stuck. Error tooBig works fine.