Re: [Int-area] [IPv6] [EXTERNAL] Re: New Draft - ICMPv6 Loopback

Tal Mizrahi <tal.mizrahi.phd@gmail.com> Wed, 07 June 2023 13:17 UTC

Return-Path: <tal.mizrahi.phd@gmail.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FF0EC15C510; Wed, 7 Jun 2023 06:17:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rEu7ItjSudTo; Wed, 7 Jun 2023 06:17:28 -0700 (PDT)
Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB70EC15198F; Wed, 7 Jun 2023 06:17:28 -0700 (PDT)
Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6af87f54860so247810a34.0; Wed, 07 Jun 2023 06:17:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686143848; x=1688735848; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TXvyF5f5W1+BBi5F+rLuTEdxgdyfVCoaDidATacqJjw=; b=jwz6vrQmpNqDP5+PnKz7zBmRhPWb3O7PX5t0zvAAMcihrjqo01SkvU8OpIf983cRjo 8b0bZE46oGSJbIBnR8/SQgZkNsJqZZK88dhZae2Et2ysrmGWZnX3E3Hppd77j4e5KnBB p+5f6fl9U6YhvLrc3VZCaCrorhsn5YtqYNV+5irV571H2O0l05sMGI24dXEE1qyK75dQ 8CQu6tlXl4BlBablB8jL8+UXdSDtuBTzfajg3fa6zmNMPb+JS9VWwPsIdjHn8L3pn99+ NdJUdUBK+XleyQ63utmdC8HQi0sQBL+nxwykBJIqcOO0FXrunSVhPwhK3PAnnnA4qHu6 suRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686143848; x=1688735848; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TXvyF5f5W1+BBi5F+rLuTEdxgdyfVCoaDidATacqJjw=; b=NjFej4T2N7lmt2rj/I4Gl4zdIww2AI+EImjLznhDLNpjidg2cgGHfjuPJ8rnHjdNES PvNtDG/Dc/SDvT4S4n/b74HUaOhSWULeC4cSomBzrXoVH/3Y7aONvaVejmNAnxT/TNOq kjilj9WKomeEL775NhK3T5qLOY5b/brunQMDjnI9ZVcOqdkIW0SRhoTriCBQs4Ihl7W7 5JTExq6SCiAv6K3/FccBF7nOi7wDSGhOYSSvqTmkgJdKTR8J/WQUMQ4fg87C5q3VG3GJ WDCjLQtJqGQcny0MHUoQI+GHf3W3U1RNs4FjCpElDNRBXWobxRt2NxQGGpfEsf1qzElr 4RUA==
X-Gm-Message-State: AC+VfDyiLMHuvy8gYrzxSQgdUiYT3ub2M6WrJa9/EtKVpXXzTEkNcR6d xUwsGTiYdo2gx4GTumJQZvA2FyAg7FD7xu934W0M+MEfh9S/PQ==
X-Google-Smtp-Source: ACHHUZ6O5h8e1qmercSPiBUYvHlUgJnFrx+x87zD623/H/wL9tTxL0trIDY9wm1Rx8a2rM7HAqZb+d3ku2z1CQ2DTgo=
X-Received: by 2002:a05:6830:3887:b0:6af:a1ed:3c9b with SMTP id bq7-20020a056830388700b006afa1ed3c9bmr978676otb.0.1686143847623; Wed, 07 Jun 2023 06:17:27 -0700 (PDT)
MIME-Version: 1.0
References: <CABUE3Xm5nT4R8wUu6FfXW0u66YoyDS45cRTuiGjRJ0CRGsevnQ@mail.gmail.com> <908A768F-F9CF-468A-A7C1-27736FE10BFE@gmail.com> <5B0C59DC-BD03-4BEE-A719-6E892F61F916@cisco.com> <CABUE3Xk--WodVbGFQtJvPTdtH154bNE6nufxoFDJuh6nVbpFRg@mail.gmail.com> <CAMGpriWBzdTqo2Dqz=icOxO3nB=Ax=RLaPefUocRLuC+in5xnA@mail.gmail.com> <da65dbbe-e46d-b514-50b1-280dec3ace9c@uliege.be> <43895c6986924e239266ed0ffc55177a@huawei.com> <m17csfqxie.fsf@narrans.de> <SN6PR08MB392006A8DA699F4B55A770B2E653A@SN6PR08MB3920.namprd08.prod.outlook.com>
In-Reply-To: <SN6PR08MB392006A8DA699F4B55A770B2E653A@SN6PR08MB3920.namprd08.prod.outlook.com>
From: Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Date: Wed, 07 Jun 2023 16:17:15 +0300
Message-ID: <CABUE3XmmdVyyOPs+wJp1EWAmEsSgK4hVGhB2ye7eikjpjfXrNg@mail.gmail.com>
To: "Robinson, Herbie" <Herbie.Robinson=40stratus.com@dmarc.ietf.org>
Cc: Florian Obser <florian+ietf@narrans.de>, Luigi IANNONE <luigi.iannone=40huawei.com@dmarc.ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, "int-area@ietf.org" <int-area@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/b7Jq68U9JqvcdZR5hP0ouy4JdbY>
Subject: Re: [Int-area] [IPv6] [EXTERNAL] Re: New Draft - ICMPv6 Loopback
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Internet Area WG Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jun 2023 13:17:32 -0000

Hi Herbie,

>What about taking advantage of the ICMP error mechanism?

As the draft says, ICMP error messages already include the header and
payload of the original "offending" packet, including for example the
Time Exceeded messages in Traceroute.
The Loopback exchange is similar to Echo, except that the reply
includes the header and payload of the Request, which is similar in
that context to error messages.

Cheers,
Tal.

On Wed, Jun 7, 2023 at 3:20 PM Robinson, Herbie
<Herbie.Robinson=40stratus.com@dmarc.ietf.org> wrote:
>
> What about taking advantage of the ICMP error mechanism?
>
> >From Phone
> ________________________________
> From: Int-area <int-area-bounces@ietf.org> on behalf of Florian Obser <florian+ietf@narrans.de>
> Sent: Wednesday, June 7, 2023 8:15:21 AM
> To: Luigi IANNONE <luigi.iannone=40huawei.com@dmarc.ietf.org>
> Cc: ipv6@ietf.org <ipv6@ietf.org>; int-area@ietf.org <int-area@ietf.org>
> Subject: [EXTERNAL] Re: [Int-area] [IPv6] New Draft - ICMPv6 Loopback
>
> [EXTERNAL SENDER: This email originated from outside of Stratus Technologies. Do not click links or open attachments unless you recognize the sender and know the content is safe.]
>
> On 2023-06-07 11:42 UTC, Luigi IANNONE <luigi.iannone=40huawei.com@dmarc.ietf.org> wrote:
> > For FreeBSD it looks like code MUST be 0 or the packet is dropped:
> >
>
> this is coming from KAME so everything that derives from there has
> this. E.g. it's also present in OpenBSD & NetBSD.
>
> > (file netinet6/icmp6.c line 550: http://fxr.watson.org/fxr/source/netinet6/icmp6.c#L550)
> >
> >
> > case ICMP6_ECHO_REQUEST:
> > icmp6_ifstat_inc(ifp, ifs6_in_echo);
> > if (code != 0)
> > goto badcode;
> >
> >
> > Ciao
> >
> > L.
>
> --
> In my defence, I have been left unsupervised.
>
> _______________________________________________
> Int-area mailing list
> Int-area@ietf.org
> https://www.ietf.org/mailman/listinfo/int-area
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------