summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdrop/tcpdrop.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow the address and ports to be separated by a colon or period ratherjhb2013-01-301-3/+35
| | | | | | | | than a space to permit directly pasting the output of commands such as netstat and sockstat on the command line. Reviewed by: net MFC after: 1 week
* Include param.h for CACHE_LINE_SIZE to unbreak the build.bz2011-06-061-1/+2
|
* o) Restructure tcpdrop(8) to provide a facility to try to drop all establishedjmallett2009-06-011-43/+274
| | | | | | | | | | connections. Including a flag to instead output a sequence of tcpdrop(8) invocations that would accomplish the same thing, which is convenient for scripting. o) Make tcpdrop complain if the addresses given to it are entirely in different address families, rather than failing silently. o) When cross-referencing httpd(8), do not explicitly specify the apache2 port, since the example in question is generic.
* Normalize usage output.ru2007-10-311-2/+4
|
* o Add handling of an IPv4-mapped IPv6 address.maxim2005-02-141-4/+5
| | | | | | | | | | | | | o Use SYSCTL_IN() macro instead of direct call of copyin(9). Submitted by: ume o Move sysctl_drop() implementation to sys/netinet/tcp_subr.c where most of tcp sysctls live. o There are net.inet[6].tcp[6].getcred sysctls already, no needs in a separate struct tcp_ident_mapping. Suggested by: ume
* o Implement net.inet.tcp.drop sysctl and userland part, tcpdrop(8)maxim2005-02-061-0/+88
utility: The tcpdrop command drops the TCP connection specified by the local address laddr, port lport and the foreign address faddr, port fport. Obtained from: OpenBSD Reviewed by: rwatson (locking), ru (man page), -current MFC after: 1 month
OpenPOWER on IntegriCloud