From rtg-bfd-bounces@ietf.org  Thu Sep  4 06:34:57 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E03C43A695A;
	Thu,  4 Sep 2008 06:34:57 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0E3DF3A695A
	for <rtg-bfd@core3.amsl.com>; Thu,  4 Sep 2008 06:34:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.422
X-Spam-Level: 
X-Spam-Status: No, score=-1.422 tagged_above=-999 required=5 tests=[AWL=1.177, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id dCbMICxw4d1q for <rtg-bfd@core3.amsl.com>;
	Thu,  4 Sep 2008 06:34:52 -0700 (PDT)
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190])
	by core3.amsl.com (Postfix) with ESMTP id E712B3A694E
	for <rtg-bfd@ietf.org>; Thu,  4 Sep 2008 06:34:50 -0700 (PDT)
Received: by fk-out-0910.google.com with SMTP id 18so2602539fkq.5
	for <rtg-bfd@ietf.org>; Thu, 04 Sep 2008 06:33:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:mime-version:content-type:content-transfer-encoding
	:content-disposition;
	bh=QcJ7rZGnTqFIT597Bh+wrs1uz0RcI/RjFHYchRn7VKc=;
	b=QvGqQBbxAiNxit/evJZpJU3XD70nevu+4YAeudqaXvptn4gBCLaU5r28Dibo862SDo
	GBqtWfZI7czRnjcIjtFfIKtM3leoBG/OqhwDDIKFc3gadorcu1q4mukUkg71HYfMWzbx
	gqIoYeSdNW8GFU7oBLQv0YAtnGNYyRaR3TwzU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type
	:content-transfer-encoding:content-disposition;
	b=ZGfVRFjdJRQ34d5gtefY6gL1D8ZPbsTCxK0yRSKRcB46C55xtPS4FXdBA5gq6ui5JO
	OjaYY1v8Y9+VpwnCDIBt+EZzYMLCinH2rvr2YYx1Zq9PngzCbgncV6FkX89vvIpeVnJy
	Oaix08QMIVCIDMewUOPhSkaYRzBx+0BIQxgYg=
Received: by 10.180.221.13 with SMTP id t13mr8105598bkg.19.1220535226540;
	Thu, 04 Sep 2008 06:33:46 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Thu, 4 Sep 2008 06:33:46 -0700 (PDT)
Message-ID: <77ead0ec0809040633p65d95819qba04e3519e74120a@mail.gmail.com>
Date: Thu, 4 Sep 2008 19:03:46 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: rtg-bfd@ietf.org
Subject: Comments on BFD base spec
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi,

I just looked at the BFD base spec and had some security related
comments based on the work we have done in IPsec and IGP's.

1. I would prefer the term MD5 hash instead of MD5 checksum.
2. In my view the document should not talk about all the cryptographic
modes. As you may have noticed we have been trying to remove the
cryptographic algorithms to use by a protocol out of the base spec. As
time progresses and with more CPU and research more vulnerabilities
are found, the algorithms can the be continuously be changed without
affecting the base spec. We did this in IPsec and the RFC4835 for the
same is present.
3. "   It may be desirable to enable or disable authentication on a session
   without disturbing the session state.

   One possible approach is to build an implementation such that
   authentication is configured, but not considered "in use" until the
   first packet containing a matching authentication section is received
   (providing the necessary synchronization.)   "

This is a serious security threat in my view. If we allow a session to
come up without the authentication even when authentication is
enabled. This beats the very purpose of authentication.

4. "   In order to avoid security risks, implementations using this method
   should only allow the authentication state to be changed once without
   some form of intervention (so that authentication cannot be turned on
   and off repeatedly simply based on the receipt of BFD Control packets
   from remote systems.)"

This is a serious DoS risk. A malicious guy could send packets with
different authentication methods and after that a valid guy may not be
able to enable authentication, thus prohibiting an adjacency to come
up.

5. I guess we should specify the difference in security got because of
the Meticulous MD5 and Keyed MD5, now that we have 2 modes. The
difference is that a Replay attack is possible till the next sequence
number packet is got in the Keyed MD5 mode.

6. When we state "      For Keyed MD5, bfd.XmitAuthSeq MAY be
incremented in a circular
      fashion (when treated as an unsigned 32 bit value.)" it is a problem.

 How do we know sequence number y < x is actually circular or not. I
guess we need to allow it in the range only from say 0xFFFFFFFF -
0xFFFF to 0xFFFF range and not otherwise.

7. Key Id field is also helpful for KeyRollover also prevents DoS
attacks. By having a Key Id, we can first allow the reception of the
new Key Id as well as old and then send new Key Id one at a time. If
we do not have this, the receiver will have to check against all valid
Keys for the MD5 hash.

8. Being a new protocol, I would have prefered we used HMAC-SHA1 as
the protocol, or even HMAC-MD5 rather than MD5 or SHA-1. MD5
especially is not recommended to be used at all any more by the IETF
itself.

9. I also had a doubts about how to distinguish multiple sessions
between the same peers. I know it is called application dependent, but
we do not have an application opaque dependent field to convey the
same in the packet.

10. I guess one other advantage of simple password is to check against
misconfiguration. It is another level of checking, though like its
mentioned there is no security aspect to it.

11. Also for minimum interoperability, at least one authetication
mechanism should be made a SHOULD. Otherwise for an implementer all
the modes need to be supported.

12. An issue we need to consider when having short hellos is the
frequency of hellos we get and the time criticality of the same. A
simple DoS attack can be to send random packets saying that there is
authentication and processing the packet may require a lot of CPU
effort. This can also bring all the sessions down (if valid packets
are not able to be processed).

This issue is more critical in BFD than any other protocol owing to
the short durations and faster detection times expected of it. This
needs to be taken care of.

Thanks,
Vishwas


From rtg-bfd-bounces@ietf.org  Mon Sep  8 03:01:25 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8581D3A6C3F;
	Mon,  8 Sep 2008 03:01:25 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1A9773A6C3F
	for <rtg-bfd@core3.amsl.com>; Mon,  8 Sep 2008 03:01:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level: 
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5
	tests=[BAYES_40=-0.185]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id AlMqcfCIcRY7 for <rtg-bfd@core3.amsl.com>;
	Mon,  8 Sep 2008 03:01:22 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153])
	by core3.amsl.com (Postfix) with ESMTP id 297243A6C2F
	for <rtg-bfd@ietf.org>; Mon,  8 Sep 2008 03:01:22 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id d23so1278589fga.41
	for <rtg-bfd@ietf.org>; Mon, 08 Sep 2008 03:00:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:mime-version:content-type:content-transfer-encoding
	:content-disposition;
	bh=99HRvEJ3CXrmkXkXLn/NUuVQJlcDcHKcN8GMhf58muA=;
	b=Y+yRAOS7xnRfXnneHS1L9MuMIpjMuXTkH01KwHDlM4wHSbmxw555GQdLPRuH3HQWCD
	5qge8892ncDO8/NlhXtmtKWPJU+Jb27M2JxLGvZNz9cXUnVetvaQ9P0rRa5NPJoRqSMB
	UhdoENJ+Ec74BLqOEV8gRYQ1hTsldLxYAy5xg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type
	:content-transfer-encoding:content-disposition;
	b=Uab9BhzblSujPVmyfAHQEoGO3/QCzmI44r+3Z22GEs8SF0PqC+NGqRBrjb1H29FjK2
	6m7z5UXiwqSE6J7bqoQ/UqXNIr+vKB4DolxMFV5WxlmmjoTbhq8SFy7J22mdphJ+27iN
	4eEckAZ51kiK2K85JbHz9CbyOkDYzB1UP9OfE=
Received: by 10.181.21.6 with SMTP id y6mr10768176bki.50.1220868056613;
	Mon, 08 Sep 2008 03:00:56 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Mon, 8 Sep 2008 03:00:56 -0700 (PDT)
Message-ID: <77ead0ec0809080300o1151c9cbwc6f783128cbaed93@mail.gmail.com>
Date: Mon, 8 Sep 2008 15:30:56 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: rtg-bfd@ietf.org
Subject: BFD for MPLS
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi,

I found some basic issues with the BFD MPLS LSP's draft.

1. When talking about IPv6 the notation for IPv6 address is wrong. The
address 0:0:0:0:0:FFFF:7F00/104  is not an IPv6 address at all. Please
read RFC4291. It should be put as 0:0:0:0:0:FFFF:7F00::/104
everywhere.

Here are some explicit examples I am adding for your help

   "For example, the following are legal representations of the 60-bit
   prefix 20010DB80000CD3 (hexadecimal):

      2001:0DB8:0000:CD30:0000:0000:0000:0000/60
      2001:0DB8::CD30:0:0:0:0/60
      2001:0DB8:0:CD30::/60

   The following are NOT legal representations of the above prefix:

      2001:0DB8:0:CD3/60   may drop leading zeros, but not trailing
                           zeros, within any 16-bit chunk of the address

      2001:0DB8::CD30/60   address to left of "/" expands to
                           2001:0DB8:0000:0000:0000:0000:0000:CD30

      2001:0DB8::CD3/60    address to left of "/" expands to
                           2001:0DB8:0000:0000:0000:0000:0000:0CD3"

2. The RFC states that "If the label stack has a depth greater than
one, the TTL of the inner MPLS label MAY be set to 1."

However in case of a label stack there are multiple levels of labels.
What is meant by inner label here? Do we mean all inner labels?

3. The draft states that:

"   Note that once the BFD session for the MPLS LSP is UP, either end of
   the BFD session MUST NOT change the source IP address and the local
   discriminator values of the BFD control packets it generates, unless
   it first brings down the session."

Doesn't this violate the basics of what the BFD base spec states? How
can an application apply a rule to how the base protocol works? The
base BFD RFC states that:

"   Note that it is permissible for a system to change its discriminator
   during a session without affecting the session state, since only that
   system uses its discriminator for demultiplexing purposes (by having
   the other system reflect it back.) "

Thanks,
Vishwas


From rtg-bfd-bounces@ietf.org  Mon Sep  8 21:52:42 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2A7893A6CB0;
	Mon,  8 Sep 2008 21:52:42 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 66AF93A6CAD
	for <rtg-bfd@core3.amsl.com>; Mon,  8 Sep 2008 21:52:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.599
X-Spam-Level: 
X-Spam-Status: No, score=-4.599 tagged_above=-999 required=5
	tests=[AWL=-2.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 43dx0epqfuUV for <rtg-bfd@core3.amsl.com>;
	Mon,  8 Sep 2008 21:52:40 -0700 (PDT)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169])
	by core3.amsl.com (Postfix) with ESMTP id A92613A6CB0
	for <rtg-bfd@ietf.org>; Mon,  8 Sep 2008 21:52:39 -0700 (PDT)
Received: from source ([66.129.228.6]) by exprod7ob108.postini.com
	([64.18.6.12]) with SMTP; Mon, 08 Sep 2008 21:52:04 PDT
Received: from emailcorp3.jnpr.net ([66.129.254.13]) by p-emsmtp03.jnpr.net
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Mon, 8 Sep 2008 21:52:13 -0700
Received: from 172.23.8.36 ([172.23.8.36]) by emailcorp3.jnpr.net
	([66.129.254.13]) with Microsoft Exchange Server HTTP-DAV ; 
	Tue,  9 Sep 2008 04:52:13 +0000
User-Agent: Microsoft-Entourage/12.10.0.080409
Date: Mon, 08 Sep 2008 21:55:03 -0700
Subject: Re: BFD for MPLS
From: Nitin Bahadur <nitinb@juniper.net>
To: Vishwas Manral <vishwas.ietf@gmail.com>,
	<rtg-bfd@ietf.org>
Message-ID: <C4EB4FB7.270C6%nitinb@juniper.net>
Thread-Topic: BFD for MPLS
Thread-Index: AckSODhfOS0myWuVNkSBf8swwOuzSg==
In-Reply-To: <77ead0ec0809080300o1151c9cbwc6f783128cbaed93@mail.gmail.com>
Mime-version: 1.0
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 09 Sep 2008 04:52:13.0826 (UTC)
	FILETIME=[D3894620:01C91237]
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org



> 3. The draft states that:
> 
> "   Note that once the BFD session for the MPLS LSP is UP, either end of
>    the BFD session MUST NOT change the source IP address and the local
>    discriminator values of the BFD control packets it generates, unless
>    it first brings down the session."
> 
> Doesn't this violate the basics of what the BFD base spec states? How
> can an application apply a rule to how the base protocol works? The
> base BFD RFC states that:
> 
> "   Note that it is permissible for a system to change its discriminator
>    during a session without affecting the session state, since only that
>    system uses its discriminator for demultiplexing purposes (by having
>    the other system reflect it back.) "

MPLS BFD is a specific use case of BFD-Base and hence MPLS-BFD can apply
specific provisions to the use of BFD-Base.

In MPLS-BFD, discriminators are learnt using LSP-Ping. So you don't want the
other end to randomly change the discriminator. If the discriminator needs
change, then that change should probably come via LSP-Ping.



From rtg-bfd-bounces@ietf.org  Tue Sep  9 01:15:51 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D77C63A68AD;
	Tue,  9 Sep 2008 01:15:51 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C50C93A67A6
	for <rtg-bfd@core3.amsl.com>; Tue,  9 Sep 2008 01:15:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id LeTzvCcb0j2C for <rtg-bfd@core3.amsl.com>;
	Tue,  9 Sep 2008 01:15:50 -0700 (PDT)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26])
	by core3.amsl.com (Postfix) with ESMTP id C904E3A68AD
	for <rtg-bfd@ietf.org>; Tue,  9 Sep 2008 01:15:49 -0700 (PDT)
Received: by ey-out-2122.google.com with SMTP id 9so951866eyd.31
	for <rtg-bfd@ietf.org>; Tue, 09 Sep 2008 01:14:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references;
	bh=JgdzTYPJIMqNQMmM9EVIka9TfG+t5okHmlxeGuaiBmQ=;
	b=nOAKQqgOAwQkxAQ+dqQcTv+38nrVMPMwBrzzRPUibF3EkOdZ4ooBziV/fGILpKcG4o
	53aLlsUE+EOAZAJN7a6p6lRIXc6hmYKHTyajGQdcRBqzLplfwpBxd35CxZHlbHhbmR48
	BrUa+6n95QYqArLnCCB1mdkuvTAppbWolDRhk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references;
	b=ORXvfgJAayB3M7QAD6Of/o+hx+113IusCMlRGcQrrIzIXvy7Mr8Cr7c1rUm1BlvY90
	8wEFTj8T3kWKpzFkTvwH9o9hDsETlB0lpFAZ/3SPmYXwjvIIcCLsvpxMxynk0lklElQL
	VREOQ0D/Kmy99HS8h6bC+/Ux7qIQNVYZ4Yx2k=
Received: by 10.181.32.15 with SMTP id k15mr11587407bkj.84.1220948061753;
	Tue, 09 Sep 2008 01:14:21 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Tue, 9 Sep 2008 01:14:21 -0700 (PDT)
Message-ID: <77ead0ec0809090114t1380305bv1849bb3b5073f9e@mail.gmail.com>
Date: Tue, 9 Sep 2008 13:44:21 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: "Nitin Bahadur" <nitinb@juniper.net>
Subject: Re: BFD for MPLS
In-Reply-To: <C4EB4FB7.270C6%nitinb@juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <77ead0ec0809080300o1151c9cbwc6f783128cbaed93@mail.gmail.com>
	<C4EB4FB7.270C6%nitinb@juniper.net>
Cc: rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Nitin,

Thanks for the reply and great to see your mail. It is encouraging to
see some discussion (I was just beginning to become unsure if the list
was still alive or not).

> MPLS BFD is a specific use case of BFD-Base and hence MPLS-BFD can apply
> specific provisions to the use of BFD-Base.
I agree to the specific provisions can be applied however here the
base protocol itself is changed (where the base protocol gives a
different behavior an application using it states a different one). It
is also a layering violation too (base protocol now needs to be aware
of the application using it and hence changing behavior based on
that).

I guess any check so required should be done in the application and it
should not limit the base specification for this.

> In MPLS-BFD, discriminators are learnt using LSP-Ping. So you don't want the
> other end to randomly change the discriminator. If the discriminator needs
> change, then that change should probably come via LSP-Ping.
>

Yes, I got that part correct. thanks a lot for explaining it.

Thanks again,
Vishwas


From rtg-bfd-bounces@ietf.org  Tue Sep  9 12:52:45 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1CE713A6D03;
	Tue,  9 Sep 2008 12:52:45 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 086E028C0E5
	for <rtg-bfd@core3.amsl.com>; Tue,  9 Sep 2008 12:52:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.932
X-Spam-Level: 
X-Spam-Status: No, score=-5.932 tagged_above=-999 required=5 tests=[AWL=0.667, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zYK6xlHbsaCN for <rtg-bfd@core3.amsl.com>;
	Tue,  9 Sep 2008 12:52:43 -0700 (PDT)
Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163])
	by core3.amsl.com (Postfix) with ESMTP id 2570128B56A
	for <rtg-bfd@ietf.org>; Tue,  9 Sep 2008 12:52:43 -0700 (PDT)
Received: from source ([66.129.228.6]) by exprod7ob105.postini.com
	([64.18.6.12]) with SMTP; Tue, 09 Sep 2008 12:52:32 PDT
Received: from emailcorp3.jnpr.net ([66.129.254.13]) by p-emsmtp01.jnpr.net
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Tue, 9 Sep 2008 12:52:29 -0700
Received: from 172.23.8.36 ([172.23.8.36]) by emailcorp3.jnpr.net
	([66.129.254.13]) with Microsoft Exchange Server HTTP-DAV ; 
	Tue,  9 Sep 2008 19:49:28 +0000
User-Agent: Microsoft-Entourage/12.10.0.080409
Date: Tue, 09 Sep 2008 12:52:19 -0700
Subject: Re: BFD for MPLS
From: Nitin Bahadur <nitinb@juniper.net>
To: Vishwas Manral <vishwas.ietf@gmail.com>
Message-ID: <C4EC2203.271E4%nitinb@juniper.net>
Thread-Topic: BFD for MPLS
Thread-Index: AckStZEg2xtOjahSRUCH2EEbn07Pug==
In-Reply-To: <77ead0ec0809090114t1380305bv1849bb3b5073f9e@mail.gmail.com>
Mime-version: 1.0
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 09 Sep 2008 19:52:29.0502 (UTC)
	FILETIME=[976355E0:01C912B5]
Cc: rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


>> MPLS BFD is a specific use case of BFD-Base and hence MPLS-BFD can apply
>> specific provisions to the use of BFD-Base.
> I agree to the specific provisions can be applied however here the
> base protocol itself is changed (where the base protocol gives a
> different behavior an application using it states a different one). It
> is also a layering violation too (base protocol now needs to be aware
> of the application using it and hence changing behavior based on
> that).
> 
> I guess any check so required should be done in the application and it
> should not limit the base specification for this.

I agree. Where you do the  check is implementation specific. From a design
perspective, this is a special case of BFD for MPLS and the MPLS specific
client code should enforce that.

But there is a small aspect of BFD here, that the BFD state machine should
not allow discriminator change (if it doesn't come from LSP-Ping). I guess
the draft tries to point out this specific case....I don't think the
intention of the draft is to say that the change is not allowed even via
lsp-ping.

Nitin



From rtg-bfd-bounces@ietf.org  Sat Sep 13 05:23:13 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 213F53A6C54;
	Sat, 13 Sep 2008 05:23:13 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2A6B93A6BA6
	for <rtg-bfd@core3.amsl.com>; Sat, 13 Sep 2008 05:23:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.179
X-Spam-Level: 
X-Spam-Status: No, score=-2.179 tagged_above=-999 required=5 tests=[AWL=0.086, 
	BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Wtpo3kd0R62R for <rtg-bfd@core3.amsl.com>;
	Sat, 13 Sep 2008 05:23:11 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108])
	by core3.amsl.com (Postfix) with ESMTP id 745653A677E
	for <rtg-bfd@ietf.org>; Sat, 13 Sep 2008 05:23:11 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001)
	id 19E76244061; Sat, 13 Sep 2008 12:23:20 +0000 (UTC)
Date: Sat, 13 Sep 2008 08:23:20 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: rtg-bfd@ietf.org
Subject: [nomcom-chair@ietf.org: Nomcom call for candidates]
Message-ID: <20080913122319.GA26495@slice>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.15+20070412 (2007-04-11)
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

----- Forwarded message from NomCom Chair <nomcom-chair@ietf.org> -----

Date: Fri, 12 Sep 2008 09:48:11 -0700 (PDT)
From: NomCom Chair <nomcom-chair@ietf.org>
To: Working Group Chairs <wgchairs@ietf.org>
Subject: Nomcom call for candidates 
X-Mailman-Approved-At: Fri, 12 Sep 2008 10:01:47 -0700
List-Id: Working Group Chairs <wgchairs.ietf.org>

The message below was just sent to the IETF-Annoucne list.
However, it order to get to as many people as possible, I am asking WG
chairs a favor.  Please forward the message to your working groups.

Thank you,
Joel M. Halpern

The 2008-9 IETF Nominating Committee needs your help.
We have started getting candidates.
If we are going to do our job in time, we have only 3 more weeks to get
enough candidates to have a reasonable pool for all the jobs.
At the moment, we do not have a reasonable pool for any jobs.

If you are willing to serve, please nominate yourself.
If there is someone you think would do a good job, please nominate them.

The web site at:
    http://wiki.tools.ietf.org/group/nomcom/08
Has the list of positions we are seeking people for, as well as tools for
providing both nominations and feedback.

Alternatively, you can submit nominations by sending email to me.

Please help us.

Thank you,
Joel M. Halpern
jmh@joelhalpern.com
nomcom-chair@ietf.org

----- End forwarded message -----


From rtg-bfd-bounces@ietf.org  Sat Sep 13 22:43:39 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 501CA3A69E3;
	Sat, 13 Sep 2008 22:43:39 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E445228C15A
	for <rtg-bfd@core3.amsl.com>; Sat, 13 Sep 2008 22:43:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id D6bQ5aEM-XTr for <rtg-bfd@core3.amsl.com>;
	Sat, 13 Sep 2008 22:43:37 -0700 (PDT)
Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169])
	by core3.amsl.com (Postfix) with ESMTP id 459393A69E3
	for <rtg-bfd@ietf.org>; Sat, 13 Sep 2008 22:43:37 -0700 (PDT)
Received: by wf-out-1314.google.com with SMTP id 27so1475693wfd.31
	for <rtg-bfd@ietf.org>; Sat, 13 Sep 2008 22:43:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:mime-version:content-type:content-transfer-encoding
	:content-disposition;
	bh=xnibAu5EaUAlA/Uu2nUIJSwhadDzEDXLyq8WYl8N/Q0=;
	b=hNNxLcFgdmvm06c+IXG11hI3BIKT+lFl4pUqk17LSGavwCLfntAIXlMQcuxTF7zj4D
	LlvNM0yzENflHLTOqHyI2R8ciCq+fBbrP1CKoCND/9WO05QgcFM2pkxlZp9JzJvCmH7I
	Ndv8e7o/O/TVnQgCl5NYfBTYc0/DJHMb2e2L0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type
	:content-transfer-encoding:content-disposition;
	b=WBOhGy2eAHFmXI9fQjXpgIQYP3kavi5c3EidWPuuX3iQ5CN0OgOnnTvRVY2dXzgjoo
	VRqGHOB6o303aO8defD0Dug3ijdS+stlX7l2vI0iH++s0WqWUo4uo2rJwN4PKYxS/xZ2
	NHQ3UKV398Oq8oyCyZ5OCifv7yc54Z6RaazFM=
Received: by 10.142.229.4 with SMTP id b4mr2156266wfh.19.1221371017128;
	Sat, 13 Sep 2008 22:43:37 -0700 (PDT)
Received: by 10.142.77.18 with HTTP; Sat, 13 Sep 2008 22:43:36 -0700 (PDT)
Message-ID: <d22871a20809132243m2016faafo7ceaf56c1861671f@mail.gmail.com>
Date: Sun, 14 Sep 2008 01:43:36 -0400
From: "Yin Lee" <c.yin.lee@gmail.com>
To: rtg-bfd@ietf.org
Subject: BFD shares fate with the Control Plane and unplanned restart
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

I have a question wrt the following sections in draft-ietf-bfd-generic-04
"4.3.2. BFD Shares Fate with the Control Plane

   If BFD shares fate with the control plane on either system (the "C"
   bit is clear in either direction), a BFD session failure cannot be
   disentangled from other events taking place in the control plane.  In
   many cases, the BFD session will fail as a side effect of the restart
   taking place.  As such, it would be best to avoid aborting any
Graceful Restart taking place, if possible (since otherwise BFD and
Graceful Restart cannot coexist.)  ...

4.3.2.2. Control Protocols Without Planned Restart Signaling
   Control protocols that cannot signal a planned restart depend on the
   recently restarted system to signal the Graceful Restart prior to the
   control protocol adjacency timeout.  In most cases, whether the
   restart is planned or unplanned, it is likely that the BFD session
   will time out prior to the onset of Graceful Restart, in which case a
   topology change SHOULD be signaled in the control protocol as
   specified in section 3.2."

Q: If the 'C' bit is cleared,  "it would be best to avoid aborting an
Graceful Restart taking place, if possible (since otherwise BFD and
   Graceful Restart cannot coexist.)" ,
why is it "whether the
   restart is planned or unplanned, it is likely that the BFD session
   will time out prior to the onset of Graceful Restart, in which case a
   topology change SHOULD be signaled in the control protocol
 specified in section 3.2"

Why signal topology change if the router knows a GR is taking place
(for a planned restart) and the BFD is fate sharing with the control
plane?

Thanks
Cheng-Yin


From rtg-bfd-bounces@ietf.org  Sun Sep 14 05:08:11 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9D3C83A6A5D;
	Sun, 14 Sep 2008 05:08:11 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 78E4D3A6A6C
	for <rtg-bfd@core3.amsl.com>; Sun, 14 Sep 2008 05:08:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level: 
X-Spam-Status: No, score=-1.996 tagged_above=-999 required=5 tests=[AWL=0.604, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id jKdYevW572Hv for <rtg-bfd@core3.amsl.com>;
	Sun, 14 Sep 2008 05:08:09 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158])
	by core3.amsl.com (Postfix) with ESMTP id 42CCC3A6A5D
	for <rtg-bfd@ietf.org>; Sun, 14 Sep 2008 05:08:09 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id d23so1035667fga.41
	for <rtg-bfd@ietf.org>; Sun, 14 Sep 2008 05:08:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references;
	bh=4vJehBd7q/rxWFtH7IQuUhlXFRYcDpeBNibYHtkHyUo=;
	b=fqkAizMP68DnBGFr5oHMoaQ/9/ggfhJLYVaTzwl0YfWlzWeVF2m0qlQ1UfMD5V+6YK
	7G0/K54rIXCrv42eOk0A/i2K/3V95TECdK8Uc6971RR6E+4yotEwUMGpCvPp9ptAyBSC
	mCBdyVmNtPm1+1LsgqlY54KjEbjvHWncd5AQA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references;
	b=my3oD35OjnLJHAzifw/W6Yc/FiubTI+ACv+EWykFa2BBum7bFpoyxN5kgcSig3oqDt
	DrnYBg+/OtDj9Wr2J6Nm1878s+pfGE5IvYLMDqVqU+L487cHBj8SVs12BSzf23XCNESa
	KJ+qCeWpOXE267any13kDCSKNMkwHSCiTNso4=
Received: by 10.180.224.13 with SMTP id w13mr4349956bkg.100.1221394096418;
	Sun, 14 Sep 2008 05:08:16 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Sun, 14 Sep 2008 05:08:16 -0700 (PDT)
Message-ID: <77ead0ec0809140508v426a8f67l5667553c0395b5e4@mail.gmail.com>
Date: Sun, 14 Sep 2008 17:38:16 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: "Yin Lee" <c.yin.lee@gmail.com>
Subject: Re: BFD shares fate with the Control Plane and unplanned restart
In-Reply-To: <d22871a20809132243m2016faafo7ceaf56c1861671f@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <d22871a20809132243m2016faafo7ceaf56c1861671f@mail.gmail.com>
Cc: rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Cheng-Yin,

You  are nearly right. In case if we know beforehand we should not
have BFD signal topology change in case of planned restart.

However note that  Section 4.3.2.2 is for protocols which do not
support planned restart signalling the other end BFD will not know
there is a restart or not. So BFD will signal the topology change
before the restart signalling starts. Note the last section of 10.1.2,
that will clarify your doubt.

Thanks,
Vishwas


On 9/14/08, Yin Lee <c.yin.lee@gmail.com> wrote:
> I have a question wrt the following sections in draft-ietf-bfd-generic-04
> "4.3.2. BFD Shares Fate with the Control Plane
>
>    If BFD shares fate with the control plane on either system (the "C"
>    bit is clear in either direction), a BFD session failure cannot be
>    disentangled from other events taking place in the control plane.  In
>    many cases, the BFD session will fail as a side effect of the restart
>    taking place.  As such, it would be best to avoid aborting any
> Graceful Restart taking place, if possible (since otherwise BFD and
> Graceful Restart cannot coexist.)  ...
>
> 4.3.2.2. Control Protocols Without Planned Restart Signaling
>    Control protocols that cannot signal a planned restart depend on the
>    recently restarted system to signal the Graceful Restart prior to the
>    control protocol adjacency timeout.  In most cases, whether the
>    restart is planned or unplanned, it is likely that the BFD session
>    will time out prior to the onset of Graceful Restart, in which case a
>    topology change SHOULD be signaled in the control protocol as
>    specified in section 3.2."
>
> Q: If the 'C' bit is cleared,  "it would be best to avoid aborting an
> Graceful Restart taking place, if possible (since otherwise BFD and
>    Graceful Restart cannot coexist.)" ,
> why is it "whether the
>    restart is planned or unplanned, it is likely that the BFD session
>    will time out prior to the onset of Graceful Restart, in which case a
>    topology change SHOULD be signaled in the control protocol
>  specified in section 3.2"
>
> Why signal topology change if the router knows a GR is taking place
> (for a planned restart) and the BFD is fate sharing with the control
> plane?
>
> Thanks
> Cheng-Yin
>


From rtg-bfd-bounces@ietf.org  Mon Sep 15 03:33:59 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6D6063A6884;
	Mon, 15 Sep 2008 03:33:59 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8AA223A682E
	for <rtg-bfd@core3.amsl.com>; Mon, 15 Sep 2008 03:33:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.116
X-Spam-Level: 
X-Spam-Status: No, score=-2.116 tagged_above=-999 required=5 tests=[AWL=0.483, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XbyoC0IkTCN0 for <rtg-bfd@core3.amsl.com>;
	Mon, 15 Sep 2008 03:33:57 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156])
	by core3.amsl.com (Postfix) with ESMTP id 9268B3A6884
	for <rtg-bfd@ietf.org>; Mon, 15 Sep 2008 03:33:57 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id d23so1318229fga.41
	for <rtg-bfd@ietf.org>; Mon, 15 Sep 2008 03:34:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:mime-version:content-type:content-transfer-encoding
	:content-disposition;
	bh=Hw0OymcO8ccu04AT7HsWcKrGkphmMyePv5FvdTgjOu8=;
	b=XetN2egoY0GP4YGxBKNIK1CmafkfXmbpg2Ql/kIGpIEhVlOQ8jGLGT+kzH8LZEIe8D
	SnVlWXoVQOVVtDW/iK1O/korm9C17v6eDHPmlAAn299xbVSijR+lp6As+8/5KiY9IzRb
	SHU4KxslM3uLRPLuZf6woOQRAMqJv13M+iTBc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type
	:content-transfer-encoding:content-disposition;
	b=wt+A5kGUDvMk5zu1a3I0j6fOTNsDFcsGc3fHbycUAOvGt/iv3duZ4nVpRLw05hY6Dj
	3QO+MR2qjwkncHO7kNqI2speko0rRiHjmVnc54l0oEG6N37dJj5XXz2X+s9FZcPaQu5c
	3f2KG23JWaahZBT4WLSwGXmouWINc37nnOcLY=
Received: by 10.180.246.2 with SMTP id t2mr5134726bkh.25.1221474846600;
	Mon, 15 Sep 2008 03:34:06 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Mon, 15 Sep 2008 03:34:06 -0700 (PDT)
Message-ID: <77ead0ec0809150334s44706c8ewc2b854997d473c7d@mail.gmail.com>
Date: Mon, 15 Sep 2008 16:04:06 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: rtg-bfd@ietf.org
Subject: BFD base comments
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi,

I noted that in the BFD base spec while processing a BFD packet with
authentication, we first check the MD5 digest and then later check the
sequence number. I think the order needs to be reversed.

If we check the sequence number after doing a MD5 digest verification,
even if we get replayed packets, we will be doing the costly hash
operations, thus wasting a lot of CPU and exposing ourselves to simple
CPU exhaustion attacks.

Is there a reason we do the sequence number checks later and not
before like other checks?

Thanks,
Vishwas


From rtg-bfd-bounces@ietf.org  Wed Sep 17 02:15:10 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8F5503A6C67;
	Wed, 17 Sep 2008 02:15:10 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8824928C297
	for <rtg-bfd@core3.amsl.com>; Wed, 17 Sep 2008 02:15:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.197
X-Spam-Level: 
X-Spam-Status: No, score=-2.197 tagged_above=-999 required=5 tests=[AWL=0.402, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gBS1hHSDKywp for <rtg-bfd@core3.amsl.com>;
	Wed, 17 Sep 2008 02:15:08 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155])
	by core3.amsl.com (Postfix) with ESMTP id 4D0213A6C59
	for <rtg-bfd@ietf.org>; Wed, 17 Sep 2008 02:15:07 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id d23so1943572fga.41
	for <rtg-bfd@ietf.org>; Wed, 17 Sep 2008 02:15:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:mime-version:content-type:content-transfer-encoding
	:content-disposition;
	bh=1jyb2Y3Z1g3jYbKE8VgVrPMAX1ukNvsDkqyeDHIW0Zs=;
	b=lh/ANiJ9yp4xLg0P7+RKmwg0l+jqRNSwfRMu98WNhByM8TZ8444HC8Ui4xVRzW46ZO
	L08Wp1Tskg7ULcbr07MqLvAG10PeMb4WMCEcQJsIoUlvKmsA1B6WNDLr2ErzHFLBoE71
	GVzMq+i/jdH3rose0ig/dGqIRjLhc1dWHRbBA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type
	:content-transfer-encoding:content-disposition;
	b=ccRAtFiaZZVbiOTzZ3DZg+PKf+lESyDVS6yJb4extce/GSK8fYi6Xr1Fd+dRT9RrWR
	wMZHKVep86d7rzQ355kqMExqM9xWubYf9R5pJ2QbEYOTCW+KQcZcgqdjnLtCppMsM/wx
	JVIMZY8nyB9fHUHkEVnNo8oG2b/g042Rovsqo=
Received: by 10.181.36.9 with SMTP id o9mr1550745bkj.89.1221642919358;
	Wed, 17 Sep 2008 02:15:19 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Wed, 17 Sep 2008 02:15:19 -0700 (PDT)
Message-ID: <77ead0ec0809170215v40599889hde4a9672b8adf90d@mail.gmail.com>
Date: Wed, 17 Sep 2008 14:45:19 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: tom.nadeau@bt.com, zali@cisco.com, nobo@cisco.com, rtg-bfd@ietf.org
Subject: BFD MIB comments
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Tom/ Zafar/ Nobo,

I noticed some small changes required in the MIB which need some
consideration, while working on the BFD.

1. In the session table I find there is an object which states BFD
SessionAuthenticationType. We also talk about KeyId.

The idea of KeyId is to be able to use any algorithm and Key and hence
allow Key changing (for Key rollover)  and authentication type
changing at run time. So a KeyID indexes information which tells the
authentication and the Key to be used. When we want to change either
the algorithm or the Key at either end. We first allow another Key
ID's to be enabled for packet reception while still using the old one
for sending out packets. When all the routers have been configured
with this change we can actually do a Key switchover, by changing the
configuration for sending packets. There however seems only 1 KeyID
overall for receiving and sending.

In my view we can have a separate table of all KeyId's which is
indexed by each session, just like the session performance table. The
table itself contains KeyId (the Index to the table) active/ inactive/
algorithm to use and direction (outbound/ inbound/ both). There can be
only one sending but multiple reception Keys active at one time (so if
another is made active the otehr row needs to be made inactive).

2. I also noticed that bfdSessOperMode, some values talk about Fun and
others Function. We can make that uniform, preferably the full term to
be used.

3. I think BFDSessionPerfEntry needs to have counts of at least
packets which were discarded - if not count of the reasons of each
kind of packet discarded.

4. I think we need to add number of packets for which authentication
failed. It is very helpful and essential and figuring if there are any
misbehaving packets being received.

If you need help with this, do let me know and I can update this myself too.

Thanks,
Vishwas


From rtg-bfd-bounces@ietf.org  Wed Sep 17 02:50:52 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6F3F83A6C63;
	Wed, 17 Sep 2008 02:50:52 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9109F3A689A
	for <rtg-bfd@core3.amsl.com>; Wed, 17 Sep 2008 02:50:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gP1vKDYksTTF for <rtg-bfd@core3.amsl.com>;
	Wed, 17 Sep 2008 02:50:50 -0700 (PDT)
Received: from lucidvision.com (lucidvision.com [72.71.250.34])
	by core3.amsl.com (Postfix) with ESMTP id 7525E3A6C63
	for <rtg-bfd@ietf.org>; Wed, 17 Sep 2008 02:50:50 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by lucidvision.com (Postfix) with ESMTP id 3F10F1C8E525;
	Wed, 17 Sep 2008 05:51:04 -0400 (EDT)
Received: from lucidvision.com ([127.0.0.1])
	by localhost (static-72-71-250-34.cncdnh.fios.verizon.net [127.0.0.1])
	(amavisd-new, port 10024)
	with ESMTP id 17aJzvlXJMa6; Wed, 17 Sep 2008 05:51:03 -0400 (EDT)
Received: from PC0158.btbd.btopenzone.com (unknown [217.41.236.96])
	by lucidvision.com (Postfix) with ESMTP id 1A1331C8E512;
	Wed, 17 Sep 2008 05:50:59 -0400 (EDT)
Message-Id: <B71CD0F6-5E41-4B64-842B-742627BDF8D5@lucidvision.com>
From: Thomas Nadeau <tnadeau@lucidvision.com>
To: "Vishwas Manral" <vishwas.ietf@gmail.com>
In-Reply-To: <77ead0ec0809170215v40599889hde4a9672b8adf90d@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v929.2)
Subject: Re: BFD MIB comments
Date: Wed, 17 Sep 2008 10:50:55 +0100
References: <77ead0ec0809170215v40599889hde4a9672b8adf90d@mail.gmail.com>
X-Mailer: Apple Mail (2.929.2)
Cc: tom.nadeau@bt.com, zali@cisco.com, rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


On Sep 17, 2008:10:15 AM, at 10:15 AM, Vishwas Manral wrote:

> Hi Tom/ Zafar/ Nobo,
>
> I noticed some small changes required in the MIB which need some
> consideration, while working on the BFD.
>
> 1. In the session table I find there is an object which states BFD
> SessionAuthenticationType. We also talk about KeyId.
>
> The idea of KeyId is to be able to use any algorithm and Key and hence
> allow Key changing (for Key rollover)  and authentication type
> changing at run time. So a KeyID indexes information which tells the
> authentication and the Key to be used. When we want to change either
> the algorithm or the Key at either end. We first allow another Key
> ID's to be enabled for packet reception while still using the old one
> for sending out packets. When all the routers have been configured
> with this change we can actually do a Key switchover, by changing the
> configuration for sending packets. There however seems only 1 KeyID
> overall for receiving and sending.
>
> In my view we can have a separate table of all KeyId's which is
> indexed by each session, just like the session performance table. The
> table itself contains KeyId (the Index to the table) active/ inactive/
> algorithm to use and direction (outbound/ inbound/ both). There can be
> only one sending but multiple reception Keys active at one time (so if
> another is made active the otehr row needs to be made inactive).

	This is a pretty significant change. I'd like to hear from the  
vendors who are implementing this to see if this is really needed in  
their implementations.

> 2. I also noticed that bfdSessOperMode, some values talk about Fun and
> others Function. We can make that uniform, preferably the full term to
> be used.

	ACK.

> 3. I think BFDSessionPerfEntry needs to have counts of at least
> packets which were discarded - if not count of the reasons of each
> kind of packet discarded.

	This is very difficult to do in a real implementation -- especially  
one that is highly optimized for the positive case; therefore, I do  
not think we should do this. At best I would say counting discards  
without a reason is the way to go here.

> 4. I think we need to add number of packets for which authentication
> failed. It is very helpful and essential and figuring if there are any
> misbehaving packets being received.

	The alternative to counting, is to just have a time stamp for the  
last failure. Operationally it is not the number of failures on a  
session that matter (most of the time), but when the last time it  
happened.

	--Tom


> If you need help with this, do let me know and I can update this  
> myself too.
>
> Thanks,
> Vishwas
>



From rtg-bfd-bounces@ietf.org  Wed Sep 17 03:07:02 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9E7363A6C80;
	Wed, 17 Sep 2008 03:07:02 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5AC193A6C80
	for <rtg-bfd@core3.amsl.com>; Wed, 17 Sep 2008 03:07:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.884
X-Spam-Level: 
X-Spam-Status: No, score=-1.884 tagged_above=-999 required=5 tests=[AWL=0.715, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gIVw1DnI8v51 for <rtg-bfd@core3.amsl.com>;
	Wed, 17 Sep 2008 03:07:01 -0700 (PDT)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191])
	by core3.amsl.com (Postfix) with ESMTP id 11E343A68CF
	for <rtg-bfd@ietf.org>; Wed, 17 Sep 2008 03:07:00 -0700 (PDT)
Received: by mu-out-0910.google.com with SMTP id w1so2338950mue.9
	for <rtg-bfd@ietf.org>; Wed, 17 Sep 2008 03:07:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references;
	bh=q82z2UxjNRRYx/saiyJI9JUXsFaerKg8asoT3FxaJNM=;
	b=KK8O2BNSI9kz76a4C1iz6YqhierLniaW3coxInS4eZwKfvooyDTZxSwOFPUfin6zp7
	iSF6JmySektbXiUEyV0yWTxwj8XTTN5X0ekMbbJr9H5Kfpap8cMchn3RLngua01SOZAz
	6t5rWdExQ355bCRsAvG5N9XM5I4N/SEyfBPrs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references;
	b=uE7BNIpBRkCZyaIXspfi198mtT5gulXKhnm19xJlKHk8C/bwK2qpuD1PSCGdj16zyB
	2BAg8Y2GkBBX5y2SHuv8QvKX622FIbMB7aZU28eiuKSoO+Gn85Nad22I3bBd4zUp89h8
	69ZwtiK4ZsdmWtvZ3LV5YHQyiYsuX4Q31LLY0=
Received: by 10.180.228.12 with SMTP id a12mr1618686bkh.34.1221646033257;
	Wed, 17 Sep 2008 03:07:13 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Wed, 17 Sep 2008 03:07:13 -0700 (PDT)
Message-ID: <77ead0ec0809170307k75b39278s653bb1d806cb7cd5@mail.gmail.com>
Date: Wed, 17 Sep 2008 15:37:13 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: "Thomas Nadeau" <tnadeau@lucidvision.com>
Subject: Re: BFD MIB comments
In-Reply-To: <B71CD0F6-5E41-4B64-842B-742627BDF8D5@lucidvision.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <77ead0ec0809170215v40599889hde4a9672b8adf90d@mail.gmail.com>
	<B71CD0F6-5E41-4B64-842B-742627BDF8D5@lucidvision.com>
Cc: tom.nadeau@bt.com, zali@cisco.com, rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Tom,

>> I noticed some small changes required in the MIB which need some
>> consideration, while working on the BFD.
>>
>> 1. In the session table I find there is an object which states BFD
>> SessionAuthenticationType. We also talk about KeyId.
>>
>> The idea of KeyId is to be able to use any algorithm and Key and hence
>> allow Key changing (for Key rollover)  and authentication type
>> changing at run time. So a KeyID indexes information which tells the
>> authentication and the Key to be used. When we want to change either
>> the algorithm or the Key at either end. We first allow another Key
>> ID's to be enabled for packet reception while still using the old one
>> for sending out packets. When all the routers have been configured
>> with this change we can actually do a Key switchover, by changing the
>> configuration for sending packets. There however seems only 1 KeyID
>> overall for receiving and sending.
>>
>> In my view we can have a separate table of all KeyId's which is
>> indexed by each session, just like the session performance table. The
>> table itself contains KeyId (the Index to the table) active/ inactive/
>> algorithm to use and direction (outbound/ inbound/ both). There can be
>> only one sending but multiple reception Keys active at one time (so if
>> another is made active the otehr row needs to be made inactive).
>
>        This is a pretty significant change. I'd like to hear from the
> vendors who are implementing this to see if this is really needed in their
> implementations.

Yes this is a significant change. But it meets the requirement of what
is explained in the MIB draft itself of allowing multiple KeyID's. We
currently talk about allowing multiple KeyId's active however the
session has only 1 KeyId field.

Yes, we are implementing it. This thing is already there in our other
protocol implementations.


>> 3. I think BFDSessionPerfEntry needs to have counts of at least
>> packets which were discarded - if not count of the reasons of each
>> kind of packet discarded.
>
>        This is very difficult to do in a real implementation -- especially
> one that is highly optimized for the positive case; therefore, I do not
> think we should do this. At best I would say counting discards without a
> reason is the way to go here.

Yes that would be ok too. Though I would prefer more diagnostics information.

>
>> 4. I think we need to add number of packets for which authentication
>> failed. It is very helpful and essential and figuring if there are any
>> misbehaving packets being received.
>
>        The alternative to counting, is to just have a time stamp for the
> last failure. Operationally it is not the number of failures on a session
> that matter (most of the time), but when the last time it happened.
Yes, agree. However if you see the security perspective, you would
want to know how many times there have been tries to test the security
of the system.

>> If you need help with this, do let me know and I can update this myself
>> too.
Ok, this offer is still open. :)

Thanks,
Vishwas


From rtg-bfd-bounces@ietf.org  Wed Sep 17 03:27:53 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4424E3A6C80;
	Wed, 17 Sep 2008 03:27:53 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 299F53A6966
	for <rtg-bfd@core3.amsl.com>; Wed, 17 Sep 2008 03:27:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GTqORIKyhvcC for <rtg-bfd@core3.amsl.com>;
	Wed, 17 Sep 2008 03:27:51 -0700 (PDT)
Received: from lucidvision.com (lucidvision.com [72.71.250.34])
	by core3.amsl.com (Postfix) with ESMTP id 197F13A6C80
	for <rtg-bfd@ietf.org>; Wed, 17 Sep 2008 03:27:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by lucidvision.com (Postfix) with ESMTP id 0C9B51C8E784;
	Wed, 17 Sep 2008 06:28:04 -0400 (EDT)
Received: from lucidvision.com ([127.0.0.1])
	by localhost (static-72-71-250-34.cncdnh.fios.verizon.net [127.0.0.1])
	(amavisd-new, port 10024)
	with ESMTP id u4n7xwwixTzC; Wed, 17 Sep 2008 06:28:02 -0400 (EDT)
Received: from PC0158.btbd.btopenzone.com (unknown [217.41.236.96])
	by lucidvision.com (Postfix) with ESMTP id 59C3F1C8E777;
	Wed, 17 Sep 2008 06:28:00 -0400 (EDT)
Message-Id: <D52D834B-953A-4D5F-AA33-2B8798E01878@lucidvision.com>
From: Thomas Nadeau <tnadeau@lucidvision.com>
To: "Vishwas Manral" <vishwas.ietf@gmail.com>
In-Reply-To: <77ead0ec0809170307k75b39278s653bb1d806cb7cd5@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v929.2)
Subject: Re: BFD MIB comments
Date: Wed, 17 Sep 2008 11:27:52 +0100
References: <77ead0ec0809170215v40599889hde4a9672b8adf90d@mail.gmail.com>
	<B71CD0F6-5E41-4B64-842B-742627BDF8D5@lucidvision.com>
	<77ead0ec0809170307k75b39278s653bb1d806cb7cd5@mail.gmail.com>
X-Mailer: Apple Mail (2.929.2)
Cc: tom.nadeau@bt.com, zali@cisco.com, rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


On Sep 17, 2008:11:07 AM, at 11:07 AM, Vishwas Manral wrote:

> Hi Tom,
>
>>> I noticed some small changes required in the MIB which need some
>>> consideration, while working on the BFD.
>>>
>>> 1. In the session table I find there is an object which states BFD
>>> SessionAuthenticationType. We also talk about KeyId.
>>>
>>> The idea of KeyId is to be able to use any algorithm and Key and  
>>> hence
>>> allow Key changing (for Key rollover)  and authentication type
>>> changing at run time. So a KeyID indexes information which tells the
>>> authentication and the Key to be used. When we want to change either
>>> the algorithm or the Key at either end. We first allow another Key
>>> ID's to be enabled for packet reception while still using the old  
>>> one
>>> for sending out packets. When all the routers have been configured
>>> with this change we can actually do a Key switchover, by changing  
>>> the
>>> configuration for sending packets. There however seems only 1 KeyID
>>> overall for receiving and sending.
>>>
>>> In my view we can have a separate table of all KeyId's which is
>>> indexed by each session, just like the session performance table.  
>>> The
>>> table itself contains KeyId (the Index to the table) active/  
>>> inactive/
>>> algorithm to use and direction (outbound/ inbound/ both). There  
>>> can be
>>> only one sending but multiple reception Keys active at one time  
>>> (so if
>>> another is made active the otehr row needs to be made inactive).
>>
>>       This is a pretty significant change. I'd like to hear from the
>> vendors who are implementing this to see if this is really needed  
>> in their
>> implementations.
>
> Yes this is a significant change. But it meets the requirement of what
> is explained in the MIB draft itself of allowing multiple KeyID's. We
> currently talk about allowing multiple KeyId's active however the
> session has only 1 KeyId field.
>
> Yes, we are implementing it. This thing is already there in our other
> protocol implementations.
	
	I am sure that you are. *)  I want to know who all else is using it.

	--Tom



>>> 3. I think BFDSessionPerfEntry needs to have counts of at least
>>> packets which were discarded - if not count of the reasons of each
>>> kind of packet discarded.
>>
>>       This is very difficult to do in a real implementation --  
>> especially
>> one that is highly optimized for the positive case; therefore, I do  
>> not
>> think we should do this. At best I would say counting discards  
>> without a
>> reason is the way to go here.
>
> Yes that would be ok too. Though I would prefer more diagnostics  
> information.
>
>>
>>> 4. I think we need to add number of packets for which authentication
>>> failed. It is very helpful and essential and figuring if there are  
>>> any
>>> misbehaving packets being received.
>>
>>       The alternative to counting, is to just have a time stamp for  
>> the
>> last failure. Operationally it is not the number of failures on a  
>> session
>> that matter (most of the time), but when the last time it happened.
> Yes, agree. However if you see the security perspective, you would
> want to know how many times there have been tries to test the security
> of the system.
>
>>> If you need help with this, do let me know and I can update this  
>>> myself
>>> too.
> Ok, this offer is still open. :)
>
> Thanks,
> Vishwas
>



From rtg-bfd-bounces@ietf.org  Thu Sep 25 23:35:03 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 609973A6A95;
	Thu, 25 Sep 2008 23:35:03 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4E9AC3A6A95
	for <rtg-bfd@core3.amsl.com>; Thu, 25 Sep 2008 23:35:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ZdAYcGrDiZD7 for <rtg-bfd@core3.amsl.com>;
	Thu, 25 Sep 2008 23:35:01 -0700 (PDT)
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185])
	by core3.amsl.com (Postfix) with ESMTP id 6770F3A68B1
	for <rtg-bfd@ietf.org>; Thu, 25 Sep 2008 23:35:01 -0700 (PDT)
Received: by fk-out-0910.google.com with SMTP id 18so765774fkq.5
	for <rtg-bfd@ietf.org>; Thu, 25 Sep 2008 23:34:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:mime-version:content-type:content-transfer-encoding
	:content-disposition;
	bh=gX0/mvemdVlhe1YR4pWNXjBr32ZDP5U/EKh+v3lqAVg=;
	b=WDzWeJNEGZYkEv3MDdxS1jOE1IfToBnEh2I/nVQvY8ZQ0yJWpF0uMr7/peCHuk4lWe
	nhbICWEWKtQVrHl8PJWeyJuDFZ0/EV2MwVwdduC8mIh2LXj/Rd5uFoslDlNOMNFB0kIe
	IoWwDA6T2Os1AnRK39YTcVrsBjEiN6HKlHG3E=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:mime-version:content-type
	:content-transfer-encoding:content-disposition;
	b=KFqT1UAI+9XBt3Ak/ZUOJE2IYJT0Sa8GQ8PSl46OCKUxsOtENLdjPsK+xNs3V1mRAY
	NUKhsrcNL3vU/vUzxZnDCNp9iuVxl3LeL66gLLYs/migpDIiCBVrubsfiNHvI1bikqFV
	wP5Fm4C1b3lKXj+liQIWhScS/2YVCFzArb2TI=
Received: by 10.181.15.18 with SMTP id s18mr482575bki.77.1222410892205;
	Thu, 25 Sep 2008 23:34:52 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Thu, 25 Sep 2008 23:34:52 -0700 (PDT)
Message-ID: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
Date: Fri, 26 Sep 2008 12:04:52 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: "Tom Nadeau" <tom.nadeau@bt.com>, zali@cisco.com, nobo@cisco.com
Subject: BFD MIB issues
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Cc: rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi,

While working on the BFD code, I figured out that the Diagnostics code
point in the BFD spec and the BFD MIB do not match.

I think the two should match and this needs to be corrected in the MIB.

Thanks,
Vishwas


From rtg-bfd-bounces@ietf.org  Fri Sep 26 01:01:01 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 72DBC3A6AEE;
	Fri, 26 Sep 2008 01:01:01 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 155463A6AEE
	for <rtg-bfd@core3.amsl.com>; Fri, 26 Sep 2008 01:01:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id jX0-KTLtKR+N for <rtg-bfd@core3.amsl.com>;
	Fri, 26 Sep 2008 01:00:52 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70])
	by core3.amsl.com (Postfix) with ESMTP id 370F93A6933
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 01:00:52 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.33,311,1220227200"; d="scan'208";a="83121814"
Received: from sj-dkim-4.cisco.com ([171.71.179.196])
	by sj-iport-1.cisco.com with ESMTP; 26 Sep 2008 08:01:02 +0000
Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138])
	by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id m8Q812q7004594; 
	Fri, 26 Sep 2008 01:01:02 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com
	[128.107.191.63])
	by sj-core-4.cisco.com (8.13.8/8.13.8) with ESMTP id m8Q812tI004015;
	Fri, 26 Sep 2008 08:01:02 GMT
Received: from xmb-sjc-22c.amer.cisco.com ([128.107.191.47]) by
	xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 26 Sep 2008 01:01:02 -0700
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
Subject: RE: BFD MIB issues
Date: Fri, 26 Sep 2008 01:00:44 -0700
Message-ID: <F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
In-Reply-To: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: BFD MIB issues
Thread-Index: Ackfog24WS9kmhSKQBWYRcmQuJZ7+gACjJkw
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
From: "Nobo Akiya (nobo)" <nobo@cisco.com>
To: "Vishwas Manral" <vishwas.ietf@gmail.com>,
	"Tom Nadeau" <tom.nadeau@bt.com>, "Zafar Ali (zali)" <zali@cisco.com>
X-OriginalArrivalTime: 26 Sep 2008 08:01:02.0363 (UTC)
	FILETIME=[04E496B0:01C91FAE]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=676; t=1222416062; x=1223280062;
	c=relaxed/simple; s=sjdkim4002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=nobo@cisco.com;
	z=From:=20=22Nobo=20Akiya=20(nobo)=22=20<nobo@cisco.com>
	|Subject:=20RE=3A=20BFD=20MIB=20issues |Sender:=20;
	bh=yHjofrxIIgj6TTGUN9ahGKTVa//M1sV+Qkfobgu60Q4=;
	b=Jj9hO4XAdZMPTjpBJebzQ6zW/C1jJn5WrchXh7nw3vsNmCWbLLhCVNUlZS
	TTZ5iDLgKMR24iqVYHJxQZ0L5aX2hPTE/xiDyyCKDcDsVmIDC8fWIEJ8Gx4W
	U89lsILAcN;
Authentication-Results: sj-dkim-4; header.From=nobo@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim4002 verified; ); 
Cc: rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


Hello Vishwas.

Zero is normally a bad index to use. You should simply do +1 to map to
the diagnostic values described in the bfd base spec.

Thanx,
Nobo

> -----Original Message-----
> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]=20
> Sent: Friday, September 26, 2008 3:35 PM
> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
> Cc: rtg-bfd@ietf.org
> Subject: BFD MIB issues
>=20
> Hi,
>=20
> While working on the BFD code, I figured out that the=20
> Diagnostics code point in the BFD spec and the BFD MIB do not match.
>=20
> I think the two should match and this needs to be corrected=20
> in the MIB.
>=20
> Thanks,
> Vishwas
>=20


From rtg-bfd-bounces@ietf.org  Fri Sep 26 02:26:13 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5463E3A6B43;
	Fri, 26 Sep 2008 02:26:13 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6DE823A6B43
	for <rtg-bfd@core3.amsl.com>; Fri, 26 Sep 2008 02:26:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Mbi4Aj50Ftaf for <rtg-bfd@core3.amsl.com>;
	Fri, 26 Sep 2008 02:26:05 -0700 (PDT)
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186])
	by core3.amsl.com (Postfix) with ESMTP id 60EFA3A6B10
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 02:25:49 -0700 (PDT)
Received: by fk-out-0910.google.com with SMTP id 18so827535fkq.5
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 02:25:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references;
	bh=K2L67jNh1s4WzAvk5TQLjaSkIrAYmSbw4iJZ7myAn60=;
	b=Eck4NVo08ufn0/mTH2/zJfjrxpUD13XJepbK/KfxtJqLZdzECEK8Af+QJU8OS0rKsO
	fuFqjpbr4jsMGUJK9i55NIatvlZZAHVMyL9pf/gjNUxnjDQpxNG7DFCMQFXL+UfgeYln
	7iwfFoPKHLrXXG1UPvPSmwlvWHni8XGU0MLcg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references;
	b=xLLh5+lATpmvk2FMiudRHEgqR0FkRKCTC3sDQUeKOl0EcqSADuAn7+XuVc+qGvU/T7
	R1j30Qq3TbNUGR3WiJiXbAdjv4qrSRbHNRvag8m/P4DfqvVb+9lZV7vq7elhQyh5x+78
	UZR1DFk+TJksnYYUE6yGArtJSGRHbv2nfP9CE=
Received: by 10.180.216.16 with SMTP id o16mr601500bkg.13.1222421158613;
	Fri, 26 Sep 2008 02:25:58 -0700 (PDT)
Received: by 10.180.252.3 with HTTP; Fri, 26 Sep 2008 02:25:58 -0700 (PDT)
Message-ID: <77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
Date: Fri, 26 Sep 2008 14:55:58 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: "Nobo Akiya (nobo)" <nobo@cisco.com>
Subject: Re: BFD MIB issues
In-Reply-To: <F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
Cc: Tom Nadeau <tom.nadeau@bt.com>, rtg-bfd@ietf.org,
	"Zafar Ali \(zali\)" <zali@cisco.com>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Nobo,

Thanks for the prompt reply.

I agree using a key of 0, is not preferable, however the BfdDiag is
not the index into any table I could find.

I can not think of a case where using a value of 0 is bad? Can you
help me understand the same? Also because of this we have different
meaning for a value in a packet and in the MIB (for the same diag code
which may not be good).

Thanks,
Vishwas

On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo) <nobo@cisco.com> wrote:
>
> Hello Vishwas.
>
> Zero is normally a bad index to use. You should simply do +1 to map to
> the diagnostic values described in the bfd base spec.
>
> Thanx,
> Nobo
>
>> -----Original Message-----
>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>> Sent: Friday, September 26, 2008 3:35 PM
>> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
>> Cc: rtg-bfd@ietf.org
>> Subject: BFD MIB issues
>>
>> Hi,
>>
>> While working on the BFD code, I figured out that the
>> Diagnostics code point in the BFD spec and the BFD MIB do not match.
>>
>> I think the two should match and this needs to be corrected
>> in the MIB.
>>
>> Thanks,
>> Vishwas
>>
>


From rtg-bfd-bounces@ietf.org  Fri Sep 26 03:06:25 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 49A983A697F;
	Fri, 26 Sep 2008 03:06:25 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id BE2863A68CD
	for <rtg-bfd@core3.amsl.com>; Fri, 26 Sep 2008 03:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id pHl1jNIjEPtD for <rtg-bfd@core3.amsl.com>;
	Fri, 26 Sep 2008 03:06:19 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87])
	by core3.amsl.com (Postfix) with ESMTP id CB16D3A696E
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 03:06:19 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.33,311,1220227200"; d="scan'208";a="46912852"
Received: from sj-dkim-2.cisco.com ([171.71.179.186])
	by sj-iport-5.cisco.com with ESMTP; 26 Sep 2008 10:06:10 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254])
	by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id m8QA6Avu023141; 
	Fri, 26 Sep 2008 03:06:10 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id m8QA6Amt013275;
	Fri, 26 Sep 2008 10:06:10 GMT
Received: from xmb-sjc-22c.amer.cisco.com ([128.107.191.47]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 26 Sep 2008 03:06:09 -0700
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
Subject: RE: BFD MIB issues
Date: Fri, 26 Sep 2008 03:05:11 -0700
Message-ID: <F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
In-Reply-To: <77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: BFD MIB issues
Thread-Index: AckfueOM/vbP9CA4SKWeueLuZj6A6AABRvYw
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
	<77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
From: "Nobo Akiya (nobo)" <nobo@cisco.com>
To: "Vishwas Manral" <vishwas.ietf@gmail.com>
X-OriginalArrivalTime: 26 Sep 2008 10:06:09.0966 (UTC)
	FILETIME=[7FC5E4E0:01C91FBF]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1799; t=1222423570;
	x=1223287570; c=relaxed/simple; s=sjdkim2002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=nobo@cisco.com;
	z=From:=20=22Nobo=20Akiya=20(nobo)=22=20<nobo@cisco.com>
	|Subject:=20RE=3A=20BFD=20MIB=20issues |Sender:=20;
	bh=WuI3ayU4EIC/DZDWIJRVaa0ZZQnDIj3HDfeZPkRQ8uU=;
	b=BN3JTbZBixBkxNQu3jBr3T6H4nnYPtCdKAD5JJ49M7stTRrd2rRdE73pn/
	TsCGPuHVz3nFyPJKhhsFbzPmi/Y3JKQpzXt0x9uSjTg912MQ9rbmAUKdCi9D
	uUpl2firJ2;
Authentication-Results: sj-dkim-2; header.From=nobo@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim2002 verified; ); 
Cc: Tom Nadeau <tom.nadeau@bt.com>, rtg-bfd@ietf.org,
	"Zafar Ali \(zali\)" <zali@cisco.com>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


Hello Vishwas.

I've been taught from experienced personels that integer indexing of
zero is prefer to be avoided. Unfortunately I don't seem to recall
reasonings behind it. Perhaps others can comment on this?

Thanx,
Nobo

> -----Original Message-----
> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]=20
> Sent: Friday, September 26, 2008 6:26 PM
> To: Nobo Akiya (nobo)
> Cc: Tom Nadeau; Zafar Ali (zali); rtg-bfd@ietf.org
> Subject: Re: BFD MIB issues
>=20
> Hi Nobo,
>=20
> Thanks for the prompt reply.
>=20
> I agree using a key of 0, is not preferable, however the=20
> BfdDiag is not the index into any table I could find.
>=20
> I can not think of a case where using a value of 0 is bad?=20
> Can you help me understand the same? Also because of this we=20
> have different meaning for a value in a packet and in the MIB=20
> (for the same diag code which may not be good).
>=20
> Thanks,
> Vishwas
>=20
> On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo)=20
> <nobo@cisco.com> wrote:
> >
> > Hello Vishwas.
> >
> > Zero is normally a bad index to use. You should simply do=20
> +1 to map to=20
> > the diagnostic values described in the bfd base spec.
> >
> > Thanx,
> > Nobo
> >
> >> -----Original Message-----
> >> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
> >> Sent: Friday, September 26, 2008 3:35 PM
> >> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
> >> Cc: rtg-bfd@ietf.org
> >> Subject: BFD MIB issues
> >>
> >> Hi,
> >>
> >> While working on the BFD code, I figured out that the Diagnostics=20
> >> code point in the BFD spec and the BFD MIB do not match.
> >>
> >> I think the two should match and this needs to be corrected in the=20
> >> MIB.
> >>
> >> Thanks,
> >> Vishwas
> >>
> >
>=20


From rtg-bfd-bounces@ietf.org  Fri Sep 26 05:38:30 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 992E03A6945;
	Fri, 26 Sep 2008 05:38:30 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id BAB443A68E5
	for <rtg-bfd@core3.amsl.com>; Fri, 26 Sep 2008 05:38:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id a00NYIw4VfjR for <rtg-bfd@core3.amsl.com>;
	Fri, 26 Sep 2008 05:38:29 -0700 (PDT)
Received: from lucidvision.com (lucidvision.com [72.71.250.34])
	by core3.amsl.com (Postfix) with ESMTP id C84B03A67C0
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 05:38:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by lucidvision.com (Postfix) with ESMTP id A51752008CE7;
	Fri, 26 Sep 2008 08:38:03 -0400 (EDT)
Received: from lucidvision.com ([127.0.0.1])
	by localhost (static-72-71-250-34.cncdnh.fios.verizon.net [127.0.0.1])
	(amavisd-new, port 10024)
	with ESMTP id I2iHgDKGlNuP; Fri, 26 Sep 2008 08:38:02 -0400 (EDT)
Received: from [192.168.1.120] (static-72-71-250-36.cncdnh.fios.verizon.net
	[72.71.250.36])
	by lucidvision.com (Postfix) with ESMTP id 41CD52008CD8;
	Fri, 26 Sep 2008 08:38:02 -0400 (EDT)
Message-Id: <E1D6D885-208E-4A69-9FE0-B12A7BA6AC8B@lucidvision.com>
From: Thomas Nadeau <tnadeau@lucidvision.com>
To: "Nobo Akiya (nobo)" <nobo@cisco.com>
In-Reply-To: <F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v929.2)
Subject: Re: BFD MIB issues
Date: Fri, 26 Sep 2008 08:38:01 -0400
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
	<77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
X-Mailer: Apple Mail (2.929.2)
Cc: Tom Nadeau <tom.nadeau@bt.com>, rtg-bfd@ietf.org,
	"Zafar Ali \(zali\)" <zali@cisco.com>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


	The use of 0 is perfectly reasonable IF you have a valid reason to do  
so.
I personally dislike shifting the values by one if there is a true  
value starting at
0 within the protocol because all of the code then has to handle this  
mapping function.
This is prone to errors if one forgets the mapping, which needs to be  
done in a number
of places within the the manager and at the agent code.  Instead, you  
can simply use a
signed value and define -1 as the out-of-bounds condition.  BUT this  
has to be well-defined
in the object definition or the MIB Gods will send lightning bolts  
down upon you. *)

	--Tom


On Sep 26, 2008, at 6:05 AM, Nobo Akiya (nobo) wrote:

>
> Hello Vishwas.
>
> I've been taught from experienced personels that integer indexing of
> zero is prefer to be avoided. Unfortunately I don't seem to recall
> reasonings behind it. Perhaps others can comment on this?
>
> Thanx,
> Nobo
>
>> -----Original Message-----
>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>> Sent: Friday, September 26, 2008 6:26 PM
>> To: Nobo Akiya (nobo)
>> Cc: Tom Nadeau; Zafar Ali (zali); rtg-bfd@ietf.org
>> Subject: Re: BFD MIB issues
>>
>> Hi Nobo,
>>
>> Thanks for the prompt reply.
>>
>> I agree using a key of 0, is not preferable, however the
>> BfdDiag is not the index into any table I could find.
>>
>> I can not think of a case where using a value of 0 is bad?
>> Can you help me understand the same? Also because of this we
>> have different meaning for a value in a packet and in the MIB
>> (for the same diag code which may not be good).
>>
>> Thanks,
>> Vishwas
>>
>> On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo)
>> <nobo@cisco.com> wrote:
>>>
>>> Hello Vishwas.
>>>
>>> Zero is normally a bad index to use. You should simply do
>> +1 to map to
>>> the diagnostic values described in the bfd base spec.
>>>
>>> Thanx,
>>> Nobo
>>>
>>>> -----Original Message-----
>>>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>>>> Sent: Friday, September 26, 2008 3:35 PM
>>>> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
>>>> Cc: rtg-bfd@ietf.org
>>>> Subject: BFD MIB issues
>>>>
>>>> Hi,
>>>>
>>>> While working on the BFD code, I figured out that the Diagnostics
>>>> code point in the BFD spec and the BFD MIB do not match.
>>>>
>>>> I think the two should match and this needs to be corrected in the
>>>> MIB.
>>>>
>>>> Thanks,
>>>> Vishwas
>>>>
>>>
>>
>



From rtg-bfd-bounces@ietf.org  Fri Sep 26 06:48:16 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4F30F3A6A8A;
	Fri, 26 Sep 2008 06:48:16 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 376DD3A68F6
	for <rtg-bfd@core3.amsl.com>; Fri, 26 Sep 2008 06:48:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 6zDwtu6hmy-L for <rtg-bfd@core3.amsl.com>;
	Fri, 26 Sep 2008 06:48:14 -0700 (PDT)
Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185])
	by core3.amsl.com (Postfix) with ESMTP id 010E53A6A8A
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 06:48:13 -0700 (PDT)
Received: by ti-out-0910.google.com with SMTP id a6so357508tib.25
	for <rtg-bfd@ietf.org>; Fri, 26 Sep 2008 06:48:15 -0700 (PDT)
Received: by 10.110.92.8 with SMTP id p8mr1113537tib.25.1222436894959;
	Fri, 26 Sep 2008 06:48:14 -0700 (PDT)
Received: from ?192.168.10.14? ( [61.117.129.36])
	by mx.google.com with ESMTPS id i6sm2586159tid.5.2008.09.26.06.48.12
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Fri, 26 Sep 2008 06:48:13 -0700 (PDT)
Message-Id: <AA89F96D-7780-429C-A193-F741384D6609@ipinfusion.com>
From: Tetsuya Murakami <tetsuya@ipinfusion.com>
To: Nobo Akiya (nobo) <nobo@cisco.com>
In-Reply-To: <F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v929.2)
Subject: Re: BFD MIB issues
Date: Fri, 26 Sep 2008 22:48:09 +0900
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
	<77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
X-Mailer: Apple Mail (2.929.2)
Cc: Tom Nadeau <tom.nadeau@bt.com>, "Zafar Ali \(zali\)" <zali@cisco.com>,
	rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Vishwas and Nobo,

I agree with Viswas. Zero should not be used as a index for any table.  
However it is ok to use zero as a value of specified object. In this  
case, that object is not used as a index for any table. Hence I think  
zero can be used as a value of this object. I'm not sure why zero  
should not be used as a value of this object even though this object  
is not used as a index for any table. If I missed something, please  
let me know.

Thanks,
Tetsuya Murakami

On 2008/09/26, at 19:05, Nobo Akiya (nobo) wrote:

>
> Hello Vishwas.
>
> I've been taught from experienced personels that integer indexing of
> zero is prefer to be avoided. Unfortunately I don't seem to recall
> reasonings behind it. Perhaps others can comment on this?
>
> Thanx,
> Nobo
>
>> -----Original Message-----
>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>> Sent: Friday, September 26, 2008 6:26 PM
>> To: Nobo Akiya (nobo)
>> Cc: Tom Nadeau; Zafar Ali (zali); rtg-bfd@ietf.org
>> Subject: Re: BFD MIB issues
>>
>> Hi Nobo,
>>
>> Thanks for the prompt reply.
>>
>> I agree using a key of 0, is not preferable, however the
>> BfdDiag is not the index into any table I could find.
>>
>> I can not think of a case where using a value of 0 is bad?
>> Can you help me understand the same? Also because of this we
>> have different meaning for a value in a packet and in the MIB
>> (for the same diag code which may not be good).
>>
>> Thanks,
>> Vishwas
>>
>> On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo)
>> <nobo@cisco.com> wrote:
>>>
>>> Hello Vishwas.
>>>
>>> Zero is normally a bad index to use. You should simply do
>> +1 to map to
>>> the diagnostic values described in the bfd base spec.
>>>
>>> Thanx,
>>> Nobo
>>>
>>>> -----Original Message-----
>>>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>>>> Sent: Friday, September 26, 2008 3:35 PM
>>>> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
>>>> Cc: rtg-bfd@ietf.org
>>>> Subject: BFD MIB issues
>>>>
>>>> Hi,
>>>>
>>>> While working on the BFD code, I figured out that the Diagnostics
>>>> code point in the BFD spec and the BFD MIB do not match.
>>>>
>>>> I think the two should match and this needs to be corrected in the
>>>> MIB.
>>>>
>>>> Thanks,
>>>> Vishwas
>>>>
>>>
>>



From rtg-bfd-bounces@ietf.org  Sat Sep 27 07:00:33 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3F0AA3A68DB;
	Sat, 27 Sep 2008 07:00:33 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 918903A68DB
	for <rtg-bfd@core3.amsl.com>; Sat, 27 Sep 2008 07:00:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id I0c-iHc7dC9v for <rtg-bfd@core3.amsl.com>;
	Sat, 27 Sep 2008 07:00:30 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71])
	by core3.amsl.com (Postfix) with ESMTP id 85ED53A689C
	for <rtg-bfd@ietf.org>; Sat, 27 Sep 2008 07:00:30 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.33,321,1220227200"; d="scan'208";a="90165692"
Received: from sj-dkim-1.cisco.com ([171.71.179.21])
	by sj-iport-2.cisco.com with ESMTP; 27 Sep 2008 14:00:06 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id m8RDxrjb029156; 
	Sat, 27 Sep 2008 07:00:05 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m8RDsfbx002197;
	Sat, 27 Sep 2008 13:58:21 GMT
Received: from xmb-sjc-22c.amer.cisco.com ([128.107.191.47]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Sat, 27 Sep 2008 06:56:02 -0700
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
Subject: RE: BFD MIB issues
Date: Sat, 27 Sep 2008 06:56:01 -0700
Message-ID: <F3F69139C275F848A1DB1518DC2C2168061D54F0@xmb-sjc-22c.amer.cisco.com>
In-Reply-To: <E1D6D885-208E-4A69-9FE0-B12A7BA6AC8B@lucidvision.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: BFD MIB issues
Thread-Index: Ackf1MRNp8SRhN/QR2KxKn5Yn1WvsQA07KXg
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
	<77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
	<E1D6D885-208E-4A69-9FE0-B12A7BA6AC8B@lucidvision.com>
From: "Nobo Akiya (nobo)" <nobo@cisco.com>
To: "Thomas Nadeau" <tnadeau@lucidvision.com>
X-OriginalArrivalTime: 27 Sep 2008 13:56:02.0489 (UTC)
	FILETIME=[C72BA290:01C920A8]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3128; t=1222524005;
	x=1223388005; c=relaxed/simple; s=sjdkim1004;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=nobo@cisco.com;
	z=From:=20=22Nobo=20Akiya=20(nobo)=22=20<nobo@cisco.com>
	|Subject:=20RE=3A=20BFD=20MIB=20issues |Sender:=20;
	bh=0/1xtwa1ufYkiKX0LBjMBUITosJx2JKIFEjIYYWoNyY=;
	b=YGnJaXPEL6W8eu0olAe18F1mO6BBoGJEeXqhBmNjn6F3CIL0kl0msMED77
	k0n4VCvFB8cTwM9iM+WuXY8pu06yWyRnP64XLobLaajYPbJrNLw8Q96eRgYL
	dMSFFpEOgtGdSIFI/IYsnmwxRFaF//Wy8/y5P8tBxA+TSy78IPJdo=;
Authentication-Results: sj-dkim-1; header.From=nobo@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim1004 verified; ); 
Cc: Tom Nadeau <tom.nadeau@bt.com>, rtg-bfd@ietf.org,
	"Zafar Ali \(zali\)" <zali@cisco.com>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org


We sure would like to avoid angry MIB Gods =3D)

I've noted this change for the next revision.

Thanx,
Nobo=20

> -----Original Message-----
> From: Thomas Nadeau [mailto:tnadeau@lucidvision.com]=20
> Sent: Friday, September 26, 2008 9:38 PM
> To: Nobo Akiya (nobo)
> Cc: Vishwas Manral; Tom Nadeau; rtg-bfd@ietf.org; Zafar Ali (zali)
> Subject: Re: BFD MIB issues
>=20
>=20
> 	The use of 0 is perfectly reasonable IF you have a=20
> valid reason to do so.
> I personally dislike shifting the values by one if there is a=20
> true value starting at 0 within the protocol because all of=20
> the code then has to handle this mapping function.
> This is prone to errors if one forgets the mapping, which=20
> needs to be done in a number of places within the the manager=20
> and at the agent code.  Instead, you can simply use a signed=20
> value and define -1 as the out-of-bounds condition.  BUT this=20
> has to be well-defined in the object definition or the MIB=20
> Gods will send lightning bolts down upon you. *)
>=20
> 	--Tom
>=20
>=20
> On Sep 26, 2008, at 6:05 AM, Nobo Akiya (nobo) wrote:
>=20
> >
> > Hello Vishwas.
> >
> > I've been taught from experienced personels that integer=20
> indexing of=20
> > zero is prefer to be avoided. Unfortunately I don't seem to recall=20
> > reasonings behind it. Perhaps others can comment on this?
> >
> > Thanx,
> > Nobo
> >
> >> -----Original Message-----
> >> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
> >> Sent: Friday, September 26, 2008 6:26 PM
> >> To: Nobo Akiya (nobo)
> >> Cc: Tom Nadeau; Zafar Ali (zali); rtg-bfd@ietf.org
> >> Subject: Re: BFD MIB issues
> >>
> >> Hi Nobo,
> >>
> >> Thanks for the prompt reply.
> >>
> >> I agree using a key of 0, is not preferable, however the=20
> BfdDiag is=20
> >> not the index into any table I could find.
> >>
> >> I can not think of a case where using a value of 0 is bad?
> >> Can you help me understand the same? Also because of this we have=20
> >> different meaning for a value in a packet and in the MIB (for the=20
> >> same diag code which may not be good).
> >>
> >> Thanks,
> >> Vishwas
> >>
> >> On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo)=20
> <nobo@cisco.com>=20
> >> wrote:
> >>>
> >>> Hello Vishwas.
> >>>
> >>> Zero is normally a bad index to use. You should simply do
> >> +1 to map to
> >>> the diagnostic values described in the bfd base spec.
> >>>
> >>> Thanx,
> >>> Nobo
> >>>
> >>>> -----Original Message-----
> >>>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
> >>>> Sent: Friday, September 26, 2008 3:35 PM
> >>>> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
> >>>> Cc: rtg-bfd@ietf.org
> >>>> Subject: BFD MIB issues
> >>>>
> >>>> Hi,
> >>>>
> >>>> While working on the BFD code, I figured out that the=20
> Diagnostics=20
> >>>> code point in the BFD spec and the BFD MIB do not match.
> >>>>
> >>>> I think the two should match and this needs to be=20
> corrected in the=20
> >>>> MIB.
> >>>>
> >>>> Thanks,
> >>>> Vishwas
> >>>>
> >>>
> >>
> >
>=20
>=20


From rtg-bfd-bounces@ietf.org  Mon Sep 29 12:54:53 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7100B3A68B0;
	Mon, 29 Sep 2008 12:54:53 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 802843A68B0
	for <rtg-bfd@core3.amsl.com>; Mon, 29 Sep 2008 12:54:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level: 
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5
	tests=[BAYES_40=-0.185]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 3eQgWof+VG9Q for <rtg-bfd@core3.amsl.com>;
	Mon, 29 Sep 2008 12:54:50 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com
	(mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38])
	by core3.amsl.com (Postfix) with ESMTP id C1B883A690A
	for <rtg-bfd@ietf.org>; Mon, 29 Sep 2008 12:54:49 -0700 (PDT)
X-Trace: 141648529/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.131.156
X-SBRS: None
X-RemoteIP: 62.188.131.156
X-IP-MAIL-FROM: nwnetworks@dial.pipex.com
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqoEALDP4Eg+vIOc/2dsb2JhbACDQ4kPr2cDgWQ
X-IronPort-AV: E=Sophos;i="4.33,333,1220223600"; d="scan'208";a="141648529"
X-IP-Direction: IN
Received: from 1cust156.tnt2.lnd4.gbr.da.uu.net (HELO allison)
	([62.188.131.156])
	by smtp.pipex.tiscali.co.uk with SMTP; 29 Sep 2008 20:55:04 +0100
Message-ID: <000401c92263$d9272de0$0601a8c0@allison>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "Tetsuya Murakami" <tetsuya@ipinfusion.com>,
	"Nobo Akiya \(nobo\)" <nobo@cisco.com>
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com><F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com><77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com><F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
	<AA89F96D-7780-429C-A193-F741384D6609@ipinfusion.com>
Subject: Re: BFD MIB issues
Date: Mon, 29 Sep 2008 20:43:33 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: Tom Nadeau <tom.nadeau@bt.com>, rtg-bfd@ietf.org,
	"Zafar Ali \(zali\)" <zali@cisco.com>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

----- Original Message -----
From: "Tetsuya Murakami" <tetsuya@ipinfusion.com>
To: "Nobo Akiya (nobo)" <nobo@cisco.com>
Cc: "Tom Nadeau" <tom.nadeau@bt.com>; "Zafar Ali (zali)" <zali@cisco.com>;
<rtg-bfd@ietf.org>
Sent: Friday, September 26, 2008 3:48 PM
Subject: Re: BFD MIB issues


> Hi Vishwas and Nobo,
>
> I agree with Viswas. Zero should not be used as a index for any table.
> However it is ok to use zero as a value of specified object. In this
> case, that object is not used as a index for any table. Hence I think
> zero can be used as a value of this object. I'm not sure why zero
> should not be used as a value of this object even though this object
> is not used as a index for any table. If I missed something, please
> let me know.
>
> Thanks,
> Tetsuya Murakami
>
> On 2008/09/26, at 19:05, Nobo Akiya (nobo) wrote:
>
> > Hello Vishwas.
> >
> > I've been taught from experienced personels that integer indexing of
> > zero is prefer to be avoided. Unfortunately I don't seem to recall
> > reasonings behind it. Perhaps others can comment on this?

ASN.1 and SMI differentiate between an object and an instance thereof.

For a vector, the OID for the object is converted into the OID for the instance
by appending an OID fragment consisting of the index value(s).  For a scalar,
the corresponding OID fragment consists of ".0" so if an index value is
constrained never to end in zero, then it is easy when working at the BER.1
level to differentiate between the OID for a scalar and the OID for a vector ie
the value zero should not appear in a column that is used for an index (strictly
it is only necessary to restrict the column that forms the last index value in
the OID fragment).

To the same end, the OID for the object should not end in zero and this last is
specified in RFC2578.

As to avoiding the value zero in an index column, "It is acceptable to include
zero in the range when it is semantically significant" so that can be justified
at the expense of a loss of clarity in the BER.1.

Zero is also discouraged in enumerations but again "it is recommended that
enumerated values start at 1 and be numbered contiguously" but this can be
over-ridden when there is a good reason to do so.  Here it is less of a problem
as values and OIDs are readily distinguished in BER.1

Perhaps there are not so many people reading the BER.1 as there used to be.

Tom Petch

> >
> > Thanx,
> > Nobo
> >
> >> -----Original Message-----
> >> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
> >> Sent: Friday, September 26, 2008 6:26 PM
> >> To: Nobo Akiya (nobo)
> >> Cc: Tom Nadeau; Zafar Ali (zali); rtg-bfd@ietf.org
> >> Subject: Re: BFD MIB issues
> >>
> >> Hi Nobo,
> >>
> >> Thanks for the prompt reply.
> >>
> >> I agree using a key of 0, is not preferable, however the
> >> BfdDiag is not the index into any table I could find.
> >>
> >> I can not think of a case where using a value of 0 is bad?
> >> Can you help me understand the same? Also because of this we
> >> have different meaning for a value in a packet and in the MIB
> >> (for the same diag code which may not be good).
> >>
> >> Thanks,
> >> Vishwas
> >>
> >> On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo)
> >> <nobo@cisco.com> wrote:
> >>>
> >>> Hello Vishwas.
> >>>
> >>> Zero is normally a bad index to use. You should simply do
> >> +1 to map to
> >>> the diagnostic values described in the bfd base spec.
> >>>
> >>> Thanx,
> >>> Nobo
> >>>
> >>>> -----Original Message-----
> >>>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
> >>>> Sent: Friday, September 26, 2008 3:35 PM
> >>>> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
> >>>> Cc: rtg-bfd@ietf.org
> >>>> Subject: BFD MIB issues
> >>>>
> >>>> Hi,
> >>>>
> >>>> While working on the BFD code, I figured out that the Diagnostics
> >>>> code point in the BFD spec and the BFD MIB do not match.
> >>>>
> >>>> I think the two should match and this needs to be corrected in the
> >>>> MIB.
> >>>>
> >>>> Thanks,
> >>>> Vishwas
> >>>>
> >>>
> >>
>



From rtg-bfd-bounces@ietf.org  Mon Sep 29 21:46:48 2008
Return-Path: <rtg-bfd-bounces@ietf.org>
X-Original-To: rtg-bfd-archive@megatron.ietf.org
Delivered-To: ietfarch-rtg-bfd-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9A12B3A6ACA;
	Mon, 29 Sep 2008 21:46:48 -0700 (PDT)
X-Original-To: rtg-bfd@core3.amsl.com
Delivered-To: rtg-bfd@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9D0EB3A67DD
	for <rtg-bfd@core3.amsl.com>; Mon, 29 Sep 2008 21:46:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.374
X-Spam-Level: 
X-Spam-Status: No, score=-2.374 tagged_above=-999 required=5 tests=[AWL=0.225, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id hudPh+anT+j1 for <rtg-bfd@core3.amsl.com>;
	Mon, 29 Sep 2008 21:46:15 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155])
	by core3.amsl.com (Postfix) with ESMTP id 946F33A6960
	for <rtg-bfd@ietf.org>; Mon, 29 Sep 2008 21:46:10 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id d23so1575303fga.41
	for <rtg-bfd@ietf.org>; Mon, 29 Sep 2008 21:45:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references;
	bh=96WmOh0zFGy2kXMKvHgPBsfs2Si8wLczMLjv8IaO9Xs=;
	b=BZ43b4KpzyZ6Is+CUFUUKc3BPRiLgaRk+2SC674ZuwWWTeWGyp0keV1dytW71GXFYY
	E8MjEWIY8v1cbDpzdaDgZpowqMwT2/QtdiAl2c2j3KyuJZvBxI28HVRwQRGYf/Z+cHUO
	iOweXh+UH+k7QkJqN0irkM1wrzWxQjR80PCpg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references;
	b=bLOEfcjnEn/Tkbksfxu8P7jk+rHavmARwoG7y/evqNvFSpwayidNdNxdi4nxXw//cN
	q1pBzbnUmZkLxJYzvOq2gcQkcNdF6Weo2cwRIplPBVmp8W7il/otFogUb9O3GkFyx/CD
	Z+XvFo/ktpcm31MSXXuqTzR7Kf3ZsUYACvYpU=
Received: by 10.180.236.14 with SMTP id j14mr3022007bkh.4.1222749957563;
	Mon, 29 Sep 2008 21:45:57 -0700 (PDT)
Received: by 10.180.226.2 with HTTP; Mon, 29 Sep 2008 21:45:57 -0700 (PDT)
Message-ID: <77ead0ec0809292145j3f26fc8ftdfade12b48067fc5@mail.gmail.com>
Date: Tue, 30 Sep 2008 10:15:57 +0530
From: "Vishwas Manral" <vishwas.ietf@gmail.com>
To: "Tom Petch" <nwnetworks@dial.pipex.com>
Subject: Re: BFD MIB issues
In-Reply-To: <000401c92263$d9272de0$0601a8c0@allison>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <77ead0ec0809252334o72c165fdicdb89774f4bec3e5@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D517C@xmb-sjc-22c.amer.cisco.com>
	<77ead0ec0809260225r2b4569f4wfc6e5a478039b6fb@mail.gmail.com>
	<F3F69139C275F848A1DB1518DC2C2168061D5187@xmb-sjc-22c.amer.cisco.com>
	<AA89F96D-7780-429C-A193-F741384D6609@ipinfusion.com>
	<000401c92263$d9272de0$0601a8c0@allison>
Cc: Tom Nadeau <tom.nadeau@bt.com>, rtg-bfd@ietf.org,
	"Zafar Ali \(zali\)" <zali@cisco.com>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/rtg-bfd>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>,
	<mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org

Hi Tom,

Thanks a lot to for enlightening us. It really helped me understand
(though my concepts are still not very clear).

We will update the MIB accordingly..

-Vishwas

On 9/30/08, Tom Petch <nwnetworks@dial.pipex.com> wrote:
> ----- Original Message -----
> From: "Tetsuya Murakami" <tetsuya@ipinfusion.com>
> To: "Nobo Akiya (nobo)" <nobo@cisco.com>
> Cc: "Tom Nadeau" <tom.nadeau@bt.com>; "Zafar Ali (zali)" <zali@cisco.com>;
> <rtg-bfd@ietf.org>
> Sent: Friday, September 26, 2008 3:48 PM
> Subject: Re: BFD MIB issues
>
>
>> Hi Vishwas and Nobo,
>>
>> I agree with Viswas. Zero should not be used as a index for any table.
>> However it is ok to use zero as a value of specified object. In this
>> case, that object is not used as a index for any table. Hence I think
>> zero can be used as a value of this object. I'm not sure why zero
>> should not be used as a value of this object even though this object
>> is not used as a index for any table. If I missed something, please
>> let me know.
>>
>> Thanks,
>> Tetsuya Murakami
>>
>> On 2008/09/26, at 19:05, Nobo Akiya (nobo) wrote:
>>
>> > Hello Vishwas.
>> >
>> > I've been taught from experienced personels that integer indexing of
>> > zero is prefer to be avoided. Unfortunately I don't seem to recall
>> > reasonings behind it. Perhaps others can comment on this?
>
> ASN.1 and SMI differentiate between an object and an instance thereof.
>
> For a vector, the OID for the object is converted into the OID for the
> instance
> by appending an OID fragment consisting of the index value(s).  For a
> scalar,
> the corresponding OID fragment consists of ".0" so if an index value is
> constrained never to end in zero, then it is easy when working at the BER.1
> level to differentiate between the OID for a scalar and the OID for a vector
> ie
> the value zero should not appear in a column that is used for an index
> (strictly
> it is only necessary to restrict the column that forms the last index value
> in
> the OID fragment).
>
> To the same end, the OID for the object should not end in zero and this last
> is
> specified in RFC2578.
>
> As to avoiding the value zero in an index column, "It is acceptable to
> include
> zero in the range when it is semantically significant" so that can be
> justified
> at the expense of a loss of clarity in the BER.1.
>
> Zero is also discouraged in enumerations but again "it is recommended that
> enumerated values start at 1 and be numbered contiguously" but this can be
> over-ridden when there is a good reason to do so.  Here it is less of a
> problem
> as values and OIDs are readily distinguished in BER.1
>
> Perhaps there are not so many people reading the BER.1 as there used to be.
>
> Tom Petch
>
>> >
>> > Thanx,
>> > Nobo
>> >
>> >> -----Original Message-----
>> >> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>> >> Sent: Friday, September 26, 2008 6:26 PM
>> >> To: Nobo Akiya (nobo)
>> >> Cc: Tom Nadeau; Zafar Ali (zali); rtg-bfd@ietf.org
>> >> Subject: Re: BFD MIB issues
>> >>
>> >> Hi Nobo,
>> >>
>> >> Thanks for the prompt reply.
>> >>
>> >> I agree using a key of 0, is not preferable, however the
>> >> BfdDiag is not the index into any table I could find.
>> >>
>> >> I can not think of a case where using a value of 0 is bad?
>> >> Can you help me understand the same? Also because of this we
>> >> have different meaning for a value in a packet and in the MIB
>> >> (for the same diag code which may not be good).
>> >>
>> >> Thanks,
>> >> Vishwas
>> >>
>> >> On Fri, Sep 26, 2008 at 1:30 PM, Nobo Akiya (nobo)
>> >> <nobo@cisco.com> wrote:
>> >>>
>> >>> Hello Vishwas.
>> >>>
>> >>> Zero is normally a bad index to use. You should simply do
>> >> +1 to map to
>> >>> the diagnostic values described in the bfd base spec.
>> >>>
>> >>> Thanx,
>> >>> Nobo
>> >>>
>> >>>> -----Original Message-----
>> >>>> From: Vishwas Manral [mailto:vishwas.ietf@gmail.com]
>> >>>> Sent: Friday, September 26, 2008 3:35 PM
>> >>>> To: Tom Nadeau; Zafar Ali (zali); Nobo Akiya (nobo)
>> >>>> Cc: rtg-bfd@ietf.org
>> >>>> Subject: BFD MIB issues
>> >>>>
>> >>>> Hi,
>> >>>>
>> >>>> While working on the BFD code, I figured out that the Diagnostics
>> >>>> code point in the BFD spec and the BFD MIB do not match.
>> >>>>
>> >>>> I think the two should match and this needs to be corrected in the
>> >>>> MIB.
>> >>>>
>> >>>> Thanks,
>> >>>> Vishwas
>> >>>>
>> >>>
>> >>
>>
>
>


