Difference between revisions of "Traceroute"

From CBLFS
Jump to navigationJump to search
Line 28: Line 28:
 
  make install-man
 
  make install-man
  
'''''Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:'''''
+
Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:
 +
 
 
  mv -v /usr/sbin/traceroute /usr/bin
 
  mv -v /usr/sbin/traceroute /usr/bin
  
Line 48: Line 49:
 
  make install-man
 
  make install-man
  
'''''Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:'''''
+
Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:
 +
 
 
  mv -v /usr/sbin/traceroute /usr/bin
 
  mv -v /usr/sbin/traceroute /usr/bin
  
Line 65: Line 67:
 
  make install-man
 
  make install-man
  
'''''Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:'''''
+
Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:
 +
 
 
  mv -v /usr/sbin/traceroute /usr/bin
 
  mv -v /usr/sbin/traceroute /usr/bin
  
Line 82: Line 85:
 
  make install-man
 
  make install-man
  
'''''Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:'''''
+
Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:
 +
 
 
  mv -v /usr/sbin/traceroute /usr/bin
 
  mv -v /usr/sbin/traceroute /usr/bin
  

Revision as of 17:49, 16 April 2007

Download Source: http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-2.0.15.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/traceroute/traceroute-2.0.15-update_config-1.patch

Introduction to Traceroute

The Traceroute package contains a program which is used to display the network route that packets take to reach a specified host. This is a standard network troubleshooting tool. If you find yourself unable to connect to another system, traceroute can help pinpoint the problem.

Project Homepage: Unknown

Dependencies

Non-Multilib

Compile the package:

patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
./configure --prefix=/usr &&
make

Install the package

make install &&
make install-man

Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
make install-man

Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

N32

Compile the package:

patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
make install-man

Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

64Bit

Compile the package:

patch -Np1 -i ../traceroute-2.0.15-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make

Install the package

make install &&
make install-man

Traceroute is installed SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

Content

Installed Program: traceroute

Installed Libraries: None

Installed Directories: None

Short Descriptions

traceroute: does basically what it says: it traces the route your packets take from the host you are working on to another host on a network, showing all the intermediate hops (gateways) along the way.