- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- icmp-type to enable traceroute
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2001 01:29 PM
тАО12-23-2001 01:29 PM
icmp-type to enable traceroute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2001 12:34 PM
тАО12-25-2001 12:34 PM
Re: icmp-type to enable traceroute
As far as I know, the "traceroute" mechanism uses packets that could not be routed due to a too low number of hop counts.
The first host says to the first router : "could you reach that destination in 1 hop counts ?"
If it replies no, another query is attempted with 2 hop counts... until the destination host is reached.
I guess (but I'm not sure) that the ICMP packets to allow for the traceroute command to work should "icmp-net-unreachable" and "icmp-host-unreachable".
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2001 11:05 AM
тАО12-26-2001 11:05 AM
Re: icmp-type to enable traceroute
traceroute: sendto: Operation not permitted
1 traceroute: wrote www.yahoo.akadns.net 38 chars, ret=-1
*traceroute: sendto: Operation not permitted
traceroute: wrote www.yahoo.akadns.net 38 chars, ret=-1
*traceroute: sendto: Operation not permitted"
Does any one have any idea? thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2001 02:44 AM
тАО12-27-2001 02:44 AM
Re: icmp-type to enable traceroute
I am also not so sure, but I checked my cisco for what it knows, and my best guess would be that you need
echo Echo (ping)
echo-reply Echo reply
host-unknown Host unknown
host-unreachable Host unreachable
information-reply Information replies
information-request Information requests
traceroute Traceroute
ttl-exceeded TTL exceeded
unreachable All unreachables
Unfortunately, I do not know the icmp-portnumbers for those signals, my cisco just offers the names.
Do not know if that helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 06:05 AM
тАО01-14-2002 06:05 AM
Re: icmp-type to enable traceroute
You need to allow traceroute
following icmp types and codes:
TYPE = 0 - Echo Reply
TYPE = 8 - Echo Request
TYPE = 11 - Time Exceeded
Code 0 = TTL > 0
and if you need name reolution
you need DNS = udp 53
Best regards
Nico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2002 04:33 AM
тАО01-15-2002 04:33 AM
Re: icmp-type to enable traceroute
AFAIK, the message you're seeing is not related to ICMP-type messages but to the fact that you're running traceroute as a non-root user.
Use the tips of our colleagues in the forum, make sure you're logged in as "root" and try again.
HTH
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2002 03:29 AM
тАО01-16-2002 03:29 AM
Re: icmp-type to enable traceroute
traceroute usually uses source port 32769:65535 dst port 33434:33523
default UDP base: 33434 to base+nhops-1
ICMP INCOMING TRACEROUTE
For outgoing traceroute.
Message Types: INCOMING Dest_Unreachable (3), Time_Exceeded (11)
For incoming traceroute.
Message Types: OUTGOING Dest_Unreachable (3), Time_Exceeded (11)
To block this, deny OUTGOING 3 and 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 08:52 PM
тАО03-11-2002 08:52 PM
Re: icmp-type to enable traceroute
However, I did notice once before, with a customized 2.4.`early` kernel that I received a very similar error message when using ping. I haven't been following the LKML enough lately, but it's possible there was a bug in the kernel somewhere that kept the sendto() function from working properly. It may have been a problem with glibc also. I ended up rebooting just to see if I could shake the problem. It went away for a while, but returned. After upgrading and rebuilding the kernel, all was well. I'll be curious to see if your problem comes to this also.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2002 07:09 AM
тАО03-12-2002 07:09 AM
Re: icmp-type to enable traceroute
Are you using IPCHAINS? What do
ipchains -L output
and
ipchains -L input
say?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2002 07:13 AM
тАО03-12-2002 07:13 AM
Re: icmp-type to enable traceroute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2002 02:11 PM
тАО03-12-2002 02:11 PM
Re: icmp-type to enable traceroute
The outgoing probe is actually a UDP packet with low TTL values, and 'traceroute' sits waiting fo the ICMP replies of 'time exceed' and 'port unreachable' from the middling hosts.
NOTE: this is all int he man page for traceroute..