From owner-freebsd-net@FreeBSD.ORG Sat Sep 11 15:38:43 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F30106566B; Sat, 11 Sep 2010 15:38:43 +0000 (UTC) (envelope-from rrs@lakerest.net) Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by mx1.freebsd.org (Postfix) with ESMTP id 1678D8FC0C; Sat, 11 Sep 2010 15:38:42 +0000 (UTC) Received: from [10.1.1.53] ([10.1.1.53]) (authenticated bits=0) by lakerest.net (8.14.4/8.14.3) with ESMTP id o8BFcdeo058861 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 11 Sep 2010 11:38:39 -0400 (EDT) (envelope-from rrs@lakerest.net) Message-Id: From: Randall Stewart To: Karim Fodil-Lemelin In-Reply-To: <4C8AA863.4060908@xiplink.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 11 Sep 2010 08:38:39 -0700 References: <4C7A7B25.9040300@freebsd.org> <4C7D0089.1020104@freebsd.org> <4C8AA863.4060908@xiplink.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-net@freebsd.org, Andre Oppermann , Robert Watson Subject: Re: Removal of deprecated implied connect for TCP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2010 15:38:44 -0000 All: One thing to note.. when you can do an implied connection setup, the 3-way hand shake has the potential to carry data (don't know if tcp does in FreeBSD) on the third leg of the 3-way handshake. This is one of the reasons SCTP uses this.. since we often will carry data an the third and even possibly the 4th leg of the handshake (we have one extra leg). Taking this feature out of TCP will make it so we will be like all other o/s's and the socket semantic will prevent you from doing data on the third leg.. ----SYN----> <----SYN-ACK--- ----ACK---> instead of ----SYN--> <---SYN-ACk-- ---ACK+DATA--> In the past I have mentioned in classes I teach that TCP is capable of this but the O/S's of the world do not allow this later behavior.. Just thoughts and ramblings ;-) R On Sep 10, 2010, at 2:51 PM, Karim Fodil-Lemelin wrote: > On 31/08/2010 5:32 PM, Robert Watson wrote: >> >> On Tue, 31 Aug 2010, Andre Oppermann wrote: >> >>>> I'm not entirely comfortable with this change, and would like a >>>> chance to cogitate on it a bit more. While I'm not aware of any >>>> applications depending on the semantic for TCP, I know that we do >>>> use it for UNIX domain sockets. >>> >>> I don't have any plans to remove the implied connect support from >>> the socket layer or other protocols, only from TCP. >> >> Right -- the implicit question is: why should TCP be the only >> stream protocol in our stack *not* to support implied connection, >> when we plan to continue to support it for all other protocols? >> >>> For deprecating this part of the TCP API there is no documentation >>> to the implied connect in tcp(4). In sendto(2) it doesn't >>> differentiate between protocols and simply says: "... sendto() and >>> sendmsg() may be used at any time." For MSG_EOF it says that is >>> only supported for SOCK_STREAM sockets in the PF_INET protocol >>> family. These sentences have to be corrected. >> >> In general, deprecating is taken to mean providing significant and >> explicit advance warning of removal -- for example, updating the >> 8.x man page to point out that the feature is deprecated and it >> will not appear in future releases of FreeBSD. >> >> Robert >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net- >> unsubscribe@freebsd.org" > Hi, > > For what its worth, we at Xiphos (now XipLink), are still using > sendto and T/TCP and is one of the reasons we've chosen FreeBSD more > then 10 years ago! > > Best regards, > > Karim. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > ------------------------------ Randall Stewart 803-317-4952 (cell)