cvs commit: src/usr.bin/talk get_names.c talk.1
Bruce M Simpson
bms at FreeBSD.org
Mon Jun 14 15:34:23 PDT 2004
bms 2004-06-14 22:34:14 UTC
FreeBSD src repository
usr.bin/talk get_names.c talk.1
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).
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
More information about the cvs-all