From owner-freebsd-net@FreeBSD.ORG Thu Sep 24 10:50:38 2009 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 8756F106568D for ; Thu, 24 Sep 2009 10:50:38 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 160388FC15 for ; Thu, 24 Sep 2009 10:50:37 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so1580581fga.13 for ; Thu, 24 Sep 2009 03:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=cG19jJTdFggGD9TWN1+iex/5Y8vbUpxenzjPcAQHqsQ=; b=h4hxjT46K234RPfdvxS7/cwsl2pN0H21fsYj36R/oJjqOII2O1ZoYNICLZ2RhQE4JS 5vuW5/ia5iSTY7iVl/hProxME5vdEvHldlXjcEkrgydN+W8duX1Ybc2Xhaq8Fr4hNuyQ 6G48n6aRglvi0aa3BFOGP1ojgdPxE3sUneTHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=sVClbGyfG/lXvOGdeLKzTjMPPwEnoRuakfh16IeLLiJiodJMGoMtEx1zOGI+XajmpM 311eraJr49q7NhNqVK9BsqGXuBcjeIdWWWraQ0KnlzLRS6T0aZk0awQPXGNbdF4jrlQ7 gfTCUTpDjmgjvujhfKXNljM4JBrmNZWwD+TXk= Received: by 10.86.164.6 with SMTP id m6mr2888278fge.42.1253789436904; Thu, 24 Sep 2009 03:50:36 -0700 (PDT) Received: from mac-mini.lan (bl11-193-153.dsl.telepac.pt [85.244.193.153]) by mx.google.com with ESMTPS id 12sm1310069fgg.0.2009.09.24.03.50.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Sep 2009 03:50:35 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed From: Rui Paulo In-Reply-To: Date: Thu, 24 Sep 2009 11:50:33 +0100 Content-Transfer-Encoding: 7bit Message-Id: <769AA1C9-5D58-453E-AC6B-A6B016C718EF@freebsd.org> References: To: Fang Wang X-Mailer: Apple Mail (2.1076) Cc: freebsd-net@freebsd.org Subject: Re: TCP UTO (RFC 5482) patch calls for review 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: Thu, 24 Sep 2009 10:50:38 -0000 On 1 Sep 2009, at 18:34, Fang Wang wrote: > Hi, > > The attached patch implements TCP User Timeout Option(RFC 5482 [0]) in > freebsd tcp stack. And this patch comes from my GSoC 2009 project -- > Implement TCP UTO(mentor, Rui Paulo). I will be very grateful to any > tips, suggestions and questions. > > Brief introduction about TCP UTO: > The TCP user timeout controls how long transmitted data may remain > unacknowledged before a connection is forcefully closed. It is a > local, per-connection parameter. TCP User Timeout Option allows one > end of a TCP connection to advertise it's current user timeout value. > This information provides advice to the other end of the TCP > connection to adapt it's user timeout accordingly. Increasing the user > timeouts on both ends of a TCP connection allows it to survive > extended periods without end-to-end connectivity. Decreasing the user > timeouts allows busy servers to explicitly notify their clients that > they will maintain the connection state only for a short time without > connectivity. I'm planning to commit this patch this week/weekend. Regards, -- Rui Paulo