Date: Wed, 24 May 2000 23:21:43 +0100 From: Brian Somers <brian@Awfulhak.org> To: Michael Grant <mgrant@grant.org> Cc: freebsd-bugs@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: bin/9226: telnetd can log wrong IP address to utmp Message-ID: <200005242221.XAA02358@hak.lan.Awfulhak.org> In-Reply-To: Message from Michael Grant <mgrant@grant.org> of "Wed, 24 May 2000 10:20:02 PDT." <200005241720.KAA87874@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> the -u option to telnetd doesn't seem to work, I still get hostnames in
> utmp even when -u0 is used.
>
> I noticed that it passes the whole hostname to login with the -h
> option. Why not add an option to login.conf to convert or leave the
> hostname as an IP address, this way, it works for all things in general
> rather than having to change rsh, telnet, and ssh?
>
> Perhaps a reason not to do this is that some dns trickery with the
> reverse dns could spoof the user's real ip address.
AFAICT this works properly on 3.4-stable and in -current. I can only
guess that you may have updated the ip4 telnet service in inetd.conf
and *not* the ip6 (default!) service.... This had me *very* confused
for some time just now !
> -Mike
--
Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005242221.XAA02358>
