source: basicnet/netutils/traceroute.xml@ 3bba7e2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3bba7e2 was 3bba7e2, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML Update -- Chapter 19

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2302 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY traceroute-download-http "http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-&traceroute-version;.tar.gz">
8 <!ENTITY traceroute-download-ftp "ftp://ftp.ee.lbl.gov/traceroute-&traceroute-version;.tar.gz">
9 <!ENTITY traceroute-size "73 KB">
10 <!ENTITY traceroute-buildsize "464 KB">
11 <!ENTITY traceroute-time "0.02 SBU">
12]>
13
14<sect1 id="traceroute" xreflabel="Traceroute-&traceroute-version;">
15<?dbhtml filename="traceroute.html"?>
16<title>Traceroute-&traceroute-version;</title>
17
18<sect2>
19<title>Introduction to <application>Traceroute</application></title>
20
21<para>The <application>Traceroute</application> package contains a program
22which is used to display the network route that packets take to reach a
23specified host. This is a standard network troubleshooting tool. If you find
24yourself unable to connect to another system, traceroute can help pinpoint
25the problem.</para>
26
27<sect3><title>Package information</title>
28<itemizedlist spacing='compact'>
29<listitem><para>Download (HTTP): <ulink
30url="&traceroute-download-http;"/></para></listitem>
31<listitem><para>Download (FTP): <ulink
32url="&traceroute-download-ftp;"/></para></listitem>
33<listitem><para>Download size: &traceroute-size;</para></listitem>
34<listitem><para>Estimated Disk space required:
35&traceroute-buildsize;</para></listitem>
36<listitem><para>Estimated build time:
37&traceroute-time;</para></listitem></itemizedlist>
38</sect3>
39
40</sect2>
41
42<sect2>
43<title>Installation of <application>Traceroute</application></title>
44
45<para>Install <application>Traceroute</application> by running the following
46commands:</para>
47
48<screen><userinput><command>mv Makefile.in Makefile.in.bak &amp;&amp;
49sed 's/-o bin/-o root/' Makefile.in.bak &gt; Makefile.in &amp;&amp;
50./configure --prefix=/usr &amp;&amp;
51make &amp;&amp;
52make install &amp;&amp;
53make install-man</command></userinput></screen>
54
55</sect2>
56
57<sect2>
58<title>Command explanations</title>
59
60<para><screen><command>sed 's/-o bin/-o root/'...</command></screen>
61Adjusts the <filename>Makefile</filename> so that the program is installed
62with user root instead of user bin (which doesn't exist on a default
63<acronym>LFS</acronym> system).</para>
64
65<para><command>make install</command>: Installs <command>traceroute</command>
66with <acronym>SUID</acronym> set to root in the <filename>/usr/sbin</filename> directory. This makes it
67possible for all users to execute <command>traceroute</command>. For absolute
68security, turn off the <acronym>SUID</acronym> bit in <command>traceroute</command>'s file
69permissions with the command:</para>
70<screen><command>chmod 0755 /usr/sbin/traceroute</command></screen>
71
72<para>The risk is that if a security problem such as a buffer overflow was
73ever found in the <application>Traceroute</application> code, a regular user
74on your system could gain root access if the program is
75<acronym>SUID</acronym> root. Of course, removing
76the <acronym>SUID</acronym> permission also makes it impossible for users other than
77root to utilize <command>traceroute</command>, so decide what's right for your
78individual situation.</para>
79
80<para>Our aim is to be completely <acronym>FHS</acronym> compliant, so if
81you do leave the <command>traceroute</command> binary
82<acronym>SUID</acronym> root, then you
83should move <filename>traceroute</filename> to <filename>/usr/bin</filename>
84with the following command:</para>
85<screen><command>mv /usr/sbin/traceroute /usr/bin</command></screen>
86
87<para>This ensures that the binary is in the path for non-root users.</para>
88
89</sect2>
90
91<sect2>
92<title>Contents</title>
93
94<para>The <application>Traceroute</application> package contains <userinput>traceroute</userinput>.</para>
95
96</sect2>
97
98<sect2><title>Description</title>
99
100<sect3><title>traceroute</title>
101<para><command>traceroute</command> does basically what it says: it traces the
102route your packets take from the host you are working on to another host on a
103network, showing all the intermediate steps (gateways) along the way.</para>
104</sect3>
105
106</sect2>
107
108</sect1>
109
Note: See TracBrowser for help on using the repository browser.