#1282 getnext with proxy remapping problem

backport-needed
open
nobody
5
2014-05-22
2014-05-22
Tomasz Dudziak
No

version 5.7.2.1
tested on Linux Mint 16 32-bit

if you have proxy with oid remapping (.1.3 -> .1.4 - just like in proxy wiki example) and you try to do getnext on the last oid of .1.3 branch then your request will be proxied and you will get something from the end of the oid tree of proxied device (remapped to .1.4). If you have two devices that have remapped proxies one to the other (even with different oid mappings) getnext on the last oid of ones oid tree will cause endless loop of proxy async queries.
The patch in attachment can fix it (it checks if oid in request is from remapped oid tree (.1.4 in wiki example).

1 Attachments

Discussion