Re: I-D Action: draft-gont-6man-flowlabel-security-02.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 24 January 2012 01:18 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEFF421F8615 for <ipv6@ietfa.amsl.com>; Mon, 23 Jan 2012 17:18:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.924
X-Spam-Level:
X-Spam-Status: No, score=-102.924 tagged_above=-999 required=5 tests=[AWL=-0.525, BAYES_00=-2.599, J_CHICKENPOX_14=0.6, J_CHICKENPOX_16=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ie5+j0ckM8PS for <ipv6@ietfa.amsl.com>; Mon, 23 Jan 2012 17:18:18 -0800 (PST)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 3CA5821F8605 for <ipv6@ietf.org>; Mon, 23 Jan 2012 17:18:18 -0800 (PST)
Received: by ggnq4 with SMTP id q4so1237684ggn.31 for <ipv6@ietf.org>; Mon, 23 Jan 2012 17:18:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=GG1STyLXDx/9jtjppK/9kXup54kZrbpFkr4uAQHYbPs=; b=fCaNHhxSNIBFIG9aC7XhCOi9Z9xow89J7YVlomSduxVEZd9S7e1x7LPhTAst8XuTF3 /wyfuyD0yg9usZabsqnnTYUeK8CTnfiH5cycUDOtUjK2hszbieZHTiEsKkKDhCDm/d8J tJNctnmDns3qmi+ZNPRqArSJ4ZmJshWPU3gx8=
Received: by 10.100.237.16 with SMTP id k16mr4519921anh.85.1327367897846; Mon, 23 Jan 2012 17:18:17 -0800 (PST)
Received: from [130.216.38.124] (stf-brian.sfac.auckland.ac.nz. [130.216.38.124]) by mx.google.com with ESMTPS id b12sm3961099yhj.4.2012.01.23.17.18.15 (version=SSLv3 cipher=OTHER); Mon, 23 Jan 2012 17:18:16 -0800 (PST)
Message-ID: <4F1E06DF.2090307@gmail.com>
Date: Tue, 24 Jan 2012 14:18:23 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: 6man <ipv6@ietf.org>
Subject: Re: I-D Action: draft-gont-6man-flowlabel-security-02.txt
References: <20120113130238.26417.24991.idtracker@ietfa.amsl.com>
In-Reply-To: <20120113130238.26417.24991.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2012 01:18:18 -0000

Hi,

I really don't like the use of the counter in Fernando's proposed algorithm:

 Flow Label = counter + F(Source Address, Destination Address, Secret Key)

It seems to me that it introduces significant predictability for a malicious
observer of the packets leaving a given source.

Effectively the equivalent algorithm in RFC 6437 is

 Flow Label = F(Srce Addr, Dest Addr, Protocol #, Srce Port, Dest Port, Secret Key)

which is less predictable, even if the port number is not randomized.

I'll have more to say once a current investigation of algorithms by
a student is finished.

Regards
   Brian Carpenter