traceroute

How is it possible to run a traceroute-like program without needing root privileges?

I have seen another program provide traceroute functionality within it but without needing root (superuser) privileges? I've always assumed that raw sockets need to be root, but is there some other way? (I think somebody mentioned "supertrace" or "tracepath"?) Thanks! ...

What do these abbreviations in network hostnames mean?

When I use traceroute, I often see abbreviations in the hostnames along the route, such as "ge", "so", "ic", "gw", "bb" etc. I can guess "bb" means backbone. Does anyone know what any these strings abbreviate, or know any other common abbreviations? ...

TraceRoute and Ping in C#

Does anyone have C# code handy for doing a ping and traceroute to a target computer? I am looking for a pure code solution, not what I'm doing now, which is invoking the ping.exe and tracert.exe program and parsing the output. I would like something more robust. ...

How does traceroute work?

It seems almost magical. What is the traceroute command doing in order to map out the entire path to some other node on the Internet? ...

What do the numbers reported by the Windows TraceRt Mean

I need to create a trace route as part of a .NET appliation to support trouble shooting. I have figured out how to use the .NET Ping class to do the tracing. What I do not understand is what the numbers reported by the command line utility are. This is somewhat censored results of a "tracert yahoo.com" from the Windows command line: ...

Find the closest server in the network

Given a list of servers & a list of clients, how to find a server that is closest to a particular host using "traceroute"? The program should be in java. ...

Website connectivity issues

We get people complaining about slow loading on our website. It is at a local ISP with pretty good bandwidth. But lately I've been getting a lot of client disconnected errors. I added ping into the error logging so that I can see what kind of response times people that generate the client disconnect errors have. Most of these are comin...

Why PathPing is faster than Tracert ?

I wanted to know why PathPing is faster than Tracert. I googled a lot but was not satisfied with the answers I found, most of the answers talked about its features but not about why it is faster than tracert. Tracert works by incremental TTL and gathering response from every node until it reaches destination But how does PathPing work?...

Navigating to IP address shows different page than navigating to hostname?

Hi, I'm looking at a web site we'll call www.example.com . A quick traceroute www.example.com shows that its IP address is 208.76.xx.xxx . When I browse to "www.example.com" in Firefox, I am shown the web site (a login page). However, when I browse to 208.76.xx.xxx , I am shown a default "Welcome to cPanel!" web page. Here is some mor...

How can I perform a ping or traceroute using native python?

I would like to be able to perform a ping and traceroute from within Python without having to execute the corresponding shell commands so I'd prefer a native python solution. ...

How can I perform a ping or traceroute in python, accessing the output as it is produced?

Earlier, I asked this question: How can I perform a ping or traceroute using native python? However because python is not running as root it doens't have the ability to open the raw ICMP sockets needed to perform the ping/traceroute in native python. This brings me back to using the system's ping/traceroute shell commands. This quest...

Parsing data from traceroute command

I am trying to parse the "number of hops" value from the traceroute command and output it with a bash script. Any hints? Very new so thanks. My script looks like this so far: #!/bin/bash #parse traceroute for hops and output to stdout. echo -n "Enter a host name(like www.google.com): " read hostname traceroute 2>&1 $hostname|grep "...

TCP Traceroute in C#

How can you perform a TCP traceroute in C#? Is it even possible? ...

call tracert and ping from sql and put the result in sql table

Hi, I need to create a stored procedure which will get destination IP and then call tracert or ping and then write the result into a sql table so then I can show user the result in a web page . is it possible to do this ? if yes would you please tell me how because I have searched a lot and didn't find a proper solution . and if not wha...

Is it possible to do a traceroute in the browser ?

I'm looking for a way to do a traceroute client-side, i.e. in a browser. As far as I know, it's not possible to send ICMP, UDP or TCP packets with arbitraty TTL values via Javascript or Flash. I know Flash allows TCP connections via the Socket class in Actionscript but it doesn't seem useful for a traceroute implementation. Is the only...

Trace Routing for a Certain port

Dear Network Gurus Before saying anything let me tell you that i am not well educated int networks related subjects. I am a software developer and I have written and exposed a Service on HTTPS at port 8000. Now i want to know that if there is any kind of software that can help me to trace if there is any kind of port blocking from one...

Traceroute Theory

I am toying with trace route, my application send a ICMP echo request with a ttl of 0 every time i receive a time exceeded message i increment the ttl by one and resent the package, but what happens is I have 2 routers on my network i can trace the route through these router but third hop always ends up being one of the open dns servers ...

ICMP - TTL - Traceroute

Given the following situation: PC --- |aa RTR1 bb| --- |aa RTR2 bb| --- |aa RTR3 bb| etc Each of the |aa rtr bb| is meant to be a router with two ports aa and bb. My question is this. When you do a trace route from PC which router port address should respond with time to live exceeded in transit message? I seem to remember b...

How to to icmps and traceroutes in Java

For some reason i cannot even phantom, Java does not have primitives for ICMPs and traceroute. Any idea how to overcome this? Basically im building code that should run in *nix and windows, and need a piece of code that will run in both platforms.. Thanks! ...

Matab - Trace contour line between two different points

Hi, I have a set of points represented as a 2 row by n column matrix. These points make up a connected boundary or edge. I require a function that traces this contour from a start point P1 and stop at an end point P2. It also needs to be able trace the contour in a clockwise or anti-clockwise direction. I was wondering if this can be ac...