summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/tcpdump.8
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2015-07-18 16:55:32 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2015-07-18 16:55:32 +0000
commit35dd73470219b2bce74a2b27a207102b265adedf (patch)
tree7311716d94a6d45df2e41bf623ed56329dbbb6ae /usr.sbin/tcpdump/tcpdump.8
parentaf1e70ee99d048ecb3b301b22619c51f24853487 (diff)
Add an example about showing wireless frames with tcpdump(8).
Apparently sniffing wifi frames isn't a very popular addiction?!? Requested by David Hill. ok aja phessler mpi
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.8')
-rw-r--r--usr.sbin/tcpdump/tcpdump.87
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.8 b/usr.sbin/tcpdump/tcpdump.8
index fa1f194674d..cc9ce31027c 100644
--- a/usr.sbin/tcpdump/tcpdump.8
+++ b/usr.sbin/tcpdump/tcpdump.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcpdump.8,v 1.84 2015/02/28 21:51:57 bentley Exp $
+.\" $OpenBSD: tcpdump.8,v 1.85 2015/07/18 16:55:31 stsp 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: February 28 2015 $
+.Dd $Mdocdate: July 18 2015 $
.Dt TCPDUMP 8
.Os
.Sh NAME
@@ -1053,6 +1053,9 @@ To print only echo request ICMP packets:
To print and decrypt all ESP packets with SPI 0x00001234:
.Pp
.Dl # tcpdump -E des3-hmac96:ab...def 'ip[20:4] = 0x00001234'
+.Pp
+To print raw wireless frames passing the iwn0 interface:
+.Dl # tcpdump -i iwn0 -y IEEE802_11_RADIO -v
.Sh OUTPUT FORMAT
The output of
.Nm