Date: Fri, 18 Feb 2005 06:01:01 -0600 From: John <john@starfire.mn.org> To: Mike Hauber <m.hauber@mchsi.com> Cc: freebsd-questions@freebsd.org Subject: Re: WHAT KIND OF SH*T IS THIS: telnet and ssh Message-ID: <20050218060101.F46302@starfire.mn.org> In-Reply-To: <200502180241.22963.m.hauber@mchsi.com>; from m.hauber@mchsi.com on Fri, Feb 18, 2005 at 02:41:22AM -0500 References: <20050217224731.A488C4BDAA@ws1-1.us4.outblaze.com> <200502180241.22963.m.hauber@mchsi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050218060101.F46302>
