Re: [Idr] WGLC on draft-ietf-idr-as-private-reservation-00

David Farmer <farmer@umn.edu> Wed, 12 December 2012 22:12 UTC

Return-Path: <farmer@umn.edu>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF5D021E8055 for <idr@ietfa.amsl.com>; Wed, 12 Dec 2012 14:12:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 nL6-HugpuHwq for <idr@ietfa.amsl.com>; Wed, 12 Dec 2012 14:12:01 -0800 (PST)
Received: from vs-w.tc.umn.edu (vs-w.tc.umn.edu [134.84.135.88]) by ietfa.amsl.com (Postfix) with ESMTP id 3A20B21E804B for <idr@ietf.org>; Wed, 12 Dec 2012 14:12:01 -0800 (PST)
Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by vs-w.tc.umn.edu (UMN smtpd) with ESMTP for <idr@ietf.org>; Wed, 12 Dec 2012 16:11:53 -0600 (CST)
X-Umn-Remote-Mta: [N] mail-ie0-f198.google.com [209.85.223.198] #+LO+TR
X-Umn-Classification: local
Received: by mail-ie0-f198.google.com with SMTP id c10so5391250ieb.1 for <idr@ietf.org>; Wed, 12 Dec 2012 14:11:53 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=6kU80UWSDp/+Xq+s9qWQkQmCaaVyrilm41OtDcKbQYI=; b=GjHs7y/oi29rxnwnRm3jDh/z+DcguXGHJ+v1U4tNgu0tF++Dz/E5bjDZaN+O0dXeBC HdzAf6KL8zyiH8jB7E9AOmNQJ63Yps9kuj8lQofLenPhXpc9CDHHbYJE1lCP7M2fY+Vx RWQnydgUgMAkQJKfUZZTtlSDh3gW9200nxbbJwO+Fwnsf5UlGkklEX+bXQS+6k7OP5sr LJCZOunFsJXzMSmX4X19ahkkFi0FO+VMu+IYexekGLV/OMOGdKMxG8q5S6RG75DRm+/I 6RPWco9SIrl3WgDxrIpllj740bagYgwUOUuCCnpiAiuS5Anz1JdKTp5L8GgFhh43KC/s Jc2A==
Received: by 10.50.76.195 with SMTP id m3mr14972030igw.64.1355350313084; Wed, 12 Dec 2012 14:11:53 -0800 (PST)
Received: by 10.50.76.195 with SMTP id m3mr14972017igw.64.1355350312813; Wed, 12 Dec 2012 14:11:52 -0800 (PST)
Received: from x-134-84-88-29.nts.umn.edu ([2607:ea00:101:2001:1d22:1466:26ae:9e31]) by mx.google.com with ESMTPS id vq4sm2739727igb.10.2012.12.12.14.11.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2012 14:11:52 -0800 (PST)
Message-ID: <50C90126.3010104@umn.edu>
Date: Wed, 12 Dec 2012 16:11:50 -0600
From: David Farmer <farmer@umn.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: Brian Dickson <brian.peter.dickson@gmail.com>
References: <CA+b+ERnuWZ+r2O-eFhe3hU00uoU4UKnRcbhLNVXU7p5+DjoWbQ@mail.gmail.com> <C6C16AE3B7961044B04A1BCEC6E2F93603D12A0C@xmb-rcd-x14.cisco.com> <20121210225858.GC24937@puck.nether.net> <m2d2yh32cw.wl%randy@psg.com> <CA+b+ERnSVvewSpftXs3FhW12-S+sgnB1SwD4L+xqFW+hhbQayw@mail.gmail.com> <7120600D-71BD-4E61-8F06-25B7C2BAE6A8@riw.us> <20121211185917.GA21813@puck.nether.net> <CA+b+ERnzo2BLWjE1J_dMfYuExbG9WYJroPE4ZAWg++KK2_jy1g@mail.gmail.com> <CA+b+ERm=Agr7b6JXcXOwiP4wBjnEFmnVNt5fAJrn18R0hGtSzg@mail.gmail.com> <50C78C29.3070406@foobar.org> <50C8B8D9.4090903@umn.edu> <50C8C491.4040705@foobar.org> <CAH1iCio8Sh_ASLAa8DOcVXa5n19LgCAnSwTQV9edn2On1KPJbw@mail.gmail.com>
In-Reply-To: <CAH1iCio8Sh_ASLAa8DOcVXa5n19LgCAnSwTQV9edn2On1KPJbw@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQnreJoPq0zlTspTqlXzRLVH00QpLNDKFw+E2+dEurad0yDc46GzKYQkUjFK2SiZhhdNCTF5sunGBcr5RYA5LiByw/uKsYAoKpgVH5yr7IBDtT//1wdemfJmApTLdCXB7lzp+Ugj
Cc: IETF IDR Working Group <idr@ietf.org>
Subject: Re: [Idr] WGLC on draft-ietf-idr-as-private-reservation-00
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 22:12:06 -0000

On 12/12/12 12:52 , Brian Dickson wrote:
> Okay, in as-plain, here goes:
>
> 42781900[8-9]? | \
> 4278190[1-9]?? | \
> 427819[1-9]??? | \
> 4278[2-9]????? | \
> 4279?????? | \
> 428??????? | \

Just a thought, couldn't you eliminate the rest with the following shortcut;

429???????

Yes, it would match 4294967295 which is not part of the range, but it is 
reserved for other reasons, and shouldn't be seen in the wild at all, 
Big I or little i.  And, would match ASNs bigger than 2^32 which can't 
exist.  So unless some implemented there regexp library in a vary weird 
way, you are down to 7 lines.  Yes, its cheating a little, but so what.

> 429[0-3]?????? | \
> 4294[0-8]????? | \
> 42949[0-5]???? | \
> 429496[0-6]??? | \
> 4294967[0-1]?? | \
> 42949672[0-8]? | \
> 429496729[0-4]
>
> In fix-width, and wrapped so one-per-line, and using "hyphen" even for
> consecutive digits, it lines up nicely (so you can easily verify
> correctness).
>
> Feel free to use the above (and if you like, credit me :-)).
>
> Again, not too horrible - 13 terms instead of 5 for as-dot, or 7-8 for
> current 16-bit.

So with the shortcut above, you are back to more or less the same length 
as the regexp for the original private ASN block.

Throwing some some version of this discussion is as an appendix might 
not be a bad idea, including a regexp for the original private ASN block 
too.  And, just maybe that could help cut down on some of the leaking. 
I can't see how it could possibly make leaking any worse.

-- 
================================================
David Farmer               Email: farmer@umn.edu
Office of Information Technology
University of Minnesota
2218 University Ave SE     Phone: 1-612-626-0815
Minneapolis, MN 55414-3029  Cell: 1-612-812-9952
================================================