Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107133135
D43351.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D43351.diff
View Options
diff --git a/usr.sbin/tcpsso/tcpsso.8 b/usr.sbin/tcpsso/tcpsso.8
--- a/usr.sbin/tcpsso/tcpsso.8
+++ b/usr.sbin/tcpsso/tcpsso.8
@@ -74,12 +74,10 @@
on a TCP endpoint from the command line.
.Pp
TCP endpoints in the
-.Dv TIME_WAIT
-state can not be handled by
-.Nm .
-TCP endpoints in the
.Dv SYN_RCVD
-state can only be handled if their prior state was
+state can only be handled by
+.Nm
+if their prior state was
.Dv SYN_SENT .
.Pp
.Op Ar level
@@ -176,7 +174,9 @@
.Dv FIN_WAIT_1 ,
.Dv CLOSING ,
.Dv LAST_ACK ,
-.Dv FIN_WAIT_2 .
+.Dv FIN_WAIT_2,
+or
+.Dv TIME_WAIT .
Using
.Dv SYN_RCVD
only applies to TCP endpoints in the state
diff --git a/usr.sbin/tcpsso/tcpsso.c b/usr.sbin/tcpsso/tcpsso.c
--- a/usr.sbin/tcpsso/tcpsso.c
+++ b/usr.sbin/tcpsso/tcpsso.c
@@ -115,10 +115,6 @@
continue;
- /* Skip endpoints in TIME WAIT. */
- if (xtp->t_state == TCPS_TIME_WAIT)
- continue;
-
/* If requested, skip sockets not having the requested state. */
if ((state != -1) && (xtp->t_state != state))
continue;
@@ -453,7 +449,6 @@
argc -= optind;
argv += optind;
if ((state == TCP_NSTATES) ||
- (state == TCPS_TIME_WAIT) ||
(argc < 2) || (argc > 3) ||
(apply_all && apply_subset) ||
(apply_all && apply_specific) ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 3:30 PM (19 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15755091
Default Alt Text
D43351.diff (1 KB)
Attached To
Mode
D43351: tcpsso: support TIME_WAIT state
Attached
Detach File
Event Timeline
Log In to Comment