/ appl / telnet / ChangeLog
ChangeLog
  1  2008-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
  2  
  3  	* libtelnet/enc_des.c: Use RAND_bytes() + DES_is_weak_key() to
  4  	generate random DES key. Introdunce random by feeding the des
  5  	session key into the random pool when the keys is recived instead
  6  	of encrypt the random key with the kerberos key.
  7  	
  8  	This avoid depenency on DES_new_random_key() that doesn't exists
  9  	in OpenSSL.
 10  
 11  2008-04-18  Love Hörnquist Åstrand  <lha@it.su.se>
 12  
 13  	* libtelnet/enc_des.c: No need to call
 14  	DES_init_random_number_generator, hcrypto is sane now.
 15  
 16  	* libtelnet/enc_des.c: Use DES_new_random_key().
 17  
 18  2008-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
 19  	
 20  	* telnetd/sys_term.c: Really, mac os uses wtmpx (or asl).
 21  
 22  2008-03-09  Love Hörnquist Åstrand  <lha@it.su.se>
 23  
 24  	* telnetd/sys_term.c: Dont need to set this as the controlling PTY
 25  	on steams sockets, don't abort on failure. From Harald Barth and
 26  	Ian Delahorne.
 27  
 28  2007-12-31  Love Hörnquist Åstrand  <lha@it.su.se>
 29  
 30  	* telnetd/sys_term.c: Use strlcpy instead of strncpy, thanks to
 31  	Antoine Brodin.
 32  	
 33  2007-07-31  Love Hörnquist Åstrand  <lha@it.su.se>
 34  
 35  	* telnetd/telnetd.c (usage): use exit_code, add --version and
 36  	--help.
 37  
 38  	* telnetd/telnetd.c: Add --help, reported by David Love.
 39  
 40  2007-07-30  Love Hörnquist Åstrand  <lha@it.su.se>
 41  
 42  	* telnet/main.c: Catch --help, reported by David Love.
 43  	
 44  2007-07-12  Love Hörnquist Åstrand  <lha@it.su.se>
 45  
 46  	* telnetd/sys_term.c: GLIBC made the choice that ut_tv should be
 47  	shared between 32 and 64 bit platforms so now we can no longer use
 48  	struct timeval functions to compare or set/get data that uses
 49  	pointer (gettimeofday for example) since ut_tv is now not a struct
 50  	timeval but rather a struct { int32_t tv_sec; int32_t tv_usec; };
 51  
 52  2006-10-21  Love Hörnquist Åstrand  <lha@it.su.se>
 53  
 54  	* telnet/telnet_locl.h: Include roken.h before the local
 55  	headerfiles.
 56  
 57  	* telnetd/telnetd.h: HP/UX defines SE in sys/uio.h, #undef it.
 58  
 59  	* telnetd/sys_term.c: Dont't include some streamspty headers here.
 60  
 61  	* telnetd/telnetd.c: Dont't include some streamspty headers here.
 62  
 63  	* telnetd/telnetd.h: includes some STREAMSPTY header here to avoid
 64  	ioctl vs socket_wrapper horror.
 65  	
 66  2006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
 67  
 68  	* telnet/Makefile.am: more files
 69  	
 70  	* telnetd/Makefile.am: more files
 71  	
 72  2006-09-19  Love Hörnquist Åstrand  <lha@it.su.se>
 73  	
 74  	* telnetd/telnetd.8: Add documentation for -e, require encryption.
 75  
 76  	* telnetd/telnetd.h: Add require_encryption.
 77  
 78  	* telnetd/telnetd.c: Allow encryption to be required, wait to the
 79  	client to turn it on, if failes, refuse the connection.
 80  
 81  	* telnetd/state.c: If encryption is required, don't allow it to be
 82  	turned off.
 83  	
 84  2006-09-04  Love Hörnquist Åstrand  <lha@it.su.se>
 85  
 86  	* libtelnet/kerberos5.c (kerberos5_forward): use KDCOptions2int on
 87  	flags before passing them to krb5_get_forwarded_creds.
 88  	
 89  2006-05-05  Love Hörnquist Åstrand  <lha@it.su.se>
 90  
 91  	* Rename u_intXX_t to uintXX_t
 92  
 93  2006-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
 94  
 95  	* libtelnet/encrypt.c: Spelling.
 96  
 97  2005-12-01  Love Hörnquist Åstrand  <lha@it.su.se>
 98  	
 99  	* telnetd/telnetd.c: Initialize the slc mapping table before its
100  	used.  Based on bug report from Russell Sanford
101  	<rrs@clyde.dcccd.edu>
102  	
103  2005-11-03  Love Hörnquist Åstrand  <lha@it.su.se>
104  	
105  	* telnet/telnet.c: Spelling in comments, from Dave Love
106  	<fx@gnu.org>
107  	
108  2005-10-31  Love Hörnquist Åstrand  <lha@it.su.se>
109  
110  	* libtelnet/kerberos5.c (Data): Use right variable. From Tomas
111  	Olsson
112  	
113  2005-10-22  Love Hörnquist Åstrand <lha@it.su.se>
114  
115  	* telnet/commands.c: Check return value from asprintf instead of
116  	string != NULL since it undefined behavior on Linux. From Björn
117  	Sandell
118  
119  	* libtelnet/kerberos5.c: Check return value from asprintf instead
120  	of string != NULL since it undefined behavior on Linux. From Björn
121  	Sandell
122  
123  	* libtelnet/kerberos.c: Check return value from asprintf instead
124  	of string != NULL since it undefined behavior on Linux. From Björn
125  	Sandell
126  	
127  2005-08-08  Love Hörnquist Åstrand  <lha@it.su.se>
128  
129  	* telnetd/telnetd.c: Fix printing of /etc/issue{,.net}.
130  	
131  	* telnetd/utility.c: make writenet take const void * and size_t,
132  	abort if size it too large
133  
134  	* telnetd/state.c: Fix ansi c warning.
135  
136  	* telnetd/sys_term.c: no need to typecast argument to writenet
137  
138  	* telnetd/ext.h: make writenet take const void * and size_t
139  
140  2005-07-07  Assar Westerlund  <assar@kth.se>
141  
142  	* libtelnet/kerberos.c: Do not assume that des_key_schedule is an
143  	array.
144  
145  2005-05-27  Love Hörnquist Åstrand  <lha@it.su.se>
146  
147  	* libtelnet/kerberos5.c: case uid_t to unsigned long in printf
148  	format
149  
150  	* telnetd/sys_term.c (set_termbuf): use {} around if to make else
151  	unambiguous
152  
153  2005-05-20  Love Hörnquist Åstrand  <lha@it.su.se>
154  
155  	* telnetd/sys_term.c (start_login): put utmpx code into a new
156  	scope to avoid pre c99 problems.
157  
158  2005-05-19  Dave Love  <fx@gnu.org>
159  
160  	* telnet/telnet.c,telnet_locl.h: Make solaris find tgetent
161  
162  2005-05-13  Johan Danielsson  <joda@pdc.kth.se>
163  
164  	* telnetd/sys_term.c (start_login): set encryption pointers to
165  	NULL, so we don't try to do either
166  	
167  2005-05-11  Dave Love  <fx@gnu.org>
168  
169  	* telnet/telnet.c: undef ISASCII before we define our own (problem
170  	on Irix)
171  
172  2005-04-28  Johan Danielsson  <joda@pdc.kth.se>
173  
174  	* telnetd/utility.c (putf): %t: the regular and streamspty case
175  	are functionally equivalent, so merge them, this also makes it
176  	work better on machines that puts their devices in a subdirectory
177  	to /dev
178  
179  2005-04-27  Dave Love  <fx@gnu.org>
180  
181  	* telnetd/sys_term.c (getpty): Declare p.
182  
183  2005-04-25  Love Hörnquist Åstrand  <lha@it.su.se>
184  
185  	* telnetd/telnetd.c: use strlcpy
186  	
187  2005-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
188  
189  	* telnetd/global.c, telnetd/state.c, telnetd/telnetd.c,
190  	telentd/ext.h: remove another strcpy
191  
192  2005-04-19  Love Hörnquist Åstrand  <lha@it.su.se>
193  
194  	* telnetd/sys_term.c: rewrite getpty to make use openpty when its
195  	found, save the slave fd so that cleanopen can use it if its
196  	available
197  
198  2005-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
199  
200  	* telnetd/sys_term.c: clean_ttyname might be unused, mark it so
201  	with __attribute__
202  	
203  2005-04-06  Love Hörnquist Åstrand  <lha@it.su.se>
204  
205  	* telnetd/sys_term.c: use NULL as last argument to execl, not 0
206  
207  	* telnet/commands.c: use NULL as last argument to execl, not 0
208  	
209  2005-03-29  Love Hörnquist Åstrand  <lha@it.su.se>
210  
211  	* telnet/telnet.c: From FreeBSD:
212  	
213  	Correct a pair of buffer overflows in the telnet(1) command:
214  	
215  	 (CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
216  	 functions.
217  	
218  	 (CAN-2005-0469) A global uninitialized data section buffer overflow in
219  	 slc_add_reply() and related functions.
220  	
221  	As a result of these vulnerabilities, it may be possible for a
222  	malicious telnet server or active network attacker to cause
223  	telnet(1) to execute arbitrary code with the privileges of the
224  	user running it.
225  	
226  	Security: CAN-2005-0468, CAN-2005-0469 Security:
227  	FreeBSD-SA-05:01.telnet Security:
228  	http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities
229  	Security:
230  	http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities
231  	
232  	These fixes are based in part on patches Submitted by: Solar
233  	Designer <solar@openwall.com>
234  
235  2005-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
236  
237  	* telnetd/telnetd.c: remove setting of DES_check_key, all code
238  	uses DES_set_key_checked
239  
240  	* libtelnet/enc_des.c: use DES_set_key_checked
241  	
242  2005-01-09  Love Hörnquist Åstrand  <lha@it.su.se>
243  
244  	* telnet/telnet.c: cast argument to toupper to unsigned char
245  
246  	* telnet/commands.c: cast argument to is* to unsigned char
247  
248  2004-06-20  Love Hörnquist Åstrand  <lha@it.su.se>
249  
250  	* telnet/network.c: make network rings larger From: MAAAAA MOOOR
251  	<huaraz@btinternet.com>
252  	
253  	* telnetd/state.c: make subbuffer larger XXX resize dynamicly
254  	From: MAAAAA MOOOR <huaraz@btinternet.com>
255  	
256  	* libtelnet/kerberos5.c (Data): allocate the data needed to be
257  	send From: MAAAAA MOOOR <huaraz@btinternet.com>
258  	
259  2004-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
260  
261  	* telnet/main.c: make encrypt, forwardable, forward use appdefault
262  	(that also searches libdefaults), prompted by Thomas Nystrom
263  	<thn@saeab.se>
264  	
265  2004-03-22  Love Hörnquist Åstrand  <lha@it.su.se>
266  
267  	* telnetd/telnetd.c: call setprogname to make libvers happy
268  
269  	* telnet/main.c: call setprogname to make libvers happy
270  
271  2003-09-25  Love Hörnquist Åstrand  <lha@it.su.se>
272  
273  	* telnet/externs.h: export Scheduler and scheduler_lockout_tty
274  	
275  	* telnet/telnet.c (my_telnet): if telnet_spin returns failure,
276  	complain that the server disconnected and exit
277  	
278  	* telnet/authenc.c (telnet_spin): if Scheduler() returns failure
279  	(-1) propagate to higher level
280  
281  2003-09-03  Love Hörnquist Åstrand  <lha@it.su.se>
282  
283  	* telnetd/telnetd.c: use new DES_ api
284  	
285  	* libtelnet/enc_des.c: use new DES_ api
286  	
287  2003-04-22  Love Hörnquist Åstrand  <lha@it.su.se>
288  
289  	* telnet/telnet.1: replace <,> with \*[Lt],\*[Gt]
290  	
291  2002-09-02  Johan Danielsson  <joda@pdc.kth.se>
292  
293  	* libtelnet/kerberos5.c: set AP_OPTS_USE_SUBKEY
294  
295  2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
296  
297  	* telnet/commands.c: remove extra "Toggle"'s
298  
299  	* telnet/commands.c: IRIX == 4 -> IRIX4
300  
301  	* telnet/main.c: rename functions to what they're really called
302  
303  	* telnet/commands.c: kill some might be uninitialized warnings
304  
305  	* telnet/commands.c: add forward and forwardable toggle options,
306  	and call set_forward_options() after parsing .telnetrc
307  
308  	* telnet/externs.h: proto for set_forward_options
309  
310  	* telnet/main.c: only register what forwarding options are asked
311  	for when parsing command line, we have to set the actual flags
312  	later after we have read .telnetrc
313  
314  	* libtelnet/auth-proto.h: kerberos5_set_forward{,able} protos
315  
316  	* libtelnet/kerberos5.c: add kerberos5_set_forward{,able}
317  	functions suitable for the command parser
318  
319  2002-08-23  Assar Westerlund  <assar@kth.se>
320  
321  	* telnetd/telnetd.c: add --version as a special case
322  	* telnet/main.c: add --version as a special case
323  
324  2002-05-03  Johan Danielsson  <joda@pdc.kth.se>
325  
326  	* telnet/telnet.c: only try to negotiate encryption if we're
327  	talking to a real telnet
328  
329  2002-03-31  Johan Danielsson  <joda@pdc.kth.se>
330  
331  	* telnet/commands.c: fix an old cut-n-paste typo (via debian)
332  
333  2002-02-07  Johan Danielsson  <joda@pdc.kth.se>
334  
335  	* telnet/telnet.c: print a more informative message than "done"
336  	after negotiating encryption
337  
338  2001-09-17  Assar Westerlund  <assar@sics.se>
339  
340  	* telnetd/telnetd.c: add a kludge to make it build on aix (that
341  	defines NOERROR in both sys/stream.h and arpa/nameser.h and
342  	considers that a fatal error)
343  
344  	* telnet/telnet.c: undef PUTSHORT to avoid conflict
345  
346  2001-08-26  Assar Westerlund  <assar@sics.se>
347  
348  	* telnetd/Makefile.am: also link with the library for logout
349  
350  2001-08-22  Assar Westerlund  <assar@sics.se>
351  
352  	* telnetd/sys_term.c: include libutil.h if it exists
353  
354  2001-08-10  Assar Westerlund  <assar@sics.se>
355  
356  	* telnetd/sys_term.c (getpty): call openpty if it exists
357  
358  2001-07-19  Assar Westerlund  <assar@sics.se>
359  
360  	* telnetd/global.c (output_data): make sure of not forwarding
361  	`nfrontp' too far, thereby allowing writes after the end of
362  	`netobuf'
363  
364  2001-06-18  Assar Westerlund  <assar@sics.se>
365  
366  	* libtelnet/kerberos5.c: update to new krb5_auth_con* names
367  
368  2001-04-25  Assar Westerlund  <assar@sics.se>
369  
370  	* telnetd/sys_term.c (start_login): give the correct error if exec
371  	fails
372  	* telnetd/utility.c (fatalperror_errno): add a new function with
373  	explicit errno parameter
374  
375  2001-03-07  Assar Westerlund  <assar@sics.se>
376  
377  	* telnetd/sys_term.c: some minimal more amount of
378   	const-correctness
379  
380  2001-02-24  Assar Westerlund  <assar@sics.se>
381  
382  	* libtelnet/enc_des.c: learn to live with libcrypto (from openssl)
383  
384  2001-02-20  Assar Westerlund  <assar@sics.se>
385  
386  	* telnet/commands.c (tn): copy the hostname so it doesn't get
387  	overwritten while reading ~/.telnetrc
388  	(*): removed some unneeded externs
389  
390  2001-02-08  Assar Westerlund  <assar@sics.se>
391  
392  	* telnetd/sys_term.c (startslave, start_login): re-write code to
393  	keep track both of remote hostname and utmp string to be used
394  	* telnetd/telnetd.c (doit, my_telnet): re-write code to keep track
395  	both of remote hostname and utmp string to be used
396  
397  2001-02-07  Assar Westerlund  <assar@sics.se>
398  
399  	* telnet/Makefile.am, telnetd/Makefile.am: add LIB_kdfs
400  
401  2001-01-09  Assar Westerlund  <assar@sics.se>
402  
403  	* libtelnet/kerberos5.c (kerberos5_is): use krb5_rd_cred2 instead
404  	of krb5_rd_cred
405  
406  2000-12-31  Assar Westerlund  <assar@sics.se>
407  
408  	* telnet/main.c (krb5_init): check krb5_init_context for success
409  	* libtelnet/kerberos5.c (kerberos5_init): check krb5_init_context
410  	for success
411  
412  2000-12-11  Assar Westerlund  <assar@sics.se>
413  
414  	* telnet/commands.c (sourceroute): make it not break if the
415  	rfc2292 api does not exist
416  
417  2000-12-09  Assar Westerlund  <assar@sics.se>
418  
419  	* telnetd/sys_term.c (scrub_env): add supporting non-file TERMCAP
420  	variables
421  
422  2000-12-07  Assar Westerlund  <assar@sics.se>
423  
424  	* telnetd/telnetd.h: move include files around to avoid getting SE
425  	from sys/*.h on HP to override SE from telnet.h
426  
427  	* telnetd/sys_term.c (scrub_env): remove some const-ness
428  	* telnetd/sys_term.c (scrub_env): add LOGNAME and POSIXLY_CORRECT
429  	to the list of authorized environment variables to be compatible
430  	with linux-telnetd
431  
432  	* telnetd/sys_term.c (scrub_env): change filtering algoritm from
433  	allowing everything except a few bad cases to not allowing
434  	anything except a few non-dangerous cases
435  
436  2000-12-06  Johan Danielsson  <joda@pdc.kth.se>
437  
438  	* libtelnet/kerberos5.c: de-pointerise auth_context parameter to
439  	krb5_mk_rep
440  
441  2000-11-23  Johan Danielsson  <joda@pdc.kth.se>
442  
443  	* libtelnet/kerberos5.c: print the principal we're trying to use
444  
445  	* libtelnet/kerberos.c: print the principal we're trying to use
446  
447  2000-11-16  Assar Westerlund  <assar@sics.se>
448  
449  	* libtelnet/misc-proto.h (telnet_getenv): const-ize some
450  
451  2000-11-08  Johan Danielsson  <joda@pdc.kth.se>
452  
453  	* telnet/telnet.c: fake entry if no tgetent
454  
455  2000-10-08  Assar Westerlund  <assar@sics.se>
456  
457  	* telnetd/utility.c (stilloob): check that fds are not too large
458  	to select on
459  	(ttloop): remove confusing output of errno
460  	* telnetd/telnetd.c (my_telnet): check that fds are not too large
461  	to select on
462  	* telnet/utilities.c (EmptyTerminal): check that fds are not too
463  	large to select on
464  	* telnet/sys_bsd.c (process_rings): check that fds are not too
465  	large to select on
466  	* telnet/network.c (stilloob): check that fds are not too large to
467  	select on
468  
469  2000-06-09  Assar Westerlund  <assar@sics.se>
470  
471  	* telnet/commands.c: remove all setuid(getuid()).  we do not
472  	support telnet being setuid root
473  
474  2000-05-05  Assar Westerlund  <assar@sics.se>
475  
476  	* telnet/externs.h (sourceroute): update prototype
477  	* telnet/commands.c (tn): re-enable source routing
478  	(sourceroute): make it work again based on the code from
479  	itojun@kame.net
480  
481  2000-03-28  Assar Westerlund  <assar@sics.se>
482  
483  	* telnet/commands.c (tn): clean-up a tiny little bit.  give-up if
484  	we do not manage to connect to any address
485  
486  2000-03-26  Assar Westerlund  <assar@sics.se>
487  
488  	* telnetd/sys_term.c (*): make sure to always call time, ctime,
489  	and gmtime with `time_t's.  there were some types (like in
490  	lastlog) that we believed to always be time_t.  this has proven
491  	wrong on Solaris 8 in 64-bit mode, where they are stored as 32-bit
492  	quantities but time_t has gone up to 64 bits
493  
494  2000-03-03  Assar Westerlund  <assar@sics.se>
495  
496  	* libtelnet/kerberos5.c (kerberos5_init): check that we do have a
497  	keytab before saying that we will support KERBEROS5
498  
499  2000-02-12  Assar Westerlund  <assar@sics.se>
500  
501  	* telnet/commands.c (tn): only set tos for AF_INET.  From
502  	itojun@iijlab.net
503  
504  2000-02-07  Assar Westerlund  <assar@sics.se>
505  
506  	* libtelnet/kerberos.c (kerberos4_is): send a reject back to the
507  	client when we're not authorized
508  
509  2000-02-06  Assar Westerlund  <assar@sics.se>
510  
511  	* telnet/ring.h (ring_encrypt): better proto
512  	* telnet/ring.c (ring_encrypt): better proto
513  
514  2000-02-04  Assar Westerlund  <assar@sics.se>
515  
516  	* telnet/telnet_locl.h: klduge-around KLUDGELINEMODE
517  
518  2000-01-18  Assar Westerlund  <assar@sics.se>
519  
520  	* libtelnet/misc.c (auth_encrypt_user): const-ify
521  	* libtelnet/misc.h (RemoteHostName, LocalHostName): const-ify
522  	* libtelnet/misc.c (auth_encrypt_init, RemoteHostName,
523  	LocalHostName): const-ify
524  	* libtelnet/misc-proto.h (auth_encrypt_init, auth_encrypt_user):
525  	const-ify
526  	* libtelnet/encrypt.c (encrypt_init, Name): const-ify
527  	* libtelnet/enc-proto.h (encrypt_init): const-ify
528  	* libtelnet/auth.c (auth_init, Name): const-ify
529  	* libtelnet/auth-proto.h (auth_init): const-ify
530  
531  2000-01-08  Assar Westerlund  <assar@sics.se>
532  
533  	* telnet/commands.c (tn): handle ai_canonname being set in any of
534  	the addresses returnedby getaddrinfo.  glibc apparently returns
535  	the reverse lookup of every address in ai_canonname.  remove some
536  	unused variables.
537  
538  2000-01-01  Assar Westerlund  <assar@sics.se>
539  
540  	* telnetd/sys_term.c (addarg): make void (return value isn't check
541  	anyway).  fatal error when malloc fails
542  
543  1999-12-16  Assar Westerlund  <assar@sics.se>
544  
545  	* telnet/commands.c (*): handle ai_canonname not being set
546  
547  1999-12-04  Assar Westerlund  <assar@sics.se>
548  
549  	* telnetd/telnetd.c (doit): use getnameinfo_verified
550  	* telnetd/telnetd.c: use getnameinfo
551  	* telnet/commands.c: re-write to using getaddrinfo.  disable
552  	source-routing for the moment, it doesn't seem to be used anyways.
553  	
554  1999-09-16  Assar Westerlund  <assar@sics.se>
555  
556  	* telnet/commands.c: revert 1.54, get_default_username should DTRT
557   	now
558  
559  1999-09-05  Assar Westerlund  <assar@sics.se>
560  
561  	* telnetd/utility.c (ttloop): make it return 1 if interrupted by a
562   	signal, which must have been what was meant from the beginning
563  
564  	* telnetd/ext.h (ttloop): update prototype
565  
566  	* telnetd/authenc.c (telnet_spin): actually return the value from
567   	ttloop (otherwise it's kind of bogus)
568  
569  1999-08-05  Assar Westerlund  <assar@sics.se>
570  
571  	* telnetd/sys_term.c (rmut): free utxp
572  
573  1999-08-04  Assar Westerlund  <assar@sics.se>
574  
575  	* telnet/main.c: add -G and config file support.  From Miroslav
576   	Ruda <ruda@ics.muni.cz>
577  
578  	* telnetd/sys_term.c (rmut): work around utmpx strangness.  From
579   	Miroslav Ruda <ruda@ics.muni.cz>
580  
581  1999-08-02  Assar Westerlund  <assar@sics.se>
582  
583  	* telnetd/telnetd.c (doit): only free hp if != NULL.  From: Jonas
584   	Oberg <jonas@coyote.org>
585  
586  1999-07-29  Assar Westerlund  <assar@sics.se>
587  
588  	* telnetd/telnetd.c (doit): remove unused variable mapped_sin
589  
590  1999-07-26  Assar Westerlund  <assar@sics.se>
591  
592  	* telnetd/ext.h: update prototypes
593  	
594  	* telnetd/telnetd.c: make it handle v4 and v6 sockets.  (it
595  	doesn't handle being given a v6 socket that's really talking to an
596  	v4 adress (mapped) because the rest of the code in telnetd is not
597  	able to handle it anyway).  please run two telnetd from your
598  	inetd, one for v4 and one for v6.
599  
600  1999-07-07  Assar Westerlund  <assar@sics.se>
601  
602  	* telnet/commands.c (tn): extra bogus const-cast
603  
604  1999-07-06  Assar Westerlund  <assar@sics.se>
605  
606  	* telnetd/sys_term.c (start_login): print a different warning with
607   	`-a otp'
608  
609  1999-06-24  Assar Westerlund  <assar@sics.se>
610  
611  	* libtelnet/kerberos5.c (kerberos5_send): set the addresses in the
612   	auth_context
613  
614  1999-06-23  Assar Westerlund  <assar@sics.se>
615  
616  	* telnet/Makefile.am (INCLUDES): add $(INCLUDE_krb4)
617  
618  	* telnet/commands.c (togkrbdebug): conditionalize on
619   	krb_disable_debug
620  
621  1999-06-16  Johan Danielsson  <joda@pdc.kth.se>
622  
623  	* telnet/commands.c: add kerberos debugging option
624  
625  1999-06-15  Assar Westerlund  <assar@sics.se>
626  
627  	* telnet/commands.c (tn): use get_default_username
628  
629  1999-05-14  Assar Westerlund  <assar@sics.se>
630  
631  	* telnetd/state.c (telrcv): magic patch to make it work against
632   	DOS Clarkson Telnet.  From Miroslav Ruda <ruda@ics.muni.cz>
633  
634  1999-04-25  Assar Westerlund  <assar@sics.se>
635  
636  	* libtelnet/kerberos5.c (kerberos5_send): use
637  	`krb5_auth_setkeytype' instead of `krb5_auth_setenctype' to make
638  	sure we get a DES session key.
639  
640  Thu Apr  1 16:59:27 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
641  
642  	* telnetd/Makefile.am: don't run check-local
643  
644  	* telnet/Makefile.am: don't run check-local
645  
646  Mon Mar 29 16:11:33 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
647  
648  	* telnetd/sys_term.c: _CRAY -> HAVE_STRUCT_UTMP_UT_ID
649  
650  Sat Mar 20 00:12:54 1999  Assar Westerlund  <assar@sics.se>
651  
652  	* telnet/authenc.c (telnet_gets): remove old extern declarations
653  
654  Thu Mar 18 11:20:16 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
655  
656  	* telnetd/Makefile.am: include Makefile.am.common
657  
658  	* telnet/Makefile.am: include Makefile.am.common
659  
660  	* libtelnet/Makefile.am: include Makefile.am.common
661  
662  	* Makefile.am: include Makefile.am.common
663  
664  Mon Mar 15 17:40:53 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
665  
666  	* telnetd/telnetd.c: replace perror/exit with fatalperror
667  
668  Sat Mar 13 22:18:57 1999  Assar Westerlund  <assar@sics.se>
669  
670  	* telnetd/telnetd.c (main): 0 -> STDIN_FILENO.  remove abs
671  
672  	* libtelnet/kerberos.c (kerberos4_is): syslog root logins
673  
674  Thu Mar 11 14:48:54 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
675  
676  	* telnetd/Makefile.in: add WFLAGS
677  
678  	* telnet/Makefile.in: add WFLAGS
679  
680  	* libtelnet/Makefile.in: add WFLAGS
681  
682  	* telnetd/sys_term.c: remove unused variables
683  
684  	* telnet/telnet.c: fix some warnings
685  
686  	* telnet/main.c: fix some warnings
687  
688  	* telnet/commands.c: fix types in format string
689  
690  	* libtelnet/auth.c: fix types in format string
691  
692  Mon Mar  1 10:50:30 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
693  
694  	* telnetd/sys_term.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
695  
696  Mon Feb  1 04:08:36 1999  Assar Westerlund  <assar@sics.se>
697  
698  	* telnet/commands.c (tn): only call gethostbyname2 with AF_INET6
699   	if we actually have IPv6.  From "Brandon S. Allbery KF8NH"
700   	<allbery@kf8nh.apk.net>
701  
702  Sat Nov 21 16:51:00 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
703  
704  	* telnetd/sys_term.c (cleanup): don't call vhangup() on sgi:s
705  
706  Fri Aug 14 16:29:18 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
707  
708  	* libtelnet/kerberos.c: krb_put_int -> KRB_PUT_INT
709  
710  Thu Jul 23 20:29:05 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
711  
712  	* libtelnet/kerberos5.c: use krb5_verify_authenticator_checksum
713  
714  Mon Jul 13 22:00:09 1998  Assar Westerlund  <assar@sics.se>
715  
716  	* telnet/commands.c (tn): don't advance hostent->h_addr_list, use
717   	a copy instead
718  
719  Wed May 27 04:19:17 1998  Assar Westerlund  <assar@sics.se>
720  
721  	* telnet/sys_bsd.c (process_rings): correct call to `stilloob'
722  
723  Fri May 15 19:38:19 1998  Johan Danielsson  <joda@blubb.pdc.kth.se>
724  
725  	* libtelnet/kerberos5.c: Always print errors from mk_req.
726  
727  Fri May  1 07:16:59 1998  Assar Westerlund  <assar@sics.se>
728  
729  	* telnet/commands.c: unifdef -DHAVE_H_ERRNO
730  
731  Sat Apr  4 15:00:29 1998  Assar Westerlund  <assar@sics.se>
732  
733  	* telnet/commands.c (tn): moved the printing of `trying...' to the
734   	loop
735  
736  Thu Mar 12 02:33:48 1998  Assar Westerlund  <assar@sics.se>
737  
738  	* telnet/telnet_locl.h: include <term.h>. From Gregory S. Stark
739   	<gsstark@mit.edu>
740  
741  Sat Feb 21 15:12:38 1998  Assar Westerlund  <assar@sics.se>
742  
743  	* telnetd/ext.h: add prototype for login_tty
744  
745  	* telnet/utilities.c (printsub): `direction' is now an int.
746  
747  	* libtelnet/misc-proto.h: add prototype for `printsub'
748  
749  Tue Feb 17 02:45:01 1998  Assar Westerlund  <assar@sics.se>
750  
751  	* libtelnet/kerberos.c (kerberos4_is): cred.pname should be
752   	cred.pinst.  From <art@stacken.kth.se>
753  
754  Sun Feb 15 02:46:39 1998  Assar Westerlund  <assar@sics.se>
755  
756  	* telnet/*/*.c: renamed `telnet' to `my_telnet' to avoid
757   	conflicts with system header files on mklinux.
758  
759  Tue Feb 10 02:09:03 1998  Assar Westerlund  <assar@sics.se>
760  
761  	* telnetd/telnetd.c: new signature for `getterminaltype' and
762   	`auth_wait'
763  
764  	* libtelnet: changed the signature of the authentication method
765   	`status'
766  
767  Sat Feb  7 07:21:29 1998  Assar Westerlund  <assar@sics.se>
768  
769  	* */*.c: replace HAS_GETTOS by HAVE_PARSETOS and HAVE_GETTOSBYNAME
770  
771  Fri Dec 26 16:17:10 1997  Assar Westerlund  <assar@sics.se>
772  
773  	* telnet/commands.c (tn): repair support for numeric addresses
774  
775  Sun Dec 21 09:40:31 1997  Assar Westerlund  <assar@sics.se>
776  
777  	* libtelnet/kerberos.c: fix up lots of stuff related to the
778   	forwarding of v4 tickets.
779  
780  	* libtelnet/kerberos5.c (kerberos5_forward): zero out `creds'.
781  
782  Mon Dec 15 20:53:13 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
783  
784  	* telnet/sys_bsd.c: Don't turn off OPOST in 8bit-mode.
785  
786  Tue Dec  9 19:26:50 1997  Assar Westerlund  <assar@sics.se>
787  
788  	* telnet/main.c (main): add 'b' to getopt
789  
790  Sat Nov 29 03:28:54 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
791  
792  	* telnet/telnet.c: Change binary mode to do just that, and add a
793   	eight-bit mode for just passing all characters.
794  
795  Sun Nov 16 04:37:02 1997  Assar Westerlund  <assar@sics.se>
796  
797  	* libtelnet/kerberos5.c (kerberos5_send): always ask for a session
798   	key of type DES
799  
800  	* libtelnet/kerberos5.c: remove old garbage and fix call to
801   	krb5_auth_con_setaddrs_from_fd
802  
803  Fri Nov 14 20:35:18 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
804  
805  	* telnetd/telnetd.c: Output contents of /etc/issue.
806  
807  Mon Nov  3 07:09:16 1997  Assar Westerlund  <assar@sics.se>
808  
809  	* telnet/telnet_locl.h: only include <sys/termio.h> iff
810   	!defined(HAVE_TERMIOS_H)
811  
812  	* libtelnet/kerberos.c (kerberos4_is): send the peer address to
813   	krb_rd_req
814  
815  	* telnetd/telnetd.c (terminaltypeok): always return OK.  It used
816   	to call `tgetent' to figure if it was a defined terminal type.
817    	It's possible to overflow tgetent so that's a bad idea.  The worst
818   	that could happen by saying yes to all terminals is that the user
819   	ends up with a terminal that has no definition on the local
820   	system.  And besides, most telnet client has no support for
821   	falling back to a different terminal type.
822  
823  Mon Oct 20 05:47:19 1997  Assar Westerlund  <assar@sics.se>
824  
825  	* libtelnet/kerberos5.c: remove lots of old junk.  clean-up.
826    	better error checking and reporting.  tell the user permission
827   	denied much earlier.
828  
829  	* libtelnet/kerberos.c (kerberos4_is): only print
830   	UserNameRequested if != NULL
831