debian/0000755000000000000000000000000012264724700007172 5ustar debian/copyright0000644000000000000000000003512112263702562011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/simsong/tcpflow Upstream-Contact: Simson Garfinkel Upstream-Name: tcpflow Files: * Copyright: 1999-2003 Jeremy Elson 2012-2013 Simson Garfinkel License: GPL-3 Files: src/cpack.* Copyright: 2003-2004 David Young License: BSD-3clause-Young License: BSD-3clause-Young 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. The name of David Young may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY DAVID YOUNG ``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 DAVID YOUNG 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. Files: src/radiotap_old.c Copyright: 2007 Andy Green 2009 Johannes Berg License: GPL-2 Files: src/wifipcap.cpp Copyright: 1998 Gerald Combs 2006-2007 Doug Madory 2008 Jeff Pang 2013 Simson Garfinkel License: GPL-3 Comment: This has a piece by Gerald Combs, which is licensed GPL-2+. The bulk of the file is by Doug Madory and Jeff Pang (BSD-2clause) and Simson Garfinkel (GPL-3). Combination is GPL-3 Files: src/wifipcap.h Copyright: 2006-2007 Doug Madory 2008 Jeff Pang 2013 Simson Garfinkel License: GPL-3 Comment: The bulk of the file is by Doug Madory and Jeff Pang (BSD-2clause) and Simson Garfinkel (GPL-3). Combination is GPL-3 Files: src/mime_map.* Copyright: 2012 Will Glynn License: GPL-3 Comment: License Confirmed in an email to the author. Patch documenting this added right after the 1.4.0 release of tcpflow Files: src/uni/ethertype.h Copyright: 1993, 1994, 1996 The Regents of the University of California License: BSD-3clause-uni Files: src/uni/extract.h Copyright: 1992, 1993, 1994, 1995, 1996 The Regents of the University of California License: BSD-3clause-uni Files: src/uni/ieee802_11.h Copyright: 2001 Fortress Technologies Charlie Lenahan 2013 Simson Garfinkel License: BSD-3clause-uni Files: src/uni/llc.h Copyright: 1993, 1994, 1997 The Regents of the University of California License: BSD-3clause-uni License: BSD-3clause-uni Redistribution and use in source and binary forms, with or without modification, are permitted provided that: (1) source code distributions retain the above copyright notice and this paragraph in its entirety, (2) distributions including binary code include the above copyright notice and this paragraph in its entirety in the documentation or other materials provided with the distribution, and (3) all advertising materials mentioning features or use of this software display the following acknowledgement: ``This product includes software developed by the University of California, Lawrence Berkeley Laboratory and its contributors.'' Neither the name of the University 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 WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Files: src/uni/ieee802_11_radio.h Copyright: 2003, 2004 David Young License: BSD-3clause-Young Files: src/uni/oui.h src/wifipcap/oui.h Copyright: 2006-2007 Doug Madory 2008 Jeff Pang License: BSD-2clause-MadoryPang Files: src/uni/packet-ieee80211.h Copyright: 2000 Axis Communications AB License: GPL-2+ Files: src/netviz/* Copyright: 2012-2013 Michael Shick License: public-domain This source file is public domain, as it is not based on the original tcpflow Files: src/hold/tcp_options.cpp Copyright: 2006-2007 Doug Madory 2008 Jeff Pang License: BSD-2clause-MadoryPang Files: src/wifipcap/* Copyright: 2008 Jeff Pang License: BSD-2clause-MadoryPang Comment: Confirmed by email to the author Files: src/wifipcap/TimeVal.* Copyright: 2004-2005 Ashwin Bharambe 2004-2005 Jeffrey Pang 2004 Mukesh Agrawal 2003 Justin Weisz License: GPL-2+ Files: src/wifipcap/ieee802_11_radio.h Copyright: 2003, 2004 David Young License: BSD-3clause-Young Files: src/wifipcap/arp.h Copyright: 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 The Regents of the University of California License: BSD-3clause-uni Files: src/wifipcap/ethertype.h Copyright: 1993, 1994, 1996 The Regents of the University of California License: BSD-3clause-uni Files: src/wifipcap/extract.h Copyright: 1992, 1993, 1994, 1995, 1996 The Regents of the University of California License: BSD-3clause-uni Files: src/wifipcap/icmp.h Copyright: 1988, 1989, 1990, 1991, 1993, 1994, 1995, 1996 The Regents of the University of California License: BSD-3clause-uni Files: src/wifipcap/types.h Copyright: 2004-2005 Ashwin Bharambe 2004-2005 Jeffrey Pang 2004 Mukesh Agrawal License: GPL-2+ Files: src/wifipcap/parser.cpp Copyright: 2006-2007 Doug Madory 2008 Jeff Pang License: BSD-2clause-MadoryPang Comment: Confirmed by email to the authors Files: src/wifipcap/ip6.h Copyright: 1995, 1996, 1997, and 1998 WIDE Project. 1982, 1986, 1993 The Regents of the University of California License: BSD-4clause Files: src/wifipcap/ipproto.h Copyright: 1982, 1986, 1990, 1993 The Regents of the University of California License: BSD-4clause Files: src/wifipcap/ip.h src/wifipcap/tcp.h src/wifipcap/udp.h Copyright: 1982, 1986, 1993 The Regents of the University of California License: BSD-4clause License: BSD-4clause 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. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University 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 BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS OR CONTRIBUTORS 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. License: BSD-2clause-MadoryPang 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. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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. Files: src/be13_api/utf8/* src/be13_api/utf8.h Copyright: 2006 Nemanja Trifunovic License: Expat-Trifunovic Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: . The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/be13_api/net_ethernet.h Copyright: 1997, 1999, 2001, 2008 Free Software Foundation, Inc. License: LGPL-2.1+ Files: src/be13_api/* src/dfxml/* Copyright: 2013 Simson Garfinkel License: public-domain Confirmed by email to the author Files: src/http-parser/* Copyright: Igor Sysoev Joyent, Inc. and other Node contributors License: Expat http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev. . Additional changes are licensed under the same terms as NGINX and copyright Joyent, Inc. and other Node contributors. All rights reserved. . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2012-2013 Dima Kogan 2000 Robert McQueen 2006-2010 Romain Francoise License: GPL-3 License: GPL-3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 3) as published by the Free Software Foundation. . On Debian GNU/Linux systems, the complete text of version 3 of the General Public License can be found in `/usr/share/common-licenses/GPL-3'. License: LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian GNU/Linux systems, the complete text of version 2.1 of the Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . On Debian GNU/Linux systems, the complete text of version 2 of the General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: GPL-2+ This program 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. . On Debian GNU/Linux systems, the complete text of version 2.1 of the General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000015012263702562010247 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf override_dh_strip: dh_strip --dbg-package=tcpflow-dbg debian/README.source0000644000000000000000000000230012263703035011341 0ustar This is the tcpflow source. The upstream repo uses 3 submodules. The tarballs github gives you do NOT contain submodules, so I'm repacking the source to include these. One of the submodules (http-parser) exists in Debian as a separate package, so I'm using that, and repacking the 2 other submodules. Additionally, the dfxml submodule in the tcpflow 1.4.4 source had some erroneous out-of-tree symlinks. This was fixed by a later patch: https://github.com/simsong/dfxml/commit/4d54ca2db2eb06a4a3074111be5b784568d86bcb This patch converts symlinks into actual files, which is something dpkg-source doesn't support. Thus this patch is included in the repacked source also So in summary, this tarball contains - The full source of tcpflow - The full source of the dfxml submodule - The full source of the be13_api submodule The source tarball was made with something like this: $ git clone https://github.com/simsong/tcpflow.git $ cd tcpflow $ git reset --hard tcpflow-1.4.4 $ git submodule init $ git submodule update $ cd .. $ tar cz --exclude '*/.git' --exclude '*/src/http-parser/*' tcpflow > tcpflow_1.4.4+repack1.orig.tar.gz -- Dima Kogan , Thu, 9 Jan 2014 21:32:38 -0800 debian/source/0000755000000000000000000000000012263702562010473 5ustar debian/source/format0000644000000000000000000000001412263702562011701 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000002412263702562010174 0ustar src/*.d tests/out/* debian/docs0000644000000000000000000000002212263702562010040 0ustar AUTHORS README.md debian/changelog0000644000000000000000000002463612264716557011072 0ustar tcpflow (1.4.4+repack1-2) unstable; urgency=low * Bug fix: "FTBFS: test failures on armel, sparc" (Closes: #731673) -- Dima Kogan Mon, 13 Jan 2014 00:01:47 -0800 tcpflow (1.4.4+repack1-1) unstable; urgency=low * Upstream update to 1.4.4 -- Dima Kogan Sun, 05 Jan 2014 01:54:19 -0800 tcpflow (1.4.3+repack1-1) unstable; urgency=low * Upstream update to 1.4.3 (Closes: #729328) * Using in-debian libhttp-parser instead of the in-tree one -- Dima Kogan Sat, 07 Dec 2013 11:03:08 -0800 tcpflow (1.4.0+repack1-2) unstable; urgency=low * imported upstream patches to let non-x86 builds work (Closes: #725630) * patched the source to build on kfreebsd (Closes: #725660) * debian/watch version mangling now handles the +repack source -- Dima Kogan Tue, 05 Nov 2013 12:03:56 -0800 tcpflow (1.4.0+repack1-1) unstable; urgency=low * Bumped the major version to indicate that the sources were repacked -- Dima Kogan Sun, 15 Sep 2013 02:18:32 -0700 tcpflow (1.4.0-1) unstable; urgency=low * Upstream update -- Dima Kogan Thu, 05 Sep 2013 20:24:08 -0700 tcpflow (1.3.0+dfsg-2) unstable; urgency=low * updated upstream URL * Package moved to unstable -- Dima Kogan Sun, 07 Jul 2013 18:09:31 -0700 tcpflow (1.3.0+dfsg-1) experimental; urgency=low * New Maintainer (Closes: #673637) * Package now follows new upstream: http://www.afflib.org/software/tcpflow/ . This fixes several bugs: (Closes: #636922, #536792, #611047, #636212) * Updated debianization - moved to debhelper v9, so debian/rules is now much simpler - added watch files - expanded debian/copyright - now building a tcpflow-dbg package -- Dima Kogan Sat, 02 Feb 2013 02:16:53 -0800 tcpflow (0.21.ds1-7) unstable; urgency=low * Switch to debhelper compat level 9, enable hardening via dpkg-buildflags. * Override lintian warning about stack protector: the binary is correctly built with stack protection enabled, but doesn't have any arrays on the stack. * Override lintian tag 'package-needs-versioned-debhelper-build-depends'. * Bump Standards-Version to 3.9.3. * Set Maintainer to Debian QA group. -- Romain Francoise Sun, 20 May 2012 12:59:44 +0200 tcpflow (0.21.ds1-6) unstable; urgency=low * debian/control: Build-depend on hardening-includes. * debian/rules: Use hardening.make. * debian/patches/10_vlan.diff: Dropped (closes: #558209). * debian/patches/series: Update. -- Romain Francoise Thu, 14 Jan 2010 20:17:47 +0100 tcpflow (0.21.ds1-5) unstable; urgency=low * Switch to 3.0 (quilt) source format: + Drop build-depends on quilt. + Remove patch/unpatch logic from debian/rules. + Refresh all patches. * Use dh(1): + debian/compat: Bump to 7. + debian/control: Build-depend on debhelper (>> 7). + debian/rules: Simplify. * debian/patches/10_vlan.diff: New patch, makes tcpflow skip VLAN headers if present (closes: #536792). * debian/patches/series: Update. * debian/control: Bump Standards-Version to 3.8.3, no changes needed. -- Romain Francoise Mon, 09 Nov 2009 19:55:38 +0100 tcpflow (0.21.ds1-4) unstable; urgency=low * debian/patches/20_fix-usage.diff: New patch, fixes wrong usage output (closes: #499158). * debian/control: Bump Standards-Version to 3.8.2, no changes needed. -- Romain Francoise Sun, 21 Jun 2009 19:22:28 +0200 tcpflow (0.21.ds1-3) unstable; urgency=low * debian/patches/10_extra-opts.diff: Fix off-by-one error in handling of isn, the handshake SYN packet counts for one but doesn't contain data (closes: #477163). -- Romain Francoise Thu, 01 May 2008 13:54:05 +0200 tcpflow (0.21.ds1-2) unstable; urgency=low * debian/control: Bump Standards-Version to 3.7.3, no changes needed. * debian/copyright: Add actual copyright notice (lintian warning). -- Romain Francoise Mon, 10 Mar 2008 21:22:23 +0100 tcpflow (0.21.ds1-1) unstable; urgency=low * Repack tarball from Git. * debian/control: Add Homepage, Vcs-Browser and Vcs-Git fields. -- Romain Francoise Sun, 14 Oct 2007 17:23:21 +0200 tcpflow (0.21-12) unstable; urgency=low * Convert to quilt for patch management: + debian/control: build-depend on quilt (>= 0.40). + debian/rules: Include /usr/share/quilt/quilt.make and call quilt targets. * Split monolithic Debian diff: + debian/patches/10_extra-opts.diff: Add options -C and -e. + debian/patches/50_autotools-dev.diff: Make config.{guess,sub} exec newer versions of themselves if autotools-dev is installed. * debian/control: Don't build-depend on automake1.7, but on autotools-dev. * debian/rules: Don't reconf. Major cleanup. -- Romain Francoise Sat, 01 Sep 2007 12:49:18 +0200 tcpflow (0.21-11) unstable; urgency=high * Fix broken Debian-specific changes: + -C and -c *must* imply -s to strip non-printable characters or network data could end up messing with the terminal; this is potentially a security issue, hence urgency: high. + Reimplement Debian-specific option -e from scratch, the previous implementation was tragically flawed: it assumed that the entirety of the TCP connection would have only two segments, which is of course rarely true... Do it properly by finding out who's the client and who's the server by examining the TCP handshake. Also mention -e in usage. + Fix spelling errors in Debian-specific patches. + Fix the manpage to make explanations actually match their corresponding options (closes: #392676). -- Romain Francoise Sat, 14 Oct 2006 16:38:10 +0200 tcpflow (0.21-10) unstable; urgency=low * debian/control: + Set myself as maintainer, not just uploader. + Build-Depend on debhelper (>> 5.0.0), libpcap0.8-dev. * debian/compat: New file. * debian/rules: Don't set DH_COMPAT. -- Romain Francoise Tue, 3 Oct 2006 08:16:37 +0200 tcpflow (0.21-9) unstable; urgency=low * Updated Debian Standards version to 3.7.2 * Restore behaviour of the '-C' switch, which was broken in the previous release. (Closes: #368728) -- Steve Kemp Friday, 2 June 2006 09:54:06 +0000 tcpflow (0.21-8) unstable; urgency=low * Changed the default command line arguments, so that -C doesnt imply -s. * Updated documentation to match. -- Steve Kemp Saturday, 25 February 2006 19:43:56 +0000 tcpflow (0.21-7) unstable; urgency=low * Updated the debhelper compatability level to four. * Updated Debian Standards Version. -- Steve Kemp Monday, 16 January 2006 15:40:19 +0000 tcpflow (0.21-6) unstable; urgency=high * Updated to Build-Dep upon the automake1.7 package which should finally allow it to build correctly. (Verified this with pbuilder) (Closes: #272555). * Severity set to medium as this is the second revision which didn't correctly build from source. -- Steve Kemp Tuesday, 21 September 2004 19:39:26 +0000 tcpflow (0.21-5) unstable; urgency=low * Fix the FTBFS problems which occurred due to timestamp issues on the autoconf files. (Closes: #271159). -- Steve Kemp Friday, 7 September 2004 21:52:46 +0000 tcpflow (0.21-4) unstable; urgency=high * Fix the FTBFS issue which was caused by out of date autoconf files. (Closes: #259890) -- Steve Kemp Monday, 16 August 2004 21:13:30 +0000 tcpflow (0.21-3) unstable; urgency=medium * Fixes the longstanding (two years!) bug where occaisional source port reuse causes captures to have large amounts of erroneous NULL characters. (Closes: #143826) Major thanks to Mike Castle for diagnosing the source of this bug and submitting an almost perfect patch. * Added the ability to colour code the output when dumping to the console. Alternate flows appear in alternating colours. (Closes: #233082) -- Steve Kemp Thursday, 15 July 2004 23:38:12 +0000 tcpflow (0.21-2) unstable; urgency=low * Updated standards version 3.6.1 - no changes. * Added the option to supress printing 'ip1:port1-ip2:port2' when dumping to the console. (Closes: #111689) -- Steve Kemp Tuesday, 4 November 2003 09:27:34 +0000 tcpflow (0.21-1) unstable; urgency=low * New upstream release. (Closes: #204454) * Updated standards version to 3.6.0 - no changes. -- Steve Kemp Thursday, 7 August 2003 15:28:39 +0000 tcpflow (0.20-2) unstable; urgency=low * New maintainer. (Closes: 193118) * Incorporated the NMU (Closes: 156186) * Updated standards version to 3.5.9 -- Steve Kemp Friday, 16 May 2003 11:48:56 +0000 tcpflow (0.20-1.1) 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:39 +0200 tcpflow (0.20-1) unstable; urgency=medium * New upstream version - does not leave adapter PROMISC. * Builds flawlessly on unstable systems. (Closes: #76807) * Removed INSTALL file from the installed docs, I'm assuming users of the package already have it installed. * Minor debian/rules tweaks. * Updated description and standards version. * Now suggesting tcpdump. -- Robert McQueen Tue, 27 Feb 2001 01:36:16 +0000 tcpflow (0.12-3) unstable; urgency=low * Package now builds on woody, but its an evil hack so bug #76807 stays open. Thanks to Alexander Kotelnikov for helping me fix this. * Removed spurious menu entry. * Upgraded policy version and tidied debian/rules. * Changed to @debian.org maintainer address. -- Robert McQueen Thu, 30 Nov 2000 00:44:22 +0000 tcpflow (0.12-2) unstable; urgency=low * Fixed erroneous description entry: (available here). (Closes: Bug#68446) -- Robert McQueen Fri, 4 Aug 2000 00:54:55 +0100 tcpflow (0.12-1) unstable; urgency=low * Initial release. -- Robert McQueen Sat, 29 Jul 2000 02:16:59 +0100 debian/watch0000644000000000000000000000022512263702562010223 0ustar version = 3 opts=dversionmangle=s/(?:\+dfsg|\+repack).*$// \ https://github.com/simsong/tcpflow/tags .*/tcpflow/archive/tcpflow-(\d[\d\.]+).tar.gz debian/control0000644000000000000000000000534212263702562010602 0ustar Source: tcpflow Section: net Priority: optional Maintainer: Dima Kogan Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), libpcap0.8-dev, zlib1g, dh-autoreconf, # openssl dependency is for the test suite openssl, libssl-dev, libboost-dev, libcairo2-dev, libhttp-parser-dev Homepage: https://github.com/simsong/tcpflow Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/tcpflow.git Vcs-Git: git://anonscm.debian.org/collab-maint/tcpflow.git Package: tcpflow Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: tcpdump Description: TCP flow recorder tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis or debugging. A program like 'tcpdump' shows a summary of packets seen on the wire, but usually doesn't store the data that's actually being transmitted. In contrast, tcpflow reconstructs the actual data streams and stores each flow in a separate file for later analysis. . tcpflow understands sequence numbers and will correctly reconstruct data streams regardless of retransmissions or out-of-order delivery. However, it currently does not understand IP fragments; flows containing IP fragments will not be recorded properly. . tcpflow is based on the LBL Packet Capture Library and therefore supports the same rich filtering expressions that programs like 'tcpdump' support. tcpflow can also rebuild flows from data captured with 'tcpdump -w'. Package: tcpflow-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, tcpflow (= ${binary:Version}) Description: TCP flow recorder - debug symbols tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis or debugging. A program like 'tcpdump' shows a summary of packets seen on the wire, but usually doesn't store the data that's actually being transmitted. In contrast, tcpflow reconstructs the actual data streams and stores each flow in a separate file for later analysis. . tcpflow understands sequence numbers and will correctly reconstruct data streams regardless of retransmissions or out-of-order delivery. However, it currently does not understand IP fragments; flows containing IP fragments will not be recorded properly. . tcpflow is based on the LBL Packet Capture Library and therefore supports the same rich filtering expressions that programs like 'tcpdump' support. tcpflow can also rebuild flows from data captured with 'tcpdump -w'. . Debug symbols debian/tcpflow.install0000644000000000000000000000001212263702562012232 0ustar usr/bin/* debian/patches/0000755000000000000000000000000012264716577010636 5ustar debian/patches/packing-struct-tcphdr-to-improve-portability.patch0000644000000000000000000000200412264716430022516 0ustar From: Dima Kogan Date: Sun, 12 Jan 2014 23:58:39 -0800 Subject: packing struct tcphdr to improve portability Forwarded: https://github.com/simsong/tcpflow/issues/67 I was seeing build failures on arm and sparc. These were happening because of unaligned loads of struct tcphdr. I now declare this structure as packed, so this does not happen Index: tcpflow/src/be13_api/bulk_extractor_i.h =================================================================== --- tcpflow.orig/src/be13_api/bulk_extractor_i.h 2014-01-12 23:57:16.202181700 -0800 +++ tcpflow/src/be13_api/bulk_extractor_i.h 2014-01-12 23:57:45.030324635 -0800 @@ -279,7 +279,7 @@ uint16_t th_win; /* window */ uint16_t th_sum; /* checksum */ uint16_t th_urp; /* urgent pointer */ -}; +} __attribute__((packed)); /* * The packet_info structure records packets after they are read from the pcap library. * It preserves the original pcap information and information decoded from the MAC and debian/patches/0001-using-the-debian-package-of-libhttp-parser-instead-o.patch0000644000000000000000000000216512263702562024162 0ustar From: Dima Kogan Date: Wed, 4 Dec 2013 19:37:48 -0800 Subject: using the debian package of libhttp-parser instead of this one --- src/Makefile.am | 10 ++-------- src/scan_http.cpp | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 67a6fa4..a80fc09 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -75,18 +75,12 @@ tcpflow_SOURCES = \ scan_wifiviz.cpp \ pcap_writer.h \ iptree.h \ - http-parser/http_parser.c \ - http-parser/http_parser.h \ mime_map.cpp \ mime_map.h +tcpflow_LDADD = -lhttp_parser + EXTRA_DIST =\ - http-parser/AUTHORS \ - http-parser/CONTRIBUTIONS \ - http-parser/LICENSE-MIT \ - http-parser/Makefile \ - http-parser/README.md \ - http-parser/http_parser.gyp \ wifipcap/README.txt \ wifipcap/TimeVal.cpp \ wifipcap/TimeVal.h \ diff --git a/src/scan_http.cpp b/src/scan_http.cpp index 78abb98..2460694 100644 --- a/src/scan_http.cpp +++ b/src/scan_http.cpp @@ -11,7 +11,7 @@ #include "tcpip.h" #include "tcpdemux.h" -#include "http-parser/http_parser.h" +#include #include "mime_map.h" debian/patches/series0000644000000000000000000000016312264716162012041 0ustar 0001-using-the-debian-package-of-libhttp-parser-instead-o.patch packing-struct-tcphdr-to-improve-portability.patch debian/tcpflow.manpages0000644000000000000000000000001612263702562012363 0ustar doc/tcpflow.1 debian/compat0000644000000000000000000000000212263702562010371 0ustar 9 debian/gbp.conf0000644000000000000000000000010012263702562010601 0ustar [DEFAULT] upstream-tag =tcpflow-%(version)s pristine-tar = True