Re: [IPv6] [HAM-AG] Request for feedback: draft-evan-amateur-radio-ipv6

Evan Pratten <ewpratten@gmail.com> Thu, 16 February 2023 00:55 UTC

Return-Path: <ewpratten@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63CC1C16B5B4; Wed, 15 Feb 2023 16:55:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.095
X-Spam-Level:
X-Spam-Status: No, score=-6.095 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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 5klQQDyGpb2r; Wed, 15 Feb 2023 16:55:27 -0800 (PST)
Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 B713FC16B5B0; Wed, 15 Feb 2023 16:55:27 -0800 (PST)
Received: by mail-ej1-x632.google.com with SMTP id t24so1418963eji.4; Wed, 15 Feb 2023 16:55:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=aOX/jhLmIzA9gtphXzw0ff0yTzc++suYQW98MD9Mk9w=; b=RvhPjzECnnud7qT6bFBKpPqD42zhKRXa5Fy6GhkWvjMHBnZSZGQ/n/TsyNt62GnhZ/ LRCFj01Ko8yf2eLtEzeDjqH2HVQNP6aOwnJE6NnVE8aI6vR2Ra2W7OsiwT+WVp9DUH4r S2hyLrd4Iiq284o9HauF7cXrlZ0onfrkwvYNdHPwiPUzFO3zP2kuiKGSrBwD/wjN7azD J1iICEgSN8yXOt8MHeEE+cl2nY5UWxToMGkNzselhg/OAB02vXWea0xjskip3CXlIJ2a dG2LCOx5cCxGuXei3+DgmU25s69UsEbzgshYK+gc8KssJ8mo5T5UDdsuPu9Ae8SP7oON Ev8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=aOX/jhLmIzA9gtphXzw0ff0yTzc++suYQW98MD9Mk9w=; b=jU9PWrl/djY2bngnQa1PWd6CtXq2T7Ee1HRBOfcul2jUUK7svu8bch9isYrK1L8GN2 yxOXepARxVxams3R8rddXyy1qV1jlL3ZK+0FWbXMnfgg5aEnJjRuKbcMwbQrTWrM2WtB cXWAa0qcTWlof4mkXCvVkVOJ4xBkmFAzgVHbZHk01X/SARVuk/1fl7j4wb3YWZ66xqlr JBY5DiACRITmumQqHVe7LJa34yyFEyeesQXpQ6c+D159OJ0f/iBm3voXaioPjncIKJIi fBTSH9k++of3y6m3eGHea0np0MZEhgNbNMjjxVHm0HLfDH/axZjMSQrfjw43K+mIjM6D mEeA==
X-Gm-Message-State: AO0yUKUAOWMa8D6CF1gtDm+q3KESC37Md+QHtXlEXsDZfM5ohqNeqhyG JIz3mpCfy1sOfoCNjAL6GH7xr7dN6669IjgPwHc=
X-Google-Smtp-Source: AK7set/AbM2AOGb0X7ELTmmZ6lSBARqVOGac1Sou07VjLNylKrAN6xMINWNX631LLznjBT2LoASj9b8NL8CRyWzP/Bs=
X-Received: by 2002:a17:906:4d81:b0:877:ef6d:8e59 with SMTP id s1-20020a1709064d8100b00877ef6d8e59mr2040697eju.8.1676508925708; Wed, 15 Feb 2023 16:55:25 -0800 (PST)
MIME-Version: 1.0
References: <CAD=s3w5UUgiNC=SJxigAj7TS_QHDfk+KBiWq846rVcqmRxxtLQ@mail.gmail.com> <5420a784-0c57-e40f-3e45-dd3bd9c393ea@gmail.com> <CAF4+nEGh3J0wO7+9jcHoQErcW8=hXD+sh9DLJ7QWYUoBsmLAQg@mail.gmail.com> <CAD=s3w6NFz4BA9_sdPukZQFQnS2h9yjP0ncYifX0HedOn_ZVPA@mail.gmail.com> <CAF4+nEGGtRh20503VpCPjT2VdsaoDEbcfqSTumExHZEef2Jvvg@mail.gmail.com> <CACcvr=kc6kqPpdve8VWX5RWydtvjJkmEk+ykBvM6=SrUSVXWYQ@mail.gmail.com> <CAD=s3w4Oa9NKK-6h-YEr9OSHy_=C6JBsauWSxkrw-=oS1O=EMA@mail.gmail.com> <CACcvr=nvTmhH2=a1hs4_Mp99HH01_fXFDSNsZHJ=sD-hit7FGQ@mail.gmail.com> <CAN-Dau0J9vjerdYqE+Z+L8Ggmm0MBxJfGwbCYHTdkO53CwF6bg@mail.gmail.com>
In-Reply-To: <CAN-Dau0J9vjerdYqE+Z+L8Ggmm0MBxJfGwbCYHTdkO53CwF6bg@mail.gmail.com>
From: Evan Pratten <ewpratten@gmail.com>
Date: Wed, 15 Feb 2023 19:55:14 -0500
Message-ID: <CAD=s3w42ef9yS=AWqzo_rEQLoUvPYm-aE=itLTg53kuDu-NjFA@mail.gmail.com>
To: David Farmer <farmer@umn.edu>
Cc: Nick Harper <nharper@nharper.org>, Alexandre Petrescu <alexandre.petrescu@gmail.com>, IPv6 <ipv6@ietf.org>, ham-ag@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/t8w9BDVxELyQ9qR6CzvcraZNXAk>
Subject: Re: [IPv6] [HAM-AG] Request for feedback: draft-evan-amateur-radio-ipv6
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2023 00:55:31 -0000

David,

I like this approach.

Interestingly, this also segregates nodes into permanent and temporary
callsign subnets. Plus, *not* hashing permanent callsigns allows
country-specific callsign prefixes to be treated as subnets.

On Wed, Feb 15, 2023 at 7:52 PM David Farmer <farmer@umn.edu> wrote:
>
> How about the most significant bit be labeled the hash bit, when it is set to 1 it allows for 59 bit hash of the callsign or set to 0 it allows for a base-36 encoded callsign, with the last nibble being the node ID.
>
> Kind of the best of both worlds.
>
> Just a thought.
>
> On Wed, Feb 15, 2023 at 18:34 Nick Harper <nharper@nharper.org> wrote:
>>
>> I had to look up that ITU regulation, so I don't know if there's a max length on temporary callsigns.
>>
>> If you treat the callsign as a base-36 number, you could squeeze up to 11 characters into 60 bits.
>>
>> If you really want to handle callsigns of arbitrary length, you could use some of the 60-bit space for direct encodings of short (e.g. <=7 characters) callsigns and the rest of the space for the hash of longer callsigns.
>>
>> On Wed, Feb 15, 2023 at 4:13 PM Evan Pratten <ewpratten@gmail.com> wrote:
>>>
>>> I have personally held temporary callsigns longer than 7 characters,
>>> which is why I wanted to handle that.
>>>
>>> Using a more space efficient encoding scheme is an interesting idea.
>>> Do you know if there is a maximum length on temporary callsigns by
>>> chance?
>>>
>>> I'll think about doing away with the hash in favor of space-efficient encoding.
>>>
>>> On Wed, Feb 15, 2023 at 7:10 PM Nick Harper <nharper@nharper.org> wrote:
>>> >
>>> > Why hash the callsign at all?
>>> >
>>> > Article 19 of ITU's Radio Regulations specifies the format of callsigns, and they are at most 7 characters long. The ASCII representation of the callsign could be used to generate 7 bytes (56 bits) to use in the address without needing any hashing. For the exception in 19.68A (on special occasions, for temporary use, callsigns could be longer than 7 characters), a 6-bit encoding scheme could be devised so that alphanumeric callsigns up to 10 characters long could be encoded in 60 bits.
>>> >
>>> > On Wed, Feb 15, 2023 at 3:28 PM Donald Eastlake <d3e3e3@gmail.com> wrote:
>>> >>
>>> >> Hi,
>>> >>
>>> >> On Wed, Feb 15, 2023 at 3:03 PM Evan Pratten <ewpratten@gmail.com> wrote:
>>> >> >
>>> >> > On Wed, Feb 15, 2023 at 2:58 PM Donald Eastlake <d3e3e3@gmail.com> wrote:
>>> >> > > I'm not sure the hash even needs to be cryptographic.
>>> >> >
>>> >> > Agreed. I would call a cryptographic hash *undesierable*. Why waste
>>> >> > processing power hiding the callsign when you have to ID yourself
>>> >> > anyways?
>>> >> >
>>> >> > I am admittedly far from an expert on hashing algorithms. Donald, do
>>> >> > you have any suggestions that fit the properties you outlined by
>>> >> > chance?
>>> >>
>>> >> Indeed, I would suggest using FNV-64 truncated to the top 60 bits, See
>>> >> https://datatracker.ietf.org/doc/draft-eastlake-fnv/
>>> >>
>>> >> Here is an article on using FNV-32 for IPv6 flow label
>>> >> https://researchspace.auckland.ac.nz/bitstream/handle/2292/13240/flowhashRep.pdf
>>> >>
>>> >> Thanks,
>>> >> Donald
>>> >> =============================
>>> >>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>>> >>  2386 Panoramic Circle, Apopka, FL 32703 USA
>>> >>  d3e3e3@gmail.com
>>> >>
>>> >> --
>>> >> HAM-AG mailing list
>>> >> HAM-AG@ietf.org
>>> >> https://www.ietf.org/mailman/listinfo/ham-ag
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>
> --
> ===============================================
> David Farmer               Email:farmer@umn.edu
> Networking & Telecommunication Services
> Office of Information Technology
> University of Minnesota
> 2218 University Ave SE        Phone: 612-626-0815
> Minneapolis, MN 55414-3029   Cell: 612-812-9952
> ===============================================