Re: A problem with RFC 6465's Uniform Format for Extension Headers

Mark ZZZ Smith <markzzzsmith@yahoo.com.au> Sun, 16 February 2014 19:42 UTC

Return-Path: <markzzzsmith@yahoo.com.au>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC8641A0265 for <ipv6@ietfa.amsl.com>; Sun, 16 Feb 2014 11:42:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.001
X-Spam-Level: *
X-Spam-Status: No, score=1.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, J_CHICKENPOX_42=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
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 eVVHUGJuhoc1 for <ipv6@ietfa.amsl.com>; Sun, 16 Feb 2014 11:42:49 -0800 (PST)
Received: from nm46.bullet.mail.ne1.yahoo.com (nm46.bullet.mail.ne1.yahoo.com [98.138.120.53]) by ietfa.amsl.com (Postfix) with ESMTP id 9F21C1A022A for <6man@ietf.org>; Sun, 16 Feb 2014 11:42:48 -0800 (PST)
Received: from [127.0.0.1] by nm46.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2014 19:42:46 -0000
Received: from [98.138.101.132] by nm46.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2014 19:39:50 -0000
Received: from [66.196.81.173] by tm20.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2014 19:39:50 -0000
Received: from [98.139.212.219] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 16 Feb 2014 19:39:50 -0000
Received: from [127.0.0.1] by omp1028.mail.bf1.yahoo.com with NNFMP; 16 Feb 2014 19:39:50 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 468437.30296.bm@omp1028.mail.bf1.yahoo.com
Received: (qmail 94027 invoked by uid 60001); 16 Feb 2014 19:39:50 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s1024; t=1392579590; bh=EHIJziCxUdyXBPANlOOmDn4Krw8s9t4okw+Aeg18uj4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ne/vnlVQYoAsmNLSqoEqpLunKTB92vWORPQDeByfmUg7LSEfj2Nz3w/hE3FPo127DoCj6poNonqZplyG3pPhPONXYSqC+yMlbOiQ6vJYfvhGen+v1kR3hTXqw+tCCXtSGBxffvhEcpQf6pz1BvfwP9FYbkOzLnD8EbyW0AGcHaU=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xnI7FsRDurUKF5ji+bbiid+kK11MGBKwAy684Ziv/LgJkZIrfhkem78g6cGpc0Ry69yRTTq/3DG8z+/t+U9Xintc64UITVrS7WO2igars7ryAfMbFHa5OZQZkpkWJm9/gTvhsbdTo/lqG0ViG+WpqIi7JqpXTc4fUolcoNOYGoQ=;
X-YMail-OSG: m.VJmrsVM1lQgicSWItl0yRgc8zu9k4tkBZIkEuGzAlqTMW 1AmeYcVlhfBs3nySRy8d5nepYok8OQj2i1_4biaRSpFIjh50JUwiP4bnZLLk YdPE3CfuVsB1F25yLKmFjnwDsW2P7G3Xx3ZOGp4Sfrr2IDaIfY5cHtWeidHj 06_K.kmZD5R4jKShssU14BvZpA_W.B_WORdEWTeNjb04Wn84ihLH0W3FdV7A YuEvI4vI3pKgoEbYdXSoO2008dz0CCiW6hp943aSvo_jKSedJQ3qmXDmIpW7 pj9y5.dcoKzgA0ElZrKMzxkb6FCLeW1RtANIxHLaJ6mUumSpfRlhBRSBn9sI uax0QPIYgEBzZIT53o9sx4xMJGVhow7sRhU.HY63kIGnMkotAkhrXyZw8Aic W2BHI06hPWK2N8ExYGJuo3uW0Ft92D92cgjKTO4nisg2KDXXL_iv9o0Y.eAa HgWq805jtPTNPUj41Ju4dzyFB4tGOo3AorQ4M_.yhG6kZoJ6KItvMB3FVQcr _DG6MnB7PmZXAqoWM3MsEpkjNi.Sn4dHTICbTczT2AoVGcka4JD5vacm3aEm LsXDs9whQU76oxfEGMwtzOQCUXacduMn9oFYc
Received: from [150.101.221.237] by web162205.mail.bf1.yahoo.com via HTTP; Sun, 16 Feb 2014 11:39:50 PST
X-Rocket-MIMEInfo: 002.001, CkhpIEZlcm5hbmRvLAoKCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KPiBGcm9tOiBGZXJuYW5kbyBHb250IDxmZ29udEBzaTZuZXR3b3Jrcy5jb20.Cj4gVG86IE1hcmsgWlpaIFNtaXRoIDxtYXJrenp6c21pdGhAeWFob28uY29tLmF1PjsgRmVybmFuZG8gR29udCA8ZmVybmFuZG9AZ29udC5jb20uYXI.OyBPbGUgVHJvYW4gPG90cm9hbkBlbXBsb3llZXMub3JnPgo.IENjOiBUaG9tYXMgTmFydGVuIDxuYXJ0ZW5AdXMuaWJtLmNvbT47IEMuIE0uIEhlYXJkIDxoZWFyZEBwb2JveC5jb20.OyBUaW0gQ2gBMAEBAQE-
X-Mailer: YahooMailWebService/0.8.177.636
References: <20140130230740.25350.9524.idtracker@ietfa.amsl.com> <52EAF63A.7050108@si6networks.com> <52F1B8CE.4070803@ericsson.com> <52F1BD1F.2080007@si6networks.com> <m3k3d82zz6.wl%narten@us.ibm.com> <52F383A0.7030002@si6networks.com> <m28utnbwj9.wl%randy@psg.com> <52F44A73.3000609@si6networks.com> <86BA587E-A7F8-47B9-AC74-98D3DB9A7E46@employees.org> <52F4DDC7.8070606@si6networks.com> <1391817989.71306.YahooMailNeo@web162204.mail.bf1.yahoo.com> <52F927E0.5080706@gont.com.ar> <1392193724.5329.YahooMailNeo@web162201.mail.bf1.yahoo.com> <52FDDA1B.3060104@si6networks.com>
Message-ID: <1392579590.62475.YahooMailNeo@web162205.mail.bf1.yahoo.com>
Date: Sun, 16 Feb 2014 11:39:50 -0800
From: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
Subject: Re: A problem with RFC 6465's Uniform Format for Extension Headers
To: Fernando Gont <fgont@si6networks.com>, Fernando Gont <fernando@gont.com.ar>, Ole Troan <otroan@employees.org>
In-Reply-To: <52FDDA1B.3060104@si6networks.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/ipv6/Gsfd2HukipdbuisW03TcKjpVxbo
Cc: Thomas Narten <narten@us.ibm.com>, "C. M. Heard" <heard@pobox.com>, Tim Chown <tjc@ecs.soton.ac.uk>, "6man@ietf.org" <6man@ietf.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
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: Sun, 16 Feb 2014 19:42:51 -0000

Hi Fernando,


----- Original Message -----
> From: Fernando Gont <fgont@si6networks.com>
> To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>; Fernando Gont <fernando@gont.com.ar>; Ole Troan <otroan@employees.org>
> Cc: Thomas Narten <narten@us.ibm.com>; C. M. Heard <heard@pobox.com>; Tim Chown <tjc@ecs.soton.ac.uk>; "6man@ietf.org" <6man@ietf.org>; Suresh Krishnan <suresh.krishnan@ericsson.com>
> Sent: Friday, 14 February 2014 7:55 PM
> Subject: Re: A problem with RFC 6465's Uniform Format for Extension Headers
> 
> Hi, Mark,
> 
> On 02/12/2014 05:28 AM, Mark ZZZ Smith wrote:
>>>  Depends on what you mean by end-to-end crypto, and in what
>>>  context.
>>> 
>>>  SSL/TLS for say, web servers and mailservers, fine.
>>> 
>>>  IPsec for the general case...mmm.. unlikely.
>>> 
>>>  Is there any plan for solving the authentication of nodes? Is
>>>  everyone expected to get/buy a certificate?
>>> 
>> 
>>  Any or all of them. In the latter case, BTNS mode of IPsec (RFC5386)
>>  would probably be better than NSA can have everything(tm) IP because
>>  it shrinks their window to be a MITM.
> 
> Which my result in "placebo" security: you never know if you've 
> been
> MITM'ed.  :-(
> 

Given recent revelations, it is probably better to assume we already have been.

I think security is relative, not absolute. BTNS mode of IPsec protecting traffic would be much better than nothing protecting traffic. Even if you are MITM'd, at least the costs of uncovering the traffic go up, creating more of a disincentive to MITM unless they have to.

> 
> 
>>>>  I think it might be worth remembering that as per the IETF88
>>>>  Plenary, end-to-end encryption is the general direction, and that
>>>>  middle boxes less effective/in-effective because of it. So
>>>>  putting a lot of time and effort into facilitating them might be
>>>>  wasted effort.
>>> 
>>>  It's a 1-page to 5-page document (and that's including
>>>  bolierplates).
>> 
>>  I'm not saying to no do it, just that if e.g., somebody like Google,
>>  Apple or Microsoft roll out an update that enables crypto on a very
>>  popular service (similar to how within days, millions of iPhones and
>>  iPads used MPTCP for Siri), the traffic that these middleboxes are
>>  inspecting might "go dark" or become hidden 
> "overnight".
> 
> If e.g. TLS is enabled, the TCP header information is still in the clear
> (unless you're *tunneling* over TLS).
> 
> 

>>  If there is
>>  a lot of effort involved, it would be wasted if that sort of event
>>  happened.
> 
> This shouldn't be "a lot of effort".
> 
> 
> 
>>>>  Yes, it works! Thanks Kristian. However here in Italy 3G carriers
>>>>  filter out TCP options.. so SIRI gives up and stops trying to use
>>>>  mptcp in the long run.
>> 
>>  "Encapsulation of TCP and other Transport Protocols over UDP" 
>>  http://tools.ietf.org/html/draft-cheshire-tcp-over-udp-00
>> 
>>  "In fact, TCP options are expected to work more reliably with
>>  TCP-over-UDP, because middleboxes will be less able to easily
>>  interfere with such options, modifying them, stripping them, or
>>  dropping packets containing TCP options, as they often dotoday with
>>  native TCP                     packets.  In particular, Multipath
>>  TCP-over-UDP is expected to work more reliably than native Multipath
>>  TCP [RFC6824], because middleboxes that interfere with use of those
>>  TCP options will be less able to do that when the packets are
>>  encapsulated inside UDP."
>> 
>>  ;-)
> 
> Well, how good this is probably depends on whether one assumes the
> aforementioned middle-box behavior is intentional or not. If it is, then
> this is "middle-box unfriendly". If it's not, this is 
> "middle-box
> friendly".

I think that as it is dropping unknown TCP options, rather than forwarding them, it indicates it is fundamentally intentional. A middle box "in the customers interests" would default to forwarding when it encounters unknown options, field values etc., allowing MPTCP to work.

In this specific case, it could be that as Siri uses 3G as a backup path for MPTCP for Wifi, Italy's 3G carriers might be blocking the MPTCP options to prevent Wifi offload via MPTCP, forcing customers to use and therefore pay for 3G bandwidth use even when they don't have to.

Customers certainly won't like that if they discover it, however the customers won't necessarily realise that it is the carrier that they're paying that is causing them to have a less reliable and more costly service. However, the people who provide Siri to those customers would be capable of finding out where the problem is, and may then develop and deploy work-arounds to the problem of TCP options being dropped. I don't know if you noticed, but the authors of that draft are from Apple, who have a very strong incentive for Siri to work well for their customers.

> FWIW, one would expect this to be an arms race. If this is
> *intended middle-box behavior", then you'd expect middle-boxes to 
> become
> smarter, and eventually we'll have TCP-over-UDP-over-* :-)
> 

I agree it will be an arms race, and I'm confident that the host/application people will eventually win. I think their fundamental desire is network transparency so that they can spend time and effort on better application features, rather than on work around methods to get the data they want between the application end-points. The harder the network makes it for the host/application developers to add new and useful features, the harder the host/application developers will push back, with obfuscation being their weapon.

Regards,
Mark.