Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 19:14:12 +0100
From:      Cliff Sarginson <csfbsd@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Illegal Characters in Hostname
Message-ID:  <20020227181412.GB2129@raggedclown.net>
In-Reply-To: <1014814919.1768.31.camel@fourier>
References:  <1014747407.93220.41.camel@dev.nethouse.com> <1014814919.1768.31.camel@fourier>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 27, 2002 at 08:01:58AM -0500, Bill Triplett wrote:
> As a kind fellow pointed out to me off list, the strict enforcement of
> the no underscores is happening in libc, in: 
> 
> /usr/src/lib/libc/net/res_comp.c 
> 
> The same gentleman offered me a work-around in case I may want to add
> underscores to the list of OK characters in hostnames. I know that this
> is not FreeBSD's fault and that the RFC's are clear about what is and is
> not allowed (except this[1] one?).
> 
> The patch to the above mentioned file is attached. I tried ping after
> recompiling libc w/patch + ping, and the pings went out fine. Whether or
> not the patch breaks anything else, I don't know... probably not going
> to use it myself... just including it for follow-up reasons... YMMV,
> etc...
> 
This is bad.
Adding chaos to chaos.

-- 
Regards
   Cliff Sarginson -- <csfbsd@raggedclown.net>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227181412.GB2129>