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

David Farmer <farmer@umn.edu> Thu, 16 February 2023 00:52 UTC

Return-Path: <farmer@umn.edu>
X-Original-To: ham-ag@ietfa.amsl.com
Delivered-To: ham-ag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A531C33450A for <ham-ag@ietfa.amsl.com>; Wed, 15 Feb 2023 16:52:11 -0800 (PST)
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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umn.edu
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 Whzt_KCrK6Ci for <ham-ag@ietfa.amsl.com>; Wed, 15 Feb 2023 16:52:07 -0800 (PST)
Received: from mta-p5.oit.umn.edu (mta-p5.oit.umn.edu [134.84.196.205]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57FCEC1BE89A for <ham-ag@ietf.org>; Wed, 15 Feb 2023 16:52:00 -0800 (PST)
Received: from localhost (unknown [127.0.0.1]) by mta-p5.oit.umn.edu (Postfix) with ESMTP id 4PHGcH2YjDzB18rn for <ham-ag@ietf.org>; Thu, 16 Feb 2023 00:51:59 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p5.oit.umn.edu ([127.0.0.1]) by localhost (mta-p5.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ISBK5Uk7609d for <ham-ag@ietf.org>; Wed, 15 Feb 2023 18:51:59 -0600 (CST)
Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p5.oit.umn.edu (Postfix) with ESMTPS id 4PHGcG67dnzB18rq for <ham-ag@ietf.org>; Wed, 15 Feb 2023 18:51:58 -0600 (CST)
DMARC-Filter: OpenDMARC Filter v1.3.2 mta-p5.oit.umn.edu 4PHGcG67dnzB18rq
DKIM-Filter: OpenDKIM Filter v2.11.0 mta-p5.oit.umn.edu 4PHGcG67dnzB18rq
Received: by mail-ed1-f69.google.com with SMTP id h10-20020a056402280a00b004acc6cf6322so298580ede.18 for <ham-ag@ietf.org>; Wed, 15 Feb 2023 16:51:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3HeT/zAhaZbtnvZq22giT+k2GFOPAV8TP7fHfsGt0ZA=; b=QeVm/xz1wOa6jgFrYCkkrUePb3V3+MMid/Y+hWOCbjsT2tzLsjr8KYgkCANu8W7YkC ptvAb9Bgzmo9y/Xffw9Pk4OBI8FhTCxPk5d4hKYj56aPx+xSIRcKE7VnlJRq2OhFKM9O G+M0+W/sttglUOJywGVwB2rILjXui5RUgbwokUCp8ty0eUSfEd9yS2I0zjLWfTK/EhHr +3dFmpx1uO+CoD3rOoUhP3af6zF3fme6h8fYd7TDbM+ZH69XNfGz5T8LPiRZ9Td+Gpvv lcnou6mizXUOfDUl4cY+/yz0NiCChjgF0uF6V3rUi1iwoAMxmO2PboT+aVL3Gj3nKJYf t9PA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=3HeT/zAhaZbtnvZq22giT+k2GFOPAV8TP7fHfsGt0ZA=; b=myNuU9ZeA0UGGPt7CT1SiOzBtJ56BI33u1Ax5Bgy6Yd1hO1r+XJAOwS4Llb5FisryP g2d0VepjtVWghJ/zSTsjZH7rFS8GFn7dCFPxIBX2CVvfpVQVERRUMudIC0Lw+qzcpA6t 5XwXoZkJkQYg0Fe2/iUdD+rv/UKiWUssbeApgJ6icfbcPEh4msex/OKoMJF8PnIduAZB +QvErMYo5rY/jkuJfj8e6a1yVzYCIIn3+vSVANprzEKl1VpcHiT0144acuUKAvWw1HEp LxuRwa/0kb/h8++cHei5zU2nKp6bLL3z459fETEuWtfdomKPLthXq+eKK7h7wqg9LvLH Huzw==
X-Gm-Message-State: AO0yUKWdl9J5uSn8mQBoRzqlWZCKUs6bnx8zg3g6XqdD2Ub1D/f8T1gn HGxHCHNcMQGXXzzWaa/YR5IQ+g9BDSDoe/KIh+qBBNhRYIgfOWhySm2NXG98Q4CkYJ2Plet93jN vGSbPeDL9tRNCprbjGbHIn5rd8QU=
X-Received: by 2002:a50:c441:0:b0:4ac:b7c1:9109 with SMTP id w1-20020a50c441000000b004acb7c19109mr2116571edf.6.1676508717191; Wed, 15 Feb 2023 16:51:57 -0800 (PST)
X-Google-Smtp-Source: AK7set8WAXmXJIuBxvMn3k4UdPRD2dffp/yjLvwQMwMDDnjoJj5JBe6FN0HouzGOeWG5WBrgC7VLHwFeIptXF7W5KPg=
X-Received: by 2002:a50:c441:0:b0:4ac:b7c1:9109 with SMTP id w1-20020a50c441000000b004acb7c19109mr2116561edf.6.1676508716789; Wed, 15 Feb 2023 16:51:56 -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>
In-Reply-To: <CACcvr=nvTmhH2=a1hs4_Mp99HH01_fXFDSNsZHJ=sD-hit7FGQ@mail.gmail.com>
From: David Farmer <farmer@umn.edu>
Date: Wed, 15 Feb 2023 18:51:45 -0600
Message-ID: <CAN-Dau0J9vjerdYqE+Z+L8Ggmm0MBxJfGwbCYHTdkO53CwF6bg@mail.gmail.com>
To: Nick Harper <nharper@nharper.org>
Cc: Alexandre Petrescu <alexandre.petrescu@gmail.com>, Evan Pratten <ewpratten@gmail.com>, IPv6 <ipv6@ietf.org>, ham-ag@ietf.org
Content-Type: multipart/alternative; boundary="0000000000008704ca05f4c69aba"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ham-ag/L22M1FCGsk0WY6Wf6ACYVBte-o0>
Subject: Re: [HAM-AG] [IPv6] Request for feedback: draft-evan-amateur-radio-ipv6
X-BeenThere: ham-ag@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: HAM Radio Operators Affiliate Group <ham-ag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ham-ag>, <mailto:ham-ag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ham-ag/>
List-Post: <mailto:ham-ag@ietf.org>
List-Help: <mailto:ham-ag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ham-ag>, <mailto:ham-ag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2023 00:52:11 -0000

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
>> <https://www.google.com/maps/search/2386+Panoramic+Circle,+Apopka,+FL+32703+USA?entry=gmail&source=g>
>> >>  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
===============================================