Hi Dave,

Good point, section 5.1 clearly states that
"a null Object Identifier" should be encoded
as four 0 bytes. From my point of view,
the term "a null Object Identifier" refers to
a zero length OID. Given that this is true,
the encoding would be consistent with the
actual value (both have a zero length).

Otherwise, if "a null Object Identifier"
refers to the 0.0 (ccitt(0).zeroDotZero(0))
OID, then the actual length of the encoded
value (two) would not match with the length
field in the AgentX PDU (zero). This would
be surprising and would represent an encoding
exception.

Should we forward this question to the AgentX
mailing list?

I am a bit confused, since a zero length OID
would not make any sense in AgentX
communication, but on the other hand I do
not see how "null" corresponds to "zeroDotZero"?

If you do not mind, I will forward our discussion
to the AgentX mailing list.

Cheers,
Frank

Dave Shield wrote:
> On 14/02/07, Johnny Ljunggren <[EMAIL PROTECTED]> wrote:
>> Just a follow up with the answer from Frank Fock:
>>
>> a 0.0 OID should be encoded like:
>> 02 00 00 00
>> 00 00 00 00
>> 00 00 00 00
>>
>> and not
>> 00 00 00 00
>>
>> which is actually a zero length OID
> 
> Frank,
>     how do you interpret the last paragraph of
> RFC 2741, section 5.1, which says:
> 
>     "A null Object Identifier consists of the
>      4-byte header with all bytes set to 0."
> ?
> 
> I read this as meaning an encoding of
>     00 00 00 00
> 
> Would you see things differently?
> 
> Dave
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to