View previous topic :: View next topic |
Author |
Message |
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Sep 23, 2004 8:41 am Post subject: Where did traceroute go? |
|
|
Hey yall, wondering where telnet is. emerge -s telnet shows that Ive got telnet-bsd installed, but apparently its not in my path. So telnet somehost someport doesnt work. Uhh?!?!?! _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538
Last edited by gnuageux on Thu Sep 23, 2004 9:02 am; edited 2 times in total |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Thu Sep 23, 2004 8:56 am Post subject: |
|
|
Quote: | telnet-bsd
Description: Telnet and telnetd ported from OpenBSD with IPv6 support |
So there should be a client within. Maybe find or locate will show you where it is. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Sep 23, 2004 8:59 am Post subject: |
|
|
Yeah, I thought that too. Tried that with no luck. Hmmm, not sure if I was smoking crack or somethng but now I found it. And it is in my path. (/usr/bin/telnet) hmmmm _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Sep 23, 2004 9:02 am Post subject: |
|
|
LOL - OMG. Heh, I confused myself, not telnet, where is TRACEROUTE. hehehehe
Looks like I have traceroute installed Code: | * net-analyzer/traceroute
Latest version available: 1.4_p12-r2
Latest version installed: 1.4_p12-r2
Size of downloaded files: 73 kB
Homepage: http://ee.lbl.gov/
Description: Utility to trace the route of IP packets
License: BSD
|
But I cant find it. The only traceroute app thats in my path is /usr/bin/traceroute6, what happened to good ol' traceroute?
Code: | grady@MindStab ~$ locate traceroute | grep bin
/usr/bin/traceroute6
|
_________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Thu Sep 23, 2004 9:16 am Post subject: |
|
|
Sorry I have no gentoo box available here at work.
On a suse I have this:
Code: | ls -l /usr/sbin/traceroute*
-rwxr-xr-x 1 root root 14176 2003-09-23 19:20 /usr/sbin/traceroute
lrwxrwxrwx 1 root root 10 2003-12-03 12:54 /usr/sbin/traceroute6 -> traceroute |
re-emerging traceroute may help. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Sep 23, 2004 9:28 am Post subject: |
|
|
Yeah, maybe Ill give that a go. On my box here traceroute6 isnt linked to anything. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
nightblade Guru
Joined: 20 Jul 2004 Posts: 368 Location: back from SE Asia
|
Posted: Thu Sep 23, 2004 9:29 am Post subject: |
|
|
Traceroute is installed by default in /usr/sbin, which, again by default, is in the $PATH of the root user only.
Su to root and you should be able to enjoy your traceroute _________________ In God we trust. All the others must provide a valid X.509 certificate |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
|
Back to top |
|
|
hyp0r Tux's lil' helper
Joined: 11 Oct 2003 Posts: 139
|
Posted: Wed Apr 20, 2005 9:31 pm Post subject: |
|
|
I don't see the reason for putting traceroute into /usr/sbin. Don't come with security, this is a lie.
So, what's the background for this kind of political and somehow useless decision? |
|
Back to top |
|
|
Lucky B Apprentice
Joined: 01 Apr 2005 Posts: 235 Location: Florida
|
Posted: Wed Apr 20, 2005 9:38 pm Post subject: |
|
|
sbin does not have anything to do with security.
from FHS standard:
Quote: |
/sbin : System binaries
Purpose
Utilities used for system administration (and other root-only commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin contains binaries essential for booting, restoring, recovering, and/or repairing the system in addition to the binaries in /bin. [18] Programs executed after /usr is known to be mounted (when there are no problems) are generally placed into /usr/sbin. Locally-installed system administration programs should be placed into /usr/local/sbin. [19]
|
|
|
Back to top |
|
|
Flammie Retired Dev
Joined: 02 Jun 2003 Posts: 633 Location: Dublin, Ireland
|
Posted: Wed Apr 20, 2005 9:40 pm Post subject: |
|
|
hyp0r wrote: | I don't see the reason for putting traceroute into /usr/sbin. Don't come with security, this is a lie.
So, what's the background for this kind of political and somehow useless decision? |
traceroute is for system adminstration so it belongs to sbin and it isn't necessary bootup, system recovery or such so it belongs to usr? |
|
Back to top |
|
|
hyp0r Tux's lil' helper
Joined: 11 Oct 2003 Posts: 139
|
Posted: Wed Apr 20, 2005 11:31 pm Post subject: |
|
|
Lucky B wrote: | sbin does not have anything to do with security. |
No, it does not. And no one claimed this.
And traceroute is no system administration tool. Rather a network analyzer, which is mostly useless for the host, where it is installed.
So what makes it become a root-only tool, although traceroute works for normal users and provides information about the network outside the host, not the host itself? The classification "system administration tool" is nonetheless wrong, too. Why is ping in /bin then? It's almost the same... |
|
Back to top |
|
|
eagle_cz Apprentice
Joined: 06 Jun 2003 Posts: 214
|
Posted: Thu Apr 21, 2005 11:48 am Post subject: |
|
|
traceroute ???
try tracepath |
|
Back to top |
|
|
hyp0r Tux's lil' helper
Joined: 11 Oct 2003 Posts: 139
|
Posted: Thu Apr 21, 2005 1:04 pm Post subject: |
|
|
eagle_cz wrote: | traceroute ???
try tracepath |
tracepath? lol, this one's in /usr/sbin, too...
You like workarounds? I prefer solutions... |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Apr 21, 2005 3:58 pm Post subject: |
|
|
Don't think it's that simple. I've tracepath in two different places on two machines.
Personal server I've kept ticking along from Gentoo 1.4 and running 2.4 with old profile
/usr/bin/tracepath
New db server I installed on Monday running 2.6 and profile 2005.0
/usr/sbin/tracepath
Both have the same version of iputils installed. Odd.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
hyp0r Tux's lil' helper
Joined: 11 Oct 2003 Posts: 139
|
Posted: Thu Apr 21, 2005 5:07 pm Post subject: |
|
|
Grr, after searching the bug-list, I found many reports and discussion, even hostile discussion, which cover this topic.
Mostly stupid yada yada.. I'm really impressed... |
|
Back to top |
|
|
Flammie Retired Dev
Joined: 02 Jun 2003 Posts: 633 Location: Dublin, Ireland
|
Posted: Fri Apr 22, 2005 11:32 pm Post subject: |
|
|
hyp0r wrote: | So what makes it become a root-only tool, although traceroute works for normal users and provides information about the network outside the host, not the host itself? The classification "system administration tool" is nonetheless wrong, too. Why is ping in /bin then? It's almost the same... |
It's a very common user task to find out response times of another server, however user is very unlikely going to need the exact route from here to another server. (Even if the rationalization here might sound good, more likely reasons here are purely historical.) |
|
Back to top |
|
|
hyp0r Tux's lil' helper
Joined: 11 Oct 2003 Posts: 139
|
Posted: Sun Apr 24, 2005 12:51 pm Post subject: |
|
|
Flammie wrote: | It's a very common user task to find out response times of another server, however user is very unlikely going to need the exact route from here to another server. (Even if the rationalization here might sound good, more likely reasons here are purely historical.) |
And therefor traceroute is sbin? No, I don't think this is correct. This would imply, the user is not even allowed to choose.
However ping is not really an accurate way to test latency but rather a means of testing whether a host is up and is reacting within relative time bounds. And traceroute is a means to find out if a node on the way to a particular host is causing problems. This enables a "user" to report the problem not the administrator only. So, restricting traceroute due to security issues, as it is disussed in the bugreports can certainly not be the reason. Traceroute is still accessible to user's, just doing it explicity.
So, please no theories anymore. What is the real reason? |
|
Back to top |
|
|
PovMan Guru
Joined: 30 Sep 2002 Posts: 375 Location: Australia
|
Posted: Tue May 24, 2005 10:32 pm Post subject: |
|
|
bump
yes this is quite annoying. i want my traceroute in /usr/bin! _________________ I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one. |
|
Back to top |
|
|
Xenocrates n00b
Joined: 20 Sep 2004 Posts: 26 Location: Texas, USA
|
Posted: Wed May 25, 2005 5:00 am Post subject: |
|
|
Try net-analyzer/mtr... it's a sup'd up traceroute/ping program. Really nice for finding where problems are. |
|
Back to top |
|
|
perseguidor Apprentice
Joined: 01 Aug 2004 Posts: 278 Location: West Kingdom of Buenos Aires
|
Posted: Wed May 25, 2005 4:37 pm Post subject: |
|
|
What's the problem with it, really? Just get used to it, and always put the absolute path, like I guess you also do with ifconfig.
Code: | /sbin/ifconfig
/usr/sbin/traceroute
|
I guess (just guessing, though) it also has to do with requiring root for being able to use all its functions. Kinda like nmap, I guess. But then again, that isn't in sbin... _________________ O make me a mask! |
|
Back to top |
|
|
bigfunkymo Apprentice
Joined: 23 Jan 2004 Posts: 237
|
Posted: Wed May 25, 2005 5:41 pm Post subject: |
|
|
sigh, does your mom hold your hand while you take a sith?
just add /usr/sbin to your path or make a symlink... _________________ [No package... Grabbing a set.] |
|
Back to top |
|
|
PovMan Guru
Joined: 30 Sep 2002 Posts: 375 Location: Australia
|
Posted: Wed Jun 01, 2005 10:30 pm Post subject: |
|
|
bigfunkymo wrote: | just add /usr/sbin to your path or make a symlink... |
Bah, that's against the point. the point is that you shouldn't HAVE to do that because the ebuild should put it somewhere accessible by default.
edit: thanks Xenocrates, mtr seems to work. _________________ I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one. |
|
Back to top |
|
|
wjholden l33t
Joined: 01 Mar 2004 Posts: 826 Location: Augusta, GA
|
Posted: Wed Jun 01, 2005 10:54 pm Post subject: |
|
|
bigfunkymo wrote: | sigh, does your mom hold your hand while you take a sith?
just add /usr/sbin to your path or make a symlink... |
Better yet, type out the entire path in good UNIX security-awareness since one would have had to either use sudo to get rights to the command or chmodded it... /usr/sbin/traceroute isn't a big deal to type out if you ask me when you've got the tab key... |
|
Back to top |
|
|
christsong84 Veteran
Joined: 06 Apr 2003 Posts: 1003 Location: GMT-8 (Spokane)
|
Posted: Wed Jun 01, 2005 11:08 pm Post subject: |
|
|
kashani wrote: | Don't think it's that simple. I've tracepath in two different places on two machines.
Personal server I've kept ticking along from Gentoo 1.4 and running 2.4 with old profile
/usr/bin/tracepath
New db server I installed on Monday running 2.6 and profile 2005.0
/usr/sbin/tracepath
Both have the same version of iputils installed. Odd.
kashani |
perhaps different baselayout? _________________ while(true) {self.input(sugar);} |
|
Back to top |
|
|
|