From owner-cvs-src@FreeBSD.ORG Wed Dec 1 12:12:13 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25B8C16A4CE; Wed, 1 Dec 2004 12:12:13 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1330543D6E; Wed, 1 Dec 2004 12:12:12 +0000 (GMT) (envelope-from nik@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB1CCCP0079176; Wed, 1 Dec 2004 12:12:12 GMT (envelope-from nik@repoman.freebsd.org) Received: (from nik@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB1CCCEb079175; Wed, 1 Dec 2004 12:12:12 GMT (envelope-from nik) Message-Id: <200412011212.iB1CCCEb079175@repoman.freebsd.org> From: Nik Clayton Date: Wed, 1 Dec 2004 12:12:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/regression/netinet/tcpfullwindowrst Makefile tcpfullwindowrst.t tcpfullwindowrsttest.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 12:12:13 -0000 nik 2004-12-01 12:12:12 UTC FreeBSD src repository Added files: tools/regression/netinet/tcpfullwindowrst Makefile tcpfullwindowrst.t tcpfullwindowrsttest.c Log: The following code sets up two connected TCP sockets that send data to each other until the window is closed. Then one of the sockets is closed, which will generate a RST once the TCP at the other socket does a window probe. All versions of FreeBSD prior to 11/26/2004 will ignore this RST into a 0 window, causing the connection (and application) to hang indefinitely. On patched versions of FreeBSD (and other operating systems), the RST will be accepted and the program will exit in a few seconds. Submitted by: Michiel Boland Reviewed by: silby Revision Changes Path 1.1 +6 -0 src/tools/regression/netinet/tcpfullwindowrst/Makefile (new) 1.1 +7 -0 src/tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrst.t (new) 1.1 +131 -0 src/tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c (new)