Date: Wed, 1 Dec 2004 12:12:12 +0000 (UTC) From: Nik Clayton <nik@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/netinet/tcpfullwindowrst Makefile tcpfullwindowrst.t tcpfullwindowrsttest.c Message-ID: <200412011212.iB1CCCEb079175@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412011212.iB1CCCEb079175>
