From owner-freebsd-hackers Thu Jul 20 09:06:34 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id JAA12521 for hackers-outgoing; Thu, 20 Jul 1995 09:06:34 -0700 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id JAA12515 for ; Thu, 20 Jul 1995 09:06:31 -0700 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.11/8.6.9) id MAA03509; Thu, 20 Jul 1995 12:05:50 -0400 From: A boy and his worm gear Message-Id: <199507201605.MAA03509@skynet.ctr.columbia.edu> Subject: Re: timeouts on 'netstat' for address->name lookups? To: peter@haywire.DIALix.COM (Peter Wemm) Date: Thu, 20 Jul 1995 12:05:47 -0400 (EDT) Cc: hackers@freebsd.org In-Reply-To: from "Peter Wemm" at Jul 20, 95 10:56:19 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1100 Sender: hackers-owner@freebsd.org Precedence: bulk Of all the gin joints in all the world, Peter Wemm had to walk into mine and say: > When doing a 'netstat' or 'netstat -r', sometimes you can get 75 second > timeouts on strange addresses that are not correctly configured in the > dns (such as lame delegations). > > 'w' was recently changed so that it only spends up to two seconds trying > to translate the address in the ut_host field into a name. > > Who would object to me doing the same to netstat? [chop] > Objections? It's 4 lines of code to add. > > -Peter What's wrong with using netstat -rn ? -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~