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!
Related posts:
- Compiling a new, cooler conky
- Compiling conky from git in ubuntu 9.10
- Speeding up compiles
- Improving randomness and entropy in ubuntu 9.10
- Installing apt-p2p on Ubuntu
Tags: development, howto, linux, security, wireshark




