From owner-cvs-all@FreeBSD.ORG Mon Feb 18 18:49:59 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BE3E16A41A for ; Mon, 18 Feb 2008 18:49:59 +0000 (UTC) (envelope-from wes@opensail.org) Received: from mail6.dotsterhost.com (mail6.dotsterhost.com [72.5.54.120]) by mx1.freebsd.org (Postfix) with SMTP id D9A7613C4E3 for ; Mon, 18 Feb 2008 18:49:58 +0000 (UTC) (envelope-from wes@opensail.org) Received: (qmail 20069 invoked from network); 18 Feb 2008 18:23:16 -0000 Received: from unknown (HELO scurvy.softweyr.com) (wes@opensail.org@[66.27.90.155]) by 72.5.54.120 with SMTP; 18 Feb 2008 18:23:16 -0000 Message-Id: From: Wes Peters To: Guy Helmer In-Reply-To: <47B99880.1060306@palisadesys.com> Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 18 Feb 2008 10:23:14 -0800 References: <200802160016.m1G0GnFB046558@repoman.freebsd.org> <20080216024541.GA31498@nagual.pp.ru> <20080215.233427.1598351542.imp@bsdimp.com> <47B7746A.8080403@delphij.net> <47B99880.1060306@palisadesys.com> X-Mailer: Apple Mail (2.919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: src-committers@FreeBSD.org, d@delphij.net, ache@nagual.pp.ru, cvs-all@FreeBSD.org, delphij@FreeBSD.org, cvs-src@FreeBSD.org, "M. Warner Losh" Subject: Re: cvs commit: src/lib/libc/resolv res_comp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 18:49:59 -0000 On Feb 18, 2008, at 6:38 AM, Guy Helmer wrote: > Xin LI wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> M. Warner Losh wrote: >> I don't think it would be the end of world if we allow _ in host >> names. >> All other (lame) OSes allows it, their resolver just accepts this >> character and give the answer, actually, I would be very surprised >> if it >> can still cause any real world attack nowadays. >> > Are we talking about hostnames specifically, or domain name > components in general? > > I've been recently looking at DomainKeys, and underscores appear to > be typically used in the domain components for domain keys TXT > records (example below from http://www.elandsys.com/resources/sendmail/domainkeys.html) > : > mail._domainkey.example.com. IN TXT "k=rsa; t=y; > > p=MEwwPQRJKoZIhvcNADAQCQADOwAwOAIxANPpYHdE2tevfEpvL1Tk2dDYv0pF28/ > f5MxU83x/0b > sn4R4p7waPaz1IbOGs/6bm5QIDAQAB" Other systems, including mDNS and zeroconf, rely on underscores in domain components as well. Underscores in domain names are a de jure standard, in the hostname a de facto standard. -- Where am I, and what am I doing in this handbasket? Wes Peters wes@opensail.org