| Main index | Section 8 | Options |
TCP endpoints in the SYN_RCVD state can only be handled by tcpsso if their prior state was SYN_SENT.
[level] can be specified as a non-negative number or a symbolic name like SOL_SOCKET, IPPROTO_IP, IPPROTO_IPV6, or IPPROTO_TCP. If not specified, tcpsso deduces the level from optname, if provided as a symbolic name. If that is not the case, IPPROTO_TCP is used.
optname can be specified as a non-negative number or a symbolic name like SO_DEBUG, IP_TOS, IPV6_TCLASS, TCP_LOG, TCP_CONGESTION, or TCP_FUNCTION_BLK.
optval can be an integer value, which will be converted to a binary value and passed as an int value. If it cannot be parsed as an integer value, it will be processed as a string. If the optname is TCP_FUNCTION_BLK then optval is converted to a struct tcp_function_set.
If
If
If
If
If
If multiple of
If none of the
# sockstat -4 -c -i -p 22 -P tcp -q root sshd 827 4 tcp4 \ 192.168.1.1:22 192.168.1.2:53736 435
Then, use the following command to enable Black Box Logging on it:
# tcpsso -i 435 TCP_LOG 4
To switch all TCP endpoints from using the freebsd stack to the RACK stack use:
# tcpsso -S freebsd TCP_FUNCTION_BLK rack
Switch all TCP endpoints in the LISTEN state to the RACK stack by using:
# tcpsso -s LISTEN TCP_FUNCTION_BLK rack
The following command will set the congestion control module of all TCP endpoints currently using cubic as its congestion control algorithm to the congestion control algorithm newreno:
# tcpsso -C cubic TCP_CONGESTION newreno
| TCPSSO (8) | August 3, 2024 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | If at first you don't succeed, you must be a programmer. | ” |