From 314e8196ea0014cee4d3d40b9f60d9e90e6fcded Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Thu, 14 Sep 2017 18:50:40 +0000 Subject: [PATCH] Add a description how tcpdrop handles the case of specifying the -s and the -S option. Sponsored by: Netflix, Inc. --- usr.sbin/tcpdrop/tcpdrop.8 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/usr.sbin/tcpdrop/tcpdrop.8 b/usr.sbin/tcpdrop/tcpdrop.8 index 3f3fa0c9cc8..158863c7161 100644 --- a/usr.sbin/tcpdrop/tcpdrop.8 +++ b/usr.sbin/tcpdrop/tcpdrop.8 @@ -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