tcptraceroute/tcptraceroute.spec

Name: tcptraceroute
Summary: Traceroute implementation using TCP packets
Version: 1.5
Release: 0.beta7
License: GPL
Group: Applications/Internet
URL: http://michael.toren.net/code/tcptraceroute/
Description: tcptraceroute is a traceroute implementation using TCP packets.

The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets with a TTL of one, and increments the TTL until the destination has been reached. By printing the gateways that generate ICMP time exceeded messages along the way, it is able to determine the path packets are taking to reach the destination.

The problem is that with the widespread use of firewalls on the modern Internet, many of the packets that traceroute(8) sends out end up being filtered, making it impossible to completely trace the path to the destination. However, in many cases, these firewalls will permit inbound TCP packets to specific ports that hosts sitting behind the firewall are listening for connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most common firewall filters.

CentOS 7 x86_64

The build could not start because the following file is missing: tcptraceroute-1.5beta7.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Michael C. Toren <mct$toren,net>
# Upstream: <tcptraceroute-dev$netisland,net>


%{!?dtag:%define _with_libpcapdevel 1}
%{?el5:%define _with_libpcapdevel 1}
%{?fc6:%define _with_libpcapdevel 1}

Summary: Traceroute implementation using TCP packets
Name: tcptraceroute
Version: 1.5
%define real_version 1.5beta7
Release: 0.beta7%{?dist}
License: GPL
Group: Applications/Internet
URL: http://michael.toren.net/code/tcptraceroute/

Source: http://michael.toren.net/code/tcptraceroute/tcptraceroute-%{real_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libpcap, libnet
%{?_with_libpcapdevel:BuildRequires:libpcap-devel}

%description
tcptraceroute is a traceroute implementation using TCP packets.

The more traditional traceroute(8) sends out either UDP or ICMP ECHO
packets with a TTL of one, and increments the TTL until the destination
has been reached. By printing the gateways that generate ICMP time
exceeded messages along the way, it is able to determine the path
packets are taking to reach the destination.

The problem is that with the widespread use of firewalls on the modern
Internet, many of the packets that traceroute(8) sends out end up being
filtered, making it impossible to completely trace the path to the
destination. However, in many cases, these firewalls will permit inbound
TCP packets to specific ports that hosts sitting behind the firewall are
listening for connections on. By sending out TCP SYN packets instead of
UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most common
firewall filters.

%prep
%setup -n %{name}-%{real_version}

%build
%configure \
	--program-prefix="%{?_program_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc *.txt AUTHORS ChangeLog COPYING INSTALL NEWS README tcptraceroute.1.html
%doc %{_mandir}/man1/tcptraceroute.1*
%{_bindir}/tcptraceroute
%exclude %{_docdir}/tcptraceroute/

%changelog
* Thu May 04 2006 Dag Wieers <dag@wieers.com> - 1.5-0.beta7
- Updated to release 1.5beta7.

* Wed Feb 23 2005 Dag Wieers <dag@wieers.com> - 1.5-0.beta6
- Updated to release 1.5beta6.

* Sat Apr 10 2004 Dag Wieers <dag@wieers.com> - 1.5-0.beta5
- Updated to release 1.5beta5.

* Fri Nov 21 2003 Dag Wieers <dag@wieers.com> - 1.4-3
- Patch to build with gcc-3.3.

* Thu May 01 2003 Dag Wieers <dag@wieers.com> - 1.4-2
- Removed libnet requirement. (Build staticly)

* Mon Dec 16 2002 Dag Wieers <dag@wieers.com> - 1.4-0
- Updated to 1.4.

* Thu Aug 02 2001 Dag Wieers <dag@wieers.com> - 1.2
- Initial package.