summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
AgeCommit message (Collapse)Author
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
ok mpi@
2016-11-11Print the route cached at the inp with netstat -P. While there,Alexander Bluhm
fix a compiler warning about missing prototype. OK claudio@ mpi@
2016-10-28there's a new mbuf cluster pool.David Gwynne
2016-10-12Mention that netstat -P needs kmem access.Jeremie Courreges-Anglas
From David Hill, ok bluhm@
2016-09-15dont #define _KERNEL around some #includesDavid Gwynne
the data structures are now readable without _KERNEL needing to be defined. ok deraadt@ there's probably a lot more of these that can be cleaned up if anyone is interested in looking into it.
2016-09-03Add userland parts for BFD. Can't work if you don't have it enabled inPeter Hessler
the kernel. OK claudio@, henning@
2016-09-02Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and addVincent Gross
the relevant counters. Ok mikeb@
2016-09-01Document all letters used for route flags in "netstat -r".Alexander Bluhm
OK jmc@ mpi@ sthen@
2016-09-01Display all route flags in "route get", "route show" and "netstat -r"Alexander Bluhm
output. Sort them according to the RTF_... defines in route.h. OK claudio@ mpi@
2016-08-27Pull in <sys/select.h> for howmany() and NBBY, used by various net*/*.hPhilip Guenther
ok deraadt@
2016-08-27Pull in <sys/time.h> for struct timespec and timevalPhilip Guenther
ok deraadt@
2016-08-13%lld -> %llu for u_int64_t struct fields.Kenneth R Westerback
2016-08-13As the relevant struct's (e.g. tcpstat) use [u_]int64_t types, theKenneth R Westerback
proper printf() format is %ll[ud], not the antediluvian %q[ud]. Reminded by guenther@'s proposed retirement of quad types. ok tedu@
2016-07-20To tune the TCP SYN cache we need more information. Print theAlexander Bluhm
relevant counters with netstat -s -p tcp. OK henning@
2016-07-13Introduce RTF_MULTICAST and flag corresponding IPv6 routes as suchMartin Pieuchot
instead of abusing RTF_CLONING. Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@
2016-06-05In netstat, display correct counter for 'no basic MCS set' error.Stefan Sperling
ok sthen@ tb@
2016-04-28Display block ack window slide counter.Stefan Sperling
with and ok tb@
2016-04-27Make netstat -W show new 802.11n counters. Requires a new kernel.Stefan Sperling
ok deraadt mpi
2016-04-26Print tcps_noport with netstat -s like it is already done for udp.Alexander Bluhm
OK mpi@
2016-04-04Add sys/queue.h where it's needed. Unbreak userland following recentStuart Henderson
removal from mbuf.h. ok mpi@
2016-03-28Drop if-zeroed gethostbyname2.h header, remnant from KAME timesJeremie Courreges-Anglas
2016-03-21Add a tcps_sc_seedrandom counter in TCP SYN cache and netstat -s.Alexander Bluhm
This shows how often the hash function is reseeded and the random bucket distribution changes. OK mpi@ claudio@
2016-01-01The "-P" option does not need to read routing table symbols so do notMartin Pieuchot
check for them. ok benno@, bluhm@
2015-12-03Print the interface index, we no longer have a pointer to the interface.Martin Pieuchot
Found the hardway by deraadt@
2015-10-23further simplify argvTed Unangst
2015-10-23simplify backcompat. no more support for kernel or kmem on argvTed Unangst
2015-10-05Handle ifi_oqdrops in netstat(8).Masao Uebayashi
OK mpi@ dlg@
2015-09-11Remove XRESOLVE support.Martin Pieuchot
dlg@ is sad because we won't be able to implement arpd(8) the way people intended it in the 80s.
2015-09-11Remove never called functions to dump per-ifp IPv6 statistics now thatMartin Pieuchot
the kernel buffers are gone. ok claudio@
2015-09-04Fix mbuf memory accounting after recent *8 pool size change.Martin Pieuchot
Use the ``pr_pgsize'' argument instead of assuming that pool page sizes are identical to the value returned by getpagesize(3). Issue reported by trondd <trondd AT kagu-tsuchi DOT com> on tech@. ok millert@, tedu@
2015-08-24Remove obsolete fields in struct unpcb. In the past they were usedAlexander Bluhm
for flow control with unix domain sockets, this is now done by filling the send buffer with fake data counters. OK naddy@; no fallout in a bulk build
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
ok krw millert
2015-06-21There is no need to include sys/ucred.h. Only sys/file.h is needed for theClaudio Jeker
DTYPE defines.
2015-04-27sync with rev 1.99 of sbin/route/show.cSebastian Benoit
requested by claudio@ and mpi@
2015-04-22Expand SLIST macro of unix pcb members before printing the pointer.Alexander Bluhm
Fixes a gcc warning. No binary change. Found by and OK deraadt@
2015-04-16remove unfinished/unused support for socket-attached ipsec-policiesMarkus Friedl
ok mikeb
2015-04-14IPsec auth and credentials are not stored in the kernel anymore;Mike Belopuhov
noticed by deraadt@
2015-02-13implicit declaration of function 'free'; add missing stdlib.hDavid Coppa
OK sthen@
2015-02-12Free the buffers used for the sysctl. OK sthen@Claudio Jeker
2015-02-12be more explicit about how -A and -P work, and fix a booboo in previous;Jason McIntyre
help/ok claudio
2015-02-12Initialize buffer pointers passed to get_sysctl to NULL; otherwise they pointStuart Henderson
to random memory so when the sysctl-estimate is too small, the realloc() fails. Problem reported by Ze Loff, ok claudio
2015-02-12Switch the printing of open sockets from ugly KVM internals to useClaudio Jeker
kvm_getfiles. This allows to run netstat without any extra privileges and removes another setgid program from base.. There is still kvm reader code in there which is used for debugging purposes (crashdump). netstat should still behave mostly the same. deraadt@ and sthen@ agree that it is time to get this puppy in.
2015-02-09Get rid of another KVM reader and convert the multicast output to useClaudio Jeker
the new sysctls. Looks good deraadt@
2015-02-08Count dropped SYN packets on the tcpstat. They are dropped due to theYASUOKA Masahiko
listen queue (backlog) limit or the memory shortage in syn-cache. ok henning reyk claudio
2015-02-08-a for -I or -i is gone for good. So adjust manpage.Claudio Jeker
2015-02-08The multicast address printing code has been disabled for 7 years.Claudio Jeker
Nobody complained about it missing. It is time to kill it for real. OK phessler, henning, deraadt
2015-02-08Do extend CFLAGS instead of assigning it so that DEBUG=-g worksClaudio Jeker
OK deraadt@
2015-02-06Remove route/netstat -f encap in favor of ipsecctl -s flow.Reyk Floeter
OK deraadt@
2015-01-20Adjust <sys/param.h> comments regarding use of use of MSIZE, orTheo de Raadt
delete <sys/param.h> if now possible ok guenther
2015-01-19First step of hiding many kernel-only parts of <netinet/ip_ipsp.h>Theo de Raadt
under _KERNEL, and adjust the one consumer (netstat) so that it requests the exposure. Will take a few more rounds to get this right. ok mikeb