Re: SCTP-over-UDP and port 9899
Michael Tuexen <tuexen@fh-muenster.de> Mon, 31 October 2011 21:27 UTC
Return-Path: <tuexen@fh-muenster.de>
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 3CA221F0C7E for <tsvwg@ietfa.amsl.com>; Mon, 31 Oct 2011 14:27:03 -0700 (PDT)
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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ln9ufOITRHuX for <tsvwg@ietfa.amsl.com>; Mon, 31 Oct 2011 14:27:02 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id 7A8891F0C7A for <tsvwg@ietf.org>; Mon, 31 Oct 2011 14:27:02 -0700 (PDT)
Received: from [192.168.1.200] (p508FC512.dip.t-dialin.net [80.143.197.18]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 5ECE11C0C0BD9; Mon, 31 Oct 2011 22:27:01 +0100 (CET)
Subject: Re: SCTP-over-UDP and port 9899
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset="us-ascii"
From: Michael Tuexen <tuexen@fh-muenster.de>
In-Reply-To: <193601cc9809$2ffa6b50$8fef41f0$@com>
Date: Mon, 31 Oct 2011 22:27:00 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <C2980D8C-6CBF-4077-985C-70F4BE09D7C0@fh-muenster.de>
References: <193601cc9809$2ffa6b50$8fef41f0$@com>
To: Dan Wing <dwing@cisco.com>
X-Mailer: Apple Mail (2.1251.1)
Cc: tsvwg@ietf.org, 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: Mon, 31 Oct 2011 21:27:03 -0000
On Oct 31, 2011, at 9:10 PM, Dan Wing wrote: > http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-udp-encaps-01 and its > predecessor both say: > > "When inserting the UDP header, the source port is 9899, the > destination port is the one stored for the destination address the > packet is sent to or 9899 if no destination address is stored." > > Why is it important to use a specific source port? Does that not > cause difficulties if there are two (or more) instances of SCTP- > over-UDP applications running on the same host? Does that not > cause difficulties, in implementation assumptions, if there are > two hosts behind the same NAPT and only one can get UDP/9899 > forwarded to them? Hi Dan, for sending out the initial packet of an association, the source port is not important. The peer will send back the response to any port. But the destination port of the initial packet is important. It must be the same port the peer is accepting UDP packets. It can be any port, but then it needs to be negotiated somehow. Since there is one registered port for SCTP/UDP, I used that. But you can use a different one, if negotiated. If you want to run two hosts as servers behind a NAT, you need different UDP ports. If they are clients, you don't. > > In short, what is the benefit of using 9899 as the source port? It is more a default, if nothing else is known. In the socketAPI section the remote port is configurable. The local port (at least in the FreeBSD/MacOS X implementation) is a parameter controller by a sysctl variable. So (currently) a single host uses a single port number for all associations. Does this makes things clearer? Best regards Michael > > -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