From owner-freebsd-bugs Mon Jan 4 06:30:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA19880 for freebsd-bugs-outgoing; Mon, 4 Jan 1999 06:30:10 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA19872 for ; Mon, 4 Jan 1999 06:30:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA02227; Mon, 4 Jan 1999 06:30:01 -0800 (PST) Date: Mon, 4 Jan 1999 06:30:01 -0800 (PST) Message-Id: <199901041430.GAA02227@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: "Jasper O'Malley" Subject: Re: bin/9226: telnetd can log wrong IP address to utmp Reply-To: "Jasper O'Malley" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/9226; it has been noted by GNATS. From: "Jasper O'Malley" To: "Matus \"fantomas\" Uhlar" 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