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.
Questions tagged [traceroute]
268 questions
2
votes
0 answers
Get traceroute info in java including timeings
Is there a way to get traceroute information in java. I need to query an api we are working on and need to get timings for each of the services that are called by the externally exposed api. I'm thinking that the information in traceroute would be…

John
- 3,458
- 4
- 33
- 54
2
votes
2 answers
traceroute mac in mininet
In mininet I want to find out through which switches ping goes. For example from PC1 (h1) to PC3 (h3). I already tried:
h1 traceroute mac ip h3
or
11:00:00:00:00:00 traceroute mac 33:00:00:00:00:00
But it didnt work. "Normal" traceroute (h1…

Haniku
- 671
- 1
- 7
- 16
2
votes
2 answers
Is it possible to send traceroutes from Linux Azure VM?
I have created a Linux Azure VM. And I want to send traceroutes from it to my home ip address. However traceroute times out on every hop.
I have configured the VM to have public static IP address.
And to have inbound and outbound rules for all…

Maksym Bondarenko
- 404
- 1
- 5
- 12
2
votes
2 answers
how i can trace an IP using delphi
i need trace the route of an ip, actually i am using the TIdTraceRoute indy component from the idTraceRoute unit.
IdTraceRoute1:= TIdTraceRoute.Create(Self);
IdTraceRoute1.ResolveHostNames:= True;
IdTraceRoute1.ReceiveTimeout:= 5000;
…

Salvador
- 16,132
- 33
- 143
- 245
2
votes
2 answers
How to insert large number of nodes into Neo4J
I need to insert about 1 million of nodes in Neo4j. I need to specify that each node is unique, so every time I insert a node it has to be checked that there's not the same node yet. Also the relationships must be unique.
I'm using Python and…

RamsesXVII
- 295
- 2
- 11
2
votes
2 answers
Batch - Parsing the output of Tracert
i would like to ask for some help with the output of tracert in windows, ie i have this output :
Tracing route to Y.Y.Y.Y over a maximum of 30 hops
1 1 ms 1 ms 1 ms X.X.X.X
2 103 ms 71 ms 22 ms X.X.X.X
3 35 ms 51 ms …

onlyf
- 767
- 3
- 19
- 39
2
votes
1 answer
SO_DEBUG and SO_DONTROUTE in traceroute
Can anyone explain the difference between SO_DEBUG and SO_DONTROUTE . This is my understanding
SO_DONTROUTE
Enable / disable routing bypass for outgoing message
Routing takes place only when it goes to out of subnet.
…

pretty
- 67
- 2
- 10
2
votes
1 answer
Raw sockets VS Libpcap in a Linux C application
I'm developing a Linux C app that works like traceroute, sending TCP/UDP packets and listening for incoming TCP/UDP answer packets or ICMP Time Exceeded messages.
I guess it should be easier to use libpcap than dealing with raw sockets, but are…

the structure
- 89
- 1
- 10
2
votes
2 answers
A few related questions regarding traceroutes in c:
According to Wikipedia, a traceroute program
Traceroute, by default, sends a sequence of User Datagram Protocol
(UDP) packets addressed to a destination host[...] The time-to-live
(TTL) value, also known as hop limit, is used in determining…

motoku
- 1,571
- 1
- 21
- 49
2
votes
1 answer
simple icmp traceroute implementation in C
OK, so I tried to write a simple ICMP traceroute using materials from my lecturer which were echo_request and icmp_receive programs which I wanted to merge to achieve my goal but it kind of doesn't work.
You can see code of these programs and…

Octothorp
- 135
- 1
- 13
2
votes
0 answers
Traceroute with DSCP bits (QoS) with Scapy
Scapy allows the setting of DSCP or tos bits in IP packets, using the upper 6 bits of the 8 bit Type of Service field.
a = IP(dst="172.31.0.1", tos=184)
or
send(IP(dst="172.31.0.1")/ICMP())
It also permits traceroutes and modifications to the IP…

bardgett
- 59
- 8
2
votes
1 answer
PERL ssh script tty issue
I am trying to write a PERL script to ssh to a remote machine and run some tcptraceroutes. I managed to handle the SSH part fine. However tcptraceroute command requires sudo, and here is where I ran into an issue. Example:
my (@traces, $stderr,…

th3us3r
- 39
- 4
2
votes
3 answers
Why do traceroute times sometimes go down between hops?
I'm seeing similar output to that on the traceroute manpage, but I've always been curious on why ping times go down between hops? I.e., I'd always expect values to increment from hop to hop like:
[yak 71]% traceroute nis.nsf.net.
traceroute to…

Colby Blair
- 396
- 4
- 15
2
votes
0 answers
traceroute: findsaddr: write: Invalid argument
I have a FreeBSD machine with traceroute Version 1.4a12+FreeBSD. When I try to run traceroute, I get the following error. However the same command works fine on my Mac.
$ traceroute 8.8.8.8
traceroute: findsaddr: write: Invalid argument
$
What am…

stackoverflow
- 399
- 2
- 14
2
votes
1 answer
Traceroute via php (or something) to a different IP
I need to figure out a way that users in my internal network can trigger a traceroute from their PC to a particular server that is not the webhost server. My thought is to somehow open a telnet session on their PC using admin rights, run the…

user2472122
- 55
- 6