Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't free(sock) before it's even allocated. | des | 2005-06-10 | 1 | -1/+0 |
| | | | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> MFC after: 1 week | ||||
* | Let bsd.prog.mk set SRCS and MAN to their default values. | ru | 2005-01-28 | 1 | -1/+0 |
| | |||||
* | Scheduled mdoc(7) sweep. | ru | 2005-01-11 | 1 | -2/+1 |
| | |||||
* | Unbreak sockstat(1) on systems without the divert protocol. | ru | 2004-12-06 | 1 | -0/+2 |
| | |||||
* | Show divert(4) sockets as well. | ru | 2004-12-05 | 1 | -0/+6 |
| | |||||
* | Do not display bogus entries for sockets in the TIME_WAIT or similar | roam | 2004-08-25 | 2 | -1/+18 |
| | | | | | | | | | | states that no longer have a corresponding file descriptor - until now, sockstat would mostly randomly match null kern.file.*.xf_data fields with the first mostly-closed socket. This bugfix is a RELENG_5 candidate. Approved by: andre | ||||
* | make sockstat not print wierd addresses on not connected unix domain sockets | jmg | 2003-07-19 | 1 | -1/+5 |
| | | | | | Pointed out by: rwatson Reviewed by: peter | ||||
* | Finish the implementation of the -p switch so that it | mux | 2003-06-07 | 1 | -0/+26 |
| | | | | | actually works. I have no idea why this wasn't finished and happened to try to use it. | ||||
* | To reserve space for 65536 bits, allocate | robert | 2003-05-09 | 1 | -1/+1 |
| | | | | | | | | | | 65536 / (sizeof(int) * CHAR_BITS) `int's instead of 65536 / (sizeof(int) * CHAR_BITS) bytes to avoid a possible segmentation fault if ports above 16383 are specified via the -p option on a platform with 4 byte wide ints. Approved by: re (bmah) Reported by: Marco Wertejuk <wertejuk@mwcis.com> | ||||
* | Bow to the whining masses and change a union back into void *. Retain | dillon | 2003-01-13 | 1 | -2/+2 |
| | | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it. | ||||
* | Change struct file f_data to un_data, a union of the correct struct | dillon | 2003-01-12 | 1 | -2/+2 |
| | | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit. | ||||
* | mdoc(7) police: markup polishing. | ru | 2002-11-26 | 1 | -4/+4 |
| | | | | Approved by: re | ||||
* | Use a cast to `void *' before casting to a pointer to a structure | robert | 2002-08-02 | 1 | -5/+8 |
| | | | | | | | to stop GCC emitting warnings about increased alignment requirements which broke the build for sparc64. Approved by: des | ||||
* | Don't depend on namespace pollution from <netinet/in_pcb.h>. | des | 2002-08-01 | 1 | -0/+2 |
| | | | | Submitted by: bde | ||||
* | Implement the -l and -c options, which I'd forgotten. | des | 2002-08-01 | 1 | -6/+17 |
| | |||||
* | Rewrite sockstat(1) in C. | des | 2002-07-31 | 4 | -257/+596 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | Usage style sweep: spell "usage" with a small 'u'. | des | 2002-04-22 | 1 | -1/+1 |
| | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. | ||||
* | Drop maintainership of this, it serves no purpose. | des | 2002-04-15 | 1 | -1/+0 |
| | |||||
* | Spell "FreeBSD" with "F" and "BSD" in uppercase. | ru | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: fix markup. | ru | 2001-08-10 | 1 | -9/+22 |
| | |||||
* | Allow the user to specify port ranges against which to match inet sockets. | des | 2001-08-07 | 2 | -3/+76 |
| | | | | Suggested by: roam | ||||
* | Fix 64 bit issues so that sockstat && fstat work correctly on alpha. | mjacob | 2001-07-25 | 1 | -1/+1 |
| | | | | | | PR: 29231 Submitted by: pherman@frenchfries.net MFC after: 2 weeks | ||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | beforeinstall -> SCRIPTS. | ru | 2001-04-07 | 1 | -4/+1 |
| | |||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -1/+1 |
| | |||||
* | Use the newly introduced -W flag to netstat(1) to avoid truncated addresses. | des | 2001-03-15 | 1 | -1/+1 |
| | |||||
* | Add (and document) options for showing only listening or connected sockets. | des | 2001-03-06 | 2 | -11/+39 |
| | |||||
* | Prepare for mdoc(7)NG. | ru | 2001-01-16 | 1 | -2/+2 |
| | |||||
* | mdoc(7) police: added missing .Os call. | ru | 2000-12-14 | 1 | -0/+1 |
| | |||||
* | Spell the des's name correctly. | ru | 2000-11-14 | 1 | -1/+1 |
| | |||||
* | Skip sockets with no SCB | des | 2000-10-13 | 1 | -0/+2 |
| | |||||
* | Document the fact that sockstat now lists Unix domain sockets, and the new | des | 2000-10-07 | 1 | -3/+27 |
| | | | | command-line options for selecting what to display. | ||||
* | Total rewrite. This was actually the first non-trivial Perl script I ever | des | 2000-10-07 | 1 | -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 and | ru | 2000-08-30 | 1 | -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. | des | 2000-08-30 | 1 | -2/+2 |
| | |||||
* | Do not dot terminate list of references | charnier | 2000-03-26 | 1 | -1/+1 |
| | |||||
* | Prevent sockstat print out some empty entries related to IPv6. | shin | 2000-03-11 | 1 | -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 | ||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-01 | 1 | -1/+2 |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | ||||
* | Update sockstat to support INET6 socket printing. | shin | 2000-02-26 | 2 | -6/+10 |
| | | | | | | | Approved by: jkh Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: des | ||||
* | Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix | sheldonh | 1999-09-06 | 1 | -1/+1 |
| | | | | | | | the sockstat.1 document title, which still remembers when sockstat was called lsock. Reviewed by: mpp | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 3 | -3/+3 |
| | |||||
* | Use -finet option to netstat(1), and don't discard anything. | des | 1999-07-06 | 2 | -11/+10 |
| | | | | | | | 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. | des | 1999-05-01 | 1 | -3/+3 |
| | | | | Submitted by: Christopher Masto <chris@netmonger.net> | ||||
* | Rename lsock(1) to sockstat(1). | des | 1999-04-15 | 3 | -0/+146 |
Suggested by: Sheldon Hearn <sheldonh@iafrica.com> Approved by: Peter Wemm <peter@netplex.com.au> |