%define name tcptrack %define version 1.0.2 %define release 1 %define prefix /usr Summary: A packet sniffer which displays TCP information like the 'top' command Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Utilities/Network Source: %{name}-%{version}.tar.gz URL: http://www.rhythm.cx/~steve/devel/tcptrack BuildRoot: %{_tmppath}/%{name}-buildroot %description tcptrack is a sniffer which displays information about TCP connections it sees on a network interface. It passively watches for connections on the network interface, keeps track of their state and displays a list of connections in a manner similar to the unix 'top' command. It displays source and destination addresses and ports, connection state, idle time, and bandwidth usage. %prep %setup -q %build ./configure --prefix=%{prefix} make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %{prefix}/bin/tcptrack %{prefix}/share/man/man1/tcptrack.1.gz %doc AUTHORS COPYING ChangeLog README INSTALL %changelog * Wed Dec 3 2003 Steve Benson - Added include for assert.h in PacketBuffer.cc. Broke build on some systems. * Mon Dec 1 2003 Steve Benson - Fixed some Solaris build issues - Upgraded configure script with autoconf 2.58 * Thu Nov 27 2003 Steve Benson - using *_HEADER_LEN in more places rather than magic nums - released 1.0.1 * Wed Nov 26 2003 Steve Benson - fixed a double-free problem that would cause tcptrack to segfault under heavy load - misc code cleanups. Header sizes defined in headers.h - pcap snaplen reduced to only capture ethernet+ip+tcp headers - added some additional asserts for better error checking - packet queue (PacketBuffer) processing interval reduced to 10ms - fixed freebsd timing issue by providing 3rd arg to pcap_open_live - more timing is controllable via defs.h * Tue Nov 25 2003 Steve Benson - Fixed a memory leak related to handling of non-IP, non-TCP packets. - Fixed a misplaced #endif in headers.h - pcap_lookup_net in Sniffer.cc had "eth0" hardcoded by mistake. Now uses specified interface. - tcptrack only works on ethernet interfaces for now. It will now fail to start up on non-ethernet interfaces and print an error. - TCPConnection & TCContainer no longer care about an ethernet header, in preparation for handling of non-ethernet interfaces. * Sun Nov 23 2003 Steve Benson - Initial release