1 | # $Id: Portfile 103986 2013-03-12 00:13:16Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name tcpreplay |
---|
6 | categories net security |
---|
7 | license BSD ISC |
---|
8 | version 3.4.4 |
---|
9 | platforms darwin |
---|
10 | maintainers pmq openmaintainer |
---|
11 | |
---|
12 | description Replay pcap files at arbitrary speeds onto the network |
---|
13 | long_description \ |
---|
14 | Tcpreplay is a suite of BSD licensed tools written by Aaron Turner for \ |
---|
15 | *NIX operating systems which gives you the ability to use previously \ |
---|
16 | captured traffic in libpcap format to test a variety of network devices. \ |
---|
17 | It allows you to classify traffic as client or server, rewrite Layer 2, 3 \ |
---|
18 | and 4 headers and finally replay the traffic back onto the network and \ |
---|
19 | through other devices such as switches, routers, firewalls, NIDS and \ |
---|
20 | IPS's. Tcpreplay supports both single and dual NIC modes for testing both \ |
---|
21 | sniffing and inline devices. |
---|
22 | |
---|
23 | homepage http://tcpreplay.synfin.net |
---|
24 | master_sites sourceforge |
---|
25 | checksums md5 22725feb9b2590809f9350308ec65180 \ |
---|
26 | sha1 9e4cca81cfbfb919f8759e1a27ce1b3b963ff3b8 \ |
---|
27 | rmd160 672812755ff39b284044b08cba32c574ab2b7e70 |
---|
28 | |
---|
29 | # TODO use libpcapnav |
---|
30 | # libdnet is required for fragroute support |
---|
31 | depends_lib port:libpcap port:tcpdump port:libdnet |
---|
32 | |
---|
33 | configure.args --with-libpcap=${prefix} \ |
---|
34 | --with-tcpdump=${prefix}/sbin/tcpdump |
---|
35 | |
---|
36 | configure.cflags-append -D_FORTIFY_SOURCE=0 |
---|
37 | |
---|