summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdrop/tcpdrop.8
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-25 17:20:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-25 17:20:28 +0000
commit30dc9e31de293d613a88a45085166c1affa3da2e (patch)
tree9fd2d04b457908634c0f772324470cdaaf5ae8d9 /usr.sbin/tcpdrop/tcpdrop.8
parentc5b5c5d184110417fa647c8da369d23213902d97 (diff)
support a 2 address format (addr:port addr:port) like fstat outputs.
also enhance ipv6 support by unpacking the [addr]:port format. ok beck, itojun, various others
Diffstat (limited to 'usr.sbin/tcpdrop/tcpdrop.8')
-rw-r--r--usr.sbin/tcpdrop/tcpdrop.89
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/tcpdrop/tcpdrop.8 b/usr.sbin/tcpdrop/tcpdrop.8
index a2f659594b0..63ccc627589 100644
--- a/usr.sbin/tcpdrop/tcpdrop.8
+++ b/usr.sbin/tcpdrop/tcpdrop.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcpdrop.8,v 1.6 2006/01/03 14:52:17 jmc Exp $
+.\" $OpenBSD: tcpdrop.8,v 1.7 2007/03/25 17:20:27 deraadt Exp $
.\"
.\" Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
.\"
@@ -26,6 +26,9 @@
.Ar lport
.Ar faddr
.Ar fport
+.Nm tcpdrop
+.Ar laddr : Ns Ar lport
+.Ar faddr : Ns Ar fport
.Sh DESCRIPTION
The
.Nm
@@ -49,9 +52,11 @@ www httpd 21307 3* internet stream tcp \e
0xd1007ca8 192.168.5.41:80 \*(Lt-- 192.168.5.1:26747
.Ed
.Pp
-The following command will drop the connection:
+Either of the following commands will drop the connection:
.Bd -literal -offset indent
# tcpdrop 192.168.5.41 80 192.168.5.1 26747
+
+# tcpdrop 192.168.5.41:80 192.168.5.1:26747
.Ed
.Sh SEE ALSO
.Xr fstat 1 ,