summaryrefslogtreecommitdiffstats
path: root/net/tools/spdyshark/README
blob: e06515e78a55a3dc2eef71336828dd65bd05b039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
How to build SPDY dissector for Wireshark (Windows directions).

1) Retrieve wireshark source code.

> mkdir D:\src\wireshark
> cd D:\src\wireshark
> svn co http://anonsvn.wireshark.org/wireshark/trunk/ trunk

2) Retrieve the spdyshark source code.

> cd D:\src
> svn co http://src.chromium.org/svn/trunk/src/net/tools/spdyshark

3) Follow directions to build Wireshark from 

http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html

  - Read all the directions, there are a number of preliminary steps.

  - You may need to explicitly make C:\wireshark-win32-libs [or
    C:\wireshark-win64-libs]
 
  - Make sure PYTHON environment variable is set (this may not be the
  case if using the one from depot_tools). Although wireshark seems
  to require it, it tries to workaround missing PYTHON environment
  variables unsuccessfully. 

4) Make a symbolic link for spdyshark to Wireshark

> mklink /D D:\src\wireshark\trunk\plugins\spdyshark D:\src\spdyshark

5) Build the plugin.

> cd D:\src\wireshark\trunk\plugins\spdyshark
> nmake -f Makefile.nmake all

6) Move the plugin into the wireshark-gtk directory [should automate]

> copy D:\src\wireshark\trunk\plugins\spdyshark.dll
  D:\src\wireshark\trunk\wireshark-gtk2\plugins

7) Start wireshark, and confirm that SPDY plugin is loaded.

> D:\src\wireshark\trunk\wireshark-gtk2\wireshark.exe

Choose Edit > Preferences to bring up the Preferences dialog.

Exand "Protocols" in the left pane of the preferences dialog and
confirm that spdyshark is there.