diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-04-18 21:35:12 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-04-18 21:35:12 +0000 |
commit | ade8c4cfcd982e74d7424cee174e1dbee07b073f (patch) | |
tree | 6277f946f3ce2b2d81564e022ce99ad3efa972ae /usr.sbin/tcpdump/tcpdump.8 | |
parent | 983ca28ce3a05bfdc4449230df279a94e44e81d5 (diff) |
add filtering on direction; ok mpf@ deraadt@ feedback jmc@
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.8')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump.8 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.8 b/usr.sbin/tcpdump/tcpdump.8 index 256825331b9..a1a8585ad5a 100644 --- a/usr.sbin/tcpdump/tcpdump.8 +++ b/usr.sbin/tcpdump/tcpdump.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcpdump.8,v 1.65 2007/08/28 12:52:06 markus Exp $ +.\" $OpenBSD: tcpdump.8,v 1.66 2008/04/18 21:35:11 djm Exp $ .\" .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996 .\" The Regents of the University of California. All rights reserved. @@ -19,7 +19,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: August 28 2007 $ +.Dd $Mdocdate: April 18 2008 $ .Dt TCPDUMP 8 .Os .Sh NAME @@ -30,6 +30,7 @@ .Bk -words .Op Fl adefILlNnOopqStvXx .Op Fl c Ar count +.Op Fl D Ar direction .Oo Fl E Oo Ar espalg : Oc Ns .Ar espkey Oc .Op Fl F Ar file @@ -56,6 +57,14 @@ Attempt to convert network and broadcast addresses to names. Exit after receiving .Ar count packets. +.It Fl D Ar direction +Select packets flowing in the specified +.Ar direction . +Valid directions are: +.Cm in +and +.Cm out . +The default is to accept packets flowing in any direction. .It Fl d Dump the compiled packet-matching code in a human readable form to standard output and stop. |