WHAT KIND OF SH*T IS THIS: telnet and ssh
John
john at starfire.mn.org
Fri Feb 18 12:01:04 GMT 2005
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 at starfire.MN.ORG
More information about the freebsd-questions
mailing list