cvs commit: src/tools/regression/netinet/tcpfullwindowrst Makefile tcpfullwindowrst.t tcpfullwindowrsttest.c

Nik Clayton nik at FreeBSD.org
Wed Dec 1 04:12:13 PST 2004


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)


More information about the cvs-src mailing list