On 5/13/19 12:10 PM, Vijay, Anjali wrote:
Thanks for the help. Meanwhile, I had changed the buffer size back to
1472 and it seems to be working fine like the previous version, net-snmp
5.7.3. Do you think this can cause any serious impact?
Hi Anjali,
I think that approach is risky. It's easy for an SNMP manager to send an
snmp get, getnext or getbulk request with multiple OIDs. Even if the
request fits in a 1472 byte network packet, the response may exceed that
packet size. Unless if you know from beforehand what kind of requests
the SNMP manager(s) will send and if you know from beforehand what the
maximum string length will be, I think it's safe to use a larger buffer
size.
Bart.
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders