Re: [sidr] WGLC draft-sidr-rpki-rtr - take 2?

Hannes Gredler <hannes@juniper.net> Fri, 01 April 2011 21:04 UTC

Return-Path: <hannes@juniper.net>
X-Original-To: sidr@core3.amsl.com
Delivered-To: sidr@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A55F23A698A for <sidr@core3.amsl.com>; Fri, 1 Apr 2011 14:04:09 -0700 (PDT)
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.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VajxMkOnuXTA for <sidr@core3.amsl.com>; Fri, 1 Apr 2011 14:04:08 -0700 (PDT)
Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by core3.amsl.com (Postfix) with ESMTP id B4D4D3A6986 for <sidr@ietf.org>; Fri, 1 Apr 2011 14:04:06 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKTZY+Knu1lllVa7AfjM/pVXZLsaWsPVHl@postini.com; Fri, 01 Apr 2011 14:05:49 PDT
Received: from hannes-755.juniper.net (172.30.152.52) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server id 8.2.254.0; Fri, 1 Apr 2011 14:03:32 -0700
Received: by hannes-755.juniper.net (Postfix, from userid 1000) id 9DBF32DDEE; Fri, 1 Apr 2011 23:05:07 +0200 (CEST)
Date: Fri, 01 Apr 2011 23:05:07 +0200
From: Hannes Gredler <hannes@juniper.net>
To: Matthias Waehlisch <waehlisch@ieee.org>
Message-ID: <20110401210506.GA3082@juniper.net>
References: <AANLkTimq3hcdK7-f_Pa9sWJJOTzF_GBLcYu36sB3WszN@mail.gmail.com> <AANLkTikfn_ZRQNQx0QLV7fJa8DDeqMa=yRqWUH4krMHD@mail.gmail.com> <AANLkTinV88U3cF6z51eNtPeF-xKG1aWVgALd06CPq4kE@mail.gmail.com> <m2d3l6cj2l.wl%randy@psg.com> <289DB32D-D175-49DE-AA82-100407F64C23@juniper.net> <Pine.WNT.4.64.1104012156360.4612@mw-PC>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <Pine.WNT.4.64.1104012156360.4612@mw-PC>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: John Scudder <jgs@juniper.net>, Christopher Morrow <christopher.morrow@gmail.com>, sidr wg list <sidr@ietf.org>
Subject: Re: [sidr] WGLC draft-sidr-rpki-rtr - take 2?
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sidr>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2011 21:04:09 -0000

On Fri, Apr 01, 2011 at 10:17:44PM +0200, Matthias Waehlisch wrote:
| Hi John,
| 
| On Fri, 1 Apr 2011, John Scudder wrote:
| 
| > > i propose that i rev the doc to say
| > >  o the transport must provide authentication and integrity
| > >  o the current ssh description is an example
| > >  o other transport meeting the authentication and integrity constraints
| > >    are welcome
| > > 
| > > of course, this will leave open the mandatory-to-implement LCD issue.
| > > sigh.
| > 
| > I think we shouldn't punt on a mandatory transport.  I suggest TCP-MD5 
| > for practical reasons, including the open source support issue Chris 
| > raised.
| > 
|   I'm confused: Do you suggest TCP-MD5 as optional or mandatory?
| 
|   Defining TCP-MD5 as mandatory seems a bit risky as it is obsoleted by 
| AO. I'm not sure how the IESG would react on this. On the other hand, if 
| there are no real implementations for RFC5925 it seems useless for RTR, 
| as well. Thus, I would stick to SSH (or something else that is 
| well-deployed and not obsoleted).

the practical problem i have with SSH is that it is pretty hard to
integrate into to the async/non-blocking I/O APIs that we work with typically.
  openssh is select() based which does not scale terribly well if you have
  e.g. a couple of 100ssessions open (like it happens when doing BGP on RRs).

  modern, scalable I/O stacks in router OSes are exclusively based on Kqueue or Epoll.
  for your reference libevent has some nice description for this:
    see http://monkey.org/~provos/libevent/

so i'd be much more in favour of TCP-AO or even TCP-MD5 (did i mention that i
am no security guy ;-)), since those are the standard tools to protect message
integrity of the BGP session itself - its already onboard and does not cause much
userspace / userspace transport weirdness since both for linux and BSD its
implemented in the kernel.

/hannes