Re: [babel] Babel over DTLS and UDP ports

Dave Taht <dave.taht@gmail.com> Thu, 30 May 2019 16:17 UTC

Return-Path: <dave.taht@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B8C612008D for <babel@ietfa.amsl.com>; Thu, 30 May 2019 09:17:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 ylPkmq-drab0 for <babel@ietfa.amsl.com>; Thu, 30 May 2019 09:17:51 -0700 (PDT)
Received: from mail-it1-x133.google.com (mail-it1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 4421012015A for <babel@ietf.org>; Thu, 30 May 2019 09:17:50 -0700 (PDT)
Received: by mail-it1-x133.google.com with SMTP id u186so10352842ith.0 for <babel@ietf.org>; Thu, 30 May 2019 09:17:50 -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:content-transfer-encoding; bh=AO38OYhQxITt98E1YSuOBxX9+jYe6gL9GhENTZeChrs=; b=PBCSaernu1ZQ1TeICdgwOuKqZJYXkr/7X6zJ6AxeSXtbGhaJzon6qgVtXxde13eern CUpiveD/cNeEAQpTy08ghwMpPhdWHlpJLlR5NDO8C5NVf9t57uo+dYC3UgeXDSvaQV/0 flqQyPNdtaJI+V6hhT3ZdjQlOiVW350bdYyetkTffQzoOEE8nCloaHzg/hwO/lIyl6N0 5h2Cdq95oBTDJuSjwEngiIgHFlHTZxQxV57Afd9FqXuAVtEgaQUV7TBX95zoDNJKrFIj NKGUFEglalmT2zWT7yE3ctJJGMDy8OEnDFF3zEz3t19ynN0Zx0fxV4Ibz45MGwni4Ng7 ICnQ==
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:content-transfer-encoding; bh=AO38OYhQxITt98E1YSuOBxX9+jYe6gL9GhENTZeChrs=; b=QXoT8yfdBWFcaAgihG97y0L/W9lrFLL0gkfITkKh68+HafPPPKi3ZvkE4CJpkAej1/ oCC+zNOfPvjEcOELyCWwF08TinTvM++d5vrNF6E9EE5mkXhnVPptNwfmhcPXx6h09kSA FJT8JYMUvVYo0B4ZJ8Up+4IDAIFCkLfAg711R+iU8j9P/AbQSAgUdp9cyWQNkGZg+FTT vXBwhpxRbmBSLV7xEkzlM1pgDy7ajreOZLHCPWfJ4weueU1AQdp9hjWUVqctxnHhC3M+ KOBgiUj8OFvX05kenZUG8WnmGtGAXFPI1gXJ2cDLmqm3JtzpByHT9Lso6Embe/RKf710 IYGw==
X-Gm-Message-State: APjAAAVV6M/GYcECvqHQJIgtKvmBkt3D/073nehWQsvkiAzZpoLiubpd 2WxC2WvM0ILbP1BMOlOxXzJL0dXvAxYVaLDyY8E=
X-Google-Smtp-Source: APXvYqznzppy23VEMiJtpAfyWyssLck2k3ciW72M69lQF0j368kXhbnuMZbneLAZxhhI5+h6dD2ggM56xPUlON6r4N4=
X-Received: by 2002:a24:ac0a:: with SMTP id s10mr3998426ite.60.1559233069522; Thu, 30 May 2019 09:17:49 -0700 (PDT)
MIME-Version: 1.0
References: <CAPDSy+45_gEo=SfLWnODa6jMqnUdC9a10nhL6ZxRLh7EXabxaw@mail.gmail.com>
In-Reply-To: <CAPDSy+45_gEo=SfLWnODa6jMqnUdC9a10nhL6ZxRLh7EXabxaw@mail.gmail.com>
From: Dave Taht <dave.taht@gmail.com>
Date: Thu, 30 May 2019 09:17:38 -0700
Message-ID: <CAA93jw5rMx9q1=H8GQuoNJQjTd3mk0gunQ=gEwBoHAmpK=c5_Q@mail.gmail.com>
To: David Schinazi <dschinazi.ietf@gmail.com>
Cc: Babel at IETF <babel@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/Oh9YjZ_QNEhdshpg4qxjtA10oKY>
Subject: Re: [babel] Babel over DTLS and UDP ports
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 May 2019 16:17:54 -0000

On Thu, May 30, 2019 at 9:11 AM David Schinazi <dschinazi.ietf@gmail.com> wrote:
>
> Hi Babel enthusiasts,
>
> As currently documented, Babel over DTLS uses two UDP listening ports:
> - 6696 for regular unencrypted Babel packets
> - a separate port (number TBD) for Babel-over-DTLS packets
>
> When the authors requested the new port from IANA, we received some pushback. The position of the IANA port expert was that UDP ports are a scarce resource and they strongly prefer to not allocate them unless it is necessary. So the question for the Babel WG is: is the separate port necessary?
>
> One possible solution could be for us to have unencrypted packets and DTLS packets share the same port. For that we can leverage the fact that all Babel packets start with a first byte set to 42, and say that DTLS packets use the same port, prefixed with 43 instead of 42.

So that is in the clear?

>
> What are people's thoughts? In particular, if you have an implementation of Babel over DTLS (or if you are considering building one), do you think the proposal above could be fit into your implementation?

I rather liked it over udp-lite.

>
> Thanks,
> David
> _______________________________________________
> babel mailing list
> babel@ietf.org
> https://www.ietf.org/mailman/listinfo/babel



-- 

Dave Täht
CTO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-831-205-9740