INSTALL 1.2 KB

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