[mpls] Questions for draft-ietf-mpls-tp-on-demand-cv-05

"Zhenlong Cui" <c-sai@bx.jp.nec.com> Tue, 12 July 2011 09:20 UTC

Return-Path: <c-sai@bx.jp.nec.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09BDA21F911B for <mpls@ietfa.amsl.com>; Tue, 12 Jul 2011 02:20:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.51
X-Spam-Level:
X-Spam-Status: No, score=0.51 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, J_CHICKENPOX_93=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qYrq7UqNH7pm for <mpls@ietfa.amsl.com>; Tue, 12 Jul 2011 02:20:16 -0700 (PDT)
Received: from tyo202.gate.nec.co.jp (TYO202.gate.nec.co.jp [202.32.8.206]) by ietfa.amsl.com (Postfix) with ESMTP id 294E421F910C for <mpls@ietf.org>; Tue, 12 Jul 2011 02:20:15 -0700 (PDT)
Received: from mailgate3.nec.co.jp ([10.7.69.195]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id p6C9KCik007323; Tue, 12 Jul 2011 18:20:13 +0900 (JST)
Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id p6C9KCj25738; Tue, 12 Jul 2011 18:20:12 +0900 (JST)
Received: from mail02.kamome.nec.co.jp (mail02.kamome.nec.co.jp [10.25.43.5]) by mailsv4.nec.co.jp (8.13.8/8.13.4) with ESMTP id p6C9JtOC017088; Tue, 12 Jul 2011 18:20:11 +0900 (JST)
Received: from monta.jp.nec.com ([10.26.220.14] [10.26.220.14]) by mail03.kamome.nec.co.jp with ESMTP id BT-MMP-47772; Tue, 12 Jul 2011 18:19:48 +0900
Received: from vpcja157 ([10.38.16.157] [10.38.16.157]) by mail.jp.nec.com with ESMTP; Tue, 12 Jul 2011 18:19:47 +0900
From: Zhenlong Cui <c-sai@bx.jp.nec.com>
To: mpls@ietf.org, draft-ietf-mpls-tp-on-demand-cv@tools.ietf.org
References: <4DFA60E3.90807@pi.nu><791AD3077F94194BB2BDD13565B6295D13B65A62@Polydeuces.office.hd><C0AC8FAB6849AB4FADACCC70A949E2F10B2256B154@EUSAACMS0701.eamcs.ericsson.se><791AD3077F94194BB2BDD13565B6295D13B69562@Polydeuces.office.hd><C0AC8FAB6849AB4FADACCC70A949E2F10B2484A3ED@EUSAACMS0701.eamcs.ericsson.se> <791AD3077F94194BB2BDD13565B6295D13B695EF@Polydeuces.office.hd>
Date: Tue, 12 Jul 2011 18:19:47 +0900
Message-ID: <D6432A3783F045B694EA0467F7173898@nsl.ad.nec.co.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931
In-Reply-To: <791AD3077F94194BB2BDD13565B6295D13B695EF@Polydeuces.office.hd>
thread-index: AQHMLGAfW26yQHHsSES4MoXuuvjsuJTLNK7QgAHHkYCAA/0dQIAAGryggAAC3ZCAF28eAA==
Subject: [mpls] Questions for draft-ietf-mpls-tp-on-demand-cv-05
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mpls>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2011 09:20:17 -0000

Dear Authors,

Two questions regarding the idenfifiers TLV and DSMAP TLV.

Question 1:
> > > Which return code to send when identifiers are wrong (Malformed echo
> > > request received?) or drop the packet.
> > >
> > > EG > Drop the packet, probably log the error, possibly run off
> > > EG > screaming into the night.  What does one do when one gets
> > > EG > something either not recognizably intended for one, or not
> > > EG > from a source that one recognizes?  From a security point
> > > EG > of view, we cannot require an implementation to reply to
> > > EG > the requester in this case (this is an attack vector for
> > > EG > all kinds of hate and discontent).  Nor can we forbid it.
> > >
If the "type" of identifier TLV is incorrect, then should this request frame be dropped? Should we reply to the requestor(One or
more of the TLVs was not understood)? Can this way two answers be generated?


Question 2:
In section 2.1.1, Is below("ingress port") correct?

   Egress IF_Num identifies the ingress port on the target node.  A
   value of 0 indicates that the port is not part of the identifier.


Best,
zhenlong

> -----Original Message-----
> From: mpls-bounces@ietf.org [mailto:mpls-bounces@ietf.org] On Behalf Of Rolf Winter
> Sent: Monday, June 27, 2011 8:04 PM
> To: Eric Gray; mpls@ietf.org; draft-ietf-mpls-tp-on-demand-cv@tools.ietf.org
> Subject: Re: [mpls] Verification call on draft-ietf-mpls-tp-on-demand-cv
> 
> I think that's OK, since the value is not beyond but within the TLV. Taken from 4379:
> 
> Types are defined below; Length is the length of the Value field in
> octets.  The Value field depends on the Type; it is zero padded to
> align to a 4-octet boundary.
> 
> That means the length is the length of the actual value (excluding the padding). So the beginning of the next TLV is determined
> by the length plus a value that makes it align on a 4-octet boundary (which of course can be 0). I cannot follow your argument
> why this is not correct. I am sure I am missing something trivial, so sorry for spamming the list. But all information is
> encoded in the packet (plus the simple rule quoted above). Otherwise, a node needs to understand the internal structure of
> each TLV to extract the value instead of applying the simple rule above.
> 
> 
> Best,
> 
> Rolf
> 
> 
> NEC Europe Limited | Registered Office: NEC House, 1 Victoria Road, London W3 6BL | Registered in England 2832014
> 
> 
> > -----Original Message-----
> > From: Eric Gray [mailto:eric.gray@ericsson.com]
> > Sent: Montag, 27. Juni 2011 12:42
> > To: Rolf Winter; mpls@ietf.org; draft-ietf-mpls-tp-on-demand-
> > cv@tools.ietf.org
> > Subject: RE: [mpls] Verification call on draft-ietf-mpls-tp-on-demand-
> > cv
> >
> > IMO, that would be a problem with RFC 4379.  Perhaps there is
> > an errata?
> >
> > TLVs are meant to follow each other, where the beginning of the
> > next TLV is determined by the length of the current TLV - hence
> > it is not correct to specify any content as having any value at
> > all if it is beyond the end of the TLV.
> >
> > -----Original Message-----
> > From: Rolf Winter [mailto:Rolf.Winter@neclab.eu]
> > Sent: Monday, June 27, 2011 5:06 AM
> > To: Eric Gray; mpls@ietf.org; draft-ietf-mpls-tp-on-demand-
> > cv@tools.ietf.org
> > Subject: RE: [mpls] Verification call on draft-ietf-mpls-tp-on-demand-
> > cv
> > Importance: High
> >
> > Hi Eric,
> >
> > just one more to follow up. You say:
> >
> > > EG > 24 is correct for the Static LSP Sub-TLV (it is 6 words long,
> > > EG > even if the last two octets "Must be Zero").  The length of
> > > EG > the Static Pseudowire Sub-TLV - on the other hand - was made
> > > EG > longer by the addition of the 2-word AGI.  Nice catch!
> >
> > In RFC 4379, section 3.2, the MUST be Zero parts don't seem to be
> > included in the length of the sub-TLVs. Why are they included here?
> >
> > Best,
> >
> > Rolf
> >
> >
> > NEC Europe Limited | Registered Office: NEC House, 1 Victoria Road,
> > London W3 6BL | Registered in England 2832014
> >
> >
> > >
> > > EG > Apparently.
> > >
> > > Which return code to send when identifiers are wrong (Malformed echo
> > > request received?) or drop the packet.
> > >
> > > EG > Drop the packet, probably log the error, possibly run off
> > > EG > screaming into the night.  What does one do when one gets
> > > EG > something either not recognizably intended for one, or not
> > > EG > from a source that one recognizes?  From a security point
> > > EG > of view, we cannot require an implementation to reply to
> > > EG > the requester in this case (this is an attack vector for
> > > EG > all kinds of hate and discontent).  Nor can we forbid it.
> > >
> > > Using the per-interface model and say the DSMAP TLV did not match the
> > > ingress IF identifier, then should this request frame be dropped?
> > > Should we reply to the requestor? Can this way two answers be
> > > generated?
> > >
> > > Nit (section 2.1): s/mpls/MPLS/
> > >
> > > EG > Thanks.
> > >
> > >
> > > Best,
> > >
> > >
> > >
> > > Rolf
> > >
> > >
> > >
> > >
> > >
> > >
> > > NEC Europe Limited | Registered Office: NEC House, 1 Victoria Road,
> > > London W3 6BL | Registered in England 2832014
> > >
> > >
> > > > -----Original Message-----
> > > > From: mpls-bounces@ietf.org [mailto:mpls-bounces@ietf.org] On
> > Behalf
> > > Of
> > > > Loa Andersson
> > > > Sent: Donnerstag, 16. Juni 2011 22:01
> > > > To: mpls@ietf.org; draft-ietf-mpls-tp-on-demand-cv@tools.ietf.org;
> > > Ross
> > > > Callon; George Swallow; MPLS-TP ad hoc team
> > > > Subject: [mpls] Verification call on draft-ietf-mpls-tp-on-demand-
> > cv
> > > >
> > > > Working Group.
> > > >
> > > > the authors of draft-ietf-mpls-tp-on-demand-cv have updated the ID
> > > > after wg last call and published version -04 of the document.
> > > >
> > > > A document detailing how the comments have been addressed will be
> > > > found at:
> > > > http://www.pi.nu/~loa/comments-on-03.xls
> > > >
> > > > This is to start a working group call to verify that all comments
> > > > been adequately addressed. Please send your comments to the
> > > > mpls working group mailing list before June 24th.
> > > >
> > > > Loa
> > > > on behalf of the MPLS wg co-chairs
> > > >
> > > > --
> > > >
> > > >
> > > > Loa Andersson                         email:
> > > loa.andersson@ericsson.com
> > > > Sr Strategy and Standards Manager            loa@pi.nu
> > > > Ericsson Inc                          phone: +46 10 717 52 13
> > > >                                               +46 767 72 92 13
> > > > _______________________________________________
> > > > mpls mailing list
> > > > mpls@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/mpls
> > > _______________________________________________
> > > mpls mailing list
> > > mpls@ietf.org
> > > https://www.ietf.org/mailman/listinfo/mpls
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls