From owner-svn-src-all@freebsd.org Thu Sep 14 18:50:42 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CA7AE044E8; Thu, 14 Sep 2017 18:50:42 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE53D6480F; Thu, 14 Sep 2017 18:50:41 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8EIoewB053908; Thu, 14 Sep 2017 18:50:40 GMT (envelope-from tuexen@FreeBSD.org) Received: (from tuexen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8EIoewN053907; Thu, 14 Sep 2017 18:50:40 GMT (envelope-from tuexen@FreeBSD.org) Message-Id: <201709141850.v8EIoewN053907@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tuexen set sender to tuexen@FreeBSD.org using -f From: Michael Tuexen Date: Thu, 14 Sep 2017 18:50:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323596 - head/usr.sbin/tcpdrop X-SVN-Group: head X-SVN-Commit-Author: tuexen X-SVN-Commit-Paths: head/usr.sbin/tcpdrop X-SVN-Commit-Revision: 323596 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2017 18:50:42 -0000 Author: tuexen Date: Thu Sep 14 18:50:40 2017 New Revision: 323596 URL: https://svnweb.freebsd.org/changeset/base/323596 Log: Add a description how tcpdrop handles the case of specifying the -s and the -S option. Sponsored by: Netflix, Inc. Modified: head/usr.sbin/tcpdrop/tcpdrop.8 Modified: head/usr.sbin/tcpdrop/tcpdrop.8 ============================================================================== --- head/usr.sbin/tcpdrop/tcpdrop.8 Thu Sep 14 18:07:30 2017 (r323595) +++ head/usr.sbin/tcpdrop/tcpdrop.8 Thu Sep 14 18:50:40 2017 (r323596) @@ -78,6 +78,26 @@ is one of .Dv FIN_WAIT_2 , or .Dv TIME_WAIT . .Pp +If +.Fl S Ar stack +and +.Fl s Ar state +are specified, +.Nm +will attempt to drop all TCP connections being in the state +.Ar state +and using the TCP stack +.Ar stack . +Since TCP connections in the +.Dv TIME_WAIT +state are not tied to any TCP stack, using the option +.Fl s Dv TIME_WAIT +in combination with the +.Fl S Ar stack +option results in +.Nm +not dropping any TCP connection. +.Pp The .Fl l flag may be given in addition to the