[ippm] Demo: IOAM Ping using ICMPv6 Loopback

Tal Mizrahi <tal.mizrahi.phd@gmail.com> Thu, 18 April 2024 09:09 UTC

Return-Path: <tal.mizrahi.phd@gmail.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4B18C14F707 for <ippm@ietfa.amsl.com>; Thu, 18 Apr 2024 02:09:10 -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_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 V-5IQDRG3_1u for <ippm@ietfa.amsl.com>; Thu, 18 Apr 2024 02:09:07 -0700 (PDT)
Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 F1BEAC14F700 for <ippm@ietf.org>; Thu, 18 Apr 2024 02:09:06 -0700 (PDT)
Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-7d9c78d108eso4790639f.3 for <ippm@ietf.org>; Thu, 18 Apr 2024 02:09:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713431345; x=1714036145; darn=ietf.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XrVgwakdmMxK9bE/6Rw4UHrTew0oXH/m1hEYWH5TBD4=; b=brWVARNArHh9r+P+Q9SVom1cLpwStmZvE2xl3vEkviTjqgtKf+i6PFJhsVAemgRHCu B9tL52WlwQRVGHWqsU6+vU1P0bPysJ+r7OA6wWT8+fZuJgNAyb9GnYYDS6kM+HIdPpyo p0m7HLqTmriHjD2e752GRYi/Cb22PK/kPOkGBuVvuUreFXMGpP6pVcWO/VgBLW1GUmf3 RBkOlMauVu0QyLOZtNGQDtBvflGT5/knQlUKPsQOupfb0irjhwLSzs6yvAQiBjSzmYdR 2e1LKNfXFmbDnBUw7Yrqg1AnkSMEjtZTW06yJyQjbRXFZAq8nfhIYN1b4bM+vZ5c4PU8 Mpew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713431345; x=1714036145; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XrVgwakdmMxK9bE/6Rw4UHrTew0oXH/m1hEYWH5TBD4=; b=wYqlVYF9o1bYU9iIXrk4ewKqNAl8Yyq0HaUGMMOEyU8fSFKAr3cR8GQm2cJ1oxvX9E /zhDctAhY5nygO8bUz/eAPF/0VVwzTw/48ixUMpwZ3EyQ8ZcONODK8ipC+bQDoshMe7g NnghW3wv6AxliwRZFdjJtj1Tt5r49/K7pVPC/bowhpwr+UxK0MoRXrVCaBIgYkowyp26 YryRuB4o+uozuxC4+fALfT/Q+9zoKwcCA+AkJpBmfFUGBXboHPUaQGnmC1zxF5NFqv99 icfQ3pyznQWxIhYjoaY0XWQfi/UxPQf2M71xtipAxv/2xpaS4cryCHlyquiesCeRjnQw bI8w==
X-Gm-Message-State: AOJu0YzMKNRaHCmDpR8uOjuovG3yzWr70Oa+Kz4Pg/DIomfBSUB8MCLJ hGY59LWHViECqq6pOSITzqq2U6VoxhLWSEFsHLu5hOrWiRpzqVMXI+52s9mcqyE/qyG2Sxuw93l MpsnnYJ0UUsqG7QQeWyG7+irOUd+Rokkgox0=
X-Google-Smtp-Source: AGHT+IGS1V7Ymy9dqJBVLgM/T0p1uoheF1JFSDCSm8FfPAwO4tTZkr7kT9DzvpvLhqj0InDrLNEiEfJJ0gm44j0g7+M=
X-Received: by 2002:a92:2c08:0:b0:368:efa4:be12 with SMTP id t8-20020a922c08000000b00368efa4be12mr2340286ile.3.1713431345545; Thu, 18 Apr 2024 02:09:05 -0700 (PDT)
MIME-Version: 1.0
From: Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Date: Thu, 18 Apr 2024 12:08:54 +0300
Message-ID: <CABUE3Xkprxs9BFbisYGhbyU8ECGtfXgigRzPvVzRZ2y-ugHqEg@mail.gmail.com>
To: IETF IPPM WG <ippm@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/9fucNOnPbJhflZ_3Y4KhK_9_9xo>
Subject: [ippm] Demo: IOAM Ping using ICMPv6 Loopback
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Apr 2024 09:09:10 -0000

Hi,

We have recently proposed ICMPv6 Loopback, a new ICMPv6 type which is
similar to ICMPv6 Echo, except that the Loopback reply includes the
IPv6 header, extension headers and IPv6 payload of the corresponding
Loopback request.
https://datatracker.ietf.org/doc/draft-mcb-intarea-icmpv6-loopback/

In the context of IOAM this means that an IOAM encapsulating node can
send an ICMPv6 Loopback request that includes an IOAM option, and the
Loopback reply includes the IOAM data of the request. This can be
used, for example, in a Ping-like application.

We have prepared a demo which leverages the existing IOAM
implementation in the Linux kernel, and uses ICMPv6 Loopback in order
to implement a Ping-like utility that presents the IOAM data of the
nodes along the path.

An example of the output of IOAM Ping with two IOAM nodes is shown
below, with three data fields per hop (Hop limit/node id, timestamp
seconds, timestamp fraction).

PING db01::1 (db01::1) 56 data bytes
152 bytes from db01::1: icmp_seq=1 ttl=64 time=0.192 ms IOAM:
NodeID=1,HopLim=64,RcvTime=NA
NodeID=2,HopLim=63,RcvTime=1712811441.126
152 bytes from db01::1: icmp_seq=2 ttl=64 time=0.078 ms IOAM:
NodeID=1,HopLim=64,RcvTime=NA
NodeID=2,HopLim=63,RcvTime=1712811442.129

The demo is available at:
https://github.com/talmi/IOAM-Ping-Demo

Feedback about ICMPv6 Loopback and about the Ping demo will be welcome.

Thanks,
The authors.