--- libtrace3-3.0.0.orig/debian/libtrace3.install +++ libtrace3-3.0.0/debian/libtrace3.install @@ -0,0 +1,3 @@ +usr/lib/lib*.so.* +usr/lib/libpacketdump/*.so.* +usr/lib/libpacketdump/*.protocol --- libtrace3-3.0.0.orig/debian/copyright +++ libtrace3-3.0.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Matt Brown on +Thu, 13 Oct 2005 00:28:25 +1300. + +It was downloaded from http://research.wand.net.nz/software/libtrace.php + +Copyright Holder: + +Copyright (c) 2004 The University of Waikato, Hamilton, New Zealand. + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- libtrace3-3.0.0.orig/debian/libtrace-tools.dirs +++ libtrace3-3.0.0/debian/libtrace-tools.dirs @@ -0,0 +1 @@ +usr/bin --- libtrace3-3.0.0.orig/debian/libtrace-tools.manpages +++ libtrace3-3.0.0/debian/libtrace-tools.manpages @@ -0,0 +1,2 @@ +debian/tracereport.1 +debian/tracertstats.1 --- libtrace3-3.0.0.orig/debian/rules +++ libtrace3-3.0.0/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + rm -rf docs/doxygen + rm -f config.status + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + +# 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_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_install --sourcedir=debian/tmp + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libtrace3-3.0.0.orig/debian/tracereport.1 +++ libtrace3-3.0.0/debian/tracereport.1 @@ -0,0 +1,32 @@ +.TH TRACEMERGE "1" "October 2006" "tracereport (libtrace)" "User Commands" +.SH NAME +tracereport \- Report summary statistics on a trace +.SH SYNOPSIS +.B tracereport +inputuri... +.SH DESCRPTION +tracereport lists various summary statistics about a trace. + +The sections are: +.IP \(bu 4 +Errors +.IP \(bu 4 +Flows +.IP \(bu 4 +Type of Service +.IP \(bu 4 +Protocol breakdown +.IP \(bu 4 +Port breakdown +.IP \(bu 4 +TTL breakdown +.IP \(bu 4 +Direction + +.SH SEE ALSO +libtrace(3), tracemerge(1), tracesplit(1), tracesplit_dir(1), tracefilter(1), +traceconvert(1), tracestats(1), tracertstats(1), tracereport(1), tracedump(1), +traceanon(1), tracesummary(1) + +.SH AUTHORS +Perry Lorier --- libtrace3-3.0.0.orig/debian/libtrace3-dev.install +++ libtrace3-3.0.0/debian/libtrace3-dev.install @@ -0,0 +1,8 @@ +usr/include/* +usr/lib/lib*.so +usr/lib/lib*.a +usr/lib/*.la +usr/lib/libpacketdump/*.a +usr/lib/libpacketdump/*.la +usr/lib/libpacketdump/*.so +usr/share/man/man3/* --- libtrace3-3.0.0.orig/debian/compat +++ libtrace3-3.0.0/debian/compat @@ -0,0 +1 @@ +4 --- libtrace3-3.0.0.orig/debian/libtrace3.dirs +++ libtrace3-3.0.0/debian/libtrace3.dirs @@ -0,0 +1 @@ +usr/lib --- libtrace3-3.0.0.orig/debian/libtrace-tools.install +++ libtrace3-3.0.0/debian/libtrace-tools.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/man1/* --- libtrace3-3.0.0.orig/debian/libtrace3-dev.dirs +++ libtrace3-3.0.0/debian/libtrace3-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libtrace3-3.0.0.orig/debian/control +++ libtrace3-3.0.0/debian/control @@ -0,0 +1,55 @@ +Source: libtrace3 +Priority: optional +Maintainer: Matt Brown +Build-Depends: debhelper (>= 4.0.0), libpcap0.8-dev, zlib1g-dev, flex, bison +Standards-Version: 3.7.2 +Section: libs + +Package: libtrace3-dev +Section: libdevel +Architecture: any +Depends: libtrace3 (= ${Source-Version}), libpcap0.8-dev, zlib1g-dev +Provides: libtrace-dev +Conflicts: libtrace-dev +Description: development headers for the libtrace network processing library + This package contains development headers and other ancillary files for + the libtrace library. + . + libtrace is a library for trace processing. It supports multiple input + methods, including device capture, raw and gz-compressed trace, and sockets; + and mulitple input formats, including pcap and DAG. + . + libtrace is developed by the WAND Network Research Group at Waikato + University in New Zealand. + . + Homepage: http://research.wand.net.nz/software/libtrace.php + +Package: libtrace3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: network trace processing library supporting many input formats + libtrace is a library for trace processing. It supports multiple input + methods, including device capture, raw and gz-compressed trace, and sockets; + and multiple input formats. + . + libtrace is developed by the WAND Network Research Group at Waikato + University in New Zealand. + . + Homepage: http://research.wand.net.nz/software/libtrace.php + +Package: libtrace-tools +Section: net +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: helper utilities for use with the libtrace process library + libtrace is a library for trace processing. These tools perform many common + tasks that are required when analysing and manipulating network traces. + . + Multiple input methods and formats are supported including device capture, + raw and gz-compressed traces, and sockets. + . + libtrace is developed by the WAND Network Research Group at Waikato + University in New Zealand. + . + Homepage: http://research.wand.net.nz/software/libtrace.php --- libtrace3-3.0.0.orig/debian/changelog +++ libtrace3-3.0.0/debian/changelog @@ -0,0 +1,20 @@ +libtrace3 (3.0.0-2) unstable; urgency=low + + * Move /usr/lib/libpacketdump/*.{a,la} to the -dev package + * Install /usr/lib/libpacketdump/*.so symlinks in the -dev package + + -- Matt Brown Thu, 15 Feb 2007 23:13:05 +1300 + +libtrace3 (3.0.0-1) unstable; urgency=low + + * New upstream release. Now out of beta status. + * Initial upload to Debian. (Closes: #394825) + + -- Matt Brown Mon, 12 Feb 2007 19:44:08 +1300 + +libtrace3 (3.0.0~beta6-1) unstable; urgency=low + + * New upstream release + * Renumber package with ~ so that the final release is bigger. + + -- Matt Brown Thu, 26 Oct 2006 18:07:45 +1300 --- libtrace3-3.0.0.orig/debian/tracertstats.1 +++ libtrace3-3.0.0/debian/tracertstats.1 @@ -0,0 +1,90 @@ +.TH TRACESTATS "1" "November 2006" "tracestats (libtrace)" "User Commands" +.SH NAME +tracertstats \- perform simple filter based analysis on a trace +.SH SYNOPSIS +.B tracertstats +[ -f | --filter bpf ] +[ -i | --interval interval ] +[ -c | --count count ] +[ -o | --output-format csv,txt,png,html ] +inputuri... +.P +.B tracertstats +-H|--libtrace-help +.SH DESCRPTION +tracertstats takes a list of bpf expressions and outputs the number of packets +and bytes that match that expression every interval seconds, or count packets. +.TP +.PD 0 +.BI \-f " bpf-filter" +.TP +.PD +.BI \-\^\-filter " bpf-filter" +Add another "bpf filter" + +.TP +.PD 0 +.BI \-i " interval" +.TP +.PD +.BI \-\^\-interval " interval" +Output results every \fIinterval\fR seconds. + +.TP +.PD 0 +.BI \-i " count" +.TP +.PD +.BI \-\^\-count " count" +Output results every \fIcount\fR packets. + +.TP +.PD 0 +.BI \-o " format" +.TP +.PD +.BI \-\^\-output\-format " format" +Selects the output format + +.RS +.TP +txt +Human readable text. This is the default output format which provides output +easily understood by a human. This format has the disadvantage that it takes +up quite a bit of horizontal space. + +.TP +csv +Comma Seperated Values. This is suitable for further analysis in a spreadsheet, +or other program. + +.TP +png +PNG Graphic. Produces a fairly incomprehensible png graph. This relies on +gdc being available at compile time. + +.TP +html +This produces output suitable for display to a human in a webbrowser. + +.SH EXAMPLES +.nf +tracertstats \-\^\-filter 'host sundown' \\ + \-\^\-filter 'port http' \\ + \-\^\-filter 'port ftp or ftp-data' \\ + \-\^\-filter 'port smtp' \\ + \-\^\-filter 'tcp[tcpflags] & tcp-syn!=0' \\ + \-\^\-filter 'not ip' \\ + \-\^\-filter 'ether[0] & 1 == 1' \\ + \-\^\-filter 'icmp[icmptype] == icmp-unreach' \\ + \-\^\-output\-format html + erf:/traces/trace1.gz \\ + erf:/traces/trace2.gz +.fi + +.SH SEE ALSO +libtrace(3), tracemerge(1), tracesplit(1), tracesplit_dir(1), tracefilter(1), +traceconvert(1), tracereport(1), tracedump(1), traceanon(1), tracesummary(1) + +.SH AUTHORS +Perry Lorier