Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020909225235.82286.qmail@web21009.mail.yahoo.com> Date: Mon, 9 Sep 2002 15:52:35 -0700 (PDT) From: Nicholas Wourms Subject: RE: Traceroute? To: Randall R Schulz , cygwin AT cygwin DOT com In-Reply-To: <5.1.0.14.2.20020909145740.02c98d48@pop3.cris.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Randall R Schulz wrote: > John, > > Cygwin is not a world apart. You can invoke Windows tracert (and > all other > Windows executables) directly from Cygwin. > > For commonly used commands that reside in a directory I don't > otherwise > want in my PATH, I just define aliases or shell functions in my > .bashrc. > Well I think the real issue is some missing functionality in the tcp/ip interface within Cygwin. Alas, the icmp headers seem to be missing as well as ip_var.h/tcp_var.h/udp_var.h. Too bad I don't know enough about lowlevel windows tcp/ip, otherwise I'd jump on trying to fix the holes in the current tcp/ip stack. I think, many times, people get caught up in the argument that well windows already has so-and-so tool. Well that's nice, but sometimes the windows version of the tool sucks. In this case I'm inclined to say windows traceroute is barely acceptable. I much prefer the version that comes with bsd/*nix (ee.lbl.gov). Here's how they compare: Windows ------- Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name Options: -d Do not resolve addresses to hostnames. -h maximum_hops Maximum number of hops to search for target. -j host-list Loose source route along host-list. -w timeout Wait timeout milliseconds for each reply. *nix ----- traceroute [ -dFInrvx ] [ -f first_ttl ] [ -g gateway ] [ -i iface ] [ -m max_ttl ] [ -p port ] [ -q nqueries ] [ -s src_addr ] [ -t tos ] [ -w waittime ] [ -z pausemsecs ] host [ packetlen ] Obviously the *nix version provides for a finer granularity of control whereas the windows version is rather spartan. Oh well, since I can't submit a patch I guess I should shutup now... Cheers, Nicholas __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/