Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-28 | Bring "netstat -m" output up to speed with the kernel | Mike Belopuhov | |
The kernel no longer sets watermarks on cluster pools rendering "max" values useless. Instead, there's now a global limit on how much memory all cluster pools combined together can allocate from the system. The limit is set to kern.maxclusters number of 2Kb increments which allows us to display current, peak and maximum total memory used by the network. OK claudio, millert | |||
2017-10-25 | Remove the TCP_FACK option and associated #if{,n}def code. | job | |
TCP_FACK was disabled by provos@ in June 1999. TCP_FACK is an algorithm that decides that when something is lost, all not SACKed packets until the most forward SACK are lost. It may be a correct estimate, if network does not reorder packets. OK visa@ mpi@ mikeb@ | |||
2017-08-12 | add option -l to show only listening sockets (for tcp) | Sebastian Benoit | |
feedback and ok awhile ago bluhm@ job@ | |||
2017-07-27 | uint32_t is never < 0; pointed out by clang. | Florian Obser | |
While we originally get a short passed from the kernel, it's probably better for debugging purposes to show what we are actually having which is a uin32_t hence the %u format. OK deraadt | |||
2017-05-16 | When printing a tcpcb with -P and -v, also show the inp in netstat | Alexander Bluhm | |
output. OK mpi@ | |||
2017-05-08 | Make netstat(8) always ask for IPv6 multicast routing information. Worst | Rafael Zalamena | |
case is that we get an empty response instead of a message saying that there is no multicast support. ok mpi@ | |||
2017-05-04 | For TCP sockets netstat -A must print the address of the TCP protocol | Alexander Bluhm | |
control block. This is documented in fstat(1) and makes it possible to compare the values from both tools. OK sthen@ | |||
2017-03-07 | Rename struct etheripstat members for consistency, move them all to 64bits | Jeremie Courreges-Anglas | |
Will make transition to percpu counters easier. ok bluhm@ | |||
2017-02-20 | Crank all members of struct ipipstat to 64 bits | Jeremie Courreges-Anglas | |
Will make conversion to percpu counters easier. ok bluhm@ | |||
2017-02-07 | IPsec packets could be dropped unaccounted if output after crypto | Alexander Bluhm | |
failed. Add a counter for that case. OK dhill@ | |||
2017-02-04 | Include netinet/in.h for in_addr_t now it has moved out of sys/types.h. | Jonathan Gray | |
gcc warned about this, clang fatally errored. | |||
2017-01-21 | The POSIX APIs that that sockaddrs all ignore the s*_len field in the | Philip Guenther | |
incoming socket, so userspace doesn't need to set it unless it has its own reasons for tracking the size along with the sockaddr. ok phessler@ deraadt@ florian@ | |||
2016-12-22 | Remove PIM support from the multicast stack. | Rafael Zalamena | |
ok mpi@ | |||
2016-11-11 | Print 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-28 | there's a new mbuf cluster pool. | David Gwynne | |
2016-10-12 | Mention that netstat -P needs kmem access. | Jeremie Courreges-Anglas | |
From David Hill, ok bluhm@ | |||
2016-09-15 | dont #define _KERNEL around some #includes | David 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-03 | Add userland parts for BFD. Can't work if you don't have it enabled in | Peter Hessler | |
the kernel. OK claudio@, henning@ | |||
2016-09-02 | Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and add | Vincent Gross | |
the relevant counters. Ok mikeb@ | |||
2016-09-01 | Document all letters used for route flags in "netstat -r". | Alexander Bluhm | |
OK jmc@ mpi@ sthen@ | |||
2016-09-01 | Display 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-27 | Pull in <sys/select.h> for howmany() and NBBY, used by various net*/*.h | Philip Guenther | |
ok deraadt@ | |||
2016-08-27 | Pull in <sys/time.h> for struct timespec and timeval | Philip Guenther | |
ok deraadt@ | |||
2016-08-13 | %lld -> %llu for u_int64_t struct fields. | Kenneth R Westerback | |
2016-08-13 | As the relevant struct's (e.g. tcpstat) use [u_]int64_t types, the | Kenneth 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-20 | To tune the TCP SYN cache we need more information. Print the | Alexander Bluhm | |
relevant counters with netstat -s -p tcp. OK henning@ | |||
2016-07-13 | Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such | Martin Pieuchot | |
instead of abusing RTF_CLONING. Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@ | |||
2016-06-05 | In netstat, display correct counter for 'no basic MCS set' error. | Stefan Sperling | |
ok sthen@ tb@ | |||
2016-04-28 | Display block ack window slide counter. | Stefan Sperling | |
with and ok tb@ | |||
2016-04-27 | Make netstat -W show new 802.11n counters. Requires a new kernel. | Stefan Sperling | |
ok deraadt mpi | |||
2016-04-26 | Print tcps_noport with netstat -s like it is already done for udp. | Alexander Bluhm | |
OK mpi@ | |||
2016-04-04 | Add sys/queue.h where it's needed. Unbreak userland following recent | Stuart Henderson | |
removal from mbuf.h. ok mpi@ | |||
2016-03-28 | Drop if-zeroed gethostbyname2.h header, remnant from KAME times | Jeremie Courreges-Anglas | |
2016-03-21 | Add 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-01 | The "-P" option does not need to read routing table symbols so do not | Martin Pieuchot | |
check for them. ok benno@, bluhm@ | |||
2015-12-03 | Print the interface index, we no longer have a pointer to the interface. | Martin Pieuchot | |
Found the hardway by deraadt@ | |||
2015-10-23 | further simplify argv | Ted Unangst | |
2015-10-23 | simplify backcompat. no more support for kernel or kmem on argv | Ted Unangst | |
2015-10-05 | Handle ifi_oqdrops in netstat(8). | Masao Uebayashi | |
OK mpi@ dlg@ | |||
2015-09-11 | Remove 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-11 | Remove never called functions to dump per-ifp IPv6 statistics now that | Martin Pieuchot | |
the kernel buffers are gone. ok claudio@ | |||
2015-09-04 | Fix 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-24 | Remove obsolete fields in struct unpcb. In the past they were used | Alexander 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-20 | Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope | Theo de Raadt | |
ok krw millert | |||
2015-06-21 | There is no need to include sys/ucred.h. Only sys/file.h is needed for the | Claudio Jeker | |
DTYPE defines. | |||
2015-04-27 | sync with rev 1.99 of sbin/route/show.c | Sebastian Benoit | |
requested by claudio@ and mpi@ | |||
2015-04-22 | Expand 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-16 | remove unfinished/unused support for socket-attached ipsec-policies | Markus Friedl | |
ok mikeb | |||
2015-04-14 | IPsec auth and credentials are not stored in the kernel anymore; | Mike Belopuhov | |
noticed by deraadt@ | |||
2015-02-13 | implicit declaration of function 'free'; add missing stdlib.h | David Coppa | |
OK sthen@ |