Tag Info

Hot answers tagged

19

From man 1 traceroute: -m max_ttl Specifies the maximum number of hops (max time-to-live value) traceroute will probe. The default is 30.


10

When some location is further than 30 hops, it probably means simply that last hops does not replies when TTL exceeds. Unless, it's a story: $ traceroute -m100 216.81.59.173 traceroute to 216.81.59.173 (216.81.59.173), 100 hops max, 52 byte packets (...) 14 episode.iv (206.214.251.1) 173.387 ms 171.638 ms 171.201 ms 15 a.new.hope (206.214.251.6) ...


9

A likely reason for the difference is that by default Window's tracert uses ICMP, whereas Linux traceroute defaults to UDP. Using the -I option for traceroute should produce the same results as tracert: traceroute -w 10 -I google.it From the traceroute documentation: In the modern network environment the traditional traceroute methods can not be ...


5

The asterisks you're seeing are servers that your packets are being routed through whom are timing out (5.0+ seconds) and so traceroute defaults to printing the *. NOTE: There's even a warning about this in the traceroute man page. excerpt In the modern network environment the traditional traceroute methods can not be always applicable, because of ...


4

In /etc/ssh/sshd_config make sure the following is uncommented: AllowTCPForwarding yes Double check your syntax too: $ ssh -N -L [local_port]:[endpoint]:[remote_port] [user]@[host] The error you're seeing is a terribly confusing error that is thrown when a forwarded ssh connection simply can't connect.


4

There is no traceroute in the Cygwin packages, because tracert is always available on Windows. See https://cygwin.com/ml/cygwin/2005-12/msg00443.html for a thread briefly discussing this. You can try compiling a Unix-style traceroute from source usign Cygwin. If you want to compare Windows-style tracert to Unix-style traceroute though, I'd recommend running ...


3

From your output, you are not able to reach the destination. The * denotes a timeout. traceroute command shows the path to your destination. packets send to will pass through the routers and you receive a response obeying the time to live (TTL) value for each packets. the * denotes a timeout as a response from the intermediate routers that says the packet ...


2

When you echo $a, the shell does "word splitting" and all significant whitespace is lost. Try echo "$a" with double quotes. Quoting will also ensure filename expansion does not occur. See http://www.gnu.org/software/bash/manual/bashref.html#Shell-Expansions


1

You might want to take a look at fping and it's -t option: -t n Initial target timeout in milliseconds (default 500). In the default mode, this is the amount of time that fping waits for a response to its first request. Successive timeouts are multiplied by the backoff factor. By using fping you can just check the exit status ...


1

line ping -c 1 $ip 1> /dev/null discard result, so you can't know if you pings are over 500 ms. use ping -c 1 $ip 1> /tmp/ping.txt to keep ping's response, then in the part where ping is sucessfull awk -F/ 'NF>5 { if ( $5 > 500 ) exit 1 ; else exit 0 }' /tmp/ping.txt will give 0 under 500 ms and 1 if average ping is over 500 ms. ...


1

Ok, as Stephen Kitt said there is no ready to use traceroute binaries for Cygwin. That's why i tried to compile it myself. I can see there is modern traceroute but from it's description follows, that it can't be used with old Linux kernels and for me compilation stuck on missing "dccp.h" and i gave up. I was able to compile the old implementation, but it ...


1

There is nothing built-in to IP that lets you do a reverse traceroute, that is, a traceroute from some remote server back to you. That is why network administrators often set up public looking glasses for other network administrators to use. These looking glasses were historically telnet-based interfaces but nowadays are usually available through web ...


1

You could rent some cheap VPS servers that are positioned around the world and run traceroute yourself from those servers back to your website. AWS allows you rent per minute. Another option would be to search for "traceroute online" there are a large number of websites that allow you to run a traceroute from a remote server. Examples: ...


1

The stars mean a device in the chain didn't respond to your ICMP / UDP packet. That can be a router, firewall or a host configured not to respond. They're usually only interesting if you get them mixed in with responses, e.g. 21 * 10 ms * which suggests the device at or around hop 21 is intermittently responding or is intermittently available. Whether ...


1

It's not just something you can do with pf. The example you cite mentions using VRFs. On OpenBSD you need to create multiple routing domains (rdomains) using the rtable command. You'll need to build a series of routing tables and virtual interfaces so that each hop jumps to a new table. In order to do the Star Wars crawl you'll also need to either edit your ...


1

You did read the man page, right? -i interface, --interface=interface Specifies the interface through which traceroute should send packets. By default, the interface is selected according to the routing table.



Only top voted, non community-wiki answers of a minimum length are eligible