Wireshark » History » Version 6
laforge, 01/15/2017 01:59 PM
1 | 1 | tsaitgaist | |
---|---|---|---|
2 | 5 | tsaitgaist | h1. wireshark & GSMTAP |
3 | 1 | tsaitgaist | |
4 | |||
5 | 5 | tsaitgaist | To be able to analyze the [[GSMTAP]] frames on wireshark, apply the patches to the development version. |
6 | |||
7 | |||
8 | h2. preconditions |
||
9 | |||
10 | |||
11 | 1 | tsaitgaist | Tools and libraries used: |
12 | 5 | tsaitgaist | <pre> |
13 | 1 | tsaitgaist | sudo aptitude install build-essential autoconf subversion libtool |
14 | sudo aptitude install libgtk2.0-dev libglib2.0-dev libpcap-dev bison flex |
||
15 | 5 | tsaitgaist | </pre> |
16 | 1 | tsaitgaist | |
17 | |||
18 | 5 | tsaitgaist | h2. getting wireshark |
19 | |||
20 | |||
21 | 1 | tsaitgaist | Get the latest sources from SVN: |
22 | 5 | tsaitgaist | <pre> |
23 | 1 | tsaitgaist | svn co https://anonsvn.wireshark.org/wireshark/trunk/ wireshark |
24 | 5 | tsaitgaist | </pre> |
25 | 1 | tsaitgaist | |
26 | |||
27 | 5 | tsaitgaist | h2. applying patches |
28 | |||
29 | |||
30 | * for osmocomBB itself (already included since wireshark 1.4) |
||
31 | <pre> |
||
32 | 2 | tsaitgaist | patch -p0 < osmocom-bb/src/wireshark/gsmtap.patch |
33 | patch -p0 < osmocom-bb/src/wireshark/smscb.patch |
||
34 | 5 | tsaitgaist | </pre> |
35 | * for [[SIMtrace]] (introduced in wireshark "2012-02-05":http://code.wireshark.org/git/?p=wireshark;a=history;f=epan/dissectors/packet-gsm_sim.c;h=530526d9267b3a725345cff1e305bae2011cfae4;hb=HEAD, available since wireshark 1.7.1): |
||
36 | <pre> |
||
37 | 1 | tsaitgaist | patch -p0 < simtrace/wireshark/simcard.patch |
38 | 5 | tsaitgaist | </pre> |
39 | 1 | tsaitgaist | |
40 | |||
41 | 5 | tsaitgaist | h2. compiling and installing |
42 | |||
43 | |||
44 | <pre> |
||
45 | 1 | tsaitgaist | cd wireshark/ |
46 | ./autogen.sh |
||
47 | ./configure |
||
48 | make |
||
49 | sudo make install |
||
50 | sudo ldconfig |
||
51 | cd .. |
||
52 | 5 | tsaitgaist | </pre> |