The implementation of traceroute(tracert) differs on Windows and Unix. I wanted to compare both with Wireshark. I am on Windows 7 now and I wanted to get Unix traceroute implementation quickly.
My first idea was to get it using MSYS or Cygwin. I installed Cygwin with "inetutils*" packages checked, but there is no traceroute command and corresponding executable in /usr/bin/
.
I also tried searching for "traceroute" with Cygwin package search and found this substring in list of "zsh" files. I installed zsh and tried traceroute
and tcptraceroute
with no results.
Which package should i check for installation of traceroute and is there traceroute for Cygwin at all?
Best Answer
There is no
traceroute
in the Cygwin packages, becausetracert
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-styletraceroute
from source usign Cygwin.If you want to compare Windows-style
tracert
to Unix-styletraceroute
though, I'd recommend runningtraceroute
on Unix or Linux, because the network stacks are different; so running a Unix-styletraceroute
on Windows won't give you quite the same network traces as Unix-styletraceroute
on Unix.