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