This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-dev
Watch
1
Star
0
Fork
0
You've already forked freebsd-dev
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
19a0727b9f
freebsd-dev
/
tools
/
regression
/
netinet
/
tcpfullwindowrst
/
Makefile
7 lines
72 B
Makefile
Raw
Normal View
History
Unescape
Escape
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
2004-12-01 12:12:12 +00:00
# $FreeBSD$
PROG
=
tcpfullwindowrsttest
Style: NO_MAN doesn't need any value.
2006-03-15 10:46:38 +00:00
NO_MAN
=
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
2004-12-01 12:12:12 +00:00
.
i
n
c
l
u
d
e
<
b
s
d
.
p
r
o
g
.
m
k
>
Reference in New Issue
Copy Permalink