From owner-freebsd-questions@FreeBSD.ORG Fri Feb 18 12:01:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B5D316A4D7 for ; Fri, 18 Feb 2005 12:01:04 +0000 (GMT) Received: from dexter.starfire.mn.org (starfire.skypoint.net [66.93.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9427B43D58 for ; Fri, 18 Feb 2005 12:01:03 +0000 (GMT) (envelope-from john@dexter.starfire.mn.org) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id j1IC11s46599; Fri, 18 Feb 2005 06:01:01 -0600 (CST) (envelope-from john) Date: Fri, 18 Feb 2005 06:01:01 -0600 From: John To: Mike Hauber Message-ID: <20050218060101.F46302@starfire.mn.org> References: <20050217224731.A488C4BDAA@ws1-1.us4.outblaze.com> <200502180241.22963.m.hauber@mchsi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200502180241.22963.m.hauber@mchsi.com>; from m.hauber@mchsi.com on Fri, Feb 18, 2005 at 02:41:22AM -0500 cc: freebsd-questions@freebsd.org Subject: Re: WHAT KIND OF SH*T IS THIS: telnet and ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 12:01:04 -0000 On Fri, Feb 18, 2005 at 02:41:22AM -0500, Mike Hauber wrote: > On Thursday 17 February 2005 05:47 pm, Fafa Diliha Romanova wrote: > > let's get straight to it: > > > > whenever i telnet or ssh to something that's offline, i get > > e.g.: ssh: hostname.domain.com: hostname nor servname provided, > > or not known > > > > comeon, can't you guys at least change it to: > > ssh: hostname.domain.com: unknown > > > > thanks, > > fafa > > Welcome to open source... > > try the following command, as it will point out some of the source > files you may wish to change and recompile on your system (have > it your way, and be advised that the command "may" have wrapped): > > $ find /usr/src -type f -exec grep "servname provided, or not > known" /dev/null {} \; >> ~/omgitssourcery.txt Oh, brother! This is RICH! It appears this text in question actually originates with the defining RFCs!!! /usr/src/contrib/bind9/doc/rfc/rfc2133.txt: EAI_NONAME hostname nor servname provided, or not known /usr/src/contrib/bind9/doc/rfc/rfc2553.txt: EAI_NONAME nodename nor servname provided, or not known /usr/src/contrib/bind9/lib/bind/include/netdb.h:#define EAI_NONAME 8 /* hostname nor servname provided, or not known */ /usr/src/contrib/bind9/lib/bind/irs/getaddrinfo.c: "hostname nor servname provided, or not known", /* EAI_NONAME */ /usr/src/contrib/bind9/lib/lwres/include/lwres/netdb.h.in:#define EAI_NONAME 8 /* hostname nor servname provided, or not known */ /usr/src/contrib/bind9/lib/lwres/gai_strerror.c: "hostname nor servname provided, or not known", So - whoever's "fault" this is - was just making BIND compliant with the documentation.... Can't win for loosing some days! -- John Lind john@starfire.MN.ORG