From tae-bounces@ietf.org  Tue Nov 25 14:29:07 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id F037728C1DD;
	Tue, 25 Nov 2008 14:29:07 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5011228C1DD
	for <tae@core3.amsl.com>; Tue, 25 Nov 2008 14:29:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.14
X-Spam-Level: 
X-Spam-Status: No, score=-5.14 tagged_above=-999 required=5 tests=[AWL=1.109, 
	BAYES_00=-2.599, HELO_EQ_DE=0.35, 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 4Z+N7lSCHF1s for <tae@core3.amsl.com>;
	Tue, 25 Nov 2008 14:29:06 -0800 (PST)
Received: from hera.mpi-sb.mpg.de (infao0809.mpi-sb.mpg.de [139.19.1.49])
	by core3.amsl.com (Postfix) with ESMTP id B091028C1D7
	for <tae@ietf.org>; Tue, 25 Nov 2008 14:29:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=mpi-sb.mpg.de; s=mail200803; h=Message-Id:From:To:Content-Type:
	Content-Transfer-Encoding:Mime-Version:Subject:Date; bh=46p/2X63
	83+T/2e4hZHAS6YH9P4XQcfgqGozbBAm9TU=; b=ihqWv/edvGd+vTwhx68Knagv
	W4L6paS3NbKEcqifE6CfJu4EjKItUqay2MB/jHCdrkbHqqLi+ClBe+ICmQCE33ey
	SyKDbsqb4oZO8bpmKQYKQKKA3Mhu5Mc669/xpXrTXblNq9NLuHnf9jqdc99SbIsp
	xFxpn9Vso+t6ftQWhdM=
Received: from swsao0808.mpi-sb.mpg.de ([139.19.1.27]:57550
	helo=tentacle.mpi-sb.mpg.de)
	by hera.mpi-sb.mpg.de (envelope-from <baford@mpi-sws.org>) 
	with esmtp (Exim 4.69) id 1L56Or-0002Yq-1Q
	for tae@ietf.org; Tue, 25 Nov 2008 23:28:58 +0100
Received: from p54a59f6d.dip0.t-ipconnect.de ([84.165.159.109]:49464
	helo=[192.168.178.36]) by tentacle.mpi-sb.mpg.de with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <baford@mpi-sws.org>) id 1L56Oq-0001sG-KA
	for tae@ietf.org; Tue, 25 Nov 2008 23:28:52 +0100
Message-Id: <BEF0D2AF-922F-479A-8095-169D369FFC27@mpi-sws.org>
From: Bryan Ford <baford@mpi-sws.org>
To: tae@ietf.org
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Tue, 25 Nov 2008 23:28:51 +0100
X-Mailer: Apple Mail (2.929.2)
Subject: [tae] Notes from Thursday morning "proto-BOF" at IETF 73
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

To kick off this mailing list, I wanted to write up and post a few  =

notes from the discussion some of us had Thursday morning at 9AM while  =

illegally squatting in the IESG breakout room.  I can't honestly call  =

these "minutes" since they don't come close to being complete, and as  =

far as I know no one was taking detailed minutes, but if anyone has  =

more or complementary notes from this or other related discussions,  =

please do post them.

A few generally relevant pieces of background reading, for the record:
- J. Rosenberg, "UDP and TCP as the New Waist of the Internet Hourglass"
	TSVAREA presentation in IETF 71
	http://tools.ietf.org/html/draft-rosenberg-internet-waist-hourglass-00
- B. Ford and J. Iyengar, "Breaking Up the Transport Logjam"
	TSVAREA presentation in IETF 73
	http://www.bford.info/pub/net/logjam-abs.html
- D. Thaler, "Evolution of the IP Model"
	Plenary presentation in IETF 73
	http://tools.ietf.org/html/draft-iab-ip-model-evolution-00

My own "agenda items" for discussion, only some of which we got around  =

to:
- UDP encapsulation of transports: TCP, SCTP, DCCP, and new transports.
- How an "Endpoint Layer" could/should evolve beyond UDP
- Negotiation of new transport functionality.  Two sub-issues:
         1. A "new" negotiation mechanism to negotiate among "new"  =

transports
	2. A "meta-negotiation" mechanism to negotiate between, say,
	    plain old TCP and the new mechanism supporting many alternatives.
- How the proposed "Flow Regulation Layer" might work, and might evolve
- Relationship of the proposed Endpoint/Flow/Semantic layering scheme  =

to:
         - Location/identity split (e.g., how HIP, shim6, et al. fit in)
         - Making transports & applications address-oblivious
		(see David Thaler's plenary talk, and Christian Vogt's talk in RRG
		on a "Hostname-Oriented Network Protocol Stack")

Matt Mathis brought up the pragmatic issue of transitioning to a new  =

transport negotiation mechanism like the "Meta-SYN", while retaining  =

the ability to fall back transparently on "plain old" TCP for backward  =

compatibility.  He suggested one cool idea for solving this problem,  =

as follows.  The initiator sends two packets back-to-back: the first  =

is the "Meta-SYN" containing the SYNs of all the alternative  =

transports, including one for TCP; the second is a "raw" copy of the  =

plain TCP SYN.  Legacy responders will just black-hole or otherwise  =

reject the Meta-SYN and use the following TCP SYN.  Assuming the two  =

packets don't get reordered, though, a "new" responder will see the  =

Meta-SYN first, and use the most preferred SYN in the bundle to  =

initiate the desired transport connection (or perhaps return a  =

challenge for the appropriate transport).  At the same time (while  =

processing the Meta-SYN), the responder also sets up a temporary PCB  =

matching the bundled TCP SYN, marked "inactive" or "immediate time- =

wait" to prevent the following plain TCP SYN from creating a real TCP  =

connection.

Even before this discussion, Tim Shepard brought up the issue of  =

finding enough free bits in a TCP SYN packet to negotiate _any_ new  =

option or feature, given the problem that the TCP option space is  =

already almost full just given the features that have become pretty  =

much "mandatory" with modern TCP stacks: e.g., SACK, PAWS timestamp,  =

etc.  He suggested we could recover 80 bits to use "somehow" by  =

reusing: (a) the 32-bit ack number field, whose contents is undefined  =

in a SYN packet (i.e., when the ACK flag is not set); (b) the 16-bit  =

urgent pointer, whose contents is undefined when the URG flag is not  =

set; and (c) the 32-bit PAWS timestamp echo field, which is defined as  =

"supposed to be zero" (but hopefully nobody checks it :) ) before  =

there's a timestamp to echo.

Tim summarized this idea in the meeting, and we then discussed various  =

ways this idea might be combined with Matt's Meta-SYN negotiation  =

idea: e.g., Tim's 80 magic bits in the TCP SYN might contain (the  =

first 80 bits of) the SHA-1 hash of a magic statement saying "this  =

connection <possibly fill in session ID> wants to support the new Meta- =

SYN protocol", or even just a hash of the Meta-SYN packet itself or  =

some nonce in the Meta-SYN, allowing the responder to definitively  =

associate the "fallback" TCP SYN with the (already processed) Meta-SYN  =

and avoid creating a redundant TCP connection, without actually having  =

to create a temporary TIME-WAIT TCB as in Matt's original idea.

In brainstorming about how a "Meta-SYN" transport negotiation scheme  =

might be generalized, I suggested considering a dedicate "negotiation  =

protocol" that could efficiently negotiate multiple protocol stack  =

layers at once (e.g., transport, transport-layer-security, session,  =

application...), for example by representing alternative protocol  =

stacks or stack fragments explicitly via a directed acyclic graph,  =

which the two nodes involved in the negotiation take turns expanding  =

and pruning until they arrive at a single agreed-upon stack  =

configuration.

On the topic of picking a few specific "alternative transports" with  =

which to start testing and experimenting with such mechanisms, Matt  =

suggested:
- SCTP, because it's already well-understood, implemented in popular  =

kernels, and will highlight a lot of issues
- "Jumbo TCP" from RFC 1263, "TCP Extensions Considered Harmful"

As a shameless plug, I would add to this list my own experimental  =

Structured Stream Transport (SST), which is designed to be  =

semantically backward compatible with TCP but much more efficient in  =

supporting many short-lived and/or highly concurrent streams (http://www.bf=
ord.info/pub/net/sst-abs.html =

).  But SST is still very early-experimental and doesn't yet have a  =

kernel implementation.

We discussed a bit why we wouldn't just want to use DNS service  =

records for transport negotiation, as Joe Touch suggested during my  =

presentation.  Two issues we identified with this approach:
- Because of the way DNS SRV records work now, the client would have  =

to do several DNS lookups, one for each transport: e.g.,  =

__foo.__tcp.bar, __foo.__udp.bar, etc.
- In practice, the client will probably still want to try all of the  =

alternative transports if any of them run directly atop IP, since NATs/ =

firewalls in the network are likely to blackhole attempts to connect  =

via transports they don't recognize.

Bob Briscoe and Matt Mathis suggested that in my proposed new layering  =

scheme (separating out port numbers into an "Endpoint Layer" and  =

congestion control into a "Flow Layer"), what remains of the Transport  =

Layer shouldn't still be called the Transport Layer, to avoid  =

confusion.  I suggested "Semantic Layer" or "Reliability Layer" as  =

possible alternatives.

Other related projects or ideas that people brought up at some point  =

during the discussion:
- Related to UDP encapsulation: a project called "shim4", by Robert  =

Hancock
- Related to Flow Layer segmentation: the Internet 2 "Phoebus" project  =

- http://e2epi.internet2.edu/phoebus.html
- Related to "Meta-SYN" and flexible negotiation: Richard Hayton,  =

"FlexiNet=97a flexible component oriented middleware system" - http://www.a=
nsa.co.uk/ANSATech/ANSAhtml/98-ansa/external/9809Conf/9809fnrp.pdf

Sorry if I forgot anything particularly important, or if I  =

misremembered or misrepresented anyone's statements!

Cheers,
Bryan

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Tue Nov 25 14:32:53 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3AF1428C1D5;
	Tue, 25 Nov 2008 14:32:53 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0107428C1D5;
	Tue, 25 Nov 2008 14:32:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.394
X-Spam-Level: 
X-Spam-Status: No, score=-5.394 tagged_above=-999 required=5 tests=[AWL=0.255, 
	BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_23=0.6,
	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 CSStXFuMJqnZ; Tue, 25 Nov 2008 14:32:51 -0800 (PST)
Received: from hera.mpi-sb.mpg.de (hera.mpi-sb.mpg.de [139.19.1.49])
	by core3.amsl.com (Postfix) with ESMTP id A3C2728C1C7;
	Tue, 25 Nov 2008 14:32:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=mpi-sb.mpg.de; s=mail200803; h=Message-Id:From:To:Content-Type:
	Content-Transfer-Encoding:Mime-Version:Subject:Date:Cc; bh=R4G+R
	HNSMmSU8cVTDeBtQWYR7O8e+iMBbLaklQFmt3Q=; b=fE05ypnwvafG+SCddBuY1
	X1irnHyATC4EXDl1eTwLO7M0NCAGoEIDdHFX1hmqMe4tHBO9nOfMVNOSqgC/N5Rf
	xNoT5P+sPOvIUGJ6OJmZw726lP+jdQdTBPbH8jl4lQsxTJnWBwKx/HGwmWfhw+44
	zu+IqJM+I8PD1UY6b8dw2I=
Received: from swsao0808.mpi-sb.mpg.de ([139.19.1.27]:49882
	helo=tentacle.mpi-sb.mpg.de)
	by hera.mpi-sb.mpg.de (envelope-from <baford@mpi-sws.org>) 
	with esmtp (Exim 4.69) id 1L56SZ-0003RC-Es;
	Tue, 25 Nov 2008 23:32:46 +0100
Received: from p54a59f6d.dip0.t-ipconnect.de ([84.165.159.109]:49470
	helo=[192.168.178.36]) by tentacle.mpi-sb.mpg.de with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <baford@mpi-sws.org>)
	id 1L56SY-0001t6-U1; Tue, 25 Nov 2008 23:32:43 +0100
Message-Id: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
From: Bryan Ford <baford@mpi-sws.org>
To: Joe Touch <touch@ISI.EDU>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Tue, 25 Nov 2008 23:32:41 +0100
X-Mailer: Apple Mail (2.929.2)
Cc: tae@ietf.org, tsv-area@ietf.org
Subject: [tae] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

Hi Joe,

I wanted to follow up with you on your comment during my TSVAREA  
presentation, about using DNS as a mechanism for negotiation among  
multiple transports an application may support, since we didn't manage  
to hook up in person afterwards in Minneapolis.  (Note that I'm cc'ing  
this to a couple relevant lists.)

As I said during the presentation, philosophically I agree that DNS  
might in theory serve as a reasonable point in the architecture to  
negotiate among multiple transports.  I can see four specific  
practical issues with this approach, however:

1. Such negotiation would only work when DNS is used to resolve a  
target endpoint; transport negotiation would be impossible (or would  
have to use a different mechanism) if the user enters a URL into a web  
browser containing a raw IP address, for example, or a cryptographic  
HIP endpoint, or a name in some other naming system.  In an ideal  
world where all relevant naming systems support transport negotiation  
and users and applications never see or care about IP addresses  
directly, this limitation might not be a problem, but it feels to me  
like we're still a long way from living in that ideal world.

2. Transport negotiation via (at least the current) DNS would  
inherently have to be an operation driven exclusively by the client,  
in which the server is merely a passive participant.  That is, the  
server first passively publishes some DNS information about  
alternative transports it is making available, and to initiate a  
connection, the client looks over this DNS information and decides  
which transport to use: by the time the server gets involved in the  
setup of any particular connection, it is already too late for the  
server to have any say in the decision.  For whatever it may be worth,  
an "online" transport negotiation mechanism like the one I suggested  
would allow both the client and the server to be involved: e.g., the  
client sends a "Meta-SYN" listing the transports it supports in  
preference order, and the server picks the first one it supports - or  
the one the server most prefers, if the server wishes to override the  
client's preference order.  Not to say that any particular negotiation  
mechanism is necessarily the "right" one - these are just examples -  
but allowing for online negotiation seems to provide more flexibility  
for servers than just passively publishing information in DNS records.

3. There may be a robustness or at least "user annoyance" issue with a  
DNS-based solution if it is used to negotiate among "traditional"  
transports that operate directly atop IP.  Suppose the server claims  
via DNS to support both SCTP and TCP.  The client sees this DNS  
information, picks SCTP, and tries to initiate an SCTP connection, but  
it turns out some firewall or NAT in the path doesn't support SCTP so  
the connection gets silently black-holed.  In the worst case, the  
connection fails even though TCP would have succeeded, because the DNS  
information only represents the server's capabilities and not the  
network's.  Alternatively, the client tries each mutually supported  
transport sequentially in preference order, in which the user has to  
wait for SCTP to time out before the client falls back to TCP - a  
slightly better scenario, but still seriously problematic in practice;  
see Stuart Cheshire's presentation in the IETF 72 plenary (http://www.ietf.org/proceedings/08jul/slides/plenaryw-6.pdf 
) for related issues arising from IPv4 versus IPv6 negotiation.  If  
the client takes the "safe" approach of just shotgunning the server  
with parallel connections via all mutually supported transports, we're  
back to the same efficiency troubles we have now even without any DNS- 
based "negotiation" mechanism.

4. We haven't yet talked about precisely _how_ a DNS-based mechanism  
would handle transport negotiation.  As it turns out, the current DNS  
SRV mechanism of RFC 2872 is precisely wrong for this purpose, because  
it embeds the transport name (e.g., '_tcp' or '_udp') in the name to  
be looked up rather than in the information returned from the DNS  
lookup.  So if the client wants to see if the server supports each of  
N alternative transports, it has to make N separate DNS requests.   
Multiply N by 2 for the forseeable future, since in practice most dual- 
stack clients will need to check for both A and AAAA records (again  
see Cheshire's IETF 72 plenary talk).  And this is even before the  
considerations from issue #3 above force the client to try several  
different transport connection requests in parallel.  Granted, this  
issue could be fixed by defining a new (and incompatible) DNS SRV  
record type that includes only the service in the name and a list of  
supported transports in the (single) response, possibly with a  
separate (IP address or host name, port number) tuple for each - but  
then we start worrying about the effective size limitats of DNS  
responses...

None of this is to say that we should necessarily dismiss DNS-based  
transport negotiation; I just wanted to try to analyze some of the  
challenges involved in that approach.  Your further thoughts on this  
issue would of course be very welcome.

Cheers,
Bryan

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Tue Nov 25 14:44:02 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E96A128C1D7;
	Tue, 25 Nov 2008 14:44:01 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id AD73928C1D7;
	Tue, 25 Nov 2008 14:44:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5
	tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_23=0.6]
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 8cuBcmzCfcM8; Tue, 25 Nov 2008 14:43:59 -0800 (PST)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64])
	by core3.amsl.com (Postfix) with ESMTP id A16843A6887;
	Tue, 25 Nov 2008 14:43:59 -0800 (PST)
Received: from [75.215.250.191] (191.sub-75-215-250.myvzw.com [75.215.250.191])
	by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id mAPMhZBI001846
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 25 Nov 2008 14:43:38 -0800 (PST)
Message-ID: <492C7F97.3030000@isi.edu>
Date: Tue, 25 Nov 2008 14:43:35 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: Bryan Ford <baford@mpi-sws.org>
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
In-Reply-To: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
X-Enigmail-Version: 0.95.7
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: tae@ietf.org, tsv-area@ietf.org
Subject: Re: [tae] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Bryan Ford wrote:
> Hi Joe,
> 
> I wanted to follow up with you on your comment during my TSVAREA
> presentation, about using DNS as a mechanism for negotiation among
> multiple transports an application may support, since we didn't manage
> to hook up in person afterwards in Minneapolis.  (Note that I'm cc'ing
> this to a couple relevant lists.)
...
> 4. We haven't yet talked about precisely _how_ a DNS-based mechanism
> would handle transport negotiation.  As it turns out, the current DNS
> SRV mechanism of RFC 2872 is precisely wrong for this purpose, because
> it embeds the transport name (e.g., '_tcp' or '_udp') in the name to be
> looked up rather than in the information returned from the DNS lookup. 
> So if the client wants to see if the server supports each of N
> alternative transports, it has to make N separate DNS requests. 

Right. The trick is that there is no such thing as HTTP; it's HTTP over
TCP. What you want is "HTTP by any means"; whether the DNS supports this
is less the issue than the fact that IANA doesn't really define such a
thing.

> Granted, this
> issue could be fixed by defining a new (and incompatible) DNS SRV record
> type that includes only the service in the name and a list of supported
> transports in the (single) response, possibly with a separate (IP
> address or host name, port number) tuple for each - but then we start
> worrying about the effective size limitats of DNS responses...

I'm confused as to how you expect to proceed here. Whether it's an
amorphous SYN or a DNS request, you still need to be able to express
more than a single packet's worth of info, by definition. You talk about
TCP and SCTP, but in reality it's "TCP that supports the options I
require" that matters. I don't see how to negotiate how to negotiate
without starting off with a negotiation - which is what a TCP SYN, e.g., is.

There are several levels of such negotiation that need to happen - IP
version, TCP vs. SCTP vs. UDP etc., the options of the transport, etc.
How do you expect to bootstrap "what transports can you speak" without
some sort of common protocol?

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkksf5cACgkQE5f5cImnZrsEMACg5tHJWj2gk7OiebwdPEaKtQvO
RZgAoLkn7zP/oBWiPwndd2ShagqngF4K
=KC+2
-----END PGP SIGNATURE-----
_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Tue Nov 25 14:59:17 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 22C3E28C1DD;
	Tue, 25 Nov 2008 14:59:17 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 060BA28C1D8
	for <tae@core3.amsl.com>; Tue, 25 Nov 2008 14:43:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5
	tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001,
	J_CHICKENPOX_57=0.6, 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 TGROrYl24M9o for <tae@core3.amsl.com>;
	Tue, 25 Nov 2008 14:43:09 -0800 (PST)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU
	[18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id 86CBA28C1D5
	for <tae@ietf.org>; Tue, 25 Nov 2008 14:43:09 -0800 (PST)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id
	mAPMh2pP014818
	for <tae@ietf.org>; Tue, 25 Nov 2008 17:43:05 -0500 (EST)
Received: from [192.168.178.36] (p54A59F6D.dip0.t-ipconnect.de
	[84.165.159.109]) (authenticated bits=0)
	(User authenticated as baford@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id mAPMgxTh025004
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)
	for <tae@ietf.org>; Tue, 25 Nov 2008 17:43:01 -0500 (EST)
Message-Id: <EB9253A0-8CD3-4E37-96FC-47B72ECD5755@mit.edu>
From: Bryan Ford <baford@MIT.EDU>
To: tae@ietf.org
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Tue, 25 Nov 2008 23:42:59 +0100
References: <200811201847.mAKIluOS005524@bagheera.jungle.bt.co.uk>
X-Mailer: Apple Mail (2.929.2)
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Tue, 25 Nov 2008 14:59:16 -0800
Subject: [tae] Fwd: [tsv-area] Proto-BOF on transport architecture issues
	discussed in TSVAREA
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1387981146=="
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org


--===============1387981146==
Content-Type: multipart/alternative; boundary=Apple-Mail-77-237676108


--Apple-Mail-77-237676108
Content-Type: text/plain;
	charset=WINDOWS-1252;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

For the record, I wanted to make sure the extremely helpful notes Bob =20=

Briscoe posted following the "proto-BOF" get included in the TAE =20
mailing list archive...

Begin forwarded message:
> From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
> Date: November 20, 2008 7:47:59 PM GMT+01:00
> To: Bryan Ford <baford@mit.edu>
> Cc: tsv-area@ietf.org, Joe Touch <touch@ISI.EDU>, =
remi.denis-courmont@nokia.com=20
> , james woodyatt <jhw@apple.com>, John Leslie <john@jlc.net>, =20
> "HANCOCK, Robert" <robert.hancock@roke.co.uk>
> Subject: Re: [tsv-area] Proto-BOF on transport architecture issues =20
> discussed in TSVAREA
>
> Bryan & all,
>
> Here's stuff or links to stuff I mentioned in this proto-BoF just now:
>
> (necessary & sufficient?) transport functions
> =95 connection life-cycle control (creation, keep-alive, tear-down)
> =95 multiplexing / demultiplexing
> =95 reliable delivery
>  =96 data delivery
>  =96 loss detection and repair
>  =96 duplicate detection
>  =96 same order delivery
> =95 flow control (buffer mgmt, prioritisation)
> =95 framing
> =95 congestion control (incl fairness or differentiation)
>
> * Flexinet [Hayton98] (see BiBTeX at end)
> "Interface names are arbitrarily complex objects that can be =20
> resolved by a protocol stack to provide a route from the client to =20
> the destination interface (or interfaces for replicated objects)."
>
> * Flow layer? layered and concatenated load regulation:
> <http://tools.ietf.org/html/draft-ietf-tsvwg-ecn-tunnel-01#appendix-D>
>
> * Shim4 : ask Rob Hancock (cc'd)
>
>
>
> @INPROCEEDINGS{Hayton98:Flexinet,
>  author =3D {Richard Hayton and Andrew Herbert and Douglas Donaldson},
>  affiliation =3D {APM},
>  year =3D 1998,
>  title =3D {{FlexiNet} --- {A} flexible component oriented middleware =20=

> system},
>  booktitle =3D {Proc. SIGOPS'98},
>  keywords =3D {Data Communication, Networks, Internet, Computing, =20
> Software
>             Engineering, Object-Oriented, Mobility, Multimedia, =20
> Quality of
>             Service, QoS, Management, Adaptation, Architecture, =20
> Middleware,
>             Layering, Reflection, Java},
>  entryby =3D {RJB},
>  entry =3D {11 may 1998},
>  url =3D {URL: =
\url{http://www.ansa.co.uk/ANSATech/ANSAhtml/98-ansa/external/9809Conf/980=
9fnrp.pdf=20
> }},
>  abstract-url =3D {URL: =
\url{http://www.ansa.co.uk/ANSATech/ANSAhtml/htmltree/98-primary.html=20
> }}
> }
>
>
> Bob
>
> At 14:21 20/11/2008, Bryan Ford wrote:
>> For those interested, a second attempt at a transport architecture
>> "proto-BOF" meeting will happen today at 9AM, in or just outside of
>> the IESG breakout room (Directors Row 4, across from Salon D).
>>
>> And since it looks impossible to find any one time that suits
>> everyone, another round might happen tonight after dinner, 9PM-ish,
>> likely over beer.
>>
>> In any case, once again, E-mail me if you're interested in the topic
>> and not already on the list I'm putting together.
>>
>> Thanks,
>> Bryan
>>
>> On Nov 19, 2008, at 8:30 PM, Bryan Ford wrote:
>>>> Hi folks,
>>>>
>>>> I'd like to follow up on the TSVAREA meeting by suggesting that
>>>> those of us interested in the various and overlapping transport
>>>> architecture that we discussed today - e.g., layering model, UDP
>>>> encapsulations for various transports, congestion control =20
>>>> fairness/ TCP-friendliness/segmentation/aggregation, etc. - try =20
>>>> to meet for
>>>> an informal "proto-BOF" and continue discussing these issues and
>>>> how we might move forward.  For starters, maybe those of us
>>>> available can meet up just outside the main meeting room sometime
>>>> shortly after the plenary that's happening now.  And if you're
>>>> interested but can't make that time (or just don't see this E-mail
>>>> in time), just E-mail me and I'll let you know if/when we find
>>>> another time slot later, and for the longer term we might think
>>>> about starting a suitable mailing list.
>>>>
>>>> Thanks,
>>>> Bryan
>>
>> =
__________________________________________________________________________=
__
>> Bob Briscoe, <bob.briscoe@bt.com>      Networks Research Centre, BT =20=

>> Research
>> B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.    +44 =20
>> 1473 645196
>


--Apple-Mail-77-237676108
Content-Type: text/html;
	charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">For the record, I wanted to =
make sure the extremely helpful notes Bob Briscoe posted following the =
"proto-BOF" get included in the TAE mailing list =
archive...<br><div><br><div>Begin forwarded message:</div><blockquote =
type=3D"cite"><div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>From: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">Bob Briscoe &lt;<a =
href=3D"mailto:rbriscoe@jungle.bt.co.uk">rbriscoe@jungle.bt.co.uk</a>></fo=
nt></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>Date: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">November 20, 2008 7:47:59 PM =
GMT+01:00</font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>To: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">Bryan Ford &lt;<a =
href=3D"mailto:baford@mit.edu">baford@mit.edu</a>></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Cc: </b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><a =
href=3D"mailto:tsv-area@ietf.org">tsv-area@ietf.org</a>, Joe Touch =
&lt;<a href=3D"mailto:touch@ISI.EDU">touch@ISI.EDU</a>>, <a =
href=3D"mailto:remi.denis-courmont@nokia.com">remi.denis-courmont@nokia.co=
m</a>, james woodyatt &lt;<a =
href=3D"mailto:jhw@apple.com">jhw@apple.com</a>>, John Leslie &lt;<a =
href=3D"mailto:john@jlc.net">john@jlc.net</a>>, "HANCOCK, Robert" &lt;<a =
href=3D"mailto:robert.hancock@roke.co.uk">robert.hancock@roke.co.uk</a>></=
font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>Subject: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><b>Re: [tsv-area] Proto-BOF on =
transport architecture issues discussed in TSVAREA</b></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div> </div><div>Bryan &amp; =
all,<br><br>Here's stuff or links to stuff I mentioned in this proto-BoF =
just now:<br><br>(necessary &amp; sufficient?) transport functions<br>=95 =
connection life-cycle control (creation, keep-alive, tear-down)<br>=95 =
multiplexing / demultiplexing<br>=95 reliable delivery<br> &nbsp;=96 =
data delivery<br> &nbsp;=96 loss detection and repair<br> &nbsp;=96 =
duplicate detection<br> &nbsp;=96 same order delivery<br>=95 flow =
control (buffer mgmt, prioritisation)<br>=95 framing<br>=95 congestion =
control (incl fairness or differentiation)<br><br>* Flexinet [Hayton98] =
(see BiBTeX at end)<br>"Interface names are arbitrarily complex objects =
that can be resolved by a protocol stack to provide a route from the =
client to the destination interface (or interfaces for replicated =
objects)."<br><br>* Flow layer? layered and concatenated load =
regulation:<br>&lt;<a =
href=3D"http://tools.ietf.org/html/draft-ietf-tsvwg-ecn-tunnel-01#appendix=
-D">http://tools.ietf.org/html/draft-ietf-tsvwg-ecn-tunnel-01#appendix-D</=
a>><br><br>* Shim4 : ask Rob Hancock =
(cc'd)<br><br><br><br>@INPROCEEDINGS{Hayton98:Flexinet,<br> &nbsp;author =
=3D {Richard Hayton and Andrew Herbert and Douglas Donaldson},<br> =
&nbsp;affiliation =3D {APM},<br> &nbsp;year =3D 1998,<br> &nbsp;title =3D =
{{FlexiNet} --- {A} flexible component oriented middleware system},<br> =
&nbsp;booktitle =3D {Proc. SIGOPS'98},<br> &nbsp;keywords =3D {Data =
Communication, Networks, Internet, Computing, Software<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;En=
gineering, Object-Oriented, Mobility, Multimedia, Quality of<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se=
rvice, QoS, Management, Adaptation, Architecture, Middleware,<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;La=
yering, Reflection, Java},<br> &nbsp;entryby =3D {RJB},<br> &nbsp;entry =
=3D {11 may 1998},<br> &nbsp;url =3D {URL: \url{<a =
href=3D"http://www.ansa.co.uk/ANSATech/ANSAhtml/98-ansa/external/9809Conf/=
9809fnrp.pdf">http://www.ansa.co.uk/ANSATech/ANSAhtml/98-ansa/external/980=
9Conf/9809fnrp.pdf</a>}},<br> &nbsp;abstract-url =3D {URL: \url{<a =
href=3D"http://www.ansa.co.uk/ANSATech/ANSAhtml/htmltree/98-primary.html">=
http://www.ansa.co.uk/ANSATech/ANSAhtml/htmltree/98-primary.html</a>}}<br>=
}<br><br><br>Bob<br><br>At 14:21 20/11/2008, Bryan Ford =
wrote:<br><blockquote type=3D"cite">For those interested, a second =
attempt at a transport architecture<br></blockquote><blockquote =
type=3D"cite">"proto-BOF" meeting will happen today at 9AM, in or just =
outside of<br></blockquote><blockquote type=3D"cite">the IESG breakout =
room (Directors Row 4, across from Salon D).<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">And since it =
looks impossible to find any one time that =
suits<br></blockquote><blockquote type=3D"cite">everyone, another round =
might happen tonight after dinner, 9PM-ish,<br></blockquote><blockquote =
type=3D"cite">likely over beer.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">In any case, =
once again, E-mail me if you're interested in the =
topic<br></blockquote><blockquote type=3D"cite">and not already on the =
list I'm putting together.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite">Thanks,<br></blockquote><blockquote =
type=3D"cite">Bryan<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">On Nov 19, =
2008, at 8:30 PM, Bryan Ford wrote:<br></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">Hi =
folks,<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">I'd =
like to follow up on the TSVAREA meeting by suggesting =
that<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">those =
of us interested in the various and overlapping =
transport<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite">architecture that we discussed today - e.g., layering =
model, UDP<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite">encapsulations for various transports, congestion control =
fairness/ TCP-friendliness/segmentation/aggregation, etc. - try to meet =
for<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">an =
informal "proto-BOF" and continue discussing these issues =
and<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">how we =
might move forward. &nbsp;For starters, maybe those of =
us<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite">available can meet up just outside the main meeting room =
sometime<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">shortly =
after the plenary that's happening now. &nbsp;And if =
you're<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite">interested but can't make that time (or just don't see =
this E-mail<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">in =
time), just E-mail me and I'll let you know if/when we =
find<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">another =
time slot later, and for the longer term we might =
think<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">about =
starting a suitable mailing =
list.<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite">Thanks,<br></blockquote></blockquote></blockquote><blockquot=
e type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite">Bryan<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite">____________________________________________________________=
________________<br></blockquote><blockquote type=3D"cite">Bob Briscoe, =
&lt;<a href=3D"mailto:bob.briscoe@bt.com">bob.briscoe@bt.com</a>> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Networks Research Centre, BT =
Research<br></blockquote><blockquote type=3D"cite">B54/77 Adastral =
Park,Martlesham Heath,Ipswich,IP5 3RE,UK. &nbsp;&nbsp;&nbsp;+44 1473 =
645196 <br></blockquote><br></div></blockquote></div><br></body></html>=

--Apple-Mail-77-237676108--

--===============1387981146==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae

--===============1387981146==--


From tae-bounces@ietf.org  Tue Nov 25 15:19:47 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9EEE03A6AF5;
	Tue, 25 Nov 2008 15:19:47 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A3CA93A6AF5
	for <tae@core3.amsl.com>; Tue, 25 Nov 2008 15:19:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.448
X-Spam-Level: 
X-Spam-Status: No, score=-6.448 tagged_above=-999 required=5 tests=[AWL=0.150, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 a5SWMha15+0Q for <tae@core3.amsl.com>;
	Tue, 25 Nov 2008 15:19:45 -0800 (PST)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU
	[18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id 0754A3A6AF3
	for <tae@ietf.org>; Tue, 25 Nov 2008 15:19:44 -0800 (PST)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id
	mAPNJeAj001729
	for <tae@ietf.org>; Tue, 25 Nov 2008 18:19:40 -0500 (EST)
Received: from [192.168.178.36] (p54A59F6D.dip0.t-ipconnect.de
	[84.165.159.109]) (authenticated bits=0)
	(User authenticated as baford@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id mAPNJbrK002780
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)
	for <tae@ietf.org>; Tue, 25 Nov 2008 18:19:39 -0500 (EST)
Message-Id: <74DF6229-4B4D-4F5F-852C-A88FE58D2D16@mit.edu>
From: Bryan Ford <baford@MIT.EDU>
To: tae@ietf.org
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Wed, 26 Nov 2008 00:19:37 +0100
References: <04D7727C-16ED-454C-BD79-ACF0C0BFFE7A@MIT.EDU>
X-Mailer: Apple Mail (2.929.2)
X-Scanned-By: MIMEDefang 2.42
Subject: [tae] Fwd: dccp-natencap and port numbers
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0707173003=="
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org


--===============0707173003==
Content-Type: multipart/alternative; boundary=Apple-Mail-79-239874299


--Apple-Mail-79-239874299
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

UDP encapsulation discussion background, re-post 2 of 3...

Begin forwarded message:
> From: Bryan Ford <baford@MIT.EDU>
> Date: November 21, 2008 11:56:01 PM GMT+01:00
> To: "Phelan, Tom" <tphelan@sonusnet.com>
> Cc: remi.denis-courmont@nokia.com, dccp@ietf.org, janardhan.iyengar@fandm.edu
> Subject: Re: dccp-natencap and port numbers
>
> Hi Tom,
>
> On Nov 21, 2008, at 8:55 AM, Phelan, Tom wrote:
>> In the DCCP meeting you mentioned that a problem you have with
>> dccp-natencap is its preservation of the DCCP port numbers.  Let me  
>> give
>> you the thought train that led to preserving the port numbers and  
>> maybe
>> you can give me your thoughts on why they shouldn't be preserved.
>>
>> The idea behind preserving the port numbers is simple -- if there's  
>> only
>> one port space then there can be only one transport protocol per  
>> port.
>> For example, port 80 is currently allocated as HTTP for UDP, TCP and
>> SCTP.  HTTP over UDP is not really defined, but it is defined for  
>> both
>> TCP and SCTP.  If there's only one port space, how can a server tell
>> which transport protocol is intended?  Rely on accidental differences
>> between a TCP SYN and an SCTP INIT?  Only allow a server to serve one
>> transport?
>
> That was my line of thinking too at one point, until I started  
> thinking about how applications actually support multiple transports  
> at one in the current world, versus a world with a shared port  
> space.  The HotNets paper that my presentation was based on  
> ("Breaking Up the Transport Logjam") discusses this a bit in section  
> 2.2.3.
>
> The short answer is that with a shared port space, the application  
> to which a given UDP port number is assigned is ultimately  
> responsible for defining the wire format of packets using that port,  
> and if the application is designed to be able to run multiple  
> distinct transports on top of this same UDP port whose wire formats  
> are not "naturally" distinguishable from each other, then the  
> application may need to insert some suitable header (e.g., an 8-bit  
> or 32-bit "transport ID" field) underneath those respective  
> transport headers in order to make their packets distinguishable  
> from each other.  This may not sound very satisfying at first, but  
> then consider the options that such multi-transport applications  
> have now.
>
> In the current world, where the "transport selector" is embedded in  
> the protocol field in the IP header but the port numbers are in the  
> transport header, an application has to choose SOME transport before  
> it can start communicating in any fashion.  This means that an  
> application that supports multiple transports must either (a)  
> initiate a communication session on some "default" transport, use  
> that to negotiate the transport, and then (possibly) open a new  
> session using the transport that the application has decided it  
> wants to use; or (b) take a "shotgun" approach and initiate sessions  
> using all the transports it supports, see which one(s) actually  
> succeed (i.e., which ones the responder supports), and then close  
> all but the "most preferred" one.  Thus, the current architecture  
> forces multi-transport applications to choose between two evils:  
> incurring at least one unnecessary round-trip delay just to  
> negotiate the transport to use, or wastefully creating several  
> transport sessions in parallel, only one of which will actually be  
> used.
>
> If the application has only one port number, however (its assigned  
> UDP port), and multiplexes all of the transports it supports atop  
> that, then the application gets to control how it negotiates and  
> distinguishes among those transport protocols.  One thing it can do  
> (just an example, not a prescription) is first to ask each of the  
> transports it supports for a copy of the transport's SYN packet,  
> bundle all those SYN packets into one "Meta-SYN" packet to send to  
> the responder.  The responding application receives this Meta-SYN  
> bundle, picks out the SYN packet for the most preferred transport  
> that it supports, and passes it to the transport locally to start  
> the connection initiation.  The selected transport responds, and  
> communication proceeds using that transport with no unnecessary  
> round-trip delays and no unnecessary state built up for transports  
> that didn't actually get chosen.
>
> The main point, though, is that distinguishing and selecting between  
> multiple transports should be up to the application.  The IETF  
> already wisely decided to stop assigning multiple port numbers for  
> "SSL" and "non-SSL" versions, instead requiring that applications  
> negotiate such matters themselves on top of their (single) port  
> allocation.  I'm just saying that the same logic applies equally  
> well to transports themselves.
>
>> The problem gets worse with the recent IANA decision, due to  
>> depletion
>> of the port space, to allocate ports independently for each  
>> transport.
>> With this you can get a port that's a different application for each
>> transport.  This can exist even when the ports are nominally  
>> allocated
>> to the same application although it's less apparent.  There are
>> situations where the port is allocated to one application for UDP and
>> TCP, but the two transports provide different functions.  Often the  
>> UDP
>> port provides a discovery/registration service and the TCP port  
>> provides
>> a data transfer service.
>>
>> As far as I can see, draft-denis-udp-transport offers no remedy to  
>> this.
>> The "Meta-SYN" idea you discussed in tsvarea has possibilities.  It
>> could allow sharing a port between TCP/SCTP/DCCP but would rely on
>> having no existing UDP application that uses that port.  For a  
>> trivial
>> example, discard is defined as port 9 for all of the transport
>> protocols.  Even with a Meta-SYN, a listener wouldn't be able to
>> determine if the client meant plain-old-UDP or fancy-new-udp-encap.
>
> For an existing application that doesn't yet have a UDP port  
> allocation (or does but doesn't yet use it), there's no problem  
> since it can define whatever mechanism is needed to negotiate/ 
> differentiate the different transports it wants to run on that UDP  
> port.  If the application already has an existing UDP port  
> allocation and uses it, then we have to look at the existing  
> "application-over-UDP" protocol spec and find a way (necessarily  
> specific to that application protocol) to build a protocol spec for  
> "application-over-<transport>-over-UDP" such that the latter spec's  
> packets won't be confused with those of the former.  For example, if  
> we for some reason wanted to do DNS over TCP/SCTP/DCCP over UDP,  
> then we would have to look at the regular DNS over UDP spec and come  
> up with some (ideally short) header format to interpose between the  
> UDP header and the TCP/SCTP/DCCP header such that the resulting UDP  
> packets will never be confused with regular DNS over UDP packets.   
> It's a bit ugly and unfortunate that it's specific to the  
> application protocol, but legacy compatibility hacks unavoidably  
> tend to have those problems in any case.
>
> Cheers,
> Bryan
>
>> Tom P.
>


--Apple-Mail-79-239874299
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">UDP encapsulation discussion =
background, re-post 2 of 3...<br><div><br><div>Begin forwarded =
message:</div><blockquote type=3D"cite"><div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font =
face=3D"Helvetica" size=3D"3" color=3D"#000000" style=3D"font: 12.0px =
Helvetica; color: #000000"><b>From: </b></font><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Bryan Ford &lt;<a =
href=3D"mailto:baford@MIT.EDU">baford@MIT.EDU</a>></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Date: =
</b></font><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">November 21, 2008 11:56:01 PM GMT+01:00</font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">"Phelan, =
Tom" &lt;<a =
href=3D"mailto:tphelan@sonusnet.com">tphelan@sonusnet.com</a>></font></div=
><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Cc: </b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><a =
href=3D"mailto:remi.denis-courmont@nokia.com">remi.denis-courmont@nokia.co=
m</a>, <a href=3D"mailto:dccp@ietf.org">dccp@ietf.org</a>, <a =
href=3D"mailto:janardhan.iyengar@fandm.edu">janardhan.iyengar@fandm.edu</a=
></font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>Subject: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><b>Re: dccp-natencap and port =
numbers</b></font></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><br></div> </div><div>Hi Tom,<br><br>On Nov 21, 2008, at 8:55 AM, =
Phelan, Tom wrote:<br><blockquote type=3D"cite">In the DCCP meeting you =
mentioned that a problem you have with<br></blockquote><blockquote =
type=3D"cite">dccp-natencap is its preservation of the DCCP port =
numbers. &nbsp;Let me give<br></blockquote><blockquote type=3D"cite">you =
the thought train that led to preserving the port numbers and =
maybe<br></blockquote><blockquote type=3D"cite">you can give me your =
thoughts on why they shouldn't be preserved.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">The idea behind =
preserving the port numbers is simple -- if there's =
only<br></blockquote><blockquote type=3D"cite">one port space then there =
can be only one transport protocol per port.<br></blockquote><blockquote =
type=3D"cite">For example, port 80 is currently allocated as HTTP for =
UDP, TCP and<br></blockquote><blockquote type=3D"cite">SCTP. &nbsp;HTTP =
over UDP is not really defined, but it is defined for =
both<br></blockquote><blockquote type=3D"cite">TCP and SCTP. &nbsp;If =
there's only one port space, how can a server =
tell<br></blockquote><blockquote type=3D"cite">which transport protocol =
is intended? &nbsp;Rely on accidental =
differences<br></blockquote><blockquote type=3D"cite">between a TCP SYN =
and an SCTP INIT? &nbsp;Only allow a server to serve =
one<br></blockquote><blockquote =
type=3D"cite">transport?<br></blockquote><br>That was my line of =
thinking too at one point, until I started thinking about how =
applications actually support multiple transports at one in the current =
world, versus a world with a shared port space. &nbsp;The HotNets paper =
that my presentation was based on ("Breaking Up the Transport Logjam") =
discusses this a bit in section 2.2.3.<br><br>The short answer is that =
with a shared port space, the application to which a given UDP port =
number is assigned is ultimately responsible for defining the wire =
format of packets using that port, and if the application is designed to =
be able to run multiple distinct transports on top of this same UDP port =
whose wire formats are not "naturally" distinguishable from each other, =
then the application may need to insert some suitable header (e.g., an =
8-bit or 32-bit "transport ID" field) underneath those respective =
transport headers in order to make their packets distinguishable from =
each other. &nbsp;This may not sound very satisfying at first, but then =
consider the options that such multi-transport applications have =
now.<br><br>In the current world, where the "transport selector" is =
embedded in the protocol field in the IP header but the port numbers are =
in the transport header, an application has to choose SOME transport =
before it can start communicating in any fashion. &nbsp;This means that =
an application that supports multiple transports must either (a) =
initiate a communication session on some "default" transport, use that =
to negotiate the transport, and then (possibly) open a new session using =
the transport that the application has decided it wants to use; or (b) =
take a "shotgun" approach and initiate sessions using all the transports =
it supports, see which one(s) actually succeed (i.e., which ones the =
responder supports), and then close all but the "most preferred" one. =
&nbsp;Thus, the current architecture forces multi-transport applications =
to choose between two evils: incurring at least one unnecessary =
round-trip delay just to negotiate the transport to use, or wastefully =
creating several transport sessions in parallel, only one of which will =
actually be used.<br><br>If the application has only one port number, =
however (its assigned UDP port), and multiplexes all of the transports =
it supports atop that, then the application gets to control how it =
negotiates and distinguishes among those transport protocols. &nbsp;One =
thing it can do (just an example, not a prescription) is first to ask =
each of the transports it supports for a copy of the transport's SYN =
packet, bundle all those SYN packets into one "Meta-SYN" packet to send =
to the responder. &nbsp;The responding application receives this =
Meta-SYN bundle, picks out the SYN packet for the most preferred =
transport that it supports, and passes it to the transport locally to =
start the connection initiation. &nbsp;The selected transport responds, =
and communication proceeds using that transport with no unnecessary =
round-trip delays and no unnecessary state built up for transports that =
didn't actually get chosen.<br><br>The main point, though, is that =
distinguishing and selecting between multiple transports should be up to =
the application. &nbsp;The IETF already wisely decided to stop assigning =
multiple port numbers for "SSL" and "non-SSL" versions, instead =
requiring that applications negotiate such matters themselves on top of =
their (single) port allocation. &nbsp;I'm just saying that the same =
logic applies equally well to transports themselves.<br><br><blockquote =
type=3D"cite">The problem gets worse with the recent IANA decision, due =
to depletion<br></blockquote><blockquote type=3D"cite">of the port =
space, to allocate ports independently for each =
transport.<br></blockquote><blockquote type=3D"cite">With this you can =
get a port that's a different application for =
each<br></blockquote><blockquote type=3D"cite">transport. &nbsp;This can =
exist even when the ports are nominally =
allocated<br></blockquote><blockquote type=3D"cite">to the same =
application although it's less apparent. &nbsp;There =
are<br></blockquote><blockquote type=3D"cite">situations where the port =
is allocated to one application for UDP and<br></blockquote><blockquote =
type=3D"cite">TCP, but the two transports provide different functions. =
&nbsp;Often the UDP<br></blockquote><blockquote type=3D"cite">port =
provides a discovery/registration service and the TCP port =
provides<br></blockquote><blockquote type=3D"cite">a data transfer =
service.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">As far as I can =
see, draft-denis-udp-transport offers no remedy to =
this.<br></blockquote><blockquote type=3D"cite">The "Meta-SYN" idea you =
discussed in tsvarea has possibilities. =
&nbsp;It<br></blockquote><blockquote type=3D"cite">could allow sharing a =
port between TCP/SCTP/DCCP but would rely on<br></blockquote><blockquote =
type=3D"cite">having no existing UDP application that uses that port. =
&nbsp;For a trivial<br></blockquote><blockquote type=3D"cite">example, =
discard is defined as port 9 for all of the =
transport<br></blockquote><blockquote type=3D"cite">protocols. =
&nbsp;Even with a Meta-SYN, a listener wouldn't be able =
to<br></blockquote><blockquote type=3D"cite">determine if the client =
meant plain-old-UDP or fancy-new-udp-encap.<br></blockquote><br>For an =
existing application that doesn't yet have a UDP port allocation (or =
does but doesn't yet use it), there's no problem since it can define =
whatever mechanism is needed to negotiate/differentiate the different =
transports it wants to run on that UDP port. &nbsp;If the application =
already has an existing UDP port allocation and uses it, then we have to =
look at the existing "application-over-UDP" protocol spec and find a way =
(necessarily specific to that application protocol) to build a protocol =
spec for "application-over-&lt;transport>-over-UDP" such that the latter =
spec's packets won't be confused with those of the former. &nbsp;For =
example, if we for some reason wanted to do DNS over TCP/SCTP/DCCP over =
UDP, then we would have to look at the regular DNS over UDP spec and =
come up with some (ideally short) header format to interpose between the =
UDP header and the TCP/SCTP/DCCP header such that the resulting UDP =
packets will never be confused with regular DNS over UDP packets. =
&nbsp;It's a bit ugly and unfortunate that it's specific to the =
application protocol, but legacy compatibility hacks unavoidably tend to =
have those problems in any =
case.<br><br>Cheers,<br>Bryan<br><br><blockquote type=3D"cite">Tom =
P.<br></blockquote><br></div></blockquote></div><br></body></html>=

--Apple-Mail-79-239874299--

--===============0707173003==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae

--===============0707173003==--


From tae-bounces@ietf.org  Tue Nov 25 15:20:39 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B60B228C1D8;
	Tue, 25 Nov 2008 15:20:39 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A29B628C1D8
	for <tae@core3.amsl.com>; Tue, 25 Nov 2008 15:20:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.498
X-Spam-Level: 
X-Spam-Status: No, score=-6.498 tagged_above=-999 required=5 tests=[AWL=0.100, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ik3bbCRBHPIG for <tae@core3.amsl.com>;
	Tue, 25 Nov 2008 15:20:37 -0800 (PST)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU
	[18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id 906063A6AA2
	for <tae@ietf.org>; Tue, 25 Nov 2008 15:20:37 -0800 (PST)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id
	mAPNKOq4002092
	for <tae@ietf.org>; Tue, 25 Nov 2008 18:20:33 -0500 (EST)
Received: from [192.168.178.36] (p54A59F6D.dip0.t-ipconnect.de
	[84.165.159.109]) (authenticated bits=0)
	(User authenticated as baford@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id mAPNGSBO002191
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)
	for <tae@ietf.org>; Tue, 25 Nov 2008 18:16:30 -0500 (EST)
Message-Id: <E2472EE1-F06B-47D1-A74A-3F4E51A06DBA@MIT.EDU>
From: Bryan Ford <baford@MIT.EDU>
To: tae@ietf.org
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Wed, 26 Nov 2008 00:16:28 +0100
References: <97D8957C5565BB41912C3F958914C49F09238D52@sonusmail06.sonusnet.com>
X-Mailer: Apple Mail (2.929.2)
X-Scanned-By: MIMEDefang 2.42
Subject: [tae] Fwd: dccp-natencap and port numbers
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0740230336=="
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org


--===============0740230336==
Content-Type: multipart/alternative; boundary=Apple-Mail-78-239685316


--Apple-Mail-78-239685316
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

To bring another relevant discussion thread onto the TAE list, this  
and the following couple posts are the beginning of a discussion  
between Tom Phelan and I on UDP encapsulation of transports (e.g.,  
draft-phelan-dccp-natencap versus draft-denis-udp-transport), and the  
issues of having multiple transports share a single (e.g., UDP) port  
space.  This thread already appeared publicly on the DCCP list.

Begin forwarded message:
> From: "Phelan, Tom" <tphelan@sonusnet.com>
> Date: November 21, 2008 3:55:13 PM GMT+01:00
> To: "Bryan Ford" <baford@MIT.EDU>, <remi.denis-courmont@nokia.com>, <dccp@ietf.org 
> >
> Subject: dccp-natencap and port numbers
>
> Hi Bryan,
>
> In the DCCP meeting you mentioned that a problem you have with
> dccp-natencap is its preservation of the DCCP port numbers.  Let me  
> give
> you the thought train that led to preserving the port numbers and  
> maybe
> you can give me your thoughts on why they shouldn't be preserved.
>
> The idea behind preserving the port numbers is simple -- if there's  
> only
> one port space then there can be only one transport protocol per port.
> For example, port 80 is currently allocated as HTTP for UDP, TCP and
> SCTP.  HTTP over UDP is not really defined, but it is defined for both
> TCP and SCTP.  If there's only one port space, how can a server tell
> which transport protocol is intended?  Rely on accidental differences
> between a TCP SYN and an SCTP INIT?  Only allow a server to serve one
> transport?
>
> The problem gets worse with the recent IANA decision, due to depletion
> of the port space, to allocate ports independently for each transport.
> With this you can get a port that's a different application for each
> transport.  This can exist even when the ports are nominally allocated
> to the same application although it's less apparent.  There are
> situations where the port is allocated to one application for UDP and
> TCP, but the two transports provide different functions.  Often the  
> UDP
> port provides a discovery/registration service and the TCP port  
> provides
> a data transfer service.
>
> As far as I can see, draft-denis-udp-transport offers no remedy to  
> this.
> The "Meta-SYN" idea you discussed in tsvarea has possibilities.  It
> could allow sharing a port between TCP/SCTP/DCCP but would rely on
> having no existing UDP application that uses that port.  For a trivial
> example, discard is defined as port 9 for all of the transport
> protocols.  Even with a Meta-SYN, a listener wouldn't be able to
> determine if the client meant plain-old-UDP or fancy-new-udp-encap.
>
> Tom P.


--Apple-Mail-78-239685316
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">To bring another relevant =
discussion thread onto the TAE list, this and the following couple posts =
are the beginning of a discussion between Tom Phelan and I on UDP =
encapsulation of transports (e.g.,&nbsp;draft-phelan-dccp-natencap =
versus&nbsp;draft-denis-udp-transport), and the issues of having =
multiple transports share a single (e.g., UDP) port space. &nbsp;This =
thread already appeared publicly on the DCCP list.<div><br><div>Begin =
forwarded message:</div><blockquote type=3D"cite"><div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>From: =
</b></font><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">"Phelan, Tom" &lt;<a =
href=3D"mailto:tphelan@sonusnet.com">tphelan@sonusnet.com</a>></font></div=
><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Date: =
</b></font><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">November 21, 2008 3:55:13 PM GMT+01:00</font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">"Bryan =
Ford" &lt;<a href=3D"mailto:baford@MIT.EDU">baford@MIT.EDU</a>>, &lt;<a =
href=3D"mailto:remi.denis-courmont@nokia.com">remi.denis-courmont@nokia.co=
m</a>>, &lt;<a =
href=3D"mailto:dccp@ietf.org">dccp@ietf.org</a>></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Subject: =
</b></font><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica"><b>dccp-natencap and port numbers</b></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div> </div><div>Hi =
Bryan,<br><br>In the DCCP meeting you mentioned that a problem you have =
with<br>dccp-natencap is its preservation of the DCCP port numbers. =
&nbsp;Let me give<br>you the thought train that led to preserving the =
port numbers and maybe<br>you can give me your thoughts on why they =
shouldn't be preserved.<br><br>The idea behind preserving the port =
numbers is simple -- if there's only<br>one port space then there can be =
only one transport protocol per port.<br>For example, port 80 is =
currently allocated as HTTP for UDP, TCP and<br>SCTP. &nbsp;HTTP over =
UDP is not really defined, but it is defined for both<br>TCP and SCTP. =
&nbsp;If there's only one port space, how can a server tell<br>which =
transport protocol is intended? &nbsp;Rely on accidental =
differences<br>between a TCP SYN and an SCTP INIT? &nbsp;Only allow a =
server to serve one<br>transport?<br><br>The problem gets worse with the =
recent IANA decision, due to depletion<br>of the port space, to allocate =
ports independently for each transport.<br>With this you can get a port =
that's a different application for each<br>transport. &nbsp;This can =
exist even when the ports are nominally allocated<br>to the same =
application although it's less apparent. &nbsp;There are<br>situations =
where the port is allocated to one application for UDP and<br>TCP, but =
the two transports provide different functions. &nbsp;Often the =
UDP<br>port provides a discovery/registration service and the TCP port =
provides<br>a data transfer service.<br><br>As far as I can see, =
draft-denis-udp-transport offers no remedy to this.<br>The "Meta-SYN" =
idea you discussed in tsvarea has possibilities. &nbsp;It<br>could allow =
sharing a port between TCP/SCTP/DCCP but would rely on<br>having no =
existing UDP application that uses that port. &nbsp;For a =
trivial<br>example, discard is defined as port 9 for all of the =
transport<br>protocols. &nbsp;Even with a Meta-SYN, a listener wouldn't =
be able to<br>determine if the client meant plain-old-UDP or =
fancy-new-udp-encap.<br><br>Tom =
P.<br></div></blockquote></div><br></body></html>=

--Apple-Mail-78-239685316--

--===============0740230336==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae

--===============0740230336==--


From tae-bounces@ietf.org  Tue Nov 25 15:25:35 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B4A773A6AA7;
	Tue, 25 Nov 2008 15:25:35 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3D73B3A6AA7
	for <tae@core3.amsl.com>; Tue, 25 Nov 2008 15:25:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.523
X-Spam-Level: 
X-Spam-Status: No, score=-6.523 tagged_above=-999 required=5 tests=[AWL=0.075, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 6lpGLpcmn3aK for <tae@core3.amsl.com>;
	Tue, 25 Nov 2008 15:25:32 -0800 (PST)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU
	[18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id E2A853A6AA2
	for <tae@ietf.org>; Tue, 25 Nov 2008 15:25:31 -0800 (PST)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id
	mAPNPOaj004017
	for <tae@ietf.org>; Tue, 25 Nov 2008 18:25:28 -0500 (EST)
Received: from [192.168.178.36] (p54A59F6D.dip0.t-ipconnect.de
	[84.165.159.109]) (authenticated bits=0)
	(User authenticated as baford@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id mAPNMr30003444
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)
	for <tae@ietf.org>; Tue, 25 Nov 2008 18:22:54 -0500 (EST)
Message-Id: <D79F6355-D5B5-4CA3-99F6-A138FAA57E84@MIT.EDU>
From: Bryan Ford <baford@MIT.EDU>
To: tae@ietf.org
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Wed, 26 Nov 2008 00:22:52 +0100
References: <97D8957C5565BB41912C3F958914C49F092390F9@sonusmail06.sonusnet.com>
X-Mailer: Apple Mail (2.929.2)
X-Scanned-By: MIMEDefang 2.42
Subject: [tae] Fwd: dccp-natencap and port numbers
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1733504026=="
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org


--===============1733504026==
Content-Type: multipart/alternative; boundary=Apple-Mail-80-240069764


--Apple-Mail-80-240069764
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

UDP encapsulation discussion background, re-post 3 of 3...

Begin forwarded message:
> From: "Phelan, Tom" <tphelan@sonusnet.com>
> Date: November 24, 2008 4:55:16 PM GMT+01:00
> To: "Bryan Ford" <baford@MIT.EDU>
> Cc: <remi.denis-courmont@nokia.com>, <dccp@ietf.org>, <janardhan.iyengar@fandm.edu 
> >
> Subject: RE: dccp-natencap and port numbers
>
> Hi Bryan,
>
> OK, I see that line of reasoning.  However, that means that the  
> current
> version of denis-udp-transport barely scratches the surface of the
> subject.  The backward compatibility issues are large, and if we  
> ignore
> them then we're guilty of the same sort of thing that got us into this
> situation in the first place.
>
> It seems to me that denis-udp-transport needs to include the reasoning
> below, needs to define the Meta-SYN packet, needs to specify a generic
> mechanism for applications to do the transport disambiguation, needs  
> to
> specify generic mechanisms for signaling the UDP-encap transports and
> needs to specify how a few existing applications apply those generic
> mechanisms (SIP most importantly -- that already has widespread use of
> UDP, TCP and SCTP transports, simultaneously offered on many servers).
>
> Are you guys up for that much work?
>
> More inline...
>
> Tom P.
>
>> -----Original Message-----
>> From: Bryan Ford [mailto:baford@MIT.EDU]
>> Sent: Friday, November 21, 2008 5:56 PM
>> To: Phelan, Tom
>> Cc: remi.denis-courmont@nokia.com; dccp@ietf.org;
>> janardhan.iyengar@fandm.edu
>> Subject: Re: dccp-natencap and port numbers
>>
>> Hi Tom,
>>
>> On Nov 21, 2008, at 8:55 AM, Phelan, Tom wrote:
>>> In the DCCP meeting you mentioned that a problem you have with
>>> dccp-natencap is its preservation of the DCCP port numbers.  Let me
>>> give
>>> you the thought train that led to preserving the port numbers and
>>> maybe
>>> you can give me your thoughts on why they shouldn't be preserved.
>>>
>>> The idea behind preserving the port numbers is simple -- if there's
>>> only
>>> one port space then there can be only one transport protocol per
> port.
>>> For example, port 80 is currently allocated as HTTP for UDP, TCP and
>>> SCTP.  HTTP over UDP is not really defined, but it is defined for
> both
>>> TCP and SCTP.  If there's only one port space, how can a server tell
>>> which transport protocol is intended?  Rely on accidental
> differences
>>> between a TCP SYN and an SCTP INIT?  Only allow a server to serve
> one
>>> transport?
>>
>> That was my line of thinking too at one point, until I started
>> thinking about how applications actually support multiple transports
>> at one in the current world, versus a world with a shared port space.
>> The HotNets paper that my presentation was based on ("Breaking Up the
>> Transport Logjam") discusses this a bit in section 2.2.3.
>>
>> The short answer is that with a shared port space, the application to
>> which a given UDP port number is assigned is ultimately responsible
>> for defining the wire format of packets using that port, and if the
>> application is designed to be able to run multiple distinct  
>> transports
>> on top of this same UDP port whose wire formats are not "naturally"
>> distinguishable from each other, then the application may need to
>> insert some suitable header (e.g., an 8-bit or 32-bit "transport ID"
>> field) underneath those respective transport headers in order to make
>> their packets distinguishable from each other.  This may not sound
>> very satisfying at first, but then consider the options that such
>> multi-transport applications have now.
>>
>> In the current world, where the "transport selector" is embedded in
>> the protocol field in the IP header but the port numbers are in the
>> transport header, an application has to choose SOME transport before
>> it can start communicating in any fashion.  This means that an
>> application that supports multiple transports must either (a)  
>> initiate
>> a communication session on some "default" transport, use that to
>> negotiate the transport, and then (possibly) open a new session using
>> the transport that the application has decided it wants to use; or  
>> (b)
>> take a "shotgun" approach and initiate sessions using all the
>> transports it supports, see which one(s) actually succeed (i.e.,  
>> which
>> ones the responder supports), and then close all but the "most
>> preferred" one.  Thus, the current architecture forces multi- 
>> transport
>> applications to choose between two evils: incurring at least one
>> unnecessary round-trip delay just to negotiate the transport to use,
>> or wastefully creating several transport sessions in parallel, only
>> one of which will actually be used.
>
> [Tom P] Sort of.  In many current cases that use multiple transports,
> the transport selection is done via a signaling application that
> communicates that and many other things -- think SIP/SDP or DNS SRV
> records or a combination.
>
>>
>> If the application has only one port number, however (its assigned  
>> UDP
>> port), and multiplexes all of the transports it supports atop that,
>> then the application gets to control how it negotiates and
>> distinguishes among those transport protocols.  One thing it can do
>> (just an example, not a prescription) is first to ask each of the
>> transports it supports for a copy of the transport's SYN packet,
>> bundle all those SYN packets into one "Meta-SYN" packet to send to  
>> the
>> responder.  The responding application receives this Meta-SYN bundle,
>> picks out the SYN packet for the most preferred transport that it
>> supports, and passes it to the transport locally to start the
>> connection initiation.  The selected transport responds, and
>> communication proceeds using that transport with no unnecessary  
>> round-
>> trip delays and no unnecessary state built up for transports that
>> didn't actually get chosen.
>
> [Tom P] This is good, but it isn't as simple as bundling the various
> "SYN" packets.  Does the order imply a preference?  Even if the  
> there's
> no implied preference, it has to be specified as such.  If there is a
> preference, whose preference matters more (client or server)?  How is
> retransmission handled?  Each transport has slightly different rules.
> There are probably other issues.
>
>>
>> The main point, though, is that distinguishing and selecting between
>> multiple transports should be up to the application.  The IETF  
>> already
>> wisely decided to stop assigning multiple port numbers for "SSL" and
>> "non-SSL" versions, instead requiring that applications negotiate  
>> such
>> matters themselves on top of their (single) port allocation.  I'm  
>> just
>> saying that the same logic applies equally well to transports
>> themselves.
>>
>
> [Tom P] OK for TLS, as that's an above-the-transport-layer thing, but
> this is all transport layer.  It's really up to the transport layer to
> decide which transport is being requested -- after all, it's not
> necessarily so that a given port is the same application for all
> transports, so it really can't be left completely to the application
> layer.
>
>>> The problem gets worse with the recent IANA decision, due to
> depletion
>>> of the port space, to allocate ports independently for each
> transport.
>>> With this you can get a port that's a different application for each
>>> transport.  This can exist even when the ports are nominally
> allocated
>>> to the same application although it's less apparent.  There are
>>> situations where the port is allocated to one application for UDP
> and
>>> TCP, but the two transports provide different functions.  Often the
>>> UDP
>>> port provides a discovery/registration service and the TCP port
>>> provides
>>> a data transfer service.
>>>
>>> As far as I can see, draft-denis-udp-transport offers no remedy to
>>> this.
>>> The "Meta-SYN" idea you discussed in tsvarea has possibilities.  It
>>> could allow sharing a port between TCP/SCTP/DCCP but would rely on
>>> having no existing UDP application that uses that port.  For a
> trivial
>>> example, discard is defined as port 9 for all of the transport
>>> protocols.  Even with a Meta-SYN, a listener wouldn't be able to
>>> determine if the client meant plain-old-UDP or fancy-new-udp-encap.
>>
>> For an existing application that doesn't yet have a UDP port
>> allocation (or does but doesn't yet use it), there's no problem since
>> it can define whatever mechanism is needed to negotiate/differentiate
>> the different transports it wants to run on that UDP port.  If the
>> application already has an existing UDP port allocation and uses it,
>> then we have to look at the existing "application-over-UDP" protocol
>> spec and find a way (necessarily specific to that application
>> protocol) to build a protocol spec for "application-over-<transport>-
>> over-UDP" such that the latter spec's packets won't be confused with
>> those of the former.  For example, if we for some reason wanted to do
>> DNS over TCP/SCTP/DCCP over UDP, then we would have to look at the
>> regular DNS over UDP spec and come up with some (ideally short)  
>> header
>> format to interpose between the UDP header and the TCP/SCTP/DCCP
>> header such that the resulting UDP packets will never be confused  
>> with
>> regular DNS over UDP packets.  It's a bit ugly and unfortunate that
>> it's specific to the application protocol, but legacy compatibility
>> hacks unavoidably tend to have those problems in any case.
>
> [Tom P] You say "we" here.  I'm taking that as the small "we" who are
> writing udp-transport, not the big "we" of the entire IETF, at least  
> for
> the very popular existing applications such as SIP.
>
>>
>> Cheers,
>> Bryan
>>
>>> Tom P.
>


--Apple-Mail-80-240069764
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">UDP encapsulation discussion =
background, re-post 3 of 3...<br><div><br><div>Begin forwarded =
message:</div><blockquote type=3D"cite"><div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font =
face=3D"Helvetica" size=3D"3" color=3D"#000000" style=3D"font: 12.0px =
Helvetica; color: #000000"><b>From: </b></font><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">"Phelan, Tom" &lt;<a =
href=3D"mailto:tphelan@sonusnet.com">tphelan@sonusnet.com</a>></font></div=
><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Date: =
</b></font><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">November 24, 2008 4:55:16 PM GMT+01:00</font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">"Bryan =
Ford" &lt;<a =
href=3D"mailto:baford@MIT.EDU">baford@MIT.EDU</a>></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>Cc: </b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">&lt;<a =
href=3D"mailto:remi.denis-courmont@nokia.com">remi.denis-courmont@nokia.co=
m</a>>, &lt;<a href=3D"mailto:dccp@ietf.org">dccp@ietf.org</a>>, &lt;<a =
href=3D"mailto:janardhan.iyengar@fandm.edu">janardhan.iyengar@fandm.edu</a=
>></font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>Subject: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><b>RE: dccp-natencap and port =
numbers</b></font></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><br></div> </div><div>Hi Bryan,<br><br>OK, I see that line of =
reasoning. &nbsp;However, that means that the current<br>version of =
denis-udp-transport barely scratches the surface of the<br>subject. =
&nbsp;The backward compatibility issues are large, and if we =
ignore<br>them then we're guilty of the same sort of thing that got us =
into this<br>situation in the first place.<br><br>It seems to me that =
denis-udp-transport needs to include the reasoning<br>below, needs to =
define the Meta-SYN packet, needs to specify a generic<br>mechanism for =
applications to do the transport disambiguation, needs to<br>specify =
generic mechanisms for signaling the UDP-encap transports and<br>needs =
to specify how a few existing applications apply those =
generic<br>mechanisms (SIP most importantly -- that already has =
widespread use of<br>UDP, TCP and SCTP transports, simultaneously =
offered on many servers).<br><br>Are you guys up for that much =
work?<br><br>More inline...<br><br>Tom P.<br><br><blockquote =
type=3D"cite">-----Original Message-----<br></blockquote><blockquote =
type=3D"cite">From: Bryan Ford [<a =
href=3D"mailto:baford@MIT.EDU">mailto:baford@MIT.EDU</a>]<br></blockquote>=
<blockquote type=3D"cite">Sent: Friday, November 21, 2008 5:56 =
PM<br></blockquote><blockquote type=3D"cite">To: Phelan, =
Tom<br></blockquote><blockquote type=3D"cite">Cc: <a =
href=3D"mailto:remi.denis-courmont@nokia.com">remi.denis-courmont@nokia.co=
m</a>; <a =
href=3D"mailto:dccp@ietf.org">dccp@ietf.org</a>;<br></blockquote><blockquo=
te type=3D"cite"><a =
href=3D"mailto:janardhan.iyengar@fandm.edu">janardhan.iyengar@fandm.edu</a=
><br></blockquote><blockquote type=3D"cite">Subject: Re: dccp-natencap =
and port numbers<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">Hi =
Tom,<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">On Nov 21, =
2008, at 8:55 AM, Phelan, Tom wrote:<br></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">In the DCCP meeting you =
mentioned that a problem you have =
with<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">dccp-natencap is its preservation of the DCCP port =
numbers. &nbsp;Let me<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite">give<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">you the thought train that led =
to preserving the port numbers =
and<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">maybe<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">you can give me your thoughts on =
why they shouldn't be =
preserved.<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">The idea behind preserving the =
port numbers is simple -- if =
there's<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote=
 type=3D"cite">only<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">one port space then there can be =
only one transport protocol =
per<br></blockquote></blockquote>port.<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">For example, port 80 is =
currently allocated as HTTP for UDP, TCP =
and<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">SCTP. &nbsp;HTTP over UDP is not really defined, but it is =
defined for<br></blockquote></blockquote>both<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">TCP and SCTP. &nbsp;If there's =
only one port space, how can a server =
tell<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">which transport protocol is intended? &nbsp;Rely on =
accidental<br></blockquote></blockquote>differences<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">between a TCP SYN and an SCTP =
INIT? &nbsp;Only allow a server to =
serve<br></blockquote></blockquote>one<br><blockquote =
type=3D"cite"><blockquote =
type=3D"cite">transport?<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">That was my =
line of thinking too at one point, until I =
started<br></blockquote><blockquote type=3D"cite">thinking about how =
applications actually support multiple =
transports<br></blockquote><blockquote type=3D"cite">at one in the =
current world, versus a world with a shared port =
space.<br></blockquote><blockquote type=3D"cite">The HotNets paper that =
my presentation was based on ("Breaking Up =
the<br></blockquote><blockquote type=3D"cite">Transport Logjam") =
discusses this a bit in section 2.2.3.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">The short =
answer is that with a shared port space, the application =
to<br></blockquote><blockquote type=3D"cite">which a given UDP port =
number is assigned is ultimately responsible<br></blockquote><blockquote =
type=3D"cite">for defining the wire format of packets using that port, =
and if the<br></blockquote><blockquote type=3D"cite">application is =
designed to be able to run multiple distinct =
transports<br></blockquote><blockquote type=3D"cite">on top of this same =
UDP port whose wire formats are not =
"naturally"<br></blockquote><blockquote type=3D"cite">distinguishable =
from each other, then the application may need =
to<br></blockquote><blockquote type=3D"cite">insert some suitable header =
(e.g., an 8-bit or 32-bit "transport ID"<br></blockquote><blockquote =
type=3D"cite">field) underneath those respective transport headers in =
order to make<br></blockquote><blockquote type=3D"cite">their packets =
distinguishable from each other. &nbsp;This may not =
sound<br></blockquote><blockquote type=3D"cite">very satisfying at =
first, but then consider the options that =
such<br></blockquote><blockquote type=3D"cite">multi-transport =
applications have now.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">In the current =
world, where the "transport selector" is embedded =
in<br></blockquote><blockquote type=3D"cite">the protocol field in the =
IP header but the port numbers are in the<br></blockquote><blockquote =
type=3D"cite">transport header, an application has to choose SOME =
transport before<br></blockquote><blockquote type=3D"cite">it can start =
communicating in any fashion. &nbsp;This means that =
an<br></blockquote><blockquote type=3D"cite">application that supports =
multiple transports must either (a) initiate<br></blockquote><blockquote =
type=3D"cite">a communication session on some "default" transport, use =
that to<br></blockquote><blockquote type=3D"cite">negotiate the =
transport, and then (possibly) open a new session =
using<br></blockquote><blockquote type=3D"cite">the transport that the =
application has decided it wants to use; or =
(b)<br></blockquote><blockquote type=3D"cite">take a "shotgun" approach =
and initiate sessions using all the<br></blockquote><blockquote =
type=3D"cite">transports it supports, see which one(s) actually succeed =
(i.e., which<br></blockquote><blockquote type=3D"cite">ones the =
responder supports), and then close all but the =
"most<br></blockquote><blockquote type=3D"cite">preferred" one. =
&nbsp;Thus, the current architecture forces =
multi-transport<br></blockquote><blockquote type=3D"cite">applications =
to choose between two evils: incurring at least =
one<br></blockquote><blockquote type=3D"cite">unnecessary round-trip =
delay just to negotiate the transport to =
use,<br></blockquote><blockquote type=3D"cite">or wastefully creating =
several transport sessions in parallel, only<br></blockquote><blockquote =
type=3D"cite">one of which will actually be =
used.<br></blockquote><br>[Tom P] Sort of. &nbsp;In many current cases =
that use multiple transports,<br>the transport selection is done via a =
signaling application that<br>communicates that and many other things -- =
think SIP/SDP or DNS SRV<br>records or a combination.<br><br><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">If the =
application has only one port number, however (its assigned =
UDP<br></blockquote><blockquote type=3D"cite">port), and multiplexes all =
of the transports it supports atop that,<br></blockquote><blockquote =
type=3D"cite">then the application gets to control how it negotiates =
and<br></blockquote><blockquote type=3D"cite">distinguishes among those =
transport protocols. &nbsp;One thing it can =
do<br></blockquote><blockquote type=3D"cite">(just an example, not a =
prescription) is first to ask each of the<br></blockquote><blockquote =
type=3D"cite">transports it supports for a copy of the transport's SYN =
packet,<br></blockquote><blockquote type=3D"cite">bundle all those SYN =
packets into one "Meta-SYN" packet to send to =
the<br></blockquote><blockquote type=3D"cite">responder. &nbsp;The =
responding application receives this Meta-SYN =
bundle,<br></blockquote><blockquote type=3D"cite">picks out the SYN =
packet for the most preferred transport that =
it<br></blockquote><blockquote type=3D"cite">supports, and passes it to =
the transport locally to start the<br></blockquote><blockquote =
type=3D"cite">connection initiation. &nbsp;The selected transport =
responds, and<br></blockquote><blockquote type=3D"cite">communication =
proceeds using that transport with no unnecessary =
round-<br></blockquote><blockquote type=3D"cite">trip delays and no =
unnecessary state built up for transports =
that<br></blockquote><blockquote type=3D"cite">didn't actually get =
chosen.<br></blockquote><br>[Tom P] This is good, but it isn't as simple =
as bundling the various<br>"SYN" packets. &nbsp;Does the order imply a =
preference? &nbsp;Even if the there's<br>no implied preference, it has =
to be specified as such. &nbsp;If there is a<br>preference, whose =
preference matters more (client or server)? &nbsp;How =
is<br>retransmission handled? &nbsp;Each transport has slightly =
different rules.<br>There are probably other issues.<br><br><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">The main point, =
though, is that distinguishing and selecting =
between<br></blockquote><blockquote type=3D"cite">multiple transports =
should be up to the application. &nbsp;The IETF =
already<br></blockquote><blockquote type=3D"cite">wisely decided to stop =
assigning multiple port numbers for "SSL" =
and<br></blockquote><blockquote type=3D"cite">"non-SSL" versions, =
instead requiring that applications negotiate =
such<br></blockquote><blockquote type=3D"cite">matters themselves on top =
of their (single) port allocation. &nbsp;I'm =
just<br></blockquote><blockquote type=3D"cite">saying that the same =
logic applies equally well to transports<br></blockquote><blockquote =
type=3D"cite">themselves.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><br>[Tom P] OK for TLS, as that's an =
above-the-transport-layer thing, but<br>this is all transport layer. =
&nbsp;It's really up to the transport layer to<br>decide which transport =
is being requested -- after all, it's not<br>necessarily so that a given =
port is the same application for all<br>transports, so it really can't =
be left completely to the application<br>layer.<br><br><blockquote =
type=3D"cite"><blockquote type=3D"cite">The problem gets worse with the =
recent IANA decision, due =
to<br></blockquote></blockquote>depletion<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">of the port space, to allocate =
ports independently for =
each<br></blockquote></blockquote>transport.<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">With this you can get a port =
that's a different application for =
each<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">transport. &nbsp;This can exist even when the ports are =
nominally<br></blockquote></blockquote>allocated<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">to the same application although =
it's less apparent. &nbsp;There =
are<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">situations where the port is allocated to one application =
for UDP<br></blockquote></blockquote>and<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">TCP, but the two transports =
provide different functions. &nbsp;Often =
the<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">UDP<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">port provides a =
discovery/registration service and the TCP =
port<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">provides<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">a data transfer =
service.<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">As far as I can see, =
draft-denis-udp-transport offers no remedy =
to<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">this.<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">The "Meta-SYN" idea you =
discussed in tsvarea has possibilities. =
&nbsp;It<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">could allow sharing a port =
between TCP/SCTP/DCCP but would rely =
on<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">having no existing UDP application that uses that port. =
&nbsp;For a<br></blockquote></blockquote>trivial<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">example, discard is defined as =
port 9 for all of the transport<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">protocols. &nbsp;Even with a =
Meta-SYN, a listener wouldn't be able =
to<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">determine if the client meant plain-old-UDP or =
fancy-new-udp-encap.<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">For an existing =
application that doesn't yet have a UDP port<br></blockquote><blockquote =
type=3D"cite">allocation (or does but doesn't yet use it), there's no =
problem since<br></blockquote><blockquote type=3D"cite">it can define =
whatever mechanism is needed to =
negotiate/differentiate<br></blockquote><blockquote type=3D"cite">the =
different transports it wants to run on that UDP port. &nbsp;If =
the<br></blockquote><blockquote type=3D"cite">application already has an =
existing UDP port allocation and uses it,<br></blockquote><blockquote =
type=3D"cite">then we have to look at the existing =
"application-over-UDP" protocol<br></blockquote><blockquote =
type=3D"cite">spec and find a way (necessarily specific to that =
application<br></blockquote><blockquote type=3D"cite">protocol) to build =
a protocol spec for =
"application-over-&lt;transport>-<br></blockquote><blockquote =
type=3D"cite">over-UDP" such that the latter spec's packets won't be =
confused with<br></blockquote><blockquote type=3D"cite">those of the =
former. &nbsp;For example, if we for some reason wanted to =
do<br></blockquote><blockquote type=3D"cite">DNS over TCP/SCTP/DCCP over =
UDP, then we would have to look at the<br></blockquote><blockquote =
type=3D"cite">regular DNS over UDP spec and come up with some (ideally =
short) header<br></blockquote><blockquote type=3D"cite">format to =
interpose between the UDP header and the =
TCP/SCTP/DCCP<br></blockquote><blockquote type=3D"cite">header such that =
the resulting UDP packets will never be confused =
with<br></blockquote><blockquote type=3D"cite">regular DNS over UDP =
packets. &nbsp;It's a bit ugly and unfortunate =
that<br></blockquote><blockquote type=3D"cite">it's specific to the =
application protocol, but legacy =
compatibility<br></blockquote><blockquote type=3D"cite">hacks =
unavoidably tend to have those problems in any =
case.<br></blockquote><br>[Tom P] You say "we" here. &nbsp;I'm taking =
that as the small "we" who are<br>writing udp-transport, not the big =
"we" of the entire IETF, at least for<br>the very popular existing =
applications such as SIP.<br><br><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite">Cheers,<br></blockquote><blockquote =
type=3D"cite">Bryan<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">Tom =
P.<br></blockquote></blockquote><br></div></blockquote></div><br></body></=
html>=

--Apple-Mail-80-240069764--

--===============1733504026==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae

--===============1733504026==--


From tae-bounces@ietf.org  Tue Nov 25 16:15:53 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2747A28C1D2;
	Tue, 25 Nov 2008 16:15:53 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D03E73A6AFC;
	Tue, 25 Nov 2008 16:15:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.539
X-Spam-Level: 
X-Spam-Status: No, score=-6.539 tagged_above=-999 required=5 tests=[AWL=0.060, 
	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 K-UIxPdVAYYs; Tue, 25 Nov 2008 16:15:50 -0800 (PST)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU
	[18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id 4FB2E3A6AFB;
	Tue, 25 Nov 2008 16:15:50 -0800 (PST)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id
	mAQ0FO42024331; Tue, 25 Nov 2008 19:15:45 -0500 (EST)
Received: from [192.168.178.36] (p54A59F6D.dip0.t-ipconnect.de
	[84.165.159.109]) (authenticated bits=0)
	(User authenticated as baford@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id mAQ0BwoT010760
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT);
	Tue, 25 Nov 2008 19:12:26 -0500 (EST)
Message-Id: <E11B66C0-6D1D-46FB-AB1F-20964500CF03@MIT.EDU>
From: Bryan Ford <baford@MIT.EDU>
To: "Phelan, Tom" <tphelan@sonusnet.com>
In-Reply-To: <97D8957C5565BB41912C3F958914C49F092390F9@sonusmail06.sonusnet.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Wed, 26 Nov 2008 01:11:58 +0100
References: <97D8957C5565BB41912C3F958914C49F09238D52@sonusmail06.sonusnet.com>
	<04D7727C-16ED-454C-BD79-ACF0C0BFFE7A@MIT.EDU>
	<97D8957C5565BB41912C3F958914C49F092390F9@sonusmail06.sonusnet.com>
X-Mailer: Apple Mail (2.929.2)
X-Scanned-By: MIMEDefang 2.42
Cc: tae@ietf.org, dccp@ietf.org
Subject: Re: [tae] dccp-natencap and port numbers
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

On Nov 24, 2008, at 4:55 PM, Phelan, Tom wrote:
> Hi Bryan,
>
> OK, I see that line of reasoning.  However, that means that the  
> current
> version of denis-udp-transport barely scratches the surface of the
> subject.  The backward compatibility issues are large, and if we  
> ignore
> them then we're guilty of the same sort of thing that got us into this
> situation in the first place.
>
> It seems to me that denis-udp-transport needs to include the reasoning
> below, needs to define the Meta-SYN packet, needs to specify a generic
> mechanism for applications to do the transport disambiguation, needs  
> to
> specify generic mechanisms for signaling the UDP-encap transports and
> needs to specify how a few existing applications apply those generic
> mechanisms (SIP most importantly -- that already has widespread use of
> UDP, TCP and SCTP transports, simultaneously offered on many servers).
>
> Are you guys up for that much work?

I agree that we eventually will want to specify/standardize those  
things, but I don't think we have to do it all right away, or in one  
document (like denis-udp-transport) that specifies basic <transport>- 
over-UDP encapsulation formats.  Today, when an application wants to  
run a transport like TCP or SCTP atop UDP, it's most often because the  
application wants to get the transport working across NATs and support  
hole punching reliably.  For that purpose, the application just needs  
some fixed <transport>-over-UDP encapsulation scheme, and probably  
doesn't care about negotiating among different transports.   
Applications that DO want to negotiate between multiple transports can  
use their own application-specific negotiation mechanisms atop their  
allocated UDP ports for now, until and unless we get around to  
standardizing an application-neutral negotiation protocol of some kind.

For the "basic encapsulation format" document (along the lines of  
denis-udp-transport), we perhaps should at least specify a minimal  
disambiguation mechanism that would allow the packets of different  
transports to be distinguished from each other and from negotiation  
packets, _if_ the application chooses to do transport negotiation of  
some kind.  For this purpose, however, we already have a starting  
point to work from: namely STUN (RFC 5389).  If STUN is the "IETF- 
standardized" way of doing UDP NAT hole punching, then any new IETF- 
standardized protocol sitting atop UDP that supports hole punching  
inherently needs to be compatible with STUN, in the sense that the  
protocol's packets need to be distinguishable from STUN packets, as  
described in RFC 5389.  This requirement is unavoidable in any case  
because for hole punching to work, STUN's control packets need to  
share the same UDP session tuple that the hole-punched upper layer  
protocol will be using.  Since one of the primary pragmatic  
motivations (primary THE primary motivation) right now for UDP- 
encapsulated transports is to make them traverse NATs and support hole  
punching, any new <transport>-over-UDP encapsulation scheme needs to  
be compatible with (i.e., at least distinguishable from) STUN  
packets.  We can thus build whatever <transport>-over-UDP  
encapsulation schemes, as well as any future negotiation protocols,  
around the multiplexing groundwork already laid by STUN.  Not to say  
this won't take some work, but I think it has to be done in any case.

>> -----Original Message-----
>> From: Bryan Ford [mailto:baford@MIT.EDU]
>>
>> In the current world, where the "transport selector" is embedded in
>> the protocol field in the IP header but the port numbers are in the
>> transport header, an application has to choose SOME transport before
>> it can start communicating in any fashion.  This means that an
>> application that supports multiple transports must either (a)  
>> initiate
>> a communication session on some "default" transport, use that to
>> negotiate the transport, and then (possibly) open a new session using
>> the transport that the application has decided it wants to use; or  
>> (b)
>> take a "shotgun" approach and initiate sessions using all the
>> transports it supports, see which one(s) actually succeed (i.e.,  
>> which
>> ones the responder supports), and then close all but the "most
>> preferred" one.  Thus, the current architecture forces multi- 
>> transport
>> applications to choose between two evils: incurring at least one
>> unnecessary round-trip delay just to negotiate the transport to use,
>> or wastefully creating several transport sessions in parallel, only
>> one of which will actually be used.
>
> [Tom P] Sort of.  In many current cases that use multiple transports,
> the transport selection is done via a signaling application that
> communicates that and many other things -- think SIP/SDP or DNS SRV
> records or a combination.

Indeed.  I don't know enough about SIP/SDP to comment on that, but see  
the discussion regarding Joe Touch's comment on the DNS SRV approach.

>> If the application has only one port number, however (its assigned  
>> UDP
>> port), and multiplexes all of the transports it supports atop that,
>> then the application gets to control how it negotiates and
>> distinguishes among those transport protocols.  One thing it can do
>> (just an example, not a prescription) is first to ask each of the
>> transports it supports for a copy of the transport's SYN packet,
>> bundle all those SYN packets into one "Meta-SYN" packet to send to  
>> the
>> responder.  The responding application receives this Meta-SYN bundle,
>> picks out the SYN packet for the most preferred transport that it
>> supports, and passes it to the transport locally to start the
>> connection initiation.  The selected transport responds, and
>> communication proceeds using that transport with no unnecessary  
>> round-
>> trip delays and no unnecessary state built up for transports that
>> didn't actually get chosen.
>
> [Tom P] This is good, but it isn't as simple as bundling the various
> "SYN" packets.  Does the order imply a preference?  Even if the  
> there's
> no implied preference, it has to be specified as such.  If there is a
> preference, whose preference matters more (client or server)?  How is
> retransmission handled?  Each transport has slightly different rules.
> There are probably other issues.

Yes, all important questions that we need to consider, although that  
can be done separately from the specification of basic UDP  
encapsulation formats for specific transports, and doesn't need to be  
completed before UDP-encapsulated transports become useful to  
applications.

In my example Meta-SYN scheme, my intent was that the client bundles  
the SYNs in order of its (the client's) preference, but it is  
ultimately up to the server to choose the transport.  The server can  
abide by the client's preferences, or it can alternatively override  
the client's preferences and pick its _own_ most preferred choice, out  
of the transports the client and server both support.  But again, this  
was just an example scheme; I don't care that much about exactly how  
preferences would be expressed and implemented in a standardized  
negotiation scheme.

>> The main point, though, is that distinguishing and selecting between
>> multiple transports should be up to the application.  The IETF  
>> already
>> wisely decided to stop assigning multiple port numbers for "SSL" and
>> "non-SSL" versions, instead requiring that applications negotiate  
>> such
>> matters themselves on top of their (single) port allocation.  I'm  
>> just
>> saying that the same logic applies equally well to transports
>> themselves.
>>
>
> [Tom P] OK for TLS, as that's an above-the-transport-layer thing, but
> this is all transport layer.  It's really up to the transport layer to
> decide which transport is being requested -- after all, it's not
> necessarily so that a given port is the same application for all
> transports, so it really can't be left completely to the application
> layer.

One might interpret the term "TLS", aka "Transport Layer Security", as  
"security in/for the transport layer". :)

>>> The problem gets worse with the recent IANA decision, due to
> depletion
>>> of the port space, to allocate ports independently for each
> transport.
>>> With this you can get a port that's a different application for each
>>> transport.  This can exist even when the ports are nominally
> allocated
>>> to the same application although it's less apparent.  There are
>>> situations where the port is allocated to one application for UDP
> and
>>> TCP, but the two transports provide different functions.  Often the
>>> UDP
>>> port provides a discovery/registration service and the TCP port
>>> provides
>>> a data transfer service.
>>>
>>> As far as I can see, draft-denis-udp-transport offers no remedy to
>>> this.
>>> The "Meta-SYN" idea you discussed in tsvarea has possibilities.  It
>>> could allow sharing a port between TCP/SCTP/DCCP but would rely on
>>> having no existing UDP application that uses that port.  For a
> trivial
>>> example, discard is defined as port 9 for all of the transport
>>> protocols.  Even with a Meta-SYN, a listener wouldn't be able to
>>> determine if the client meant plain-old-UDP or fancy-new-udp-encap.
>>
>> For an existing application that doesn't yet have a UDP port
>> allocation (or does but doesn't yet use it), there's no problem since
>> it can define whatever mechanism is needed to negotiate/differentiate
>> the different transports it wants to run on that UDP port.  If the
>> application already has an existing UDP port allocation and uses it,
>> then we have to look at the existing "application-over-UDP" protocol
>> spec and find a way (necessarily specific to that application
>> protocol) to build a protocol spec for "application-over-<transport>-
>> over-UDP" such that the latter spec's packets won't be confused with
>> those of the former.  For example, if we for some reason wanted to do
>> DNS over TCP/SCTP/DCCP over UDP, then we would have to look at the
>> regular DNS over UDP spec and come up with some (ideally short)  
>> header
>> format to interpose between the UDP header and the TCP/SCTP/DCCP
>> header such that the resulting UDP packets will never be confused  
>> with
>> regular DNS over UDP packets.  It's a bit ugly and unfortunate that
>> it's specific to the application protocol, but legacy compatibility
>> hacks unavoidably tend to have those problems in any case.
>
> [Tom P] You say "we" here.  I'm taking that as the small "we" who are
> writing udp-transport, not the big "we" of the entire IETF, at least  
> for
> the very popular existing applications such as SIP.

Yes, probably, although I don't have a big burden about exactly who  
the "we" is that is responsible for the UDP encapsulation spec (e.g.,  
which working group sponsors it), as long as all the right people know  
about it and are involved.

Bryan

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Wed Nov 26 08:24:13 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4A49C3A6B64;
	Wed, 26 Nov 2008 08:24:13 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 58B4C28C0F1;
	Wed, 26 Nov 2008 08:24:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.044
X-Spam-Level: 
X-Spam-Status: No, score=-2.044 tagged_above=-999 required=5 tests=[AWL=0.555, 
	BAYES_00=-2.599]
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 wQvUr+yKKgV3; Wed, 26 Nov 2008 08:24:11 -0800 (PST)
Received: from zimfe2.fandm.edu (zimfe2.fandm.edu [155.68.1.75])
	by core3.amsl.com (Postfix) with ESMTP id 1C9BC28C0CE;
	Wed, 26 Nov 2008 08:24:10 -0800 (PST)
Received: from surutti.fandm.edu (dhcp-155-68-60-80.fandm.edu [155.68.60.80])
	by zimfe2.fandm.edu (Postfix) with ESMTP id 0BA9C116801B;
	Wed, 26 Nov 2008 11:21:58 -0500 (EST)
Message-ID: <492D7823.1060505@fandm.edu>
Date: Wed, 26 Nov 2008 11:24:03 -0500
From: Janardhan Iyengar <janardhan.iyengar@fandm.edu>
Organization: Franklin & Marshall College
User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105)
MIME-Version: 1.0
To: Joe Touch <touch@ISI.EDU>
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
	<492C7F97.3030000@isi.edu>
In-Reply-To: <492C7F97.3030000@isi.edu>
Cc: tae@ietf.org, tsv-area@ietf.org
Subject: Re: [tae] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: janardhan.iyengar@fandm.edu
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

Hi Joe,

> Right. The trick is that there is no such thing as HTTP; it's HTTP over
> TCP. What you want is "HTTP by any means"; whether the DNS supports this
> is less the issue than the fact that IANA doesn't really define such a
> thing.

You are right in that IANA does not define a HTTP over * (or 80/*). But IANA does not decide which application gets to use which transport, the application does. As a result, an application (SIP, for instance) that supports using any of UDP, TCP or SCTP registers all three with IANA, and has to try one of several hacks to actually establish a connection using a desired transport. 

The idea on the table is to make this negotiation cleaner, so that hacks don't need to be used for current and future transports.

> I'm confused as to how you expect to proceed here. Whether it's an
> amorphous SYN or a DNS request, you still need to be able to express
> more than a single packet's worth of info, by definition. You talk about
> TCP and SCTP, but in reality it's "TCP that supports the options I
> require" that matters. I don't see how to negotiate how to negotiate
> without starting off with a negotiation - which is what a TCP SYN, e.g., is.
> 
> There are several levels of such negotiation that need to happen - IP
> version, TCP vs. SCTP vs. UDP etc., the options of the transport, etc.
> How do you expect to bootstrap "what transports can you speak" without
> some sort of common protocol?

Then what we need is a transport negotiation protocol that allows a client to initiate a session with a "multi-transport" SYN (with per-transport options), no? IP negotiation is a different beast, IMHO, than transport negotiation. At the transport, the two ends matter the most, and we need to be able to "get through" the (not-so-transparent) middleboxes. 

There is one more concern with DNS-based solutions that I want to add: A DNS-based solution will not work in networks such as peer-to-peer networks where most peers are identified by their IPs. DNS is not an option for endhosts that do not have DNS entries to begin with. 

I don't think it is reasonable to expect _every_ "multi-transport" communication session to use DNS, since there are many "single-transport" sessions today that don't.

regards,
- jana

-- 
Janardhan Iyengar
Assistant Professor, Computer Science
Franklin & Marshall College
http://www.fandm.edu/jiyengar
_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Wed Nov 26 14:45:15 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5E8F63A6CBC;
	Wed, 26 Nov 2008 14:45:15 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0A98E3A6A3A;
	Wed, 26 Nov 2008 14:45:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
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 sl3L-EMB88vW; Wed, 26 Nov 2008 14:45:13 -0800 (PST)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64])
	by core3.amsl.com (Postfix) with ESMTP id F2BAE3A6914;
	Wed, 26 Nov 2008 14:45:12 -0800 (PST)
Received: from [128.9.176.37] (c1-vpn7.isi.edu [128.9.176.37])
	by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id mAQMio1w010431
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Wed, 26 Nov 2008 14:44:52 -0800 (PST)
Message-ID: <492DD161.40203@isi.edu>
Date: Wed, 26 Nov 2008 14:44:49 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: janardhan.iyengar@fandm.edu
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
	<492C7F97.3030000@isi.edu> <492D7823.1060505@fandm.edu>
In-Reply-To: <492D7823.1060505@fandm.edu>
X-Enigmail-Version: 0.95.7
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: tae@ietf.org, tsv-area@ietf.org
Subject: Re: [tae] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Janardhan Iyengar wrote:
> Hi Joe,
> 
>> Right. The trick is that there is no such thing as HTTP; it's HTTP over
>> TCP. What you want is "HTTP by any means"; whether the DNS supports this
>> is less the issue than the fact that IANA doesn't really define such a
>> thing.
> 
> You are right in that IANA does not define a HTTP over * (or 80/*). But
> IANA does not decide which application gets to use which transport, the
> application does. As a result, an application (SIP, for instance) that
> supports using any of UDP, TCP or SCTP registers all three with IANA,
> and has to try one of several hacks to actually establish a connection
> using a desired transport.
> The idea on the table is to make this negotiation cleaner, so that hacks
> don't need to be used for current and future transports.

Agreed.

>> I'm confused as to how you expect to proceed here. Whether it's an
>> amorphous SYN or a DNS request, you still need to be able to express
>> more than a single packet's worth of info, by definition. You talk about
>> TCP and SCTP, but in reality it's "TCP that supports the options I
>> require" that matters. I don't see how to negotiate how to negotiate
>> without starting off with a negotiation - which is what a TCP SYN,
>> e.g., is.
>>
>> There are several levels of such negotiation that need to happen - IP
>> version, TCP vs. SCTP vs. UDP etc., the options of the transport, etc.
>> How do you expect to bootstrap "what transports can you speak" without
>> some sort of common protocol?
> 
> Then what we need is a transport negotiation protocol that allows a
> client to initiate a session with a "multi-transport" SYN (with
> per-transport options), no? 

At least.

> IP negotiation is a different beast, IMHO,
> than transport negotiation. At the transport, the two ends matter the
> most, and we need to be able to "get through" the (not-so-transparent)
> middleboxes.

Well, IP is also an E2E protocol that needs to get through. You need to
know whether the other end speaks IPv4 or IPv6 too. You can't just say
it's as simple as the transport protocol.

Then there's also potential negotiation of the application protocol too.

> There is one more concern with DNS-based solutions that I want to add: A
> DNS-based solution will not work in networks such as peer-to-peer
> networks where most peers are identified by their IPs. DNS is not an
> option for endhosts that do not have DNS entries to begin with.

It can be; that's the basis of Bonjour (i.e., assume every host runs its
own DNS server).

> I don't think it is reasonable to expect _every_ "multi-transport"
> communication session to use DNS, since there are many
> "single-transport" sessions today that don't.

They use /etc/services or some other list or hard-coded version of port
numbers. That was also the case with hosts back in the mid-1980's; isn't
it time for something a little more automated?

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkt0WEACgkQE5f5cImnZrsCpgCfbMeB70I4rTmJ6z3hv8sL8YWF
XnEAn2k99HHM7NOnbH5Y3CwJv54ZqZ9N
=a+/k
-----END PGP SIGNATURE-----
_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Wed Nov 26 16:24:30 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D201D28C176;
	Wed, 26 Nov 2008 16:24:30 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9576328C176;
	Wed, 26 Nov 2008 16:24:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level: 
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.049, 
	BAYES_00=-2.599, NORMAL_HTTP_TO_IP=0.001]
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 DXZnpNMsZ3eP; Wed, 26 Nov 2008 16:24:29 -0800 (PST)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64])
	by core3.amsl.com (Postfix) with ESMTP id EE97F28C174;
	Wed, 26 Nov 2008 16:24:28 -0800 (PST)
Received: from [192.168.1.46] (pool-71-106-119-240.lsanca.dsl-w.verizon.net
	[71.106.119.240])
	by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id mAR0ODJZ001977
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Wed, 26 Nov 2008 16:24:15 -0800 (PST)
Message-ID: <492DE8AD.1090300@isi.edu>
Date: Wed, 26 Nov 2008 16:24:13 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: Lloyd Wood <L.Wood@surrey.ac.uk>
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>	<492C7F97.3030000@isi.edu>
	<EDCC4CF2-DC3C-409F-8F99-3BE51BAE4111@surrey.ac.uk>
In-Reply-To: <EDCC4CF2-DC3C-409F-8F99-3BE51BAE4111@surrey.ac.uk>
X-Enigmail-Version: 0.95.7
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: tae@ietf.org, tsv-area@ietf.org
Subject: Re: [tae] [tsv-area] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Lloyd Wood wrote:
...
> On choosing transport, couldn't http:// just map to
> http/<whatever-is-favoured>:// ?

we say:
	service://location/directory...

service is an application protocol
location is either a DNS name or an IP address, where the latter makes
the network protocol explicit (IPv4 or IPv6).

We could exploit the DNS SRV format here:

	service://_transport.location/directory...

> Explicitly asking for http/tcp:// or http/sctp:// would produce
> different behaviour. I don't see a need to involve DNS here -
> but I'd quite like to be able to specify http/tcp/ipv6:// or
> http/sctp/ipv4:// to force behaviour in the browser, while
> knowing that http:// just works.

http:// doesn't "just work" - it specifically indicates "HTTP over TCP"
IMO. And http://10.0.0.1/ specifies "HTTP over TCP over IPv4".

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkt6K0ACgkQE5f5cImnZrttagCeO5x9o2c6OivbkXzC8HeqALQr
otkAoOiKjbG5WBGwra/LCGF62zNfdA+6
=VruI
-----END PGP SIGNATURE-----
_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Wed Nov 26 16:26:35 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 242EA3A6A11;
	Wed, 26 Nov 2008 16:26:35 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 43A433A6967;
	Wed, 26 Nov 2008 16:04:56 -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.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id mWtorFqBe5fq; Wed, 26 Nov 2008 16:04:55 -0800 (PST)
Received: from mail133.messagelabs.com (mail133.messagelabs.com
	[195.245.230.179])
	by core3.amsl.com (Postfix) with SMTP id A532A3A67AF;
	Wed, 26 Nov 2008 16:04:54 -0800 (PST)
X-VirusChecked: Checked
X-Env-Sender: L.Wood@surrey.ac.uk
X-Msg-Ref: server-14.tower-133.messagelabs.com!1227744288!29629264!2
X-StarScan-Version: 5.5.12.14.2; banners=-,-,-
X-Originating-IP: [131.227.102.140]
Received: (qmail 14373 invoked from network); 27 Nov 2008 00:04:48 -0000
Received: from unknown (HELO ads40.surrey.ac.uk) (131.227.102.140)
	by server-14.tower-133.messagelabs.com with SMTP;
	27 Nov 2008 00:04:48 -0000
Received: from ads31.surrey.ac.uk ([131.227.120.131]) by ads40.surrey.ac.uk
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 27 Nov 2008 00:04:46 +0000
Received: from [192.168.1.209] ([86.3.93.24]) by ads31.surrey.ac.uk over TLS
	secured channel with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 27 Nov 2008 00:04:46 +0000
Message-Id: <EDCC4CF2-DC3C-409F-8F99-3BE51BAE4111@surrey.ac.uk>
From: Lloyd Wood <L.Wood@surrey.ac.uk>
To: Joe Touch <touch@ISI.EDU>
In-Reply-To: <492C7F97.3030000@isi.edu>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Thu, 27 Nov 2008 00:04:45 +0000
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
	<492C7F97.3030000@isi.edu>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 27 Nov 2008 00:04:46.0459 (UTC)
	FILETIME=[C1F02CB0:01C95023]
X-Mailman-Approved-At: Wed, 26 Nov 2008 16:26:33 -0800
Cc: tae@ietf.org, tsv-area@ietf.org, Lloyd Wood <L.Wood@surrey.ac.uk>
Subject: Re: [tae] [tsv-area] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

On 25 Nov 2008, at 22:43, Joe Touch wrote:
> Right. The trick is that there is no such thing as HTTP; it's HTTP  
> over
> TCP. What you want is "HTTP by any means"; whether the DNS supports  
> this
> is less the issue than the fact that IANA doesn't really define such a
> thing.

Worth mentioning a couple of drafts contemplating HTTP running over
something other than TCP:
Preethi Natarajan's HTTP over SCTP, with modifications to Apache,  
which got talked about in Minneapolis:
http://tools.ietf.org/html/draft-natarajan-http-over-sctp

Our proposal to use HTTP for peer-to-peer rather than client-server
transfers, and to layer it over whatever transport is suitable for
the local environment:

http://tools.ietf.org/html/draft-wood-dtnrg-http-dtn-delivery
(presented at IETF 71 in Philadelphia.)

I'd be interested in knowing of other, similar, work and seeing
what commonalities there are.

On choosing transport, couldn't http:// just map to http/<whatever-is- 
favoured>:// ?

Explicitly asking for http/tcp:// or http/sctp:// would produce
different behaviour. I don't see a need to involve DNS here -
but I'd quite like to be able to specify http/tcp/ipv6:// or
http/sctp/ipv4:// to force behaviour in the browser, while
knowing that http:// just works.

L.

introducing the world's surfers to layering is just a bonus.

DTN work: http://info.ee.surrey.ac.uk/Personal/L.Wood/saratoga/

<http://info.surrey.ac.uk/Personal/L.Wood/><L.Wood@surrey.ac.uk>





_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Wed Nov 26 17:09:29 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 206B63A6960;
	Wed, 26 Nov 2008 17:09:29 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B503A3A69D7;
	Wed, 26 Nov 2008 17:01:27 -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=[AWL=-0.001, BAYES_00=-2.599, NORMAL_HTTP_TO_IP=0.001,
	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 bkRHMHB7RD3p; Wed, 26 Nov 2008 17:01:26 -0800 (PST)
Received: from mail115.messagelabs.com (mail115.messagelabs.com
	[195.245.231.179])
	by core3.amsl.com (Postfix) with SMTP id 21C753A67AF;
	Wed, 26 Nov 2008 17:01:25 -0800 (PST)
X-VirusChecked: Checked
X-Env-Sender: L.Wood@surrey.ac.uk
X-Msg-Ref: server-12.tower-115.messagelabs.com!1227747681!55392864!1
X-StarScan-Version: 5.5.12.14.2; banners=-,-,-
X-Originating-IP: [131.227.102.140]
Received: (qmail 20891 invoked from network); 27 Nov 2008 01:01:21 -0000
Received: from ads40.surrey.ac.uk (HELO ads40.surrey.ac.uk) (131.227.102.140)
	by server-12.tower-115.messagelabs.com with SMTP;
	27 Nov 2008 01:01:21 -0000
Received: from ads31.surrey.ac.uk ([131.227.120.131]) by ads40.surrey.ac.uk
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 27 Nov 2008 01:01:21 +0000
Received: from [192.168.1.209] ([86.3.93.24]) by ads31.surrey.ac.uk over TLS
	secured channel with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 27 Nov 2008 01:01:20 +0000
Message-Id: <DF36ABE5-F5D9-4382-AD86-BE812F130EBA@surrey.ac.uk>
From: Lloyd Wood <L.Wood@surrey.ac.uk>
To: Joe Touch <touch@ISI.EDU>
In-Reply-To: <492DE8AD.1090300@isi.edu>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Thu, 27 Nov 2008 01:01:20 +0000
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>	<492C7F97.3030000@isi.edu>
	<EDCC4CF2-DC3C-409F-8F99-3BE51BAE4111@surrey.ac.uk>
	<492DE8AD.1090300@isi.edu>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 27 Nov 2008 01:01:21.0100 (UTC)
	FILETIME=[A94D48C0:01C9502B]
X-Mailman-Approved-At: Wed, 26 Nov 2008 17:09:28 -0800
Cc: tae@ietf.org, tsv-area@ietf.org, Lloyd Wood <L.Wood@surrey.ac.uk>
Subject: Re: [tae] [tsv-area] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

We'd be specifying the "service" more accurately with mechanism/ 
transport. (actually,
/ is reserved for uris according to RFC2396 and using it would open a  
can of syntactic worms, so let's use mechanism-transport as dash is  
fine. I see Preethi skipped delimiters with her "httpsctp"; https- vs  
http- follows the usual security naming, at least.)

If the transport is unspecified, it would go to the default of http- 
tcp-ipv4: - so http://10.0.0.1/ would work as expected by being  
equivalent to http-tcp-ipv4://10.0.0.1/ , while http-tcp- 
ipv6://10.0.0.1/ generates an error.

And yes, http-tcp would be the usual expected mapping for this  
superset of the "http:" defined in RFC2616, that currently floats  
between v4 and v6 depending on local setup. Configuring away from that  
would be as unusual as turning off v4 entirely.

On 27 Nov 2008, at 00:24, Joe Touch wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Lloyd Wood wrote:
> ...
>> On choosing transport, couldn't http:// just map to
>> http/<whatever-is-favoured>:// ?
>
> we say:
> 	service://location/directory...
>
> service is an application protocol
> location is either a DNS name or an IP address, where the latter makes
> the network protocol explicit (IPv4 or IPv6).
>
> We could exploit the DNS SRV format here:
>
> 	service://_transport.location/directory...
>
>> Explicitly asking for http/tcp:// or http/sctp:// would produce
>> different behaviour. I don't see a need to involve DNS here -
>> but I'd quite like to be able to specify http/tcp/ipv6:// or
>> http/sctp/ipv4:// to force behaviour in the browser, while
>> knowing that http:// just works.
>
> http:// doesn't "just work" - it specifically indicates "HTTP over  
> TCP"
> IMO. And http://10.0.0.1/ specifies "HTTP over TCP over IPv4".
>
> Joe
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkkt6K0ACgkQE5f5cImnZrttagCeO5x9o2c6OivbkXzC8HeqALQr
> otkAoOiKjbG5WBGwra/LCGF62zNfdA+6
> =VruI
> -----END PGP SIGNATURE-----

DTN work: http://info.ee.surrey.ac.uk/Personal/L.Wood/saratoga/

<http://info.surrey.ac.uk/Personal/L.Wood/><L.Wood@surrey.ac.uk>





_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


From tae-bounces@ietf.org  Thu Nov 27 02:31:29 2008
Return-Path: <tae-bounces@ietf.org>
X-Original-To: tae-archive@ietf.org
Delivered-To: ietfarch-tae-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D7CD33A67E5;
	Thu, 27 Nov 2008 02:31:29 -0800 (PST)
X-Original-To: tae@core3.amsl.com
Delivered-To: tae@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D0D0E3A6B93;
	Thu, 27 Nov 2008 02:22:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[AWL=-0.000, BAYES_00=-2.599]
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 GT-uyCpvj8vj; Thu, 27 Nov 2008 02:22:26 -0800 (PST)
Received: from sequoia.muada.com (unknown [IPv6:2001:1af8:2:5::2])
	by core3.amsl.com (Postfix) with ESMTP id 26BE73A67E5;
	Thu, 27 Nov 2008 02:22:25 -0800 (PST)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.57])
	(authenticated bits=0)
	by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id mARALSTH066752
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
	Thu, 27 Nov 2008 11:21:29 +0100 (CET)
	(envelope-from iljitsch@muada.com)
Message-Id: <E54D6644-82B4-4A1C-9A2E-B5913EADC185@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Lloyd Wood <L.Wood@surrey.ac.uk>
In-Reply-To: <EDCC4CF2-DC3C-409F-8F99-3BE51BAE4111@surrey.ac.uk>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Thu, 27 Nov 2008 11:22:15 +0100
References: <3BB334D8-B00C-48C1-ACBF-4D09576DEADF@mpi-sws.org>
	<492C7F97.3030000@isi.edu>
	<EDCC4CF2-DC3C-409F-8F99-3BE51BAE4111@surrey.ac.uk>
X-Mailer: Apple Mail (2.929.2)
X-Mailman-Approved-At: Thu, 27 Nov 2008 02:31:28 -0800
Cc: tae@ietf.org, tsv-area@ietf.org, Joe Touch <touch@ISI.EDU>
Subject: Re: [tae] [tsv-area] Transport negotiation
X-BeenThere: tae@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Architecture Evolution <tae.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tae>
List-Post: <mailto:tae@ietf.org>
List-Help: <mailto:tae-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tae>,
	<mailto:tae-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: tae-bounces@ietf.org
Errors-To: tae-bounces@ietf.org

On 27 nov 2008, at 1:04, Lloyd Wood wrote:

> On choosing transport, couldn't http:// just map to http/<whatever- 
> is-favoured>:// ?

No.

> Explicitly asking for http/tcp:// or http/sctp:// would produce
> different behaviour. I don't see a need to involve DNS here -
> but I'd quite like to be able to specify http/tcp/ipv6:// or
> http/sctp/ipv4:// to force behaviour in the browser, while
> knowing that http:// just works.

The problem is that the HTML page with these links doesn't know if  
it's going to be parsed on a system with IPv6 or IPv4 connectivity,  
and/or with or without SCTP capability that isn't firewalled. For the  
former, you can use the DNS and the presence of addresses / a default  
route, but for the latter you never really know until you try.

_______________________________________________
tae mailing list
tae@ietf.org
https://www.ietf.org/mailman/listinfo/tae


