Re: Getting Too Long Error

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/6/19 Rucha <[email protected]>:
> I checked the size of pdu which I am sending, its size of just 4bytes.

An SNMP PDU of just 4 bytes!!?
Can you please post a packet dump of this request.


> Any other reason for getting this error ?

Given that a  GET PDU will typically be at *least* 30 bytes in size,
and the absolute minimum size of a completely empty GET
request is (I think) 18 bytes - if your GET request is just 4 bytes,
then it's almost certainly invalid.
   If it's malformed, then the parsing code might well be reading
the length as over-size, and returning a tooLong error.


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://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.