On Tue, 2005-08-09 at 06:44 +0100, saifulla Mohd Abdul wrote:
>  As per the SNMP standard, the MAX OID length should
> not be > 128 bytes.

> Question is : What is the correct behaviour:
> 
> 1. Does agent must Return Error(ASN Parse Error) for
> any GET/SET/NEXT request with OID > 128?
>  
> OR
>  
> 2. Pass it to the lower layers(MIB Stub functions)
> such a way that We can still respond back
> the NEXT of the incoming OID > 128

That's a very good question!

My gut reaction is that *any* SNMP engine (whether agent or
client) that receives an SNMP PDU containing an overlong OID
should probably treat this as a parse error (and drop the
packet).

But this is probably something that needs to be confirmed
with the experts.  I suggest you try asking on the IETF
mailing list - see what they say.

I look forward to finding out the official response :-)

Dave
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to