1 .\" $OpenBSD: tcpdrop.8,v 1.5 2004/05/24 13:57:31 jmc Exp $
3 .\" Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 .Nd drop a TCP connection
34 command drops the TCP connection specified by the local address
38 and the foreign address
42 Addresses and ports can be specified by name or numeric value.
47 .Xr httpd 8 Pq Pa ports/www/apache2
48 is causing congestion on a network link, one can drop the TCP session
50 .Bd -literal -offset indent
51 # sockstat -c | grep httpd
52 www httpd 16525 3 tcp4 \e
53 192.168.5.41:80 192.168.5.1:26747
56 The following command will drop the connection:
57 .Bd -literal -offset indent
58 # tcpdrop 192.168.5.41 80 192.168.5.1 26747
64 .An Markus Friedl Aq markus@openbsd.org