From e5a98e5b79a554d96b203d763054728c0adc6288 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 15 Aug 2011 13:09:24 +0200 Subject: doc: Document building wireshark --- docs/chapters/building.xml | 41 +++++++++++++++++++++++++++++++++++++++++ docs/usermanual.xml | 6 ++++++ 2 files changed, 47 insertions(+) diff --git a/docs/chapters/building.xml b/docs/chapters/building.xml index 7b25999..09625da 100644 --- a/docs/chapters/building.xml +++ b/docs/chapters/building.xml @@ -44,4 +44,45 @@ cc -o simtrace main.o usb_helper.o usb.o apdu_split.o -lusb `pkg-config --libs l + +
+ Building Wireshark + SIMtrace provides a patch against wireshark + version 1.6. It is the easiest to checkout a copy using the 1.6 branch + of wireshark and applying the simcard.patch on top + of it. And then use the usual way of building wireshark + +
+ Getting Wireshark + +$ svn co https://anonsvn.wireshark.org/wireshark/trunk-1.6 wireshark-1.6 +A wireshark-1.6/isprint.h + U wireshark-1.6 +Checked out revision 38543. + +
+ +
+ SIMCard patch + You will need to download and apply the patch. + +$ cd wireshark-1.6 +$ wget http://cgit.osmocom.org/cgit/simtrace/tree/wireshark/simcard-for-wireshark-1.6.patch +$ cat ../simcard-for-wireshark-1.6.patch | patch -p 0 +patching file epan/dissectors/packet-gsm_sim.c +patching file epan/dissectors/packet-gsmtap.c +patching file epan/dissectors/Makefile.common + +
+ +
+ Building and Installing + +$ autoreconf --install +$ ./configure +$ make +$ sudo ./wireshark + +
+
diff --git a/docs/usermanual.xml b/docs/usermanual.xml index d69f443..1c01704 100644 --- a/docs/usermanual.xml +++ b/docs/usermanual.xml @@ -28,6 +28,12 @@ z Copy HW Info from the Wiki + + 0.0.3 + 15 August 2011 + z + Document building wireshark + SIMtrace Usermanual -- cgit v1.2.3