Re: Small size of core QUIC library to replace TCP for embedded system

Jana Iyengar <jri.ietf@gmail.com> Tue, 21 July 2020 03:11 UTC

Return-Path: <jri.ietf@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 269E43A1342 for <quic@ietfa.amsl.com>; Mon, 20 Jul 2020 20:11:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bntB4NpLhzpR for <quic@ietfa.amsl.com>; Mon, 20 Jul 2020 20:11:36 -0700 (PDT)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 3638B3A1340 for <quic@ietf.org>; Mon, 20 Jul 2020 20:11:36 -0700 (PDT)
Received: by mail-lj1-x232.google.com with SMTP id z24so22421512ljn.8 for <quic@ietf.org>; Mon, 20 Jul 2020 20:11:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RIEunUDGVrhfLF71csWAS6AFrju4Ot2QdCHuZ8gut54=; b=XB3H8JaLO6cUxp/42VJnHxa37lymDY57XDsoojT/Ypa7krdog20gQCRAKpOR0cfkIJ H6qlTif0scBoWv1VpgFFiuk18u7pHCLio9sEU96sigdwfPsNgYHD7IpreN0fybcY4tWb s/wF3WbenGEFdrbOe5bdFprJZQUvXuMeleKZKhcuueX6w+hNu/+v0z+QPOyzYKn1mbdG 9vpgONwHMnnmaj65/hlD2ykcBlPq7qilov8xqrn8bQJ8gglDynVW5GSsN07gkr/WHuNB h06cHoUgXw8vmol1wMz7zSm6QzyEbvvqLpLmOXIHwU4ygRBUfHYMx2ddG8H8lb9rmIhL x2hQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RIEunUDGVrhfLF71csWAS6AFrju4Ot2QdCHuZ8gut54=; b=kSIoLwf4/ZS3VcrsuNdlmG/Q/1NpAN/kPk+rf+koDnZNVBgK/bwmu3Z2Z95PjTc5eb IUxeXh18HsWsriqjxwqzVsZFXluokZ3EWVS0F9q7ZHgSWe8fSaZA8xs6FrbBkGUnorhJ tjpevVKs0BUIrKja1521My3uULdAit4o4U6o9aXyvwBdgXWDADbifaUDqPD6pp2xk4jZ pm6hG4t9BsBwverBqsclydaAH5vYmU1dv8vHx+WoxazijRDdTec8hHMoAbRqBPMDmOsw RVWoR4Jcqoh1KrehGHsca32ZRYWCQNaim+WC09XCFhYabgaF7mECOpiSmY8nKlIJCNzd /S9w==
X-Gm-Message-State: AOAM532bxtJuiX56F4B+SitBlEv+Mhl9yuZJK0WPEVwXMkpxB8rnm6/o dvHwvrGdIXv93KYebPUXwDjmIRrjdbUhaRQMK6sUcLhG
X-Google-Smtp-Source: ABdhPJzk42whmdfYfJ4V/X01JDhHaGdabY+IkNNakxOhgV7URB7J00cG/UxbzyFQNn+mDvKFrzcqSkVrsU36YK2XxpI=
X-Received: by 2002:a2e:808a:: with SMTP id i10mr10714668ljg.400.1595301094319; Mon, 20 Jul 2020 20:11:34 -0700 (PDT)
MIME-Version: 1.0
References: <CAA=hcWS0V8ipsoAEFK3ejdA++Vzi+czth37=ntP4mnt8d=mtRg@mail.gmail.com> <CH2PR00MB07647EEBC9795A9BE3801C13B3780@CH2PR00MB0764.namprd00.prod.outlook.com>
In-Reply-To: <CH2PR00MB07647EEBC9795A9BE3801C13B3780@CH2PR00MB0764.namprd00.prod.outlook.com>
From: Jana Iyengar <jri.ietf@gmail.com>
Date: Mon, 20 Jul 2020 20:11:23 -0700
Message-ID: <CACpbDceOzxMY1JOJc75i6ORjbDMq-qRPyMZa+cWUEP2gNzvZLQ@mail.gmail.com>
Subject: Re: Small size of core QUIC library to replace TCP for embedded system
To: Nick Banks <nibanks=40microsoft.com@dmarc.ietf.org>
Cc: Jupiter <jupiter.hce@gmail.com>, quic <quic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000009688305aaeafbda"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/VYJXjBXbqXEY43LCdPyTnOij38M>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 21 Jul 2020 03:11:38 -0000

Hi Jupiter,

You might consider the various implementations listed at
https://github.com/quicwg/base-drafts/wiki/Implementations. All the
implementers are on this list, so you should be able to reach them here.

- jana

On Mon, Jul 20, 2020 at 5:53 PM Nick Banks <nibanks=
40microsoft.com@dmarc.ietf.org> wrote:

> Hello!
>
> Feel free to take a look at MsQuic (https://github.com/microsoft/msquic).
> It's written in C and is purely a QUIC implementation (no HTTP/3). We've
> not necessarily targeted it for embedded systems and I can't tell you
> off-hand how small the library will end up being in your scenario. If you
> try it out and find any specific problems, feel free to open issues and we
> can discuss fixing them.
>
> Thanks,
> - Nick
>
> -----Original Message-----
> From: QUIC <quic-bounces@ietf.org> On Behalf Of Jupiter
> Sent: Monday, July 20, 2020 5:31 PM
> To: quic <quic@ietf.org>
> Subject: Small size of core QUIC library to replace TCP for embedded system
>
> Hi,
>
> I am looking for a slim backbone core QUIC library to replace TCP stack.
>
> Here are core features currently I am using TCP, I am wondering if there
> is a QUIC open source library can be used or to be further developed to
> replace following TCP key functionality
>
> - Replace Boost ASIO TCP by QUIC for socket communication between the
> device and Cloud services.
>
> - Use (Address)-restricted-cone NAT
>
> - Use TCP TLS
>
> The major issue when I looked at Google and other QUIC source is because
> it supports HTTPS, the size is too large, it is not modularized, Some open
> source claimed the library can be used by adding or removing options, the
> reality is most of the QUIC libraries are designed based on HTTPS in mind,
> it is hard to have a clean small size QUIC core functions above.
>
> I have to admit my knowledge about QUIC is limited, but I am a programmer,
> I am keen to participate a modular QUIC open source development for
> embedded system, here are options:
>
> - Take an existing QUIC library (C/C++)
>
> - Fork a QUIC Git source to develop a slim C/C++ QUIC for the embedded
> system.
>
> - Start from scratch based on reference of some QUIC library
>
> Appreciate your advice and suggestions.
>
> Thank you.
>
> Kind regards,
>
> jupiter
>
>
>
>
> --
> "A man can fail many times, but he isn't a failure until he begins to
> blame somebody else."
> -- John Burroughs
>
>