RE: [Disman] FW: draft-ietf-disman-remops-mib-v2-09.txt

Pekka Savola <pekkas@netcore.fi> Mon, 13 March 2006 19:03 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FIsJx-0002L0-Vu; Mon, 13 Mar 2006 14:03:09 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FIiJB-0001Iz-0f for disman@ietf.org; Mon, 13 Mar 2006 03:21:41 -0500
Received: from netcore.fi ([193.94.160.1]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FIiBC-0005SK-RW for disman@ietf.org; Mon, 13 Mar 2006 03:13:27 -0500
Received: from netcore.fi (localhost [127.0.0.1]) by netcore.fi (8.12.8/8.12.8) with ESMTP id k2D8DKHa014263; Mon, 13 Mar 2006 10:13:20 +0200
Received: from localhost (pekkas@localhost) by netcore.fi (8.12.8/8.12.8/Submit) with ESMTP id k2D8DFiu014260; Mon, 13 Mar 2006 10:13:20 +0200
Date: Mon, 13 Mar 2006 10:13:15 +0200
From: Pekka Savola <pekkas@netcore.fi>
To: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
Subject: RE: [Disman] FW: draft-ietf-disman-remops-mib-v2-09.txt
In-Reply-To: <7D5D48D2CAA3D84C813F5B154F43B155098492B2@nl0006exch001u.nl.lucent.com>
Message-ID: <Pine.LNX.4.64.0603131001220.14000@netcore.fi>
References: <7D5D48D2CAA3D84C813F5B154F43B155098492B2@nl0006exch001u.nl.lucent.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
X-Virus-Scanned: ClamAV 0.88/1326/Sat Mar 11 22:33:54 2006 on otso.netcore.fi
X-Virus-Status: Clean
X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on otso.netcore.fi
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 36c793b20164cfe75332aa66ddb21196
X-Mailman-Approved-At: Mon, 13 Mar 2006 14:03:09 -0500
Cc: "David Kessens (E-mail)" <david.kessens@nokia.com>, "Disman (E-mail) (E-mail)" <disman@ietf.org>
X-BeenThere: disman@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Distributed Management <disman.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/disman>, <mailto:disman-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/disman>
List-Post: <mailto:disman@ietf.org>
List-Help: <mailto:disman-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/disman>, <mailto:disman-request@ietf.org?subject=subscribe>
Errors-To: disman-bounces@ietf.org

On Sat, 11 Mar 2006, Wijnen, Bert (Bert) wrote:
> OK, looked into this in some more detail.
> Inline my responses. Document author or WG chair can chime
> in if they want.
...
>> Substantial
>> -----------
>>
>> I have a number of concerns about NSLOOKUP part of the MIB mobule.
>>
>> 1) It's not clear whether the host, given e.g., 'dns' as a lookup
>> type, is only supposed to make a DNS lookup (which is what 'nslookup'
>> does), or also consult /etc/hosts or equivalent (also possibly NIS or
>> other similar directories as specified by /etc/nsswitch.conf or
>> equivalent) if appropriate.
>>
>
> Possibly that could be clarified somewhat. I think it is an implementation
> matter (the way I interpret it), but even that could be stated.
> If WG chair and author/editor agree, pls sens a proposed piece of text
> that I can tell RFC-Editor to add.

Agreed.  I don't think this is a major issue itself, but if the intent 
is to give consistent results across implementations, some things need 
to be said about this.

>> 2) In lookupCtlTargetAddressType (for example), the user is required
>> to specify whether the address in IP->name conversion is IPv4 or IPv6
>> address.  This is unfortunate; you should not need to specify
>> that, as
>> the lookup functions are able to figure it out on their own. You
>> should be able to give also 'ip' which would do v4 lookup if the
>> address is v4 or v6 lookup if the address is v6, as appropriate.
>>
>
> The format is REQUIRED in order for the SNMP agent to be able to determine
> (and validate) the content of the lookupCtlTargetAddress object itself.
> So it is inherent in the use of these TCs, and not because it is
> needed for underlying lookup functions.

But it would be possible to have a lookup type where the TC is 
basically "any text string that is less than 50 characters in length?
Because if you give an address to look up with 'nslookup', the 
address is just an opaque text blob..

>> 3) The specification includes a lot of 'getaddrinfo() or
>> gethostbyname()' and 'getnameinfo() or gethostbyaddr()', but the
>> latter functions do not support IPv6.  Is there any reason to mention
>> those at all, because you can't implement this MIB mobule (so that it
>> could support v6) just by using gethostbyname/gethostbyaddr?  I'd
>> suggest just mentioning getaddrinfo/getnameinfo().
>>
>
> They are listed as "for example", so I think that that is OK.

I have to disagree with this because the example doesn't work. (On the 
other hand, if the spec said, "getaddrinfo() or gethostbyname() and 
gethostbyname2()", then I think it would be workable though deprecated 
by the latest IPv6 API documents.

>> Editorial
>> ---------
>>
>> ==> usually (not sure about MIB modules), differences to the previous
>> RFC are listed in the draft, maybe in an appendix.  This information
>> is mostly available in the draft, but it's scattered in 3
>> places.  Not
>> sure if it'd make sense to sum it up.
>>
>>      traceRouteCtlPort OBJECT-TYPE
>>         SYNTAX      Unsigned32 (1..65535)
>>         UNITS       "UDP Port"
>>         MAX-ACCESS  read-create
>>         STATUS      current
>>         DESCRIPTION
>>             "Specifies the UDP port to send the traceroute
>>             request to.  Need to specify a port that is not in
>>             use at the destination (target) host.  The default
>>             value for this object is the IANA assigned port,
>>             33434, for the traceroute function."
>>         DEFVAL { 33434 }
>>         ::= { traceRouteCtlEntry 9 }
>>
>> ==> actually, most implementations use the UDP port number for the
>> _first_ traceroute they send, incrementing the port number for next
>> messages, so that you can distinguish which hop the replies came
>> from.  So, the text may require a minor tweak.
>>
>
> Fine. Even so the initial value would be the one to start from, no?
>
> So I do not see a need to add text.

Certainly, but the problem is that the text doesn't say "initial", so 
the above description could be interpreted to be normative, i.e., "all 
the traceroute probes must originate from this port number".

The minor clarification can easily be addressed by rewording:

>>             "Specifies the UDP port to send the traceroute
>>             request to.  Need to specify a port that is not in
>>             use at the destination (target) host.  The default
...

to e.g.,:

>>             "Specifies the initial UDP port to send the traceroute
>>             request to.  Need to specify a port that is not in
>>             use at the destination (target) host.  The default


-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings