Tcpreplay version 3.4.3 - How to Download and Install on Mac OS X
Monday the 22nd of March, 2010

    tcpreplay  most recent diff


    version 3.4.3

      View the most recent changes for the tcpreplay port at: tcpreplay.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tcpreplay.
      The raw portfile for tcpreplay 3.4.3 is located here:
      http://tcpreplay.darwinports.com/dports/net/tcpreplay/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/tcpreplay


      The tcpreplay Portfile 56601 2009-08-30 18:07:05Z pmq macports.org $

      PortSystem 1.0

      Name: tcpreplay
      Category: net security
      Version: 3.4.3
      Platform: darwin
      Maintainers: pmq openmaintainer

      Description: Replay pcap files at arbitrary speeds onto the network
      Long Description: Tcpreplay is a suite of BSD licensed tools written by Aaron Turner for *NIX operating systems which gives you the ability to use previously captured traffic in libpcap format to test a variety of network devices. It allows you to classify traffic as client or server, rewrite Layer 2, 3 and 4 headers and finally replay the traffic back onto the network and through other devices such as switches, routers, firewalls, NIDS and IPS's. Tcpreplay supports both single and dual NIC modes for testing both sniffing and inline devices.

      Homepage: http://tcpreplay.synfin.net
      Master Sites: sourceforge
      Checksums: sha1 441365eefdad608d41ccce92cc995ebb8559f35c rmd160 fc3430bd5a638d3f7bc9504032948598b4efede5

      # TODO use libpcapnav
      # libdnet is required for fragroute support
      depends_lib port:libpcap port:tcpdump port:libdnet

      configure.args --with-libpcap=${prefix} --with-tcpdump=${prefix}/sbin/tcpdump

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/tcpreplay
      % sudo port install tcpreplay
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching tcpreplay
      ---> Verifying checksum for tcpreplay
      ---> Extracting tcpreplay
      ---> Configuring tcpreplay
      ---> Building tcpreplay with target all
      ---> Staging tcpreplay into destroot
      ---> Installing tcpreplay
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using tcpreplay with these commands:
      %  man tcpreplay
      % apropos tcpreplay
      % which tcpreplay
      % locate tcpreplay

     Where to find more information:

    Darwin Ports



    Lightbox this page.