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 2147483648

That is correct.

See the definition of the SNMPv3Message structure in section 6
of RFC 3412.   In particular:

       HeaderData ::= SEQUENCE {
           msgID      INTEGER (0..2147483647),    <====
               <etc, etc>


The request ID is also limited to a max value of 2147483647
(e.g. PDU definition in section 3 of RFC 3416)

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to