Home | History | Annotate | only in /src/libexec/talkd
History log of /src/libexec/talkd
RevisionDateAuthorComments
 1.13 27-Sep-2008  reed Fix the Document Title of manual page so it our official name (ntalkd).
Install so first file installed matches this correct manual page
name.

(Both manual pages are still installed. And only ntalkd binary is
installed. So no change.)
 1.12 24-Mar-2004  he The MLINKS needs to come before .include <bsd.prog.mk>.
 1.11 24-Mar-2004  fair Add man page link from talkd.8 to ntalkd.8 per PR 13433

We should probably rename all of this back to talkd. XXX
 1.10 19-Sep-2002  lukem use NETBSDSRCDIR as appropriate
 1.9 20-Aug-2002  christos utmpx support
 1.8 08-Oct-1997  mrg merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.
 1.7 06-Jul-1997  christos Use WARNS=1
 1.6 29-Jun-1997  christos Install as ntalkd
 1.5 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.4 29-Jun-1997  christos Merge in lite-2
 1.3 22-Dec-1994  cgd specify man pages the new way.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.25 16-Mar-2009  lukem fix WARNS=4 issues (const & type mismatches)
 1.24 16-Mar-2009  lukem ANSI KNF
 1.23 04-Mar-2008  dholland branches: 1.23.10;
'struct timezone' belongs in the dustbin of history.
 1.22 04-Mar-2008  dholland fix typo in comment
 1.21 07-Aug-2003  agc branches: 1.21.22; 1.21.28;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.20 22-Apr-2003  itojun backout 1.18 and 1.19
 1.19 22-Apr-2003  itojun free vis_user
 1.18 22-Apr-2003  itojun malloc vis_user (why 1.6 branch has the fix already?)
 1.17 20-Nov-2002  itojun verify strvis() buffer length is enough. make sure string termination before
use. remove extra ntohs() which is not needed. from Charles Blundell
 1.16 25-Sep-2002  itojun Allocate vis_user on the stack instead of using malloc(). This
way we don't have to worry about malloc() failure. Also closes
a memory leak since vis_user was never free()d. Lack of malloc()
checking pointed out by Peter Werner.
from openbsd
 1.15 04-Mar-2002  enami Lineup comment and remove unnecessary whitespaces.
 1.14 04-Mar-2002  enami Use \a instead of embedding raw control-G character.
 1.13 17-Oct-2000  tv Formatting nit: add a space.
 1.12 10-Oct-2000  itojun make sure big_buf is big enough to hold line terminations.
if all the lines have N_CHARS of characters, we will write up
N_CHARS * N_LINES + (3 + 2 * N_LINES) + 1
of bytes.
 1.11 04-Jul-1998  mrg branches: 1.11.2; 1.11.10;
- clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.10 03-Jul-1998  mrg - use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
 1.9 01-Apr-1998  kleink Need <time.h> for localtime() prototype.
 1.8 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.7 29-Jun-1997  christos Merge in lite-2
 1.6 17-Jul-1996  rat Use snprintf(3) when printing into arrays allocated on the stack.
Patch submitted by David Holland <dholland@hcs.HARVARD.EDU>
 1.5 07-Jun-1995  cgd branches: 1.5.6;
typeof(timeval.tv_sec) != time_t
 1.4 23-Dec-1994  cgd stdlib.h for protos
 1.3 21-Dec-1994  glass vis(3)ify remote user name. Fixes bug 589. Fix basically as submitted by matthew green
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 29-Apr-1997  tls Import from 4.4BSD-Lite2
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.6.1 20-Jul-1996  jtc Pulled up from rev 1.6 by request from rAT
 1.11.10.1 17-Oct-2000  tv Pullup 1.12 [itojun] and 1.13 [releng]:
make sure big_buf is big enough to hold line terminations.
if all the lines have N_CHARS of characters, we will write up
N_CHARS * N_LINES + (3 + 2 * N_LINES) + 1
of bytes.
 1.11.2.1 11-Oct-2000  he Pull up revision 1.12 (requested by itojun):
Make sure big_buf is big enough to hold output.
 1.21.28.1 24-Mar-2008  keiichi sync with head.
 1.21.22.1 23-Mar-2008  matt sync with HEAD
 1.23.10.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.7 21-Oct-2009  snj Remove 3rd and 4th clauses in christos' license. OK christos.
 1.6 16-Mar-2009  lukem fix WARNS=4 issues (const & type mismatches)
 1.5 16-Mar-2009  lukem ANSI KNF
 1.4 08-Jan-2007  christos branches: 1.4.20;
- use getnameinfo instead of gethostbyaddr
- add tsa2sa and use it
 1.3 19-Sep-2002  itojun find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.

also, there is no guarantee that any of the string components of
the request packet are null terminated.

in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.

from xs@kittenz.org
 1.2 04-Jul-1998  mrg branches: 1.2.10; 1.2.12;
- clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.1 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.2.12.1 02-Oct-2002  lukem Pull up revision 1.3 (requested by itojun in ticket #846):
find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.
also, there is no guarantee that any of the string components of
the request packet are null terminated.
in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.
from xs@kittenz.org
 1.2.10.1 19-Sep-2002  itojun libexec/talkd/extern.h 1.3
libexec/talkd/process.c 1.8 via patch
libexec/talkd/talkd.c 1.13-1.14 via patch

Fix buffer overrun.
 1.4.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10 16-Mar-2009  lukem fix WARNS=4 issues (const & type mismatches)
 1.9 16-Mar-2009  lukem ANSI KNF
 1.8 17-Mar-2006  elad branches: 1.8.28;
Fix three off-by-ones found by Coverity. CID 1444, 1445.
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.6 04-Jul-1998  mrg - clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.5 03-Jul-1998  mrg - use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
 1.4 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.3 29-Jun-1997  christos Merge in lite-2
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14 16-Mar-2009  lukem fix WARNS=4 issues (const & type mismatches)
 1.13 16-Mar-2009  lukem ANSI KNF
 1.12 08-Jan-2007  christos branches: 1.12.20;
- use getnameinfo instead of gethostbyaddr
- add tsa2sa and use it
 1.11 01-Oct-2004  christos PR/27097: John Klos: Talk daemon does not find additional ttys for
a particular user if the first tty is not writable. This broke in
revision 1.9 when it was strl'ified incorrectly (hi itojun). Thanks
to enami for spotting this.
 1.10 07-Aug-2003  agc branches: 1.10.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.9 17-May-2003  itojun strlcat is easier here
 1.8 19-Sep-2002  itojun find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.

also, there is no guarantee that any of the string components of
the request packet are null terminated.

in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.

from xs@kittenz.org
 1.7 20-Aug-2002  christos utmpx support
 1.6 04-Jul-1998  mrg branches: 1.6.10; 1.6.12;
- clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.5 03-Jul-1998  mrg - use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
 1.4 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.3 29-Jun-1997  christos Merge in lite-2
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.12.1 02-Oct-2002  lukem Pull up revision 1.8 (requested by itojun in ticket #846):
find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.
also, there is no guarantee that any of the string components of
the request packet are null terminated.
in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.
from xs@kittenz.org
 1.6.10.1 19-Sep-2002  itojun libexec/talkd/extern.h 1.3
libexec/talkd/process.c 1.8 via patch
libexec/talkd/talkd.c 1.13-1.14 via patch

Fix buffer overrun.
 1.10.2.1 12-Nov-2004  jmc Pullup rev 1.11 (requested by jklos in ticket #960)

Talk daemon does not find additional ttys for particular user if the first tty
is not writable.
 1.12.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.11 03-Sep-2015  dholland Remove dead assignment; from Henning Petersen in PR 50196.
 1.10 16-Mar-2009  lukem fix WARNS=4 issues (const & type mismatches)
 1.9 16-Mar-2009  lukem ANSI KNF
 1.8 04-Mar-2008  dholland branches: 1.8.10;
y2038 fixes: time_t != long.
 1.7 04-Mar-2008  dholland 'struct timezone' belongs in the dustbin of history.
 1.6 07-Aug-2003  agc branches: 1.6.22; 1.6.28;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.5 04-Jul-1998  mrg - clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.4 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.3 29-Jun-1997  christos Merge in lite-2
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.28.1 24-Mar-2008  keiichi sync with head.
 1.6.22.1 23-Mar-2008  matt sync with HEAD
 1.8.10.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.11 22-Mar-2010  joerg Use .In instead of .Aq Pa for header files.
 1.10 27-Sep-2008  reed Fix the Document Title of manual page so it our official name (ntalkd).
Install so first file installed matches this correct manual page
name.

(Both manual pages are still installed. And only ntalkd binary is
installed. So no change.)
 1.9 24-Mar-2004  fair Add FILES section to document where the daemon is.

Add some paragraph breaks to make the man page more readable.

Add the history of the talkd -> ntalkd change as I recall it to
the HISTORY section. All of this to answer PR 13433
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.7 04-Apr-2001  wiz syslogd(8), not syslog(8).
 1.6 22-Mar-1999  garbled branches: 1.6.10;
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.5 04-Jul-1998  mrg - clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.4 20-Oct-1997  enami Fix .Nm usage.
 1.3 29-Jun-1997  christos Merge in lite-2
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.10.1 26-Apr-2001  he Pull up revision 1.7 (requested by wiz):
It's syslogd(8), not syslog(8).
 1.21 16-Mar-2009  lukem ANSI KNF
 1.20 20-Jul-2008  lukem branches: 1.20.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
 1.19 04-Mar-2008  dholland branches: 1.19.4;
y2038 fixes: time_t != long.
 1.18 08-Jan-2007  christos branches: 1.18.4; 1.18.8;
- use getnameinfo instead of gethostbyaddr
- add tsa2sa and use it
 1.17 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.16 20-Nov-2002  itojun verify strvis() buffer length is enough. make sure string termination before
use. remove extra ntohs() which is not needed. from Charles Blundell
 1.15 08-Oct-2002  itojun sa_family on wire format is network byteorder
from Alexander Yurchenko <grange@rt.mipt.ru>
 1.14 19-Sep-2002  itojun find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.

also, there is no guarantee that any of the string components of
the request packet are null terminated.

in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.

from xs@kittenz.org
 1.13 27-Sep-2001  christos branches: 1.13.2;
PR/5631: Rumi Szabolcs: Make talk work without COMPAT43
 1.12 19-Feb-2001  cgd convert to use getprogname()
 1.11 04-Feb-2001  christos fix nested extern
 1.10 06-Jul-1998  mrg branches: 1.10.10;
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.9 04-Jul-1998  mrg - clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
 1.8 03-Jul-1998  mrg - use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
 1.7 29-Jun-1997  christos We are not going to be running as root anymore, so no need to check for that.
 1.6 29-Jun-1997  christos - use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
 1.5 29-Jun-1997  christos Merge in lite-2
 1.4 29-Jan-1997  explorer Doh! MAXHOSTNAMELEN, not MAXHOSTNAME
 1.3 29-Jan-1997  explorer Allow local hostname to be longer than 32 characters, and make certain it will
fit in the buffer space provided. Also, ensure null termination.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.10.1 19-Sep-2002  itojun libexec/talkd/extern.h 1.3
libexec/talkd/process.c 1.8 via patch
libexec/talkd/talkd.c 1.13-1.14 via patch

Fix buffer overrun.
 1.13.2.2 16-Jun-2003  grant Pull up revision 1.16 (requested by itojun in ticket #1001):

verify strvis() buffer length is enough. make sure string termination before
use. remove extra ntohs() which is not needed. from Charles Blundell
 1.13.2.1 02-Oct-2002  lukem Pull up revision 1.14 (requested by itojun in ticket #846):
find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.
also, there is no guarantee that any of the string components of
the request packet are null terminated.
in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.
from xs@kittenz.org
 1.18.8.1 24-Mar-2008  keiichi sync with head.
 1.18.4.1 23-Mar-2008  matt sync with HEAD
 1.19.4.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed