r7697 - in trunk/BOOK: . basicnet/netutils introduction/welcome

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Tue Dec 30 22:15:54 PST 2008


Author: bdubbs
Date: 2008-12-30 23:15:54 -0700 (Tue, 30 Dec 2008)
New Revision: 7697

Modified:
   trunk/BOOK/basicnet/netutils/traceroute.xml
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to traceroute-2.0.12.

Modified: trunk/BOOK/basicnet/netutils/traceroute.xml
===================================================================
--- trunk/BOOK/basicnet/netutils/traceroute.xml	2008-12-31 05:22:14 UTC (rev 7696)
+++ trunk/BOOK/basicnet/netutils/traceroute.xml	2008-12-31 06:15:54 UTC (rev 7697)
@@ -4,24 +4,12 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-    <!-- Inserted as a reminder to do this. The mention of a test suite
-         is usually right before the root user installation commands. Please
-         delete these 12 (including one blank) lines after you are done.-->
-
-    <!-- Use one of the two mentions below about a test suite,
-         delete the line that is not applicable. Of course, if the
-         test suite uses syntax other than "make check", revise the
-         line to reflect the actual syntax to run the test suite -->
-
-    <!-- <para>This package does not come with a test suite.</para> -->
-    <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
-
-  <!ENTITY traceroute-download-http "http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-&traceroute-version;.tar.gz">
-  <!ENTITY traceroute-download-ftp  "ftp://ftp.ee.lbl.gov/traceroute-&traceroute-version;.tar.gz">
-  <!ENTITY traceroute-md5sum        "964d599ef696efccdeebe7721cd4828d">
-  <!ENTITY traceroute-size          "74 KB">
-  <!ENTITY traceroute-buildsize     "540 KB">
-  <!ENTITY traceroute-time          "0.01 SBU">
+  <!ENTITY traceroute-download-http "&sourceforge-repo;/traceroute/traceroute-2.0.12.tar.gz">
+  <!ENTITY traceroute-download-ftp  " ">
+  <!ENTITY traceroute-md5sum        "2262a9d30ae85f12b759a38ef827f8f7">
+  <!ENTITY traceroute-size          "68 KB">
+  <!ENTITY traceroute-buildsize     "548 KB">
+  <!ENTITY traceroute-time          "Less than 0.1 SBU">
 ]>
 
 <sect1 id="traceroute" xreflabel="Traceroute-&traceroute-version;">
@@ -80,56 +68,15 @@
     <para>Install <application>Traceroute</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i -e 's/-o bin/-o root/' Makefile.in &&
-./configure --prefix=/usr &&
-make</userinput></screen>
+<screen><userinput>make</userinput></screen>
 
+    <para>This package does not come with a test suite.</para>
+
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role='root'><userinput>make install &&
-make install-man</userinput></screen>
-
+<screen role='root'><userinput>make prefix=/usr install</userinput></screen>
   </sect2>
 
-  <sect2 role="commands">
-    <title>Command Explanations</title>
-
-    <para><command>sed 's/-o bin/-o root/' Makefile.in</command>:
-    Adjusts the <filename>Makefile</filename> so that the program is installed
-    with user <systemitem class='username'>root</systemitem> owning the files
-    instead of user <systemitem class='username'>bin</systemitem>
-    (which doesn't exist on a default LFS system).</para>
-
-    <para><command>make install</command>: Installs <command>traceroute</command>
-    with SUID set to <systemitem class="username">root</systemitem> in the
-    <filename class='directory'>/usr/sbin</filename> directory. This makes it
-    possible for all users to execute <command>traceroute</command>. For absolute
-    security, turn off the SUID bit in <command>traceroute</command>'s file permissions
-    with the command:</para>
-
-<screen role='root'><userinput>chmod -v 0755 /usr/sbin/traceroute</userinput></screen>
-
-    <para>The risk is that if a security problem such as a buffer overflow was
-    ever found in the <application>Traceroute</application> code, a regular user
-    on your system could gain <systemitem class="username">root</systemitem>
-    access if the program is SUID <systemitem class="username">root</systemitem>.
-    Of course, removing the SUID permission also makes it impossible for users other
-    than <systemitem class="username">root</systemitem> to utilize
-    <command>traceroute</command>, so decide what's right for
-    your individual situation.</para>
-
-    <para>The goal of BLFS is to be completely FHS compliant, so if you do leave the
-    <command>traceroute</command> binary SUID <systemitem
-    class="username">root</systemitem>, then you should move
-    <filename>traceroute</filename> to <filename class='directory'>/usr/bin</filename>
-    with the following command:</para>
-
-<screen role='root'><userinput>mv -v /usr/sbin/traceroute /usr/bin</userinput></screen>
-
-    <para>This ensures that the binary is in the path for non-root users.</para>
-
-  </sect2>
-
   <sect2 role="content">
     <title>Contents</title>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2008-12-31 05:22:14 UTC (rev 7696)
+++ trunk/BOOK/general.ent	2008-12-31 06:15:54 UTC (rev 7697)
@@ -356,7 +356,7 @@
 <!ENTITY wget-version                 "1.11.4">
 
 <!-- Chapter 19 -->
-<!ENTITY traceroute-version           "1.4a12">
+<!ENTITY traceroute-version           "2.0.12">
 <!ENTITY nmap-version                 "4.20">
 <!ENTITY whois-version                "4.7.28">
 <!ENTITY bind-version                 "9.4.1-P1">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2008-12-31 05:22:14 UTC (rev 7696)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2008-12-31 06:15:54 UTC (rev 7697)
@@ -44,6 +44,9 @@
       <para>December 30th, 2008</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Updated to traceroute-2.0.12.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Updated to zip-3.0.</para>
         </listitem>
         <listitem>




More information about the blfs-book mailing list