QUIC Address Discovery

Marten Seemann <martenseemann@gmail.com> Thu, 19 October 2023 10:20 UTC

Return-Path: <martenseemann@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D109BC13AE26 for <quic@ietfa.amsl.com>; Thu, 19 Oct 2023 03:20:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 hRCyZlp8tnCz for <quic@ietfa.amsl.com>; Thu, 19 Oct 2023 03:20:04 -0700 (PDT)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 AD2B9C14CE30 for <quic@ietf.org>; Thu, 19 Oct 2023 03:20:04 -0700 (PDT)
Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-53e08e439c7so12926390a12.0 for <quic@ietf.org>; Thu, 19 Oct 2023 03:20:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697710802; x=1698315602; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4dxkFanKZrXc6Kj1p0/lnrFjtj5as30jkl3H05SLho4=; b=WKXG9fCQuZRPCmsewDJtRyKgAT4dRrcEvv0J5DRPyl7nvT5rzZjghXf9iJlC+g8ex9 7JPN7u8cWlIiweAO+ruMqx2Z4RGMUPZrH8/yP6VuJ5gmVl0qkwHnP+4WGyr+BulBoCMb mxp4KzP5vpSs721b7VPbAAHGua75nutTQfM7sLwUlhc9ocP84tAEDv8lnPMewRMKEpAy NtbwbiM7R6JakugU3FcF3WzrXZGoPqZcT/oU4WSFSNaDDRzdKi2CWKuMkALWfn3ZRbPD u1Hb+EqcEEFQoTtcexj0Rqb3Aq4WRID96MKNr6uT2c+1jvl5/odFWRbL/kScqohhrEjE SojA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697710802; x=1698315602; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4dxkFanKZrXc6Kj1p0/lnrFjtj5as30jkl3H05SLho4=; b=xS44GEDvd4sNwGP7rJH8bNUqqk1pozbaQ+caPQ/x6zBx3cRRjbXWNcCsLZAyykGE0p VknWdwkohQonLIakmyddCmlW5NRi9BTDPHA8laQQX8ZAbdji1r/iJApPZrJN+gpvU0cf hNKNhWYSwlQC6O5sfNf209yQ63kVFcwAkOxlq3Ysqw/+LuqRfxOIoUo+fQptZnWJIJQl w93XY2iWdeuobp6WJfVpTY5CJpe5R2WXT7DqDtgGpTpjVvNFKXKqt4LG4ojUxS1NEgJ8 l+dbQbx+3RHg888GTmPueOUeTkP7YZB8+GCN3B9Ncd8hQJpmNm7RMi0jPjFddUsG+Vf1 QhVA==
X-Gm-Message-State: AOJu0Yzelw13YAZhwR7KHNQuJOb3E6jwLr0KZgfDCaIAIlwqwbAU4YmK 3kArvUh1IG1HhWyM0au9YKdrV7PkohMHoHb6MK12PU9clvOhjyxa
X-Google-Smtp-Source: AGHT+IHoTBmwrIpK5EK/hV91+IiCu8zTi9d1iydNA09F2hZHEhXbH3GQjsl1GQFJrwrKU2uS5rLRQ8OoZ48IZq3s4Ps=
X-Received: by 2002:a50:8719:0:b0:53d:9471:76b3 with SMTP id i25-20020a508719000000b0053d947176b3mr1271893edb.7.1697710801658; Thu, 19 Oct 2023 03:20:01 -0700 (PDT)
MIME-Version: 1.0
From: Marten Seemann <martenseemann@gmail.com>
Date: Thu, 19 Oct 2023 17:19:47 +0700
Message-ID: <CAOYVs2os+0EVc-ptpFU8tbHO-4-JcPwpQ6kbbQh9n4UHC5j8rg@mail.gmail.com>
Subject: QUIC Address Discovery
To: QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000043a77d06080f1990"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/nVvJZ1DXnpL6SWTXVQDafBYRuB4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Oct 2023 10:20:06 -0000

I just published an I-D that defines a mechanism for QUIC endpoints to
discover their (public) IP address and helps them determine their position
in the network (e.g. if they're behind a NAT):
https://datatracker.ietf.org/doc/draft-seemann-quic-address-discovery/
This is especially helpful for QUIC nodes running in a p2p setting.

A similar result could be achieved by using STUN on the same UDP socket,
but there are several advantages of doing it inside of QUIC. See the draft
for details.