On Wed, 21 Nov 2007 09:42:25 +0000 Dave wrote:
DS> Hmmm...   that raises an interesting question.
DS> 
DS> Should "snmpgetnext" be applying the range checks at all?
DS> 
DS> They make sense for the exact requests (GET and SET), because
DS> if the OID isn't a valid instance according to the MIB definitions,
DS> then the agent can't possibly process the request successfully.
DS> 
DS> But that's not true for GETNEXT and GETBULK.
DS> Even if the OID doesn't (and can't possibly) match a valid instance,
DS> the agent should still return the next varbind that *is* valid.
DS> 
DS> I'm inclined to amend the snmpget/snmpbulk commands to turn off the
DS> range validation checks by default.
DS> 
DS> What do other people think?

Makes sense to me.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to