From owner-cvs-src@FreeBSD.ORG Mon Jun 14 22:34:23 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F99416A4CE; Mon, 14 Jun 2004 22:34:23 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8906E43D41; Mon, 14 Jun 2004 22:34:23 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5EMYEgw040180; Mon, 14 Jun 2004 22:34:14 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5EMYEk0040179; Mon, 14 Jun 2004 22:34:14 GMT (envelope-from bms) Message-Id: <200406142234.i5EMYEk0040179@repoman.freebsd.org> From: Bruce M Simpson Date: Mon, 14 Jun 2004 22:34:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/talk get_names.c talk.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 22:34:23 -0000 bms 2004-06-14 22:34:14 UTC FreeBSD src repository Modified files: usr.bin/talk get_names.c talk.1 Log: Change the default behaviour of talk(1) to use "localhost" as the "machine name" in ntalkd(8) request packets, when the destination and source are local. This should make talk(1) use much more pleasant for those security- conscious individuals who have chosen to bind talkd to "localhost". Previous to this change, talk(1) would require that the hostname of the machine, as retrieved by gethostname(3), resolved to a valid and reachable IPv4 address, using gethostbyname(3). This makes talk(1) dependent on a valid host entry for "localhost" in /etc/hosts (or the Domain Name System). PR: bin/23178 Submitted by: angui.sh admin (with cleanups) Revision Changes Path 1.9 +1 -1 src/usr.bin/talk/get_names.c 1.16 +17 -0 src/usr.bin/talk/talk.1