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
1
vote
1 answer

How does one send ICMP packets (with associated TTL values) in Java on Android? Is it possible without a 3rd-party library? If not, what do you use?

This seems like it should be a simple solution to find, but I'm not having any luck. I want to write a simple ping/traceroute/dns troubleshooting app, but am simply not finding any documentation or examples on sending ICMP ECHO packets with set TTLs…
Jacob
  • 11
  • 1
  • 2
1
vote
1 answer

In Traceroute source code why the destination port is assigned to 32678+666

u_short port = 32768 + 666; I don't know why they added 32768 with 666. Is there any meaning? where does 666 comes from? The range of the destination port is from 33434 to 33534. Why they haven't directly specify as 33434 (32768 + 666 = 33434)
pretty
  • 67
  • 2
  • 10
1
vote
2 answers

How to identify packets of traceroute?

I'm working in C and using the pcap library to analyze a cap file that has packets that were sent/received during the execution of traceroute. The problem I'm having is identifying packets that were sent/received from the traceroute since the cap…
1
vote
1 answer

traceroute IPv6 using VB6

I try to perform traceroute using VB6, but don't have any idea how. I think of using dos to do the job, and then capturing the output of dos in my app. Another idea is to convert the address from ipv6 to ipv4 and then perform the trace route in…
Smith
  • 5,765
  • 17
  • 102
  • 161
1
vote
1 answer

scapy::traceroute setting source ip address

I have a setup in which my source server is connected to a network using an anycast address, as a result I need to use source ip every time I ping or traceroute any destination in the network I am connected to. I am currently experimenting with…
indichimp
  • 1,152
  • 2
  • 13
  • 22
1
vote
1 answer

Get AS ID from IP Address

I'm trying to get the AS ID for each IP address I get back from a traceroute output. What's the best way to do this? The only command I know right now is 'whois ip_addr' but that returns too much information, and is very difficult to parse (since…
yolo_coder
  • 11
  • 2
1
vote
1 answer

Python Script for Traceroute and printing the output in file shows error( OSError: [Errno 2] No such file or directory) in Linux Mint

I am trying to perform traceroute on google.com using python script and write the output to a file ie output.txt If I directly use subprocess.call('traceroute','google.com') it works perfectly fine and the output gets printed on the screen. Since I…
priya_ajju
  • 57
  • 1
  • 8
1
vote
1 answer

How ping is measured between two players?

Say i have a ping of around 34-36ms to my ISP and my friend gets like for example 47ms, so if we got a different latency time from the same ISP and in the same town, if i\he host a match game.. what do you think pinging each other would look like?…
Semphie94
  • 19
  • 3
1
vote
0 answers

Node.js - Traceroute - Relative to server or client?

I have a basic question on using traceroute module in node.js. If we attempt to give traceroute("google.com"), does it return the results relative to client or server? In my case, I am developing a web application where the user can do network…
Sree
  • 11
  • 1
  • 4
1
vote
1 answer

Matlab - Trace contour line between two different points

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…
binarycreations
  • 3,091
  • 6
  • 32
  • 38
1
vote
1 answer

How to get a pcap file with traceroute icmp type 30

I'm writing a program to analyze network traffic. Therefore I want to check the ICMP Type 30 (traceroute). I can't find a pcap file for this case. If I traceroute some website with cmd (traceroute stackoverflow.com), I get only ICMP type 0, 3, 8 and…
Struct
  • 950
  • 2
  • 14
  • 41
1
vote
0 answers

Which hop is the correct 'next-hop' to use when Paris-Traceroute returns multiple next-hops?

I'm using M-Lab and BigQuery, so I am dealing with previously collected data. A large portion of the traceroutes I have include one or more diamonds, which usually have cycles. Is there a standard way to clean Paris-Traceroute data? I was thinking…
1
vote
1 answer

Python traceroute doesn't work

I have found a python project that implements Traceroute, however it doesn't work. Here is the project: import socket import sys class TraceRoute(object): BADDR = "0.0.0.0" # default bind address - (all IPs) PORT = 33434 # default port …
user3016694
  • 307
  • 2
  • 4
  • 11
1
vote
0 answers

Reversed reading of batch output to string

I've got the following output, from a tracert: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\test>tracert speedtest.danskkabeltv.dk Tracing route to speedtest.danskkabeltv.dk…
Saku
  • 47
  • 6
1
vote
1 answer

VBSCRIPT: TRACERT and PING a WEBADDRESS and write to text file without command promot popup

I need to write a diagnostic utility in VBS which i will package in my windows application installer. I want the utility to run silently when the user is installing the application. I tried: Set pingCXS = objShell.Run("tracert -h 9 webaddress", 0,…