Installing libnet

In this recipe, we will show you how to download and install libnet on your computer. Libnet was originally maintained on the http://packetfactory.openwall.net/ site; however, this site has not been updated since 2007. Since then, a number of individuals have forked the library in an attempt to maintain it. The version that we will be using is the libnet-dev project located at http://sourceforge.net/.

Getting ready

To get ready for the installation, we will need to download libnet. The projects in this chapter have been tested with the 1.2-RC2 Version, and you can find this version at http://sourceforge.net/projects/libnet-dev/files/libnet-1.2-rc2.tar.gz/download.

Note

Some of the code in this chapter have issues with Version 1.16. ...

Get iOS and OS X Network Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.