| 6 | | You'll need: |
| 7 | | |
| 8 | | - libnet 1.1.x (1.1.1 or greater is recommended) |
| 9 | | http://www.packetfactory.net/Projects/libnet/ |
| 10 | | |
| 11 | | Note: Version 1.1.3-RC has a bug in one of the header files. If you get |
| 12 | | an error during compilation: |
| 13 | | |
| 14 | | /usr/local/include/./libnet/libnet-types.h:36:23: error: ../config.h: No |
| 15 | | such file or directory |
| 16 | | |
| 17 | | Then you should edit /usr/local/include/libnet/libnet-types.h (or wherever |
| 18 | | it is installed) and comment out or delete the three lines (should be lines |
| 19 | | 35-38): |
| 20 | | |
| 21 | | #ifdef HAVE_CONFIG_H |
| 22 | | #include "../config.h" |
| 23 | | #endif |
| 24 | | |
| 25 | | Feel free to bitch to libnet@securityfocus.com since they seem to be |
| 26 | | ignoring me. |
| 27 | | |
| 28 | | - libpcap >= 0.5 (0.8 or greater is recommended) |
| 29 | | http://www.tcpdump.org/ |
| 30 | | |
| 31 | | - tcpdump (Optional. If you want packet decoding of sent packets) |
| 32 | | http://www.tcpdump.org/ |
| 33 | | |
| 34 | | - autogen >= 5.7.0 (Only necessary if you are building tcpreplay from |
| 35 | | subversion) |
| 36 | | http://autogen.sourceforge.net/ |
| 37 | | |
| 38 | | If building from subversion: |
| 39 | | ./autogen.sh |
| 40 | | |
| 41 | | Run: |
| 42 | | ./configure ; make |
| 43 | | |
| 44 | | Run as root: |
| 45 | | make test -i (optional) |
| 46 | | make install |
| 47 | | |
| 48 | | For more detailed information, see the FAQ. |
| | 6 | http://tcpreplay.synfin.net/trac/wiki/manual#GettingTcpreplayInstalled |