History log of /freebsd/usr.bin/sockstat/sockstat.1 (Results 1 – 25 of 106)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9f55128f 11-Feb-2025 Gleb Smirnoff <glebius@FreeBSD.org>

sockstat: with -A print pcb addresses, just like netstat(1)


Revision tags: release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0
# a471d2b4 04-Nov-2024 Mark Johnston <markj@FreeBSD.org>

sockstat: Add a -f option to show FIB numbers of sockets

Reviewed by: zlei
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D4

sockstat: Add a -f option to show FIB numbers of sockets

Reviewed by: zlei
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D47316

show more ...


Revision tags: release/13.4.0
# 051a2132 10-Sep-2024 Mark Johnston <markj@FreeBSD.org>

sockstat: Show the address of the spliced socket when -I is specified

MFC after: 3 months
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D46413


Revision tags: release/14.1.0, release/13.3.0, release/14.0.0
# e738085b 17-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove my middle name.


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0
# 2c436d48 07-Jul-2022 Gleb Smirnoff <glebius@FreeBSD.org>

sockstat(1): print out full connection graph for unix(4) sockets

Kernel provides us with enough information to display all possible
connections between UNIX sockets.

o Store unp_conn, xu_firstref a

sockstat(1): print out full connection graph for unix(4) sockets

Kernel provides us with enough information to display all possible
connections between UNIX sockets.

o Store unp_conn, xu_firstref and xu_nextref in the faddr of a UNIX sock.
o Build tree of file descriptors, indexed by the socket pointer.
o In displaysock() print out all possible information:
1) if socket is bound, print name of this socket
2) if socket has connected to a peer with a name, print peers name
3) if socket has connected to a peer without a name, print [pid fd]
4) if a bound socket has received connections, print list of them
as [pid fd]
Previously, only 1) either 2) were printed.

Reviewed by: tuexen
Differential revision: https://reviews.freebsd.org/D35726

show more ...


Revision tags: release/13.1.0
# 5f64777a 01-Feb-2022 Michael Tuexen <tuexen@FreeBSD.org>

sockstat: add -i to display inp_gencnt

The inp_gencnt will be used to identify a TCP endpoint by an upcoming
command line tool to set TCP socket options.

Reviewed by: rscheff
MFC after: 1 week
S

sockstat: add -i to display inp_gencnt

The inp_gencnt will be used to identify a TCP endpoint by an upcoming
command line tool to set TCP socket options.

Reviewed by: rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D34137

show more ...


Revision tags: release/12.3.0
# 5504d839 10-Nov-2021 Felix Johnson <felix.the.red@gmail.com>

sockstat(1): Update Synopsis section

Update sockstat(1) manpage so the Synopsis section includes q (silent
mode) and the -j argument name is consistent.

PR: 256795
MFC after: 3 days
Reported by: N

sockstat(1): Update Synopsis section

Update sockstat(1) manpage so the Synopsis section includes q (silent
mode) and the -j argument name is consistent.

PR: 256795
MFC after: 3 days
Reported by: Nick Reilly <nreilly@blackberry.com>

show more ...


# 9e644c23 18-Apr-2021 Michael Tuexen <tuexen@FreeBSD.org>

tcp: add support for TCP over UDP

Adding support for TCP over UDP allows communication with
TCP stacks which can be implemented in userspace without
requiring special priviledges or specific support

tcp: add support for TCP over UDP

Adding support for TCP over UDP allows communication with
TCP stacks which can be implemented in userspace without
requiring special priviledges or specific support by the OS.
This is joint work with rrs.

Reviewed by: rrs
Sponsored by: Netflix, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29469

show more ...


Revision tags: release/13.0.0
# ccdd2b2b 30-Dec-2020 Alexander Motin <mav@FreeBSD.org>

Add "-n" flag to sockstat.

sockstat can "hang" on getpwuid() calls in situations when FreeBSD
is joined to a directory service (AD/LDAP etc) and the directory
service fail to answer in a timely mann

Add "-n" flag to sockstat.

sockstat can "hang" on getpwuid() calls in situations when FreeBSD
is joined to a directory service (AD/LDAP etc) and the directory
service fail to answer in a timely manner when trying to resolve
numeric UIDs to user names.

Submitted by: Caleb St. John <caleb@ixsystems.com>
MFC after: 1 week

show more ...


Revision tags: release/12.2.0
# 2ac089d0 13-Sep-2020 Michael Tuexen <tuexen@FreeBSD.org>

Add a -C option to sockstat to display the congestion control for TCP
connections.

Reviewed by: rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebs

Add a -C option to sockstat to display the congestion control for TCP
connections.

Reviewed by: rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D26413

show more ...


# f893fe7a 13-Jun-2020 Fernando Apesteguía <fernape@FreeBSD.org>

sockstat(1): Add EXAMPLES to man page

Add three examples showing the use of -4, -6, -l, -L, -p and -P

Reviewed by: gbe@
Approved by: bcr@


Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0
# de68a320 04-Jul-2018 Jamie Gritton <jamie@FreeBSD.org>

Allow jail names (not just IDs) to be specified for: cpuset(1), ipfw(8),
sockstat(1), ugidfw(8)
These are the last of the jail-aware userland utilities that didn't work
with names.

PR: 229266
MFC

Allow jail names (not just IDs) to be specified for: cpuset(1), ipfw(8),
sockstat(1), ugidfw(8)
These are the last of the jail-aware userland utilities that didn't work
with names.

PR: 229266
MFC after: 3 days
Differential Revision: D16047

show more ...


Revision tags: release/11.2.0
# ee0afaa9 23-Jan-2018 Emmanuel Vadot <manu@FreeBSD.org>

sockstat: Add -q option to suppress the header line

MFC after: 1 week
Sponsored by: Gandi.net


Revision tags: release/10.4.0
# 8fcbcc2d 16-Sep-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r323635


# b754c279 13-Sep-2017 Navdeep Parhar <np@FreeBSD.org>

MFH @ r323558.


# 83f60cb2 13-Sep-2017 Michael Tuexen <tuexen@FreeBSD.org>

Add a command line option for using a wider field for displaying
addresses. This allows the table to be consistent when IPv6
addresses have to be printed.
While there, document the -v option in the m

Add a command line option for using a wider field for displaying
addresses. This allows the table to be consistent when IPv6
addresses have to be printed.
While there, document the -v option in the man page.

Sponsored by: Netflix, Inc.

show more ...


# e389705e 12-Sep-2017 Michael Tuexen <tuexen@FreeBSD.org>

Add support for printing the path state for SCTP association.


# 49b836f2 12-Sep-2017 Michael Tuexen <tuexen@FreeBSD.org>

Add printing of the remote encapsulation port for SCTP associations.

Sponsored by: Netflix, Inc.


# e5cccc35 12-Sep-2017 Michael Tuexen <tuexen@FreeBSD.org>

Add support to print the TCP stack being used.

Sponsored by: Netflix, Inc.


Revision tags: release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0
# 11d38a57 28-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head

Sponsored by: Gandi.net


# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# b5ff185e 12-Sep-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 00176600 09-Sep-2015 Navdeep Parhar <np@FreeBSD.org>

Merge r286744-r287584 from head.


# d9442b10 05-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286858 through r287489.


12345