[AGENT++] Wrong exeption in GET-response to unavailable object instance
Fehde, Marcus
Marcus.Fehde at draeger.com
Thu Oct 7 13:59:47 CEST 2004
Hi,
may be I discovered a non-compliance to RFC 3416 regarding the exception in case of an unavailable object instance.
Example:
An GET-request to 1.3.6.1.2.1.1.1.0 works as expected.
An GET-request to 1.3.6.1.2.1.1.1 result in a "no-such-name" exception as well as
an GET-requesz to 1.3.6.1.2.1.1.1.1.
Accordingly to RFC3416 the correct result would be an "no-such-instance" exception:
RFC3416 (SNMPv2); pp. 10-11 states:
"Upon receipt of a GetRequest-PDU, the receiving SNMP entity
processes each variable binding in the variable-binding list
to produce a Response-PDU. All fields of the Response-PDU
have the same values as the corresponding fields of the
received request except as indicated below. Each variable
binding is processed as follows:
...
(2) Otherwise, if the variable binding's name does not have an
OBJECT IDENTIFIER prefix which exactly matches the OBJECT
IDENTIFIER prefix of any (potential) variable accessible by
this request, then its value field is set to "noSuchObject".
(3) Otherwise, the variable binding's value field is set to
"noSuchInstance".
Please, can someone verify this.
Best regards/Mit freundlichen Gruessen
Marcus Fehde
Dipl. Ing. Technische Informatik (FH)
Research & Development
Business Unit Anaesthesia
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
DRÄGER MEDICAL
Dräger Medical AG & Co. KGaA
Moislinger Allee 53-55
D-23542 Lübeck
Tel: + 49-451-882-3646
Fax: + 49-451-882-4410
E-mail: marcus.fehde at draeger.com
www.draeger-medical.com
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
Url: http://lists.agentpp.org/pipermail/agentpp/attachments/20041007/720524e4/attachment.txt
More information about the AGENTPP
mailing list