Re: [Taps] TAPS Transports and ICMP

Karen Elisabeth Egede Nielsen <karen.nielsen@tieto.com> Wed, 15 July 2015 11:16 UTC

Return-Path: <karen.nielsen@tieto.com>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 472F21A8768 for <taps@ietfa.amsl.com>; Wed, 15 Jul 2015 04:16:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, SPF_PASS=-0.001] autolearn=no
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 ah2WTtVHeoaO for <taps@ietfa.amsl.com>; Wed, 15 Jul 2015 04:16:47 -0700 (PDT)
Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8FA01A8709 for <taps@ietf.org>; Wed, 15 Jul 2015 04:16:46 -0700 (PDT)
Received: by iggp10 with SMTP id p10so118637890igg.0 for <taps@ietf.org>; Wed, 15 Jul 2015 04:16:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=7ir+yrmaN4bSokKRXLaoVCpCCmKfhfc7JxGVUU3ii28=; b=c7nva+25VujtPaghmputoSTtSL1eJGs3Qr2n7I7xMRguQd9yLfzXxYyNA8rpMgYiUZ FmJURvGQoPYUWEfDLQGOxPN0f49aZnUrP0RnPxft0D/uiBYE4lHA1mlFpEBVW1/n1S/2 5C+cFjJHDK5WNI89/BjC5T1um6JjHnGfYv/eI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=7ir+yrmaN4bSokKRXLaoVCpCCmKfhfc7JxGVUU3ii28=; b=RJ3M+xbfMWJvp5KnXxsULE+KTTZhzrsK1e9t8KeZjAiXm6Skqb9SZWU1ne+tM34k/w xrv6EJc6PE61WE9g22lTVrZPWmhkp+WXDM5nywUBBVbxDAkU0nEhNF+x/y3s1hiiXGM/ 9zRZZPBgvM2gPHgaLNOtoHzAnaVOJnfYPavSdgrqa63cEl3Q6CJvVoYQ5DITDH5LHhuO Q+7YeQo6D5gwNK18Ok5d1+fs2oI/ZlHP3Z7ouQAGglncQuP92P1Q8+mkBy/9q//n1ste MUR0tmJwJHWE2mAmszeK2t2WoyEEltHaa25dCdG6YCMwJ3vGrbdVPj1x7SwfW3+M5lwl MP5w==
X-Gm-Message-State: ALoCoQk3IggczKHJrjqG3i0BhMdlbUgO2R2fth2W48iLiWt+Pq63hl4lCnv9phYWpWNb+Nd3Y23KzqcFnV+2V2VkeafFtLuqZ6tnKQiMDQlZT8j0cb1ySQQ=
X-Received: by 10.50.221.107 with SMTP id qd11mr9713403igc.13.1436959006416; Wed, 15 Jul 2015 04:16:46 -0700 (PDT)
From: Karen Elisabeth Egede Nielsen <karen.nielsen@tieto.com>
References: <00597CB8-D128-408A-8F35-BA98CDF45A62@cisco.com> <55707211.8010609@isi.edu> <26B9DE0B-4D38-430D-A9A1-921CD0067C70@cisco.com> <5570988A.6040208@isi.edu> <97FD8853-7345-40E9-A523-8AF53FB2303B@lurchi.franken.de>
In-Reply-To: <97FD8853-7345-40E9-A523-8AF53FB2303B@lurchi.franken.de>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQE86SdgORCvliHFE703NIXCziGWLQKpHUkGAiiw3coBaHzujgJBSMcpnsAtzBA=
Date: Wed, 15 Jul 2015 13:16:45 +0200
Message-ID: <2b5eb97add78e6c5b3c91b94080479da@mail.gmail.com>
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>, Joe Touch <touch@isi.edu>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-DomainID: tieto.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/taps/NtuBUQ0ew4-3peAm1rNzL1huu98>
Cc: "Pal Martinsen (palmarti)" <palmarti@cisco.com>, taps@ietf.org
Subject: Re: [Taps] TAPS Transports and ICMP
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussions on Transport Services <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Jul 2015 11:16:49 -0000

>-----Original Message-----
>From: Taps [mailto:taps-bounces@ietf.org] On Behalf Of Michael Tuexen
>Sent: Thursday, June 04, 2015 9:20 PM
>To: Joe Touch
>Cc: Pal Martinsen (palmarti); taps@ietf.org
>Subject: Re: [Taps] TAPS Transports and ICMP
>
>> On 04 Jun 2015, at 20:27, Joe Touch <touch@isi.edu> wrote:
>>
>>
>>
>> On 6/4/2015 11:15 AM, Pal Martinsen (palmarti) wrote:
>>>
>>>> On 04 Jun 2015, at 17:43, Joe Touch <touch@isi.edu
>>>> <mailto:touch@isi.edu>> wrote:
>>>>
>>>>
>>>>
>>>> On 6/4/2015 3:48 AM, Pal Martinsen (palmarti) wrote:
>>>> ...
>>>>> Does it make sense for the TAPS transports draft to add ICMP?
>>>>
>>>> ICMP is not a transport protocol.
>>>
>>> Sure. And I agree. But it has the potential to influence how the various
>>> transport protocols behave. That interaction might be nice to have
>>> described in the transports draft.
>>
>> Abstract APIs need to be described. These are part of that description.
>>
>>>> The ways in which transport protocols either terminate or pass-through
>>>> ICMP messages is part of the transport protocol abstract API.
>>>>
>>>> E.g., for UDP and TCP see RFC1122.
>>>>
>>>> UDP passes all ICMP messages to the app.
>>>>
>>> No. Not unless the application specifically listens for it.
>>
>> UDP passes all ICMP messages to the app. If the app doesn't listen for
>> it, that's the app's decision.
>>
>>> Unfortunately how to do this varies from OS to OS:
>>> See https://tools.ietf.org/html/draft-martinsen-tram-stuntrace-
>01#appendix-A.2 for
>>> examples.
>>
>> You are confusing the OS and language-dependent implementation of the
>> API with the abstract API.
>>
>> RFC1122 requires that UDP implementations make the ICMP signals
>> available to the application. It does not indicate by what mechanism.
>>
>>> Listening for port unreachable can be nice to avoid spamming a host or
>>> application that recently crashed. Detecting fragmentation or max MTU is
>>> also a nice feature especially VoIP applications sending video can
>>> utilise to optimise their packet sizes.
>>
>> UDP is required to pass ALL ICMP messages to the app layer, as per RFC
>1122.
>>
>>>> TCP passes only dest unreachable types 0, 1, and 5, time exceeded and
>>>> parameter problem. All others it interprets or ignores internally and
>>>> it’s not clear it should pass up to the app.
>>>
>>> That is exactly that kind of information I would find useful in the
>>> transports draft.
>>
>> Well, yes - IMO, that's because it's part of the abstract API.
>>
>>> Any pitfalls with ICMP when doing SCTP?
>>
>> In many ways, SCTP subsumes similar requirements as TCP, but that's
>> probably buried in the SCTP docs.
>It is. See
>https://tools.ietf.org/html/rfc4960#appendix-C
>

[Karen ] In this context then it is noteworthy to observe that SCTP defacto
API (spec or implementations, I know)
does not prescribe for that the SCTP transport passes information of
received ICMP messages (any kind/type/code) up to SCTP User.
Here SCTP is significantly different from UDP and TCP defacto APIs.

For security reasons SCTP  demands for hard reaction to receipt of protocol
unreachable,
but that is a protocol feature not an api issue.

BR, Karen

>Best regards
>Michael
>>
>> Joe
>>
>> _______________________________________________
>> Taps mailing list
>> Taps@ietf.org
>> https://www.ietf.org/mailman/listinfo/taps
>
>_______________________________________________
>Taps mailing list
>Taps@ietf.org
>https://www.ietf.org/mailman/listinfo/taps