Changeset 3bba7e2 for basicnet/netutils/traceroute.xml
- Timestamp:
- 06/12/2004 05:58:29 AM (20 years ago)
- Branches:
- 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
- Children:
- bfe245f
- Parents:
- d47e7ea9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/netutils/traceroute.xml
rd47e7ea9 r3bba7e2 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 1 14 <sect1 id="traceroute" xreflabel="Traceroute-&traceroute-version;"> 2 15 <?dbhtml filename="traceroute.html"?> 3 16 <title>Traceroute-&traceroute-version;</title> 4 17 5 &traceroute-intro; 6 &traceroute-inst; 7 &traceroute-exp; 8 &traceroute-desc; 18 <sect2> 19 <title>Introduction to <application>Traceroute</application></title> 20 21 <para>The <application>Traceroute</application> package contains a program 22 which is used to display the network route that packets take to reach a 23 specified host. This is a standard network troubleshooting tool. If you find 24 yourself unable to connect to another system, traceroute can help pinpoint 25 the problem.</para> 26 27 <sect3><title>Package information</title> 28 <itemizedlist spacing='compact'> 29 <listitem><para>Download (HTTP): <ulink 30 url="&traceroute-download-http;"/></para></listitem> 31 <listitem><para>Download (FTP): <ulink 32 url="&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 46 commands:</para> 47 48 <screen><userinput><command>mv Makefile.in Makefile.in.bak && 49 sed 's/-o bin/-o root/' Makefile.in.bak > Makefile.in && 50 ./configure --prefix=/usr && 51 make && 52 make install && 53 make 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> 61 Adjusts the <filename>Makefile</filename> so that the program is installed 62 with 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> 66 with <acronym>SUID</acronym> set to root in the <filename>/usr/sbin</filename> directory. This makes it 67 possible for all users to execute <command>traceroute</command>. For absolute 68 security, turn off the <acronym>SUID</acronym> bit in <command>traceroute</command>'s file 69 permissions 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 73 ever found in the <application>Traceroute</application> code, a regular user 74 on your system could gain root access if the program is 75 <acronym>SUID</acronym> root. Of course, removing 76 the <acronym>SUID</acronym> permission also makes it impossible for users other than 77 root to utilize <command>traceroute</command>, so decide what's right for your 78 individual situation.</para> 79 80 <para>Our aim is to be completely <acronym>FHS</acronym> compliant, so if 81 you do leave the <command>traceroute</command> binary 82 <acronym>SUID</acronym> root, then you 83 should move <filename>traceroute</filename> to <filename>/usr/bin</filename> 84 with 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 102 route your packets take from the host you are working on to another host on a 103 network, showing all the intermediate steps (gateways) along the way.</para> 104 </sect3> 105 106 </sect2> 9 107 10 108 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.