the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: tcpreplay
Version: 2.3.5
Revision: 12
###
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: fff1c5a382bc869caabfb20f4b3b3dad
Depends: libnet1.1-shlibs (>= 1.1.2.1-3), libpcap-shlibs
BuildDepends: libnet1.1 (>= 1.1.2.1-3), libpcap
Conflicts: ethereal, ethereal-ssl
###
###
DocFiles: Docs/*
###
ConfigureParams: --prefix=%p --mandir=%p/share --with-libnet=%p --with-libpcap=%p --with-tcpdump=/usr/sbin/tcpdump
PatchScript: <<
perl -pi.bak -e "s/libpcap.a/libpcap.dylib/g" configure
perl -pi.bak -e "s|#include
mv Docs/INSTALL Docs/INSTALL.txt
<<
CompileScript: <<
#! /bin/sh -ex
export CFLAGS="$CFLAGS -fno-common"
./configure %c
make
<<
InstallScript: <<
mkdir -p %i/share/man/man1
mkdir -p %i/share/man/man8
mkdir -p %i/sbin
mkdir -p %i/bin
install -c -p -m 755 tcpreplay %i/sbin/tcpreplay
install -c -p -m 755 capinfo %i/bin/capinfo
install -c -p -m 755 tcpprep %i/bin/tcpprep
install -c -p -m 755 pcapmerge %i/bin/pcapmerge
install -c -p -m 644 man/tcpreplay.8 %i/share/man/man8/tcpreplay.8
install -c -p -m 644 man/capinfo.1 %i/share/man/man1/capinfo.1
install -c -p -m 644 man/tcpprep.1 %i/share/man/man1/tcpprep.1
install -c -p -m 644 man/pcapmerge.1 %i/share/man/man1/pcapmerge.1
<<
Description: Tool to replay captured net traffic
DescDetail: <<
tcpreplay is a BSD-style licensed tool to replay saved tcpdump files
at arbitrary speeds. It provides a variety of features for replaying
traffic for both passive sniffer devices as well as inline devices
such as routers, firewalls, and the new class of inline IDS's.
This program was written in the hopes that a more precise testing
methodology might be applied to the area of network intrusion
detection, which is still a black art at best.
Many NIDSs fare poorly when looking for attacks on heavily-loaded
networks. tcpreplay allows you to recreate real network traffic from
a real network for use in testing.
tcpreplay includes the following tools:
* tcpreplay - the tool for replaying capture files
* tcpprep - a capture file pre-processor for creating cache files for tcpreplay
* capinfo - the tool for printing statistics about capture files
* pcapmerge - a tool for merging pcap files into one larger one (1.4.x only)
* flowreplay - a tool for replaying connections (1.5.x only)
<<
###
License: BSD
Maintainer: Darian Lanx
Homepage: http://tcpreplay.sourceforge.net/