Questions tagged [traceroute]

traceroute traces the route taken by packets over a TCP/IP network. It is used as a network debugging tool to show where packets are being lost along the route.

268 questions
0
votes
0 answers

Route discovery between master slave and slave slave

I have a master node and different slave nodes. I want to perform traceroute from each slave to every other slave and master and send this route to master periodically with timestamp. Bruteforce approach seems to be performing a traceroute from each…
user2823667
  • 193
  • 2
  • 18
0
votes
1 answer

In traceroute source code why the size is hard coded to 512 : u_char packet[512];

In traceroute while revising the source code, I saw that the ICMP inbound packet size is hard coded to 512. I don't know why the size is limited to 512 bytes. What happen if the ICMP inbound packet size is greater than 512 bytes?
pretty
  • 67
  • 2
  • 10
0
votes
0 answers

bash: checking host availability over tcp

I would like to test in a script [Linux: CentOS 7] the availability of a remote machine. While TCP packages can blocked by a firewall on the way, ICMP packages may be possible and are not blocked by the default firewall settings. Thus, ping is no…
THX
  • 553
  • 2
  • 8
  • 18
0
votes
0 answers

how to get all traceroute ip node js

I need to get all traceroute ip information in node js. I have used npm install traceroute lib, but have such a problem with lib js file. c:\Users\Frank\WebstormProjects\Whois.uz\server\node_modules\traceroute\traceroute.js:114 …
Hayot
  • 251
  • 6
  • 15
0
votes
0 answers

Modifying Options Field in IPv4 Header in Python

I am writing a somewhat atypical traceroute application in python. I am interested in counting the number of hops a packet takes before reaching its destination. The trick is I am interested in only probing with a single outgoing packet. I believe I…
Aroto
  • 311
  • 1
  • 12
0
votes
2 answers

Why traceroute's three packets with same TTL always go to same router?

I was studying about traceroute in the book "Computer Networking A Top-Down Approach" recently, and I was struck by a few questions. The book said and I quote Trace-route actually repeats the experiment just described three times, so the source…
Sнаđошƒаӽ
  • 16,753
  • 12
  • 73
  • 90
0
votes
2 answers

Traceroute response when max hops is reached (Linux)

Suppose that we do a traceroute www.google.com, then the parameter "max hops" will be set to 30 by default since we didn't specify it. Now lets say that somehow the traceroute reaches the 30th hop before finding www.google.com, what would be the…
Santiago Hitta
  • 21
  • 1
  • 12
0
votes
0 answers

Bash: pass host variable to traceroute

I wrote a script to run a traceroute on a series of ip ranges. When I use the default options (that is, when I run traceroute without any additional options), my script runs fine. In other words: traceroute "$hostip" Produces the desired…
0
votes
1 answer

PHP - Traceserout without sockets

We get sporadic connection fails from webserver to another server. We intended to use tracert based on sockets to determine where it fails. Unfortunately it is impossible to create RAW sockets on webserver due to it's not ran under root (and we…
Mufasa10
  • 35
  • 4
0
votes
1 answer

Script to extract and find min, max and avg from a file using a shell script from traceroute output

I am creating a shell scrip to store the output of the traceroute command with a user-entered input to a file. I want to extract the latency for each packet and each router and find the min, max and average times for each packet. If this is the…
0
votes
1 answer

In BusyBox why the maximum packet size is limited to 32768 while maximum IP packet size can be 65535

There is a check in busybox,the packet size should be in between 38 to 32768(32 * 1024). If the size is greater than 32768 traceroute will not be triggered. Why this kind of limitation exists in busybox? The maximum IP Packet size can be 65535.…
sai kumar
  • 1
  • 1
0
votes
0 answers

Win7 tracert in batch file to find occasional high latency packet

I'm working on an LAN issue which manifests as an occasional very high latency packet (~30 ms vs typical 3 ms round trip times). Using Windows ping -t I discovered that we're looking at one packet out of a hundred or more. I'd like to write a…
Jim2B
  • 167
  • 9
0
votes
2 answers

Continue to grep for traceroute result with bash

Every night I go through the same process of checking failover systems for our T1's. I essentially go through the following process: Start the failover process. traceroute $server; Once I see it's failed over, I verify that connections work by…
0
votes
0 answers

Traceroute on Host with Path?

When I run traceroute against my domain name I hit cloudflare cache. To avoid this, I'm trying to run traceroute against a path on my domain that I know isn't cached, but I get this: > traceroute domain.com/some/path traceroute: unknown host…
Eli
  • 36,793
  • 40
  • 144
  • 207
0
votes
0 answers

Traceroute OSX Terminal vs Network Utility

Why would terminal>traceroute #.#.#.# show different results than using the network utility.app? Here is the first 3 hops. I am connected to PIA VPN but regardless both methods should show the same results I would think. termnial traceroute to…
vashavoc
  • 129
  • 2
  • 10