<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY traceroute-download-http "&sourceforge-repo;/traceroute/traceroute-&traceroute-version;.tar.gz">
  <!ENTITY traceroute-download-ftp  " ">
  <!ENTITY traceroute-md5sum        "79289adabd6f3ebf9160fc0815ab3150">
  <!ENTITY traceroute-size          "68 KB">
  <!ENTITY traceroute-buildsize     "912 KB">
  <!ENTITY traceroute-time          "Less than 0.1 SBU">
]>

<sect1 id="traceroute" xreflabel="Traceroute-&traceroute-version;">
  <?dbhtml filename="traceroute.html"?>

  <sect1info>
    <othername>$LastChangedBy: ken $</othername>
    <date>$Date: 2015-03-01 17:14:32 -0500 (Sun, 01 Mar 2015) $</date>
  </sect1info>

  <title>Traceroute-&traceroute-version;</title>

  <indexterm zone="traceroute">
    <primary sortas="a-Traceroute">Traceroute</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Traceroute</title>

    <para>The <application>Traceroute</application> 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.</para>

    <note><para>This package overwrites the version of
    <command>traceroute</command> that was installed in the inetutils package
    in LFS.  This version is more powerful and allows many more options than
    the standard version.</para></note>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&traceroute-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&traceroute-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &traceroute-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &traceroute-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &traceroute-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &traceroute-time;</para>
      </listitem>
    </itemizedlist>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/traceroute"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of Traceroute</title>

    <para>Install <application>Traceroute</application> by running the following
    commands:</para>

<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 prefix=/usr install                                 &amp;&amp;
mv /usr/bin/traceroute /bin                              &amp;&amp;
ln -sv -f traceroute /bin/traceroute6                    &amp;&amp;
ln -sv -f traceroute.8 /usr/share/man/man8/traceroute6.8 &amp;&amp;
rm -fv /usr/share/man/man1/traceroute.1</userinput></screen>

    <para>The traceroute.1 file that was installed in LFS  
    by inetutils is no longer relevant.  This package overwrites
    that version of traceroute and installs the man page in man 
    chapter 8.</para>
  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>traceroute and traceroute6 (symlink)</seg>
        <seg>None</seg>
        <seg>None</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="traceroute-prog">
        <term><command>traceroute</command></term>
        <listitem>
          <para>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.</para>
          <indexterm zone="traceroute traceroute-prog">
            <primary sortas="b-traceroute">traceroute</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="traceroute6-prog">
        <term><command>traceroute6</command></term>
        <listitem>
          <para>is equivalent to <command>traceroute -6</command>.</para>
          <indexterm zone="traceroute traceroute6-prog">
            <primary sortas="b-traceroute6">traceroute6</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>

