summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
AgeCommit message (Collapse)Author
2007-07-25Update synopsis. with help by jmc@Claudio Jeker
2007-07-25Make it possible to show alternate routing tables in netstat. This mostlyClaudio Jeker
comes from route(8) which already had the -T option. OK henning@
2007-07-24Bring back a few things from route/show.c which I like better.Claudio Jeker
2007-07-21Similar to sbin/route/show.c:Claudio Jeker
Check the rtm_version before trying to print an entry. If the rtmsg has a different version skip it and don't try to print it. Solves a SIGSEGV I have triggered with one of my scarier diffs. OK henning@
2007-06-28Bring the index defines back in sync with struct nlist after removal of IPXClaudio Jeker
symbols from the table. This fixes the netstat issues some people reported. OK henning@
2007-06-19Remove unused variable.Ray Lai
2007-06-19net80211_ifstats() is called in main.c but there was no prototype.Ray Lai
OK markus and itojun
2007-06-19err(3) was being called but was missing an include, and end: wasRay Lai
unused. OK markus and itojun
2007-06-19"off" isn't a pointer, it's a ulong. According to printf(3), %#lxRay Lai
is equivalent to %p. OK markus and itojun
2007-06-15Don't truncate interface name.Ray Lai
Fixes PR 5460. OK deraadt, agreed with by krw.
2007-06-04remove IPX support, agreed by manyHenning Brauer
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-23add -F to usage();Jason McIntyre
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
with -r to routes in the same address family as the destination. ok henning@, claudio@
2006-12-29Netstat has the same issue problem as route when printing a default inet6Claudio Jeker
route. Need to typecast the sizeof() to int so that the compare works. Having a negativ lim is OK. Reported by Björn Ketelaars. OK deraadt@
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride
2006-08-29Fix KVM snooping code of netstat that got broken by the multiple tableClaudio Jeker
"support". This makes netstat -A work again. OK markus@ henning@
2006-07-05remove duplicate prototype for the intpr function.Brad Smith
2006-05-30this fixes a crash observed by Naddy on amd64, and permits the src/dst ip's toTodd T. Fries
be visible .. when IPv6 sa flows are present ok claudio@
2006-05-27Kill upHex and use %X instead. Crazy old code found by deraadt.Claudio Jeker
2006-05-27Moving netstat from kvm snooping to retrieving the routing tables viaClaudio Jeker
sysctl. Most code is stolen from route -- which was stolen from netstat. kvm snooping code is still in and useable. Put it in deraadt@ henning@
2006-04-12use "/bypass" instead of "/permit" when showing bypass flowsHans-Joerg Hoexer
ok henning claudio
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-12-18Update my e-mail address in the copyright statement, no binary changes.Reyk Floeter
2005-12-11ARGSUSEDTheo de Raadt
2005-10-17Use queue macros instead of directly accessing fields. ok pat@ "put itOtto Moerbeek
in" deraadt@
2005-09-06make some of the stat utility pages reference each other;Jason McIntyre
idea from a mail to misc@ from simon dassow;
2005-08-11print pmtu TCB variablesMarkus Friedl
2005-08-11New counter for not joined IPv4 multicast groups.Marco Pfatschbacher
Don't count link local scope multicast as not forwardable. This stops ips_cantforward growing on carp(4) networks. tested and ok mcbride@, ok markus@.
2005-07-25update DESCRIPTION to reflect the fact that another synopsis form wasJason McIntyre
added;
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
ok deraadt@ millert@ moritz@
2005-06-16add -P to docs and usage/synopsis; ok markus jmcJared Yanovich
2005-06-15add -P for dumping PCB infos, similar to netbsd; ok deraadt@Markus Friedl
2005-06-08bye bye, Xerox NS protocolsHenning Brauer
2005-06-07remove tiny AF_CCITT traceHenning Brauer
2005-05-23remove dead and wrong code.marius eriksen
2005-05-15simple error message cleanupReyk Floeter
ok henning@, suggested by deraadt@
2005-05-02- add a small description of final synopsis formJason McIntyre
- tweak a spacing issue in usage()
2005-04-12add '-W interface' for 802.11 wireless statistics of the net80211 stack.Reyk Floeter
ok dlg@ deraadt@ jmc@
2005-04-05add tcp sack stats, similar to freebsd; ok deraadtMarkus Friedl
2005-03-30remove nlist items no longer used; ok henningTheo de Raadt
2005-03-30spacingTheo de Raadt
2005-03-30kill -S; ok henningJared Yanovich
2005-03-30spacingTheo de Raadt
2005-03-30include nlist.h not neededTheo de Raadt
2005-03-25kill unneeded (char *) casts. ok millert, ottoJared Yanovich
2005-03-13make 'netstat -i' print carp link addresses correctly.Marco Pfatschbacher
ok mcbride@
2005-03-04remove unneeded casts of if stats; ok krw miod dhartmeiJared Yanovich
2005-03-02make counters in struct iftot u_long instead of int, as they overflowDaniel Hartmeier
on amd64. from Peter Philipp. closes PR 4107.
2005-02-10backout previous; i committed to wrong repository (i meant to commit kame)Jun-ichiro itojun Hagino