From patchwork Sun Nov 13 16:20:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 1347 Return-Path: Received: from nm18-vm0.bullet.mail.ukl.yahoo.com (nm18-vm0.bullet.mail.ukl.yahoo.com [217.146.183.95]) by open-mesh.org (Postfix) with SMTP id 1D1B16007C4 for ; Sun, 13 Nov 2011 17:21:07 +0100 (CET) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@yahoo.de; dkim-adsp=none Received: from [217.146.183.208] by nm18.bullet.mail.ukl.yahoo.com with NNFMP; 13 Nov 2011 16:21:06 -0000 Received: from [77.238.184.52] by tm1.bullet.mail.ukl.yahoo.com with NNFMP; 13 Nov 2011 16:21:06 -0000 Received: from [127.0.0.1] by smtp121.mail.ukl.yahoo.com with NNFMP; 13 Nov 2011 16:21:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1321201266; bh=U3SDuZ7xGA3wR/hpM2Ac0KNOA+zMnOcspPCnQQ7nwqI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=F1f8DFVRw0fslZy9VbirMb4P86Nn1NOqASa0oruSME7XOOAxE/xPtXCE1RKjDI7m+0cyWHGGRvVS3ms9cEoOpf2p/nhuxTMFBLJFw78jwDWOfKdGW/8EMMDsGknx1Gp/5+Aapk+wfjip5EKl1ACBr9ccWwojnG516uav34EvmjI= X-Yahoo-Newman-Id: 672467.44543.bm@smtp121.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gw0ZpLAVM1mAUMx2DJ8DHt9HzHtbNizFq7VO6yZN7eFTPwY 7HVrmgzZJV.MLy1dl4jsey7ogmr6jICfymXZNYoU3bALGwR8JDZllrIerS53 qZd5iLFRYAEh2oCZwZxLY0.0zlxg8HHPVVUShT8P9JMa9Y2ub23vBaqVenL1 G9A0uwAhAlSXHS7DD7ASMit.hrNo0v7VT61zBYSi7qfiGGusOQx_zRC4ZiFW YVJQr1ArCbI_DW6AMMz2JHCkKcNDg_693YCNwtBsA5X69uGZvWLmpU_5Kvpk t0Rzp5NLgqbe.1aKkauoZbr_btu2oH9ifetvEaNWd2McufU7JU5QTeR5HrdT tni7h3jr3zMwkxsKHrZL9EFXK1vbCOuQkMw7WtvogzpGjB3A- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@210.177.7.38 with plain) by smtp121.mail.ukl.yahoo.com with SMTP; 13 Nov 2011 16:21:00 +0000 GMT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Mon, 14 Nov 2011 00:20:36 +0800 Message-Id: <1321201236-14446-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.5.4 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH] batctl: update the tcpdump section in the README X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 16:21:07 -0000 Signed-off-by: Marek Lindner --- README | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/README b/README index 442f8b6..cdeb2ed 100644 --- a/README +++ b/README @@ -84,21 +84,26 @@ traceroute to fe:fe:00:00:09:01 (fe:fe:00:00:09:01), 50 hops max, 19 byte packet batctl tcpdump =============== -tcpdump layer 2 traffic on the given interface +tcpdump layer 2 and/or layer 3 traffic on the given interface Usage: batctl tcpdump [options] interface [interface] options: -h print this help -n don't convert addresses to bat-host names -p dump specific packet type - 1 - batman ogm packets - 2 - batman icmp packets - 4 - batman unicast packets - 8 - batman broadcast packets - 16 - batman vis packets - 32 - batman fragmented packets - 64 - non batman packets - 65 - batman ogm & non batman packets + -x dump all packet types except specified +packet types: + 1 - batman ogm packets + 2 - batman icmp packets + 4 - batman unicast packets + 8 - batman broadcast packets + 16 - batman vis packets + 32 - batman fragmented packets + 64 - batman tt / roaming packets + 128 - non batman packets + 129 - batman ogm & non batman packets + +tcpdump supports standard interfaces as well as raw wifi interfaces running in monitor mode. Example output for tcpdump: