freebsd-dev/usr.bin/talk
Bruce M Simpson 9d61853d9f 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)
2004-06-14 22:34:13 +00:00
..
ctl_transact.c
ctl.c 1. Use socklen_t instead of int 2004-03-21 08:14:39 +00:00
display.c remove whitespace at end of line 2003-07-04 20:44:25 +00:00
get_addrs.c
get_iface.c remove whitespace at end of line 2003-07-04 20:44:25 +00:00
get_names.c Change the default behaviour of talk(1) to use "localhost" as the 2004-06-14 22:34:13 +00:00
init_disp.c Handle window resizing better. 2004-04-19 21:37:29 +00:00
invite.c Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
io.c Do not attempt ro read more than sizeof(buf) from stdin. 2004-05-10 15:52:16 +00:00
look_up.c Use the new style struct sockaddr instead of osockaddr in system calls 2003-09-28 09:45:56 +00:00
Makefile
msgs.c
talk_ctl.h
talk.1 Change the default behaviour of talk(1) to use "localhost" as the 2004-06-14 22:34:13 +00:00
talk.c Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
talk.h Handle window resizing better. 2004-04-19 21:37:29 +00:00