For some time I’ve wanted to write a wireshark protocol dissector, and today I finally got started. Of course, first I just wanted to compile wireshark from source, but the howto on wiresharks wiki page was pretty incomplete, so I decided to write down the necessary steps for building wireshark.

First of, you have to install some libraries and tools for building wireshark:
sudo aptitude install autoconf libgtk2.0-dev libglib2.0-dev libgeoip-dev libpcre3-dev libpcap0.8-dev libtool byacc flex subversion

Then you need to fetch the source code for wireshark:
cd ~; svn co http://anonsvn.wireshark.org/wireshark/trunk/ wireshark

Now, it’s just a matter of compiling the source code:

cd wireshark
./autogen.sh
./configure
make

This will take some time, but will eventually complete. If you want to install wireshark, type sudo make install in your terminal. Have fun using your newly compiled wireshark binary! :-D

Related posts:

Tags: , , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.