Re: [mpls] draft-vainshtein-mpls-gal-tc-ttl-handling-00.txt

"Adrian Farrel" <adrian@olddog.co.uk> Tue, 04 August 2015 12:55 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC27A1A7023 for <mpls@ietfa.amsl.com>; Tue, 4 Aug 2015 05:55:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, USER_IN_WHITELIST=-100] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uUh662sKqen3 for <mpls@ietfa.amsl.com>; Tue, 4 Aug 2015 05:55:14 -0700 (PDT)
Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com [62.128.201.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21EDE1A893B for <mpls@ietf.org>; Tue, 4 Aug 2015 05:55:12 -0700 (PDT)
Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id t74Ct9LR027036; Tue, 4 Aug 2015 13:55:09 +0100
Received: from 950129200 ([149.254.182.215]) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id t74CsjOv026675 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 4 Aug 2015 13:54:46 +0100
From: Adrian Farrel <adrian@olddog.co.uk>
To: 'Rolf Winter' <Rolf.Winter@neclab.eu>
References: <DB3PR03MB078042995520179F5E4449589D810@DB3PR03MB0780.eurprd03.prod.outlook.com>
In-Reply-To: <DB3PR03MB078042995520179F5E4449589D810@DB3PR03MB0780.eurprd03.prod.outlook.com>
Date: Tue, 04 Aug 2015 13:54:48 +0100
Message-ID: <032801d0ceb4$bfe1dd30$3fa59790$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0329_01D0CEBD.21AD4A10"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHX4llxSiZj9UoZbMNXPXTiDG6EPp3tny8g
Content-Language: en-gb
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-7.1.0.1576-8.0.0.1202-21722.007
X-TM-AS-Result: No--27.751-10.0-31-10
X-imss-scan-details: No--27.751-10.0-31-10
X-TMASE-MatchedRID: QkSKSmK347mA6N1r+hCDilfthCV102j9fdi+0/fshTiNpfmlL5cJg7G9 tGkKCN1JzB1CJ6qmdNqHZXNSWjgdU8nlJe2gk8vI+5+93dPb6/e1k0RoOBQAIH9hMdsjPCyAf0s tBUNlQ8uDpqrvaFLIqH8c8oKMbgYYpfVcx39Kq+6VvypVes2MRXzK3Q9zSFL7Apt2nkjbmmvdIi uGjs8pBnc1NHdVsdrfNZCDXJ6NLva+JGWINXafLOHxmX35tqgmSwjGLfgtslIkzHf1XjgzxV/jv erGs3tKJGEXYzVxv/lIRA38P/dwbuy3u+NUEnMIN2d3n0B/sI+wdikkHQgIxggdquk/Orvb58XO cmbtRkiGSXlaFpW6YT3stoORN7tbXs5nqGvDCfPjB19nvhZ7jXiH1FNtA7BASh1kDlFPgnxqw5r FBpRYXo8sb4DSq8Sm2os3ueKAsFQShlsxNeSiUvXKF8OjUZeuXc6B+s5WPs9WzzlSErvWuPlG1r gzLjeTudxwlNSkQzifKo0YoMUyvD6gD/IQOr01peBD/ncvsAQS/zosda+Wg0FaCkahjr2MAb/MK zHFC4iC6HrPlME3t+v8QGaI25e3O4pKSa7Lv+jOFjb+jSPBJOHt/qctX9nPunnE+ckBUeCZ4TZM mYnlr29YUb7ASgS2YD9XTRdaMO1+Mk6ACsw4Jph8u7mojKy++BDgnYaKGm5G22wXo+fs0jQdvTJ fKQOfaFeiu6+ZUu517gHAyAFr0wpqOIpWiKGpuu0N7j6PSiN8eDB1N3AzdsgyKQ8XK79uICggYO kAv2gZ7jQwc54lYqm4PbloS2C3BgA+oehWZhGbKItl61J/yZUdXE/WGn0Fb1YojBSKEay3sNbcH jySQa0hbOeGOMG1RRgndEtDQrLQXtu13ZTuLpwZNxA3IIvriKxp+ZxxgsEdFq86DFtGHuulxyHO cPoH
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/lCidw5rv4TjHfYfT1gfUIF4Mb2M>
Cc: mpls@ietf.org, 'Loa Andersson' <loa@mail01.huawei.com>
Subject: Re: [mpls] draft-vainshtein-mpls-gal-tc-ttl-handling-00.txt
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: adrian@olddog.co.uk
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: <https://mailarchive.ietf.org/arch/browse/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, 04 Aug 2015 12:55:19 -0000

Rolf, all,
 
I want to see whether we can close this point down.
 
As I understand Rolf's point, some packets may use a TTL of one (usually, but not always by hop-by-hop decrement) to cause the packet to be ejected from the forwarding path and to enable it to be processed as an OAM packet.
 
I think the point here is that the top label is a normal forwarding label and, if the TTL did not expire, the packet would continue to be forwarded to the destination as usual. Therefore, in order to target an OAM packet at a transit LSR, the TTL is set to a lower number. In fact, knowing the path, one can target an specific LSR along the path, or (by steadily incrementing the value of TTL transmitted) one can trace a path.
 
In this case, however, it is not the TTL of the LSE containing the GAL that is found to have the value one. Rather it is the TTL of the top LSE (that which contains a normal forwarding label).
 
So we are left with the question: could the GAL ever be in the top LSE for an incoming packet?
 
The only possibilities I can think of are:
- when the previous hope did pop-and-go without examining the underlying LSE
- when the packet is being deliberately sent on an MPLS Section (i.e. a single hop)
 
RFC 5586 doesn't have anything (that I can find) to say about these cases.
 
In the first case, I am pretty sure that the OAM packet was intended to be processed by the LSR that popped the previous label. However, this doesn't mean that the packet might not "escape" from an LSR that is configured for pop-and-go (such as in a PHP) case. It would, IMHO, represent a broken implementation, but I can believe that implementations pre-dating 5586 might do this.
 
In the second case, I can see why this might be done, but I worry that the OAM is being applied to an MPLS-capable link and not to a segment of a specific LSP, there being no way to associate the received OAM packet with an LSP without a preceding label.
 
Furthermore, I don't see how a receiver can disambiguate these two cases without looking deeper into the contents of the packet, and I'm not sure that there is guaranteed to be sufficient information in all packets to allow the receiver to know the difference between:
- this packet "escaped" its intended recipient
and
- this is an "unlabelled" packet meant for me
 
So I wonder...
 
Does the WG want to make some statement about an LSE containing the GAL never being valid at the top of the stack? Or have I missed something defined elsewhere?
 
Thanks,
Adrian
 
 
 
 
From: Alexander Vainshtein [mailto:Alexander.Vainshtein@ecitele.com] 
Sent: 24 July 2015 17:25
To: Rolf Winter
Cc: 'Loa Andersson'; George Swallow (swallow); adrian@olddog.co.uk; mpls@ietf.org
Subject: Re: draft-vainshtein-mpls-gal-tc-ttl-handling-00.txt
 
Rolf,
I must admit that I have gailed to understand just HOW TTL in the GAL-containing LSE is used for addressing. I am not aware of any RFCs dedcribing this.
Could it posdibly be that you have referred to TTL in the LSE containing a normal label being set to 1 for the Next Hop LSR to trap the OAM packet as part of *segment* (not "*section*) OAM? If so this completely unrelated to the TTL value that us set by the transmitter in the GAL-containing LSE.
 
As for fixing just the receivers by ignoring received TTL value in the GAL-containing LSE - the draft does that, but it also RECOMMENDS not sending TTL in this LSE to 1 in order to avoid problems with recrivers that comply to 5586 but not to this document.
 
Hope this helps.
 
Thumb typed on my LG,
Sasha

------ Original message ------
From: Rolf Winter
Date: 24/07/2015 12:23
To: Alexander Vainshtein;
Cc: 'Loa Andersson';George Swallow (swallow);adrian@olddog.co.uk;mpls@ietf.org;
Subject:RE: draft-vainshtein-mpls-gal-tc-ttl-handling-00.txt
See inline [things we agree on snipped]

NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  Road, London, HA4 6QE, GB | Registered in England 2832014

> b) when the GAL is used for section OAM, then setting the TTL to 1 is
> necessary as it is used for addressing.
> 
> This is a noteworthy exception to the rule outlined in the document.
> 
> [[Sasha]] I may be missing something but I do not really understand why
> such an exception is required.
> 
> I assume that by "Section OAM" you refer to the case when the top LSE
> in the label stack contains GAL.
> 
> If this is correct, then this LSE  (being the top one) would be
> examined by the LSR at the other end of the data link, and the packet
> immediately identified as an OAM packet based on the fact that the
> examined LSE contains GAL. Further disposition of this packet would be
> then decided by the packet type as encoded in the GACH and, if
> necessary, buy packet type-specific means. This would happen regardless
> of the TTL value in this LSE. Setting it to 1 should not really change
> anything IMHO.

Well, the TTL is being used here for addressing and you want to change these semantics. Architecturally, this doesn't seem right. If "just look at the label" is a valid fix to the problem, why not fixing the receivers that have the problem. Why changing all the senders?

> 
> 
> 
> Generally, the proposal begs the question "why having all senders
> change when the problem seems to be in some receivers".
> 
> 
> 
> Best,
> 
> 
> 
> Rolf
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West
> End  Road, London, HA4 6QE, GB | Registered in England 2832014
> 
> 
> 
> > -----Original Message-----
> 
> > From: mpls [mailto:mpls-bounces@ietf.org <mailto:mpls-
> bounces@ietf.org> ] On Behalf Of George Swallow
> 
> > (swallow)
> 
> > Sent: Donnerstag, 25. Juni 2015 17:51
> 
> > To: adrian@olddog.co.uk <mailto:adrian@olddog.co.uk> ; Alexander
> Vainshtein; mpls@ietf.org <mailto:mpls@ietf.org>
> 
> > Cc: 'Loa Andersson'
> 
> > Subject: [mpls] draft-vainshtein-mpls-gal-tc-ttl-handling-00.txt
> 
> >
> 
> > Sasha, Adrian -
> 
> >
> 
> > In the abstract this document claims to "clarify" RFC5586.  However
> it
> 
> > actually modifies the behavior in two ways.
> 
> >
> 
> > First in section 4.2.1.1, RFC5586 states:
> 
> >
> 
> >   The TTL field of the GAL LSE MUST be set to at least 1.
> 
> >
> 
> > This can equally be stated as "MUST NOT set the TTL to 0.  However
> 
> > this document changes that to "SHOULD NOT".  I see absolutely no
> 
> > reason for this change.
> 
> >
> 
> > Second, as per 5586 a receiver that discarded a received GAL with
> 
> > TTL=0 was not out of compliance with that rfc.  Now you say that a
> 
> > receiver that a receiver "that examines an LSE that contains the GAL
> 
> > MUST ignore the value of the TTL field".
> 
> >
> 
> > So a piece of hardware, say an ASIC, was designed years ago to
> discard
> 
> > packets with a TTL of 0 in the top label is now out of compliance
> 
> > whereas in RFC5586 the fault in this situation would lie clearly with
> 
> > the sender.
> 
> >
> 
> > Now suppose further that our ASIC is also programmed to put packets
> 
> > with a TTL of 1 in the top label on the slow path.  Here the ASIC is
> 
> > not ignoring the TTL value - it is making a decision based on it.  It
> 
> > is, however, still enabling a CP or RP to process the GAL.  This, of
> 
> > course, may not be optimal, but it should not be illegal.
> 
> >
> 
> > So how about we say that "the LER that originates the G-ACh packet
> 
> > SHOULD
> 
> >    NOT set this value to 1 and MUST NOT set this value to 0."
> 
> >
> 
> > For the receiver, I think it suffices to say "SHOULD ignore the value
> 
> > of the TTL field".  But if you want to work a MUST into the language
> -
> 
> > its scope should not include the value 0 and the language should not
> 
> > be about "examining".
> 
> >
> 
> > Something like "MUST not discard Š based on a TTL value of 1 or
> more."
> 
> >
> 
> > George
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> > _______________________________________________
> 
> > mpls mailing list
> 
> > mpls@ietf.org <mailto:mpls@ietf.org>
> 
> > https://www.ietf.org/mailman/listinfo/mpls
> <https://www.ietf.org/mailman/listinfo/mpls>