Re: [hybi] method of allocation of reserved bits to extensions
Brian <theturtle32@gmail.com> Fri, 20 May 2011 18:05 UTC
Return-Path: <theturtle32@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90580E0753 for <hybi@ietfa.amsl.com>; Fri, 20 May 2011 11:05:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level:
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FPRpydxDyrOO for <hybi@ietfa.amsl.com>; Fri, 20 May 2011 11:05:49 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id ABA36E073D for <hybi@ietf.org>; Fri, 20 May 2011 11:05:48 -0700 (PDT)
Received: by bwz13 with SMTP id 13so3721194bwz.31 for <hybi@ietf.org>; Fri, 20 May 2011 11:05:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=yKTgk/an7fu++ktlgh1L8+/cxjbPNqVQX/dj989He3M=; b=M3Zla+B5alf4V08FsKzeX01On50godgLvr2Jnbdby5W3SuEf3tkkxP4Bv1pYoSzndz M4Box+PqvzFAsXjLUu97vhtgZMiF3WgF/PLUqSql85E76w6w7phzdR/IampxZMTlktet vWeOAJIzQgfIGGLQdjOaiQuAnQXwTTmrkj9EE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SpgNtN8bVvKda/k5WpaIVIiSGIVOuxCpWKIaOSKog3W6pM0CFnstd4MRAHpjdOZ9iy ZG6Ww3gTvv1m+53I7i5CXKN7peiRCCHo03NjlH0+M5kpgGAxNe+raEYewUdndtBLOib1 OM3SCOgTHC79ctRaURGULaT/FB4bEi5OauPuY=
MIME-Version: 1.0
Received: by 10.204.154.215 with SMTP id p23mr248803bkw.113.1305914747371; Fri, 20 May 2011 11:05:47 -0700 (PDT)
Received: by 10.204.14.140 with HTTP; Fri, 20 May 2011 11:05:46 -0700 (PDT)
In-Reply-To: <4DD61D35.10404@warmcat.com>
References: <BANLkTi=vOQDtL5GobitKe8yiUoQFb2go_Q@mail.gmail.com> <BANLkTikaOXg0u+4d8Ly6OxUQ7PFUU=udgQ@mail.gmail.com> <BANLkTikiUkivJitZGU-+q6wBfJ3VW45F8g@mail.gmail.com> <BANLkTindmLQ0KE6K5qUX2ue+=hoLUaznLA@mail.gmail.com> <BANLkTim9w83iSY-TH1yuVAUXxypJk_tmrw@mail.gmail.com> <BANLkTimnMBwNgP_e29exT6dUkp60s2xU3g@mail.gmail.com> <BANLkTi==RTfqaYFT3CQs1pM5Tb501rk2Vg@mail.gmail.com> <BANLkTinqQiMQ4N1vWjyCe682BmdisW-=KA@mail.gmail.com> <BANLkTik1a6CEA8LiiLgsnBt9qHCaybmWfg@mail.gmail.com> <4DBA3809.4010004@oracle.com> <CA566BAEAD6B3F4E8B5C5C4F61710C11402DB23F@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <BANLkTim8dkW3R2R1ukAqwkXOM0=uqfiPmA@mail.gmail.com> <4DD61D35.10404@warmcat.com>
Date: Fri, 20 May 2011 11:05:46 -0700
Message-ID: <BANLkTi=57EYWnuOv3n=crHsgC5t3x=PPkA@mail.gmail.com>
From: Brian <theturtle32@gmail.com>
To: "Andy Green (林安廸)" <andy@warmcat.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: Hybi <hybi@ietf.org>, Alan Coopersmith <alan.coopersmith@oracle.com>, "jg@freedesktop.org" <jg@freedesktop.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Greg Wilkins <gregw@intalio.com>, Brodie Thiesfield <brodie@jellycan.com>
Subject: Re: [hybi] method of allocation of reserved bits to extensions
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 May 2011 18:05:49 -0000
This seems fine to me too, but a bit more complicated than just letting extensions prepend a byte for themselves to the payload data. Honestly.. quibbling over wasting 7 bits by allocating a whole byte in this day and age seems silly, even for things like cell phones. My cell phone (iPhone on AT&T in Los Angeles) is routinely able to transfer data at over a megabit per second (and even faster when I get out of the city). So if there are a small handfull of "wasted" bytes in the payload to accommodate extension data/flags, nobody's really going to notice. I would support the dynamically allocated flags mechanism that can dynamically add more bytes to accomodate more extensions, but I just think it seems a little unnecessary. Brian On Fri, May 20, 2011 at 12:50 AM, "Andy Green (林安廸)" <andy@warmcat.com> wrote: > On 05/20/2011 07:42 AM, Somebody in the thread at some point said: >> >> Gabriel >> >> I'm concerned that if we really restrict usage of the reserved bits, >> then we will force extensions into using whole bytes at the start of >> the payload, when they really only want 1 bit. If we really do get >> into the situation where we have many extensions, then we could have >> many wasted bits. >> >> How about just having a mechanism that if we can allocated as many >> reserved bits as we like, and if more than 3 are allocated then extra >> bytes are prepended to the payload (as needed) for the extra bits. >> Thus we could have unlimited extensions needing unlimited bits. >> >> If a client doesn't want to play that game, then all it need do is >> never handshake with extensions that need more than 3 bits. > > Sounds good to me. > > This idea of reserved bits being misered is not only unnecessary but it is > really inefficient - it'll lead to only special, big, connected players > being able to use them and because they are permanently allocated to > particular extensions in that model, there will always be a desire to > withhold them "for later". > > Dynamic allocation way anyone can randomly decide their extension will use > them, no central allocation is needed and multiple extensions using reserved > bits will always play well (plus or minus other doubts about extension > ordering not related to reserved bits). > > -Andy > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi >
- [hybi] method of allocation of reserved bits to e… Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Andy Green
- Re: [hybi] method of allocation of reserved bits … Timothy Meade
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … Timothy Meade
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … Alan Coopersmith
- Re: [hybi] method of allocation of reserved bits … Gabriel Montenegro
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Andy Green (林安廸)
- Re: [hybi] method of allocation of reserved bits … Brian
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … Patrick McManus
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … Brodie Thiesfield
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … SM
- Re: [hybi] method of allocation of reserved bits … Jim Gettys
- Re: [hybi] method of allocation of reserved bits … Salvatore Loreto
- Re: [hybi] method of allocation of reserved bits … Andy Green (林安廸)
- Re: [hybi] method of allocation of reserved bits … Gabriel Montenegro
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Gabriel Montenegro
- Re: [hybi] method of allocation of reserved bits … Bjoern Hoehrmann
- Re: [hybi] method of allocation of reserved bits … Alexey Melnikov
- Re: [hybi] method of allocation of reserved bits … Gabriel Montenegro
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … John Tamplin
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins
- Re: [hybi] method of allocation of reserved bits … Bruce Atherton
- Re: [hybi] method of allocation of reserved bits … Greg Wilkins