[MIB-DOCTORS] MIB Doctor review: SYNTAX checks: draft-ietf-ipsp-ikeaction-mib-02.txt

"Wijnen, Bert \(Bert\)" <bwijnen@alcatel-lucent.com> Wed, 03 January 2007 13:15 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1H25y5-0003PO-HW; Wed, 03 Jan 2007 08:15:45 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1H25y4-0003PJ-MD for mib-doctors@ietf.org; Wed, 03 Jan 2007 08:15:44 -0500
Received: from ihemail4.lucent.com ([135.245.0.39]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H25y2-0001nB-AY for mib-doctors@ietf.org; Wed, 03 Jan 2007 08:15:44 -0500
Received: from ilexp02.ndc.lucent.com (h135-3-39-2.lucent.com [135.3.39.2]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id l03DFUb8018060; Wed, 3 Jan 2007 07:15:31 -0600 (CST)
Received: from DEEXP01.de.lucent.com ([135.248.187.65]) by ilexp02.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 3 Jan 2007 07:15:30 -0600
Received: from DEEXC1U02.de.lucent.com ([135.248.187.27]) by DEEXP01.de.lucent.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 3 Jan 2007 14:14:10 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 03 Jan 2007 14:15:19 +0100
Message-ID: <D4D321F6118846429CD792F0B5AF471F08C604@DEEXC1U02.de.lucent.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: MIB Doctor review: SYNTAX checks: draft-ietf-ipsp-ikeaction-mib-02.txt
Thread-Index: AccvOTd4xabe2tpGTcOOSADx970+Hw==
From: "Wijnen, Bert (Bert)" <bwijnen@alcatel-lucent.com>
To: baerm@tislabs.com, rcharlet@alumni.calpoly.edu, hardaker@tislabs.com, rstory@sparta.com, cliffwangmail@yahoo.com
X-OriginalArrivalTime: 03 Jan 2007 13:14:10.0063 (UTC) FILETIME=[0E2A19F0:01C72F39]
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 10d3e4e3c32e363f129e380e644649be
Cc: Russ Housley <housley@vigilsec.com>, "MIB Doctors \\\\\\(E-mail\\\\\\)" <mib-doctors@ietf.org>
Subject: [MIB-DOCTORS] MIB Doctor review: SYNTAX checks: draft-ietf-ipsp-ikeaction-mib-02.txt
X-BeenThere: mib-doctors@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: MIB Doctors list <mib-doctors.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/mib-doctors>
List-Post: <mailto:mib-doctors@ietf.org>
List-Help: <mailto:mib-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=subscribe>
Errors-To: mib-doctors-bounces@ietf.org

SMICng (tools) tell me:

  $ smicmfm IPSEC-IKEACTION-MIB.mi2
  E: f(IPSEC-IKEACTION-MIB.mi2), (41,21) Date/time is wrong length
  ** 1 error and 0 warnings in parsing

This is cause by:
   ipiaMIB MODULE-IDENTITY
       LAST-UPDATED "20060905'"    -- 05 September 2006

which should be something like:
   ipiaMIB MODULE-IDENTITY
       LAST-UPDATED "200609050000Z"    -- 05 September 2006

Once I fix that, I get

  $ smicng IPSEC-IKEACTION-MIB.inc
  W: f(IPSEC-IKEACTION-MIB.mi2), (82,21) REVISION value "20060905'"
     is not a valid extended UTC time
sane problem as LAST-UPDATED
  W: f(IPSEC-IKEACTION-MIB.mi2), (1331,22) Row "ipiaIkeProposalEntry"
     does not have a consistent indexing scheme - index item
     ipiaIkeActPropName from base row ipiaIkeActionProposalsEntry
     is not defined as an index item
  W: f(IPSEC-IKEACTION-MIB.mi2), (1787,38) Row "ipiaIkeIdentityEntry"
     does not have a consistent indexing scheme - index item
     ipiaIkeActIdentityType from base row ipiaIkeActionEntry is not
     defined as an index item
  W: f(IPSEC-IKEACTION-MIB.mi2), (2299,18) Row
"ipiaRevokedCertificateEntry"
     does not have a consistent indexing scheme - index items must
     be in same order as used in INDEX clause for "base row"
ipiaCredMngCRLEntry

I suggest that the authors/editors review the last 3 warnings and 
make sure that this is their intended INDEXing scheme, regardless of
the errors. And pls explain why you index this way. It does look
weird to me too.

SMILINT tells me:

  C:\smi\mibs\work>smilint -l6 -s -m ./IPSEC-IKEACTION-MIB
  ./IPSEC-IKEACTION-MIB:41: [2] {date-length} date specification
    `20060905'' has an illegal length
  ./IPSEC-IKEACTION-MIB:82: [2] {date-length} date specification
    `20060905'' has an illegal length
  ./IPSEC-IKEACTION-MIB:40: [4] {module-identity-registration} 
    warning: uncontrolled MODULE-IDENTITY registration


The first two are the same as what SMICng reported on the date spec for
LAST-UPDATED and REVISION clauses.

The last one warns that you are registering the MIB under a branch 
that is not well controlled. You are doing:

       ::= { spdActions 2 }

I see in IPSEC-SPD-MIB that you have defined
   spdActions                OBJECT IDENTIFIER
        ::= { spdMIB 4 }

And that in its IANA considerations (rev 7 ID) you state:
   8.  IANA Considerations

   Only two IANA considerations exist for this document.  The first is
   just the node number allocation of the IPSEC-SPD-MIB itself.

   The IPSEC-SPD-MIB also allows for extension action MIB's.  Although
   additional actions are not required to use it, the node spdActions is
   allocated as a subtree under which IANA can define any additional
   actions.  IANA would be responsible for allocating any values under
   this node.  The only restriction is that additional nodes appended to
   spdACtions should be in reference to IPSEC-SPD-MIB actions.

So you don't even seem to ask that a spec is published for allocation?
I am somewhat surprised by this (and probably should have seen this 
earlier). The spdActions ultimately are under mib-2 which is standards 
track space. Oh well.

In any event, you do state that IANA assigns new values. So in your 
IPSEC-IKEACTION-MIB I would have expected:

       ::= { spdActions nnn } -- to be assigned by IANA. We suggest to
                              -- assign the value 2.

More review comments later.
Bert

_______________________________________________
MIB-DOCTORS mailing list
MIB-DOCTORS@ietf.org
https://www1.ietf.org/mailman/listinfo/mib-doctors