RE: SCTP-over-UDP and port 9899
"Dan Wing" <dwing@cisco.com> Wed, 07 December 2011 23:40 UTC
Return-Path: <dwing@cisco.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9752011E808B for <tsvwg@ietfa.amsl.com>; Wed, 7 Dec 2011 15:40:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.372
X-Spam-Level:
X-Spam-Status: No, score=-105.372 tagged_above=-999 required=5 tests=[AWL=-1.073, BAYES_00=-2.599, MANGLED_CABLE=2.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r4+paYcDS6NM for <tsvwg@ietfa.amsl.com>; Wed, 7 Dec 2011 15:40:09 -0800 (PST)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id C619D21F86DD for <tsvwg@ietf.org>; Wed, 7 Dec 2011 15:40:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=3921; q=dns/txt; s=iport; t=1323301209; x=1324510809; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=lBTm4UmgxaQbpVHtj39GgZHcb3eqwTrKD3frHDj4EB0=; b=Aw3jw2Bk6ffF5RPtdVCJ9Hm0pIeHcA/ugz3XT6D/AkCvrelnabX4H5Vl 6I1lH4IAoDIm4DDruNvVdHBFW3N8N1ZPI+PwlZSZe2Q6cOT6wMvWTbPUV MDxEcnC+EdiicwqOnrymWzHBVrhlfJlEicHjqopRWV3qr9cxJqDnqiILF s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApYAAKz4306rRDoJ/2dsb2JhbABDmiOBao5JgQWBcgEBAQMBCAoBFxA/BQcBAwIJDwIEAQEBJwcZIwoJCAEBBBMLF4dlmEgBnieLNASILoRGKAGaEg
X-IronPort-AV: E=Sophos;i="4.71,316,1320624000"; d="scan'208";a="18338812"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-3.cisco.com with ESMTP; 07 Dec 2011 23:40:09 +0000
Received: from dwingWS ([10.32.240.195]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id pB7Ne99m018678; Wed, 7 Dec 2011 23:40:09 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Michael Tuexen' <tuexen@fh-muenster.de>
References: <CB010BF8.83D6%hannes.tschofenig@nsn.com> <DED3E0A2-2775-4876-AB9E-771413061BE1@fh-muenster.de> <F2460FAF-EA78-4AC7-8025-B57E4A80F7C9@lakerest.net> <Pine.LNX.4.64.1112061151450.4491@adax.adax> <013701ccb46c$462ccab0$d2866010$@com> <5D2A9C70-21B5-448B-8EA5-185D94922EF9@lakerest.net> <048901ccb51a$1f79b9b0$5e6d2d10$@com> <431E9126-67CB-47FF-8F7D-A3A312D9C018@fh-muenster.de> <04ce01ccb51f$b200c3f0$16024bd0$@com> <1D4F18A7-AABF-4E39-951E-BC80DBBB45F5@fh-muenster.de> <04dc01ccb524$9c069930$d413cb90$@com> <5F609D19-D0C0-4AC8-8EEA-FCEC095415D9@fh-muenster.de>
In-Reply-To: <5F609D19-D0C0-4AC8-8EEA-FCEC095415D9@fh-muenster.de>
Subject: RE: SCTP-over-UDP and port 9899
Date: Wed, 07 Dec 2011 15:40:08 -0800
Message-ID: <05be01ccb539$8e672730$ab357590$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acy1JrGatL7Eg2bwSD2REiuCTOeUqgAEHVqA
Content-Language: en-us
Cc: tsvwg@ietf.org, 'Randy Stewart' <randall@lakerest.net>
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Dec 2011 23:40:10 -0000
> -----Original Message----- > From: Michael Tuexen [mailto:tuexen@fh-muenster.de] > Sent: Wednesday, December 07, 2011 1:25 PM > To: Dan Wing > Cc: 'Randy Stewart'; 'Chris Benson'; tsvwg@ietf.org > Subject: Re: SCTP-over-UDP and port 9899 > > > On Dec 7, 2011, at 10:10 PM, Dan Wing wrote: > > >> -----Original Message----- > >> From: Michael Tuexen [mailto:tuexen@fh-muenster.de] > >> Sent: Wednesday, December 07, 2011 12:48 PM > >> To: Dan Wing > >> Cc: 'Randy Stewart'; 'Chris Benson'; tsvwg@ietf.org > >> Subject: Re: SCTP-over-UDP and port 9899 > >> > >> On Dec 7, 2011, at 9:35 PM, Dan Wing wrote: > >> > >>>> Fine great, I'm happy with the text. > >>> > >>> Great. > >> Is it acceptable for you that the SCTP stack uses only > >> a single UDP port or do you want a single port per > >> protocol family or even more ports? > > > > I assume you're asking because you're thinking of SCTP > > running on those several interfaces. With that in mind, > Well, I'm thinking about SCTP/UDP/IPv4 and SCTP/UDP/IPv6. > Do you have any other stack in mind? I think the ID only > talks about these two above stacks. > > whatever port a SCTP-over-UDP is listening on is likely > > to be rewritten by NAT (or other address sharing, e.g., > > dIVI, 4rd, etc.). So, the SCTP-over-UDP clients cannot > I don't care about any rewriting by NATs. This is already > covered by the ID. I'm thinking about how many UDP sockets > you expect an SCTP stack to use for en/decapsulation. > One socket dealing with IPv4 and IPv6? Then one port is enough. Yep, agreed. > One for IPv4 and another one for IPv6? Then you have > 2 bind calls which might make is hard to bind the same > port number. > Currently on Mac OS X I bind both sockets (kernel sockets) > to the same port. Ok. > If one binding fails I close the other one > and report an error. That seems problematic. What do you expect the caller to do when it receives that error? Give up and go home, or call you again? > > require that a single SCTP-over-UDP server have the > > same UDP port from the perspective of the SCTP-over-UDP > > client. Instead, the server's UDP port needs to be > > communicated to the SCTP-over-UDP client within SCTP > > itself using either (a) SCTP's existing AddAddress mechanism > > -- which would need to be extended to accomodate/know/learn > > of the UDP rewriting that occurred on that pathor some, or > > (b) other means such as DNS SRV records. > Hmmm. I have the feeling that I'm missing something? What you have in the I-D (with the text change Randall suggested) will work fine when the SCTP-over-UDP server has a publicly- routed IP address and lovely things like that. If, in the future, we have SCTP-over-UDP servers that are behind their own NAT, things get more complicated. I am thinking of this complication, and thinking of ways to solve it. It's something we don't necessarily need to write down yet, and certainly don't need to fix yet. But, we may. It depends on if IPv4 really go away. > How can you > put the UDP port number into the SCTP payload? That's a separate(able) problem. Answers can include UPnP IGD, PCP, STUN, and other spiffy protocols for NAT traversal. > The port numbers > might get rewritten by a NAT box and this wouldn't rewrite the > SCTP payload. That is why the SCTP just uses as the destination > port of outgoing packets what the source port of incoming packets was. Yeah, somewhere around 99% of transport protocols do that, too. -d > Best regards > Michael > > > > -d > > > > > >> Best regards > >> Michael > >>> > >>>> But it is clear to you that > >>>> > >>>> the source port of outgoing packets is the same as the destination > >>>> port of incoming packets. > >>>> > >>>> Or do you think that this is not true? > >>> > >>> -d > >>> > >>> > >>> > > > >
- SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Joe Touch
- Re: SCTP-over-UDP and port 9899 Joe Touch
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Hannes Tschofenig
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- Re: SCTP-over-UDP and port 9899 Randy Stewart
- Re: SCTP-over-UDP and port 9899 Randy Stewart
- Re: SCTP-over-UDP and port 9899 Chris Benson
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- Re: SCTP-over-UDP and port 9899 Randy Stewart
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Michael Tuexen
- RE: SCTP-over-UDP and port 9899 Dan Wing
- Re: SCTP-over-UDP and port 9899 Brian F. G. Bidulock
- Re: SCTP-over-UDP and port 9899 Michael Tuexen