Maximum Message ID Size

2008-04-04 Thread Clapper_Don
In snmp_api.h, the snmp message id (msgid)is defined in struct snmp_pdu as a long value. Then in snmp_api.c, snmpv3_parse does the following message id boundry check. if (pdu->msgid < 0 || pdu->msgid > 0x7fff) { snmp_log(LOG_ERR, "Received bad msgID (%ld %s %s).\n", pdu->msgid,

Re: Maximum Message ID Size

2008-04-04 Thread Dave Shield
On 04/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In snmp_api.h, the snmp message id (msgid)is defined in struct snmp_pdu > as a long value. Then in snmp_api.c, snmpv3_parse does the following > message id boundry check. [snip] > This appears to limit the message size to 2147483

Maximum Message ID Size

2008-04-04 Thread Clapper_Don
In snmp_api.h, the snmp message id (msgid)is defined in struct snmp_pdu as a long value. Then in snmp_api.c, snmpv3_parse does the following message id boundry check. if (pdu->msgid < 0 || pdu->msgid > 0x7fff) { snmp_log(LOG_ERR, "Received bad msgID (%ld %s %s).\n", pdu->msgid,