OLD | NEW |
| (Empty) |
1 How to build SPDY dissector for Wireshark (Windows directions). | |
2 | |
3 1) Retrieve wireshark source code. | |
4 | |
5 > mkdir D:\src\wireshark | |
6 > cd D:\src\wireshark | |
7 > svn co http://anonsvn.wireshark.org/wireshark/trunk/ trunk | |
8 | |
9 2) Retrieve the spdyshark source code. | |
10 | |
11 > cd D:\src | |
12 > svn co http://src.chromium.org/svn/trunk/src/net/tools/spdyshark | |
13 | |
14 3) Follow directions to build Wireshark from | |
15 | |
16 http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html | |
17 | |
18 - Read all the directions, there are a number of preliminary steps. | |
19 | |
20 - You may need to explicitly make C:\wireshark-win32-libs [or | |
21 C:\wireshark-win64-libs] | |
22 | |
23 - Make sure PYTHON environment variable is set (this may not be the | |
24 case if using the one from depot_tools). Although wireshark seems | |
25 to require it, it tries to workaround missing PYTHON environment | |
26 variables unsuccessfully. | |
27 | |
28 4) Make a symbolic link for spdyshark to Wireshark | |
29 | |
30 > mklink /D D:\src\wireshark\trunk\plugins\spdyshark D:\src\spdyshark | |
31 | |
32 5) Build the plugin. | |
33 | |
34 > cd D:\src\wireshark\trunk\plugins\spdyshark | |
35 > nmake -f Makefile.nmake all | |
36 | |
37 6) Move the plugin into the wireshark-gtk directory [should automate] | |
38 | |
39 > copy D:\src\wireshark\trunk\plugins\spdyshark.dll | |
40 D:\src\wireshark\trunk\wireshark-gtk2\plugins | |
41 | |
42 7) Start wireshark, and confirm that SPDY plugin is loaded. | |
43 | |
44 > D:\src\wireshark\trunk\wireshark-gtk2\wireshark.exe | |
45 | |
46 Choose Edit > Preferences to bring up the Preferences dialog. | |
47 | |
48 Exand "Protocols" in the left pane of the preferences dialog and | |
49 confirm that spdyshark is there. | |
OLD | NEW |