summaryrefslogtreecommitdiffstats
path: root/usr.bin/sockstat/sockstat.pl
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite sockstat(1) in C.des2002-07-311-246/+0
| | | | Sponsored by: DARPA, NAI Labs
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Allow the user to specify port ranges against which to match inet sockets.des2001-08-071-2/+67
| | | | Suggested by: roam
* Fix 64 bit issues so that sockstat && fstat work correctly on alpha.mjacob2001-07-251-1/+1
| | | | | | PR: 29231 Submitted by: pherman@frenchfries.net MFC after: 2 weeks
* Use the newly introduced -W flag to netstat(1) to avoid truncated addresses.des2001-03-151-1/+1
|
* Add (and document) options for showing only listening or connected sockets.des2001-03-061-7/+18
|
* Skip sockets with no SCBdes2000-10-131-0/+2
|
* Total rewrite. This was actually the first non-trivial Perl script I everdes2000-10-071-26/+129
| | | | | | | | | | | | wrote, and as such was not very pretty. Changes that may cause problems for people who use sockstat in scripts: - sockstat(8) now displays Unix domain sockets in addition to IPv4 and IPv6 - the last period in local and foreign addresses is changed to a colon to make the port number easier to spot - IPv4 and IPv6 sockets are listed separately (IPv4 first, then IPv6, then Unix)
* Restore support for displaying raw IPv4 sockets andru2000-08-301-2/+2
| | | | | | correct the author's name. Were broken in rev 1.6. Approved by: des
* Invoke netstat(1) and fstat(1) with full path.des2000-08-301-2/+2
|
* Prevent sockstat print out some empty entries related to IPv6.shin2000-03-111-2/+2
| | | | | | | | | | Sockstat use netstat tcp/udp socket print, and fstat tcp/udp socket print, but it just specify all of IPPROTO_IP and IPPROTO_IPV6 sockets for fstat. Now IPv6 socket also use raw socket, but only netstat don't print it, so now they are printed as empty entries in sockstat output. Approved by: jkh
* Update sockstat to support INET6 socket printing.shin2000-02-261-5/+8
| | | | | | | Approved by: jkh Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: des
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use -finet option to netstat(1), and don't discard anything.des1999-07-061-6/+5
| | | | | | | Don't truncate the protocol field. These two changes conspire to make sockstat(1) show divert sockets. Submitted by: ru
* Don't use STDOUT_TOP.des1999-05-011-3/+3
| | | | Submitted by: Christopher Masto <chris@netmonger.net>
* Rename lsock(1) to sockstat(1).des1999-04-151-0/+63
Suggested by: Sheldon Hearn <sheldonh@iafrica.com> Approved by: Peter Wemm <peter@netplex.com.au>
OpenPOWER on IntegriCloud