RE: BFD UDP ports

"Nobo Akiya (nobo)" <nobo@cisco.com> Fri, 05 December 2008 07:45 UTC

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 E28AB3A6C0B; Thu, 4 Dec 2008 23:45:39 -0800 (PST)
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 8FBF03A6C09 for <rtg-bfd@core3.amsl.com>; Thu, 4 Dec 2008 23:45:38 -0800 (PST)
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 GydlIxJs5SuY for <rtg-bfd@core3.amsl.com>; Thu, 4 Dec 2008 23:45:37 -0800 (PST)
Received: from sj-iport-3.cisco.com (sj-iport-3.cisco.com [171.71.176.72]) by core3.amsl.com (Postfix) with ESMTP id BE8E83A6C06 for <rtg-bfd@ietf.org>; Thu, 4 Dec 2008 23:45:37 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.33,720,1220227200"; d="scan'208";a="121068509"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-3.cisco.com with ESMTP; 05 Dec 2008 07:45:31 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id mB57jVA9014083; Thu, 4 Dec 2008 23:45:31 -0800
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id mB57jVnC029439; Fri, 5 Dec 2008 07:45:31 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); Thu, 4 Dec 2008 23:45:31 -0800
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 UDP ports
Date: Thu, 04 Dec 2008 23:43:23 -0800
Message-ID: <F3F69139C275F848A1DB1518DC2C2168068E4E84@xmb-sjc-22c.amer.cisco.com>
In-Reply-To: <C55D9EE3.31BC4%nitinb@juniper.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: BFD UDP ports
Thread-Index: AclWYs/Od2WgBvzdFUW5hr8lHzADpQARdWpA
References: <77ead0ec0812041230w6f9e0172i19eb8a08437fd023@mail.gmail.com> <C55D9EE3.31BC4%nitinb@juniper.net>
From: "Nobo Akiya (nobo)" <nobo@cisco.com>
To: Nitin Bahadur <nitinb@juniper.net>, Vishwas Manral <vishwas.ietf@gmail.com>, David Ward <dward@cisco.com>, Dave Katz <dkatz@juniper.net>
X-OriginalArrivalTime: 05 Dec 2008 07:45:31.0214 (UTC) FILETIME=[72CD06E0:01C956AD]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1553; t=1228463131; x=1229327131; 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=20UDP=20ports |Sender:=20; bh=8Lg3logMEQmedQEsx49+EqDONBFJ0D49eJI9rxHcKZI=; b=mqAxpzcKEFyvI7PTILjpvY0wYwu7YXzuC+R5lR4xoHwmVIY33nnjyCZOCK 6Dq+15TKe2LNG+GSJzSpVM3rJ86ebuK16H5UMJy2RQuTlyo3iGFA7XKP/U7G JVXqyQZzNN;
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, Nitin.

> 
> On 12/4/08 12:30 PM, "Vishwas Manral" <vishwas.ietf@gmail.com> wrote:
> 
> > Hi
> > 
> > 1. I am a bit confused about using the same BFD destination port for
> > IPv4 and IPv6. Shouldn't we have different port numbers? I realized 
> > that even RIP which uses UDP uses different ports for IPv4 and IPv6.
> > Using the same port can be an issue in a few heavily used OS. Has 
> > anyone implemented BFD for IPv6?
> 
> Using the same port should be for v4 & v6 should be fine. I 
> know of at least
> 1 implementation ;-)
> 
> Thanks
> Nitin
> 

I know of another implementation which same dest port is used for v4 &
v6 =)

> 2. As BFD source port is not used for packet replies and as 
> the Source address/ ifindex may be a unique identifier for a 
> source, do we need not have the condition which states 
> "source port number SHOULD be unique among all BFD sessions 
> on the system". Can we downgrade this condition to a may?

I tripped over this requirement as well, and I agree that measurement of
the
wording strength is a bit confusing.

One soft correction on your statement is that source port MAY be used as
a
demultiplexing *aid*.

http://tools.ietf.org/html/draft-ietf-bfd-v4v6-1hop-08 Sec4.1:

   An implementation MAY use the UDP port source number to aid in
   demultiplexing incoming BFD Control packets, but ultimately the
   mechanisms in [BFD] MUST be used to demultiplex incoming packets to
   the proper session.

Thanx,
Nobo