Re: [GROW] New Version Notification for draft-ymbk-grow-bgp-collector-communities-01.txt

Job Snijders <job@instituut.net> Mon, 07 September 2015 11:23 UTC

Return-Path: <job@instituut.net>
X-Original-To: grow@ietfa.amsl.com
Delivered-To: grow@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A7EC1B31BB for <grow@ietfa.amsl.com>; Mon, 7 Sep 2015 04:23:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 RJndRVRjWh9z for <grow@ietfa.amsl.com>; Mon, 7 Sep 2015 04:23:08 -0700 (PDT)
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (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 D9AF91A1EF4 for <grow@ietf.org>; Mon, 7 Sep 2015 04:23:07 -0700 (PDT)
Received: by wicgb1 with SMTP id gb1so42154147wic.1 for <grow@ietf.org>; Mon, 07 Sep 2015 04:23:06 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=6P8HGGu7aCUuuBurXVqXtMoz4REAk46oWD1Dj4g6xMI=; b=SXsoNzatvTu0ufzCJgYuvrerFc03cwvcHLb9euB4tYe9roB+KEe58p5A+VQNTL98Bn pyYvjj28nPsxWN1/6KKyBpDnai/nHfoVHxG/ygCC3FsnkE3poTDrmp8i0PzkKxs7dFBU JZTJTctpo+t1EiTeK5IPoKmfVm2st5AOYjdWx3GCwXEjM5ZXLoEbS6XIp+MF/zaUecHf l2PQ1IyOiQ0rVIvaOyT+XWys6RxNgYky/MftpGpSxSecJgN4bKb4DjpjxAndy7DCwzD6 lpsKK41QsHl4Vo8K6gt/DntaQCwQSYK/NO/vitMB1xQekTArhLoCmGPsgoeF2XtIqSmU f7aw==
X-Gm-Message-State: ALoCoQmVLNBJk9jKMRC4f7wu2/UovHkbQygjiPw4Im4J5hUN15napi2Ln/SWfc8RWjSNrhSWUtNo
X-Received: by 10.194.89.5 with SMTP id bk5mr35300123wjb.144.1441624986411; Mon, 07 Sep 2015 04:23:06 -0700 (PDT)
Received: from localhost ([37.77.58.22]) by smtp.gmail.com with ESMTPSA id gt10sm19678120wib.20.2015.09.07.04.23.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Sep 2015 04:23:05 -0700 (PDT)
Date: Mon, 07 Sep 2015 13:23:04 +0200
From: Job Snijders <job@instituut.net>
To: Randy Bush <randy@psg.com>
Message-ID: <20150907112304.GX1025@Vurt.local>
References: <20150907102335.17422.49880.idtracker@ietfa.amsl.com> <20150907105015.GW1025@Vurt.local> <m2d1xupkkd.wl%randy@psg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <m2d1xupkkd.wl%randy@psg.com>
X-Clacks-Overhead: GNU Terry Pratchett
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/grow/5KMLO1u_GO3WESGVw6N1lKQh1iA>
Cc: grow@ietf.org
Subject: Re: [GROW] New Version Notification for draft-ymbk-grow-bgp-collector-communities-01.txt
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/grow/>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2015 11:23:10 -0000

On Mon, Sep 07, 2015 at 12:53:22PM +0200, Randy Bush wrote:
> >> The ASN in the marking SHOULD be that of the collector peer.
> > For my understanding, if AS 8283 feeds RIPE RIS, AS 8283 would be the
> > 'collector peer' in the above context?
> 
> yes
> 
> >> The communities were selected from community values which were unused
> >> at the time of this document and SHOULD be as follows: 
> >>
> >>        +----------------+-----------+    
> >>        | Category       | Community |    
> >>        +----------------+-----------+    
> >>        | Customer Cone  | ASN:64994 |    
> >>        | External Route | ASN:64995 |    
> >>        | Internal Route | ASN:64996 |    
> >>        +----------------+-----------+    
> > 
> > I think it would be more honest if you phrase it as "The communities
> > were choosen by rolling a big dice". ;-)
> 
> except that would be a lie.  the statement in the document is precise.

I do not feel comfortable overloading locally administrated bits with
something that represents global significance. The 64xxx communites come
dangerously close to codepoints we use internally. I'd prefer that the
local portion of BGP Communities remains truely local.

> > Why does the ASN need to be part of the BGP community? As data collector
> > you already know the feeding ASN by looking at the first entry in the
> > AS_PATH.
> 
> normal practice.

ah, well ok then. 

> > Wouldn't an even simpler method be to just tag all "external" routes
> > with "NOPEER" [RFC3765], not expect any community on customer cone
> > routes, and assume that prefixes with an AS_PATH length of 1 is are
> > internal routes?
> 
> no.  as_path length of 1 covers my static space, from which i allocate
> static customers.  as path_length of 1 also covers any p2p and other
> internal-only prefixes i might eak to the collector.

I assume projects such as RIS and routeviews have many many BGP feeds,
you can infer meaning from the totality of those feeds, if one ASN
seemingly originates a /30, but another ASN seemingly originates a
larger block, and you observe a BGP adjacency between the two ASNs, you
can write it down as router2router linknet.

I believe you should waive the requirement to include the collector peer
ASN as part of the BGP community.

The objective is to simplify what RFC 4384 attempted to document, I
would encourage the group to reduce the technicalities to a single
boolean option: a prefix can be a customer route, or it is not.
Everything else should be deduced from what is already available in the
collected protocol data today.

For operators this should be easier to implement, for researchers it
might also be healthier as they cannot rely on spoon-fed ground-truth.

Kind regards,

Job