From owner-freebsd-questions Wed Feb 27 12: 3:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by hub.freebsd.org (Postfix) with ESMTP id ECBE837B41A for ; Wed, 27 Feb 2002 12:03:08 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post-20.mail.nl.demon.net with esmtp (Exim 3.35 #2) id 16g8ak-0003ij-00 for freebsd-questions@freebsd.org; Wed, 27 Feb 2002 18:14:14 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id A048313040 for ; Wed, 27 Feb 2002 19:14:13 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 1005) id 8467E225C1; Wed, 27 Feb 2002 19:14:12 +0100 (CET) Date: Wed, 27 Feb 2002 19:14:12 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: Illegal Characters in Hostname Message-ID: <20020227181412.GB2129@raggedclown.net> References: <1014747407.93220.41.camel@dev.nethouse.com> <1014814919.1768.31.camel@fourier> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1014814919.1768.31.camel@fourier> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message