debian/0000755000000000000000000000000011776043312007172 5ustar debian/watch0000644000000000000000000000007211612023262010211 0ustar version=3 http://sf.net/tcpreplay/tcpreplay-(.*)\.tar\.gz debian/copyright0000644000000000000000000000420511775661151011134 0ustar This package was debianized by Raphael Bossek Tue, 29 Aug 2000 21:36:07 +0200 Noël Köthe on Tue, 31 Dec 2002 16:19:09 +0100. It was downloaded from https://sf.net/projects/tcpreplay/ Upstream Authors: Tcpreplay was originally written by Matt Undy of Anzen Computing. Tcpreplay has been re-written and is now maintained by Matt Bing and Aaron Turner Tcpprep was written and is now maintained by Aaron Turner. Capinfo was written and is now maintained by Matt Bing. Copyright: Copyright (c) 2001-2010 Aaron Turner. aturner at synfin dot net All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the names of the copyright owners nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This product includes software developed by the University of California, Berkeley, Lawrence Berkeley Laboratory and its contributors. debian/dirs0000644000000000000000000000001011612023262010034 0ustar usr/bin debian/docs0000644000000000000000000000001211612023262010025 0ustar docs/TODO debian/changelog0000644000000000000000000002413411776042670011056 0ustar tcpreplay (3.4.4-2) unstable; urgency=low * debian/control fixed lintian error depends-on-build-essential-package-without-using-version and lintian warning debhelper-but-no-misc-depends -- Noël Köthe Sat, 07 Jul 2012 16:19:30 +0200 tcpreplay (3.4.4-1) unstable; urgency=low * new upstream release 2010-04-04 closes: Bug#634538 Thanks gregor and Simon for the patch I changed a bit to get it build again * debian/control updated Standards-Version, no changes needed * added missing --enable-debug for the -d option closes: Bug#651073 * debian/copyright updated year and email from docs/LICENSE -- Noël Köthe Fri, 06 Jul 2012 02:03:04 +0200 tcpreplay (3.4.3-2) unstable; urgency=low * debian/compat raised to 5 like the dependency in 3.4.3-1 -- Noèl Köthe Sat, 25 Jul 2009 20:02:43 +0200 tcpreplay (3.4.3-1) unstable; urgency=low * new release from 2009-06-25 * debian/control - removed URLs in description because we have Homepage: - updated Standards-Version (no changes needed) - raised Build-Depends version of debhelpter to 5 -- Noèl Köthe Fri, 26 Jun 2009 10:25:15 +0200 tcpreplay (3.4.1-1) unstable; urgency=low * new upstream release from 2009-02-21 * updated Standards-Version -- Noèl Köthe Sat, 21 Feb 2009 14:37:11 +0100 tcpreplay (3.3.2-1) unstable; urgency=low * new upstream release from 2008-06-20 (closes: Bug#505550) -- Noèl Köthe Sat, 15 Nov 2008 22:57:38 +0100 tcpreplay (3.3.1-1) unstable; urgency=low * new upstream release from 2008-05-17 * debin/control added Homepage: -- Noèl Köthe Thu, 22 May 2008 18:05:19 +0200 tcpreplay (3.2.4-1) unstable; urgency=low * new upstream release from 2008-01-16 * remove empty dirs from package /usr/sbin -- Noèl Köthe Sun, 20 Jan 2008 12:11:17 +0100 tcpreplay (3.2.3-1) unstable; urgency=low * new upstream release from 2007-11-01 - fixes double free if tcpreplay -N is launched as normal user (closes: Bug#442132) * correcting debian-rules-ignores-make-clean-error correct (closes: Bug#448259) * fixed sourceforge watch file (closes: Bug#450062) -- Noèl Köthe Sun, 11 Nov 2007 13:18:21 +0100 tcpreplay (3.2.1-1) unstable; urgency=low * new upstream release from 2007-10-25 * correcting debian-rules-ignores-make-clean-error -- Noèl Köthe Fri, 26 Oct 2007 17:54:14 +0200 tcpreplay (3.2.0-1) unstable; urgency=low * new upstream release from 2007-08-27 -- Noèl Köthe Mon, 27 Aug 2007 18:21:31 +0200 tcpreplay (3.1.1-1) unstable; urgency=low * new upstream release from 2007-07-19 -- Noèl Köthe Sun, 22 Jul 2007 13:03:44 +0200 tcpreplay (3.0.1-1) unstable; urgency=low * new upstream release from 2007-05-01 - fixed gcc 4.3 "inline" change (closes: Bug#416857) * added build-dep autotools-dev to update config.sub+.guess -- Noèl Köthe Sun, 06 May 2007 11:40:47 +0200 tcpreplay (2.99+3.0.rc1-1) unstable; urgency=low * new upstream release from 2007-04-15 - upstream removed the docs/*.pdf * dlt problem should be fixed since beta13 http://tcpreplay.synfin.net/trac/ticket/82 (closes: Bug#414613) -- Noèl Köthe Sun, 15 Apr 2007 14:10:24 +0200 tcpreplay (2.99+3.0.beta11-4) unstable; urgency=low * rebuilt to built against libopts25 (closes: Bug#409056) -- Noèl Köthe Fri, 02 Feb 2007 22:51:37 +0100 tcpreplay (2.99+3.0.beta11-3) unstable; urgency=low * fix compile error (newpkt undeclared, post_args) http://tcpreplay.synfin.net/trac/changeset/1589 and http://tcpreplay.synfin.net/trac/changeset/1590 (closes: Bug#387670) -- Noèl Köthe Sat, 16 Sep 2006 15:17:17 +0200 tcpreplay (2.99+3.0.beta11-2) unstable; urgency=low * fix compile error (no field ipbuff) http://tcpreplay.synfin.net/trac/changeset/1587 (closes: Bug#379657) * removing build-deps libnids-dev, libnet1-dev (not needed anymore) -- Noèl Köthe Fri, 15 Sep 2006 15:08:17 +0200 tcpreplay (2.99+3.0.beta11-1) unstable; urgency=low * new upstream from 2006-08-08 -- Noèl Köthe Tue, 08 Aug 2006 22:01:01 +0200 tcpreplay (2.99+3.0.beta9-1) unstable; urgency=low * new upstream from 2006-07-17 * updated standards-version -- Noèl Köthe Sat, 22 Jul 2006 11:34:10 +0200 tcpreplay (2.99+3.0.beta7-2) unstable; urgency=low * updated homepage http://tcpreplay.synfin.net * fix conflicting types for 'speed_t' (closes: Bug#361065) -- Noèl Köthe Mon, 10 Apr 2006 22:07:02 +0200 tcpreplay (2.99+3.0.beta7-1) unstable; urgency=low * new upstream beta -- Noèl Köthe Wed, 24 Aug 2005 18:01:46 +0200 tcpreplay (2.99+3.0.beta6-4) unstable; urgency=low * change build-dep from libpcap0.9 to libpcap0.8 -- Noèl Köthe Thu, 07 Jul 2005 17:22:05 +0200 tcpreplay (2.99+3.0.beta6-3) unstable; urgency=low * removed libopts* files from the package and depends on autogen/libopts25 which provides these files (closes: Bug#316950) * added libnids-dev build-dependency -- Noèl Köthe Thu, 07 Jul 2005 17:22:05 +0200 tcpreplay (2.99+3.0.beta6-2) unstable; urgency=low * remove stupid man2html in package -- Noèl Köthe Mon, 04 Jul 2005 23:19:26 +0200 tcpreplay (2.99+3.0.beta6-1) unstable; urgency=low * upgrading to the tcpreplay 3.0 tree * switch to libpcap0.9-dev * updated Standards-Version * added watch file -- Noèl Köthe Mon, 04 Jul 2005 19:32:52 +0200 tcpreplay (2.3.3-1) unstable; urgency=low * new upstream from 2005-02-10 -- Noèl Köthe Sat, 12 Feb 2005 21:18:10 +0100 tcpreplay (2.3.2-1) unstable; urgency=low * new upstream from 2004-11-08 -- Noèl Köthe Mon, 08 Nov 2004 19:42:50 +0100 tcpreplay (2.3.1-1) unstable; urgency=low * new upstream from 2004-09-26 -- Noèl Köthe Mon, 27 Sep 2004 21:41:47 +0200 tcpreplay (2.3.0-1) unstable; urgency=low * new upstream from 2004-09-05 * changed build-dep from libpcap-dev to libpcap0.8-dev -- Noèl Köthe Mon, 13 Sep 2004 20:18:46 +0200 tcpreplay (2.2.2-1) unstable; urgency=low * new upstream from 2004-06-21 * the release fixes the rewrite source mac address problem (closes: Bug#253391) -- Noèl Köthe Wed, 07 Jul 2004 18:11:21 +0200 tcpreplay (2.2.0-1) unstable; urgency=low * new upstream from 2004-05-15 -- Noèl Köthe Sun, 16 May 2004 12:26:20 +0200 tcpreplay (2.1.1-1) unstable; urgency=low * new upstream -- Noèl Köthe Sun, 02 May 2004 01:19:08 +0200 tcpreplay (2.0.3-1) unstable; urgency=low * new upstream -- Noèl Köthe Thu, 25 Mar 2004 19:14:46 +0100 tcpreplay (2.0.2-1) unstable; urgency=low * new upstream which fixes compile issue (closes: Bug#233062) -- Noèl Köthe Wed, 25 Feb 2004 23:07:56 +0100 tcpreplay (2.0.1-2) unstable; urgency=low * added missing tcpdump dependency (closes: Bug#232606) -- Noèl Köthe Sat, 14 Feb 2004 11:47:21 +0100 tcpreplay (2.0.1-1) unstable; urgency=low * new upstream from 2004-02-03 -- Noèl Köthe Fri, 13 Feb 2004 21:09:46 +0100 tcpreplay (1.4.6-1) unstable; urgency=low * new upstream from 2003-12-05 -- Noèl Köthe Sat, 6 Dec 2003 13:10:00 +0100 tcpreplay (1.4.5-1) unstable; urgency=low * new upstream from 2003-08-30 * updated Standards-Version * fixed a define because libnet author changed a bit (see #210341) (closes: Bug#208644) -- Noèl Köthe Sun, 13 Sep 2003 12:19:00 +0200 tcpreplay (1.4.4-1) unstable; urgency=low * new upstream from 2003-06-17 -- Noel Koethe Wed, 18 Jun 2003 12:44:00 +0200 tcpreplay (1.4.2-1) unstable; urgency=low * new upstream from 2003-05-24 * updated Standards-Version -- Noel Koethe Wed, 28 May 2003 08:58:00 +0100 tcpreplay (1.4.0-1) unstable; urgency=low * new upstream from 2003-05-07 * updated Standards-Version * corrected Authors line in debian/copyright to make the package lintian clean -- Noel Koethe Sun, 11 May 2003 13:16:00 +0100 tcpreplay (1.3.2-1) unstable; urgency=low * new upstream from 2002-01-08 -- Noel Koethe Fri, 10 Jan 2003 17:31:00 +0100 tcpreplay (1.3.1-2) unstable; urgency=low * buildd's could find the libnet version I set this now with a configure switch -- Noel Koethe Tue, 31 Dec 2002 17:58:00 +0100 tcpreplay (1.3.1-1) unstable; urgency=low * found current project page with latest version 1.3.1 from 2002-12-23 * added URL to description * made a rules file from scratch -- Noel Koethe Tue, 31 Dec 2002 16:58:00 +0100 tcpreplay (1.0.1-2) unstable; urgency=low * took package from QA (closes: Bug#123507) * closing fixed bugs (closes: Bug#156202) (closes: Bug#127627) (closes: Bug#127626) * updated Standards-Version -- Noel Koethe Tue, 31 Dec 2002 15:58:00 +0100 tcpreplay (1.0.1-1.2) unstable; urgency=low * Non maintainer upload * Rebuilt with new libpcap to remove dependency on libpcap0, which I got removed from unstable by accident. Sorry about this... -- Torsten Landschoff Sat, 10 Aug 2002 11:37:41 +0200 tcpreplay (1.0.1-1.1) unstable; urgency=low * NMU * added old download URL and new CVS URL (http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpreplay/) (closes: Bug#127627) * removed 404 URL from description (closes: Bug#127626) * corrected possition of build-depends in debian/control -- Noel Koethe Thu, 30 Jan 2002 23:58:00 +0100 tcpreplay (1.0.1-1) unstable; urgency=low * First upstream version. -- Raphael Bossek Tue, 29 Aug 2000 21:36:07 +0200 debian/rules0000755000000000000000000000416611775660451010271 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) confflags= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else confflags= --build $(DEB_BUILD_GNU_TYPE) endif CFLAGS = `dpkg-buildflags --get CFLAGS` CFLAGS += -g -Wall CXXFLAGS = `dpkg-buildflags --get CXXFLAGS` -g -Wall LDFLAGS = `dpkg-buildflags --get LDFLAGS` CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` configure-stamp: dh_testdir dh_autoreconf # Add here commands to configure the package. CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --enable-debug \ --enable-dynamic-link \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/tcpreplay.sgml > tcpreplay.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean dh_autoreconf_clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/tcpreplay. $(MAKE) install prefix=$(CURDIR)/debian/tcpreplay/usr # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installcron dh_installman dh_installchangelogs docs/CHANGELOG dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/compat0000644000000000000000000000000211612023262010357 0ustar 5 debian/patches/0000755000000000000000000000000011775654602010632 5ustar debian/patches/configure-pcap.patch0000644000000000000000000000242411775654570014563 0ustar --- tcpreplay-3.4.4/configure.ac.orig 2010-04-05 02:58:05.000000000 +0200 +++ tcpreplay-3.4.4/configure.ac 2012-07-06 23:27:29.000000000 +0200 @@ -39,6 +39,7 @@ AC_SUBST(host) AC_SUBST(build) AC_SUBST(target) +MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH) have_cygwin=no AC_MSG_CHECKING([for cygwin development environment]) @@ -355,6 +356,8 @@ LPCAPLIB="-L${testdir}/lib64 -lpcap" elif test -f "${testdir}/lib/libpcap${shrext_cmds}" ; then LPCAPLIB="-L${testdir}/lib -lpcap" + elif test -f "${testdir}/lib/$MULTIARCH/libpcap${shrext_cmds}" ; then + LPCAPLIB="-L${testdir}/lib/$MULTIARCH/lib -lpcap" else AC_ERROR([Unable to find libpcap in ${testdir}]) fi @@ -364,6 +367,9 @@ LPCAPLIB="${testdir}/lib/libpcap.${libext}" elif test -f "${testdir}/lib/libwpcap.${libext}" ; then LPCAPLIB="${testdir}/lib/libwpcap.${libext}" + elif test -f "${testdir}/lib/$MULTIARCH/libpcap.${libext}" ; then + LPCAPLIB="${testdir}/lib/$MULTIARCH/libpcap.${libext}" + AC_DEFINE([HAVE_WINPCAP], [1], [Do we have WinPcap?]) else AC_ERROR([Unable to find matching library for header file in ${testdir}]) debian/patches/series0000644000000000000000000000002511775654602012044 0ustar configure-pcap.patch debian/source/0000755000000000000000000000000011775651756010512 5ustar debian/source/format0000644000000000000000000000001411775651756011720 0ustar 3.0 (quilt) debian/control0000644000000000000000000000202511776042555010604 0ustar Source: tcpreplay Section: net Priority: optional Maintainer: Noël Köthe Build-Depends: debhelper (>= 5.0.0), libpcap0.8-dev, tcpdump, autogen, dh-autoreconf, dpkg-dev (>= 1.16.0) Standards-Version: 3.9.3 Homepage: http://tcpreplay.synfin.net/ Package: tcpreplay Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tool to replay saved tcpdump files at arbitrary speeds Tcpreplay is aimed at testing the performance of a NIDS by replaying real background network traffic in which to hide attacks. Tcpreplay allows you to control the speed at which the traffic is replayed, and can replay arbitrary tcpdump traces. Unlike programmatically-generated artificial traffic which doesn't exercise the application/protocol inspection that a NIDS performs, and doesn't reproduce the real-world anomalies that appear on production networks (asymmetric routes, traffic bursts/lulls, fragmentation, retransmissions, etc.), tcpreplay allows for exact replication of real traffic seen on real networks.