summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
AgeCommit message (Collapse)Author
2013-04-23create a method to print the unp_ino (ino_t) properly once it becomesTheo de Raadt
bigger
2013-04-18improve time_t handling here, tooTheo de Raadt
2013-04-18improve time_t printing; ok claudioTheo de Raadt
2013-04-16handle long long tv_sec; ok millertTheo de Raadt
2013-03-20As non-root, whenever netstat is about to print out a kernel pointer...Theo de Raadt
print 0x0 instead. Hides a lot stuff people don't need to see.
2013-02-05netstat -vP also shows the new struct sockbuf field sb_flagsintr.Alexander Bluhm
OK markus@ claudio@
2013-01-16sys/mbuf.h not neededTheo de Raadt
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-04remove some unnecessary sys/mbuf.h inclusionsTheo de Raadt
2012-08-26oops, i added a stray character. spotted by jmcTed Unangst
2012-08-22remove unneccessary .Pp;Jason McIntyre
2012-08-22i missed usage and the manpage. prod by jmcTed Unangst
2012-08-22-h flag to print human numbers in conjunction with -w -bTed Unangst
2012-07-13Label node allocation failures as such in netstat -W output.Stefan Sperling
"Input packets dropped" isn't really a good description of what happened when we failed to allocate a new node in the net80211 stack. This allocation doesn't happen for every packet, only for new nodes that appear in reach of the antenna. ok net80211 expert department (we have vacancies, apply within)
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
no objection from mcbride@ krw@ markus@ deraadt@
2011-11-01Do some cleanup and improve the manpage. From Andreas Bartelt; ok henning, jmcMike Belopuhov
2011-11-01Fixup previous: don't forget to actually get the current rtable;Mike Belopuhov
reminded by Andreas Bartelt.
2011-11-01List sockets existing only in the specified or current routing domain.Mike Belopuhov
Prompted by the mail from Andreas Bartelt, tested by Andreas and me. ok henning
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2011-08-19as with other list types, column lists generally do not need a Pp/-compactJason McIntyre
construct; this also sidesteps what seems to be a problem with mandoc, in that "-column -compact" seems to mess up the formatting. thus these pages should now have their lists formatted nicely (i.e. correctly aligned and with indent applied); as a side note, the fact that headers are not properly marked up is another issue which will be addressed separately (a mandoc fix is needed, i think). i have fudged a few of these to mark up properly, since the workaround does make sense for some pages. as another side note, i haven;t fixed man7, as i need to prepare a separate diff for kristaps and ingo.
2011-07-09remove more atalk bitsTheo de Raadt
2011-07-09rmove rotten netatalk bitsHenning Brauer
2011-07-05Add so_idletv to netstat -vP pcb-address output.Alexander Bluhm
ok mikeb@
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2011-03-18print icps_bmcastecho as "XX echo requests to broadcast/multicast rejected".Stuart Henderson
from Christiano Haesbert with a small tweak to wording
2011-03-15Add a -B flag to netstat which displays buffer sizes for TCP sockets.Joel Sing
With feedback from bluhm@ ok bluhm@ sthen@
2011-03-05remove a stray character (editing accident) i introduced a year ago;Ingo Schwarze
while here, improve the grammar of the preceding sentence; ok jmc@
2011-03-04kill is_rx_elem_unknown.Federico G. Schwindt
damien@ ok. ports checked by sthen@.
2011-03-02Add the socket splicing fields of struct socket to netstat -vPAlexander Bluhm
output for debugging. ok markus@, claudio@
2011-01-09have netstat -w default to the first egress interface, which is usually moreTed Unangst
interesting than whatever happens to be the last interface. ok deraadt nicm
2010-12-21ip6s_exthdrtoolong is always zero so remove it here which is the last user.Claudio Jeker
OK mikeb@, henning@, deraadt@
2010-10-30Print socket structure internals when netstat -P pcbaddr is calledAlexander Bluhm
with -v. Also netstat -P supports more than TCP now. ok markus@ jmc@
2010-10-21There is neither TCP6 nor struct tcp6cb in our kernel. So removeAlexander Bluhm
tcp6_dump() from netstat. It was never called anyway. No binary change. ok henning@ claudio@
2010-10-11Do similar changes to netstat as done to route(8). Try to show theClaudio Jeker
most expected rtable when doing a netstat -rn. OK henning@
2010-07-31adds a remark about how printing routing labels to -r, it is theIgor Sobrado
more logical place to find this information; improve description for the -v option (stolen from NetBSD). written with excellent advice from bluhm@ and jmc@. ok jmc@
2010-07-30Do not print "Label" caption for "netstat -rvA".Alexander Bluhm
ok markus@
2010-07-29Print a column with the routing label if "netstat -vr" or "routeAlexander Bluhm
-v show" are called with the -v switch. ok markus@
2010-07-14pass the correct af if not specified.David Hill
fixes printing active connections twice. ok claudio@
2010-07-08Remove references to kvm.lum
ok claudio@
2010-06-30Make deprecated command line argument for extractinglum
name list work properly. ok deraadt@ millert@
2010-06-29Allow selecting both address family and protocol by passing the address familyBret Lambert
directly to the appropriate print functions. Found by jdixon@, tested jdixon@ and weerd@, ok krw@ deraadt@
2010-05-23remove unused functionCharles Longeau
from tobias@ (loooooong time ago) ok henning@ claudio@ tobias@
2010-05-19remove unused variablesCharles Longeau
ok claudio@ michele@
2010-04-28Rename nfiles so as not to collide with sys/file.h,Jonathan Gray
makes gcc4 happy. ok deraadt@ miod@
2010-03-23Sync with show.c of route(8). OK michele@Claudio Jeker
2010-01-14Similar fix for default route printing as done in netstat. Make sure maskClaudio Jeker
is 0 when sa_len is 0.
2010-01-11"default" routes need a mask of 0 too.David Gwynne
from and ok claudio@
2010-01-03.Bl always requires .It, even in .Bl -column;Ingo Schwarze
syntax errors found by mandoc(1), also required to fix the mandoc build; feedback and ok jmc@ and sobrado@
2009-11-22don't repeat the banner if not a tty.Ted Unangst
add a -c count option to netstat. tweak spacing to not smear fields in vmstat. ok deraadt sthen
2009-11-05IPv6 support for divert sockets.Michele Marchetto
tested by phessler@ pyr@ ok claudio@ "go ahead" deraadt@