From owner-freebsd-security Sun Jul 22 14:18:18 2001 Delivered-To: freebsd-security@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id C54CE37B403; Sun, 22 Jul 2001 14:18:14 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.4/8.11.2) id f6MLHwr11669; Sun, 22 Jul 2001 14:17:58 -0700 (PDT) (envelope-from dillon) Date: Sun, 22 Jul 2001 14:17:58 -0700 (PDT) From: Matt Dillon Message-Id: <200107222117.f6MLHwr11669@earth.backplane.com> To: Hajimu UMEMOTO Cc: brian@Awfulhak.org, ras@e-gerbil.net, roam@orbitel.bg, freebsd-security@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/22595: telnetd tricked into using arbitrary peer ip References: <200107212234.f6LMYUg79964@hak.lan.Awfulhak.org> <20010723.053051.88524825.ume@mahoroba.org> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org :It is problem of w(1). `w -n' does forward lookup for IPv4 only and :IPv6 is not supported at all. When available, login(1) writes :hostname into utmp instead of IP address. If hostname is saved, `w :-n' queries A RR for the hostname. :Real problem is that UT_HOSTSIZE is too short to hold IPv6 address. :Is there any chance to expand UT_HOSTSIZE in time to 5.0-RELEASE. It :apparently breaks binary compatibility. : :-- :Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan :ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org I think if we are going to increase UT_HOSTSIZE, then 5.0 (i.e. now) is exactly the right time to do it. How large does UT_HOSTSIZE have to be to accomodate an IPV6 address? -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message