diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-04-28 05:55:12 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-04-28 05:55:12 +0000 |
commit | 0dbffba353dc8f2b02150bca26c0c224b50cd2cc (patch) | |
tree | 50541435772f655de819c823a60695fb4d08cde5 /usr.sbin | |
parent | bdcb1951f443c456243680cba9dfa787f0d4e63d (diff) |
Improve a bit. ok markus@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/tcpdrop/tcpdrop.8 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/tcpdrop/tcpdrop.8 b/usr.sbin/tcpdrop/tcpdrop.8 index c82147df45c..3dfaea74b04 100644 --- a/usr.sbin/tcpdrop/tcpdrop.8 +++ b/usr.sbin/tcpdrop/tcpdrop.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcpdrop.8,v 1.2 2004/04/27 21:21:56 pb Exp $ +.\" $OpenBSD: tcpdrop.8,v 1.3 2004/04/28 05:55:11 otto Exp $ .\" .\" Copyright (c) 2004 Markus Friedl <markus@openbsd.org> .\" @@ -37,23 +37,22 @@ and the foreign address .Ar faddr , port .Ar faddr . +Addresses and ports can be specified by name or numeric value. .Sh EXAMPLE If one connection to, e.g. .Xr httpd 8 -is congestion a link one can easily drop the TCP session in charge: +is causing congestion on a network link one can drop the TCP session +in charge: .Bd -literal -# fstat | egrep 'httpd.*internet' +# fstat | egrep 'httpd.*internet.*<--' www httpd 21307 3* internet stream tcp \\ 0xd1007ca8 192.168.5.41:80 <-- 192.168.5.1:26747 .Ed .Pp -This gives all information one needs to call -.Xr tcpdrop 8 : +The following command will drop the connection: .Bd -literal # tcpdrop 192.168.5.41 80 192.168.5.1 26747 .Ed -.Pp -will end this TCP connection. .Sh SEE ALSO .Xr fstat 1 , .Xr netstat 1 |