Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2001 14:17:58 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
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
Message-ID:  <200107222117.f6MLHwr11669@earth.backplane.com>
References:  <ras@e-gerbil.net> <200107212234.f6LMYUg79964@hak.lan.Awfulhak.org> <20010723.053051.88524825.ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help

: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




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