source: basicnet/netutils/traceroute.xml@ 061ec9d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 061ec9d was 061ec9d, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #1

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

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[3bba7e2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[3bba7e2]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">
[28ce643]9 <!ENTITY traceroute-md5sum "964d599ef696efccdeebe7721cd4828d">
[726be18]10 <!ENTITY traceroute-size "74 KB">
11 <!ENTITY traceroute-buildsize "540 KB">
12 <!ENTITY traceroute-time "0.01 SBU">
[3bba7e2]13]>
14
[6998c44a]15<sect1 id="traceroute" xreflabel="Traceroute-&traceroute-version;">
[2f6a5b0]16 <?dbhtml filename="traceroute.html"?>
[50b8d8b]17
[2f6a5b0]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[4dbbf634]21 <keywordset>
22 <keyword role="package">traceroute-&traceroute-version;.tar</keyword>
[25475f5]23 <keyword role="ftpdir">traceroute</keyword>
[4dbbf634]24 </keywordset>
[2f6a5b0]25 </sect1info>
[50b8d8b]26
[2f6a5b0]27 <title>Traceroute-&traceroute-version;</title>
[50b8d8b]28
[2f6a5b0]29 <indexterm zone="traceroute">
30 <primary sortas="a-Traceroute">Traceroute</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Traceroute</title>
[50b8d8b]35
[1065a91]36 <para>The <application>Traceroute</application> package contains a program
37 which is used to display the network route that packets take to reach a
38 specified host. This is a standard network troubleshooting tool. If you find
39 yourself unable to connect to another system, traceroute can help pinpoint
[2f6a5b0]40 the problem.</para>
[50b8d8b]41
[2f6a5b0]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&traceroute-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&traceroute-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &traceroute-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &traceroute-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &traceroute-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &traceroute-time;</para>
61 </listitem>
62 </itemizedlist>
[50b8d8b]63
[061ec9d]64 <para condition="html" role="usernotes">User Notes:
65 <ulink url="&blfs-wiki;/traceroute"/></para>
66
[2f6a5b0]67 </sect2>
[50b8d8b]68
[2f6a5b0]69 <sect2 role="installation">
70 <title>Installation of Traceroute</title>
71
[1065a91]72 <para>Install <application>Traceroute</application> by running the following
[2f6a5b0]73 commands:</para>
74
75<screen><userinput>sed -i -e 's/-o bin/-o root/' Makefile.in &amp;&amp;
[3bba7e2]76./configure --prefix=/usr &amp;&amp;
[2f6a5b0]77make</userinput></screen>
[50b8d8b]78
[2f6a5b0]79 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
80
81<screen role='root'><userinput>make install &amp;&amp;
82make install-man</userinput></screen>
[50b8d8b]83
[2f6a5b0]84 </sect2>
[50b8d8b]85
[2f6a5b0]86 <sect2 role="commands">
87 <title>Command Explanations</title>
[50b8d8b]88
[1065a91]89 <para><command>sed 's/-o bin/-o root/' Makefile.in</command>:
90 Adjusts the <filename>Makefile</filename> so that the program is installed
[823b1a3]91 with user <systemitem class='username'>root</systemitem> owning the files
92 instead of user <systemitem class='username'>bin</systemitem>
93 (which doesn't exist on a default LFS system).</para>
[50b8d8b]94
95 <para><command>make install</command>: Installs <command>traceroute</command>
[1065a91]96 with SUID set to <systemitem class="username">root</systemitem> in the
97 <filename class='directory'>/usr/sbin</filename> directory. This makes it
98 possible for all users to execute <command>traceroute</command>. For absolute
99 security, turn off the SUID bit in <command>traceroute</command>'s file permissions
[2f6a5b0]100 with the command:</para>
[50b8d8b]101
[e3353b3]102<screen role='root'><userinput>chmod -v 0755 /usr/sbin/traceroute</userinput></screen>
[50b8d8b]103
[1065a91]104 <para>The risk is that if a security problem such as a buffer overflow was
105 ever found in the <application>Traceroute</application> code, a regular user
[2f6a5b0]106 on your system could gain <systemitem class="username">root</systemitem>
[1065a91]107 access if the program is SUID <systemitem class="username">root</systemitem>.
108 Of course, removing the SUID permission also makes it impossible for users other
109 than <systemitem class="username">root</systemitem> to utilize
110 <command>traceroute</command>, so decide what's right for
[2f6a5b0]111 your individual situation.</para>
[50b8d8b]112
[1065a91]113 <para>The goal of BLFS is to be completely FHS compliant, so if you do leave the
114 <command>traceroute</command> binary SUID <systemitem
115 class="username">root</systemitem>, then you should move
[50b8d8b]116 <filename>traceroute</filename> to <filename class='directory'>/usr/bin</filename>
[2f6a5b0]117 with the following command:</para>
[50b8d8b]118
[e3353b3]119<screen role='root'><userinput>mv -v /usr/sbin/traceroute /usr/bin</userinput></screen>
[50b8d8b]120
[2f6a5b0]121 <para>This ensures that the binary is in the path for non-root users.</para>
[50b8d8b]122
[2f6a5b0]123 </sect2>
[50b8d8b]124
[2f6a5b0]125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Program</segtitle>
130 <segtitle>Installed Libraries</segtitle>
131 <segtitle>Installed Directories</segtitle>
[50b8d8b]132
[2f6a5b0]133 <seglistitem>
134 <seg>traceroute</seg>
135 <seg>None</seg>
136 <seg>None</seg>
137 </seglistitem>
138 </segmentedlist>
[50b8d8b]139
[2f6a5b0]140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
[50b8d8b]144
[2f6a5b0]145 <varlistentry id="traceroute-prog">
146 <term><command>traceroute</command></term>
147 <listitem>
[1065a91]148 <para>does basically what it says: it traces the route your packets
149 take from the host you are working on to another host on a network, showing
[2f6a5b0]150 all the intermediate hops (gateways) along the way.</para>
151 <indexterm zone="traceroute traceroute-prog">
152 <primary sortas="b-traceroute">traceroute</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
[50b8d8b]156
[2f6a5b0]157 </variablelist>
158
159 </sect2>
[f45b1953]160
161</sect1>
162
Note: See TracBrowser for help on using the repository browser.