summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2004-12-01 12:12:12 +0000
committernik <nik@FreeBSD.org>2004-12-01 12:12:12 +0000
commita138ae34c46784871361a1c27053bdfa38f8c9f1 (patch)
tree1cbd33b9cdf1024ab7ea118204540d8b74022a7f /sys/contrib
parent0ee3c9a14806187ae7b21c6472acef229f787eec (diff)
downloadFreeBSD-src-a138ae34c46784871361a1c27053bdfa38f8c9f1.zip
FreeBSD-src-a138ae34c46784871361a1c27053bdfa38f8c9f1.tar.gz
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
Diffstat (limited to 'sys/contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud