Re: assumption about number of octets encoding PENs

"Randy Presuhn" <[email protected]> Wed, 23 May 2012 10:48:34 -0700
Newsgroups gmane.ietf.ops
Message-ID <003501cd390c$4747efe0$6b01a8c0@oemcomputer>
Hi -

> From: "Alexey Melnikov" <[email protected]>
> To: "Romascanu, Dan (Dan)" <[email protected]>
> Cc: <[email protected]>; "Alan DeKok" <[email protected]>; <[email protected]>
> Sent: Wednesday, May 23, 2012 9:48 AM
> Subject: Re: [OPS-AREA] assumption about number of octets encoding PENs
...
> I believe that OID definition explicitly don't have an upper boundary on integers.
> I don't know if any IETF RFC specifies additional constraints.

RFC 2578 (SMIv2) imposes additional constraints beyond those in ASN.1:

| 3.5.  OBJECT IDENTIFIER values
|
|    An OBJECT IDENTIFIER value is an ordered list of non-negative
|    numbers.  For the SMIv2, each number in the list is referred to as a
|    sub-identifier, there are at most 128 sub-identifiers in a value, and
|    each sub-identifier has a maximum value of 2^32-1 (4294967295
|    decimal).

Randy