Date: Mon, 4 Jan 1999 06:30:01 -0800 (PST) From: "Jasper O'Malley" <jooji@webnology.com> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/9226: telnetd can log wrong IP address to utmp Message-ID: <199901041430.GAA02227@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/9226; it has been noted by GNATS. From: "Jasper O'Malley" <jooji@webnology.com> To: "Matus \"fantomas\" Uhlar" <uhlar@fantomas.sk> Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/9226: telnetd can log wrong IP address to utmp Date: Mon, 4 Jan 1999 08:24:07 -0600 (CST) On Mon, 4 Jan 1999, Matus "fantomas" Uhlar wrote: > tcp_wrappers do this and I think it's enough; So logging a bad hostname--or worse, a bad IP address--is acceptable if you don't use TCP Wrappers? The real solution is, as David suggested, to log both IP addresses and hostnames to utmp. Barring that, I'd like to patch login to add the -a switch, where IP addresses are passed to login rather than hostnames, and any lookups are done with login itself (deprecating the -h switch). There needs to be a standard way to pass stuff to utmp, and only certain applications should have to bother with address lookups. Cheers, Mick 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?199901041430.GAA02227>