ChangeLog revision 78527
12001-04-25  Assar Westerlund  <assar@sics.se>
2
3	* telnetd/sys_term.c (start_login): give the correct error if exec
4	fails
5	* telnetd/utility.c (fatalperror_errno): add a new function with
6	explicit errno parameter
7
82001-03-07  Assar Westerlund  <assar@sics.se>
9
10	* telnetd/sys_term.c: some minimal more amount of
11 	const-correctness
12
132001-02-24  Assar Westerlund  <assar@sics.se>
14
15	* libtelnet/enc_des.c: learn to live with libcrypto (from openssl)
16
172001-02-20  Assar Westerlund  <assar@sics.se>
18
19	* telnet/commands.c (tn): copy the hostname so it doesn't get
20	overwritten while reading ~/.telnetrc
21	(*): removed some unneeded externs
22
232001-02-08  Assar Westerlund  <assar@sics.se>
24
25	* telnetd/sys_term.c (startslave, start_login): re-write code to
26	keep track both of remote hostname and utmp string to be used
27	* telnetd/telnetd.c (doit, my_telnet): re-write code to keep track
28	both of remote hostname and utmp string to be used
29
302001-02-07  Assar Westerlund  <assar@sics.se>
31
32	* telnet/Makefile.am, telnetd/Makefile.am: add LIB_kdfs
33
342001-01-09  Assar Westerlund  <assar@sics.se>
35
36	* libtelnet/kerberos5.c (kerberos5_is): use krb5_rd_cred2 instead
37	of krb5_rd_cred
38
392000-12-31  Assar Westerlund  <assar@sics.se>
40
41	* telnet/main.c (krb5_init): check krb5_init_context for success
42	* libtelnet/kerberos5.c (kerberos5_init): check krb5_init_context
43	for success
44
452000-12-11  Assar Westerlund  <assar@sics.se>
46
47	* telnet/commands.c (sourceroute): make it not break if the
48	rfc2292 api does not exist
49
502000-12-09  Assar Westerlund  <assar@sics.se>
51
52	* telnetd/sys_term.c (scrub_env): add supporting non-file TERMCAP
53	variables
54
552000-12-07  Assar Westerlund  <assar@sics.se>
56
57	* telnetd/telnetd.h: move include files around to avoid getting SE
58	from sys/*.h on HP to override SE from telnet.h
59
60	* telnetd/sys_term.c (scrub_env): remove some const-ness
61	* telnetd/sys_term.c (scrub_env): add LOGNAME and POSIXLY_CORRECT
62	to the list of authorized environment variables to be compatible
63	with linux-telnetd
64
65	* telnetd/sys_term.c (scrub_env): change filtering algoritm from
66	allowing everything except a few bad cases to not allowing
67	anything except a few non-dangerous cases
68
692000-12-06  Johan Danielsson  <joda@pdc.kth.se>
70
71	* libtelnet/kerberos5.c: de-pointerise auth_context parameter to
72	krb5_mk_rep
73
742000-11-23  Johan Danielsson  <joda@pdc.kth.se>
75
76	* libtelnet/kerberos5.c: print the principal we're trying to use
77
78	* libtelnet/kerberos.c: print the principal we're trying to use
79
802000-11-16  Assar Westerlund  <assar@sics.se>
81
82	* libtelnet/misc-proto.h (telnet_getenv): const-ize some
83
842000-11-08  Johan Danielsson  <joda@pdc.kth.se>
85
86	* telnet/telnet.c: fake entry if no tgetent
87
882000-10-08  Assar Westerlund  <assar@sics.se>
89
90	* telnetd/utility.c (stilloob): check that fds are not too large
91	to select on
92	(ttloop): remove confusing output of errno
93	* telnetd/telnetd.c (my_telnet): check that fds are not too large
94	to select on
95	* telnet/utilities.c (EmptyTerminal): check that fds are not too
96	large to select on
97	* telnet/sys_bsd.c (process_rings): check that fds are not too
98	large to select on
99	* telnet/network.c (stilloob): check that fds are not too large to
100	select on
101
1022000-06-09  Assar Westerlund  <assar@sics.se>
103
104	* telnet/commands.c: remove all setuid(getuid()).  we do not
105	support telnet being setuid root
106
1072000-05-05  Assar Westerlund  <assar@sics.se>
108
109	* telnet/externs.h (sourceroute): update prototype
110	* telnet/commands.c (tn): re-enable source routing
111	(sourceroute): make it work again based on the code from
112	itojun@kame.net
113
1142000-03-28  Assar Westerlund  <assar@sics.se>
115
116	* telnet/commands.c (tn): clean-up a tiny little bit.  give-up if
117	we do not manage to connect to any address
118
1192000-03-26  Assar Westerlund  <assar@sics.se>
120
121	* telnetd/sys_term.c (*): make sure to always call time, ctime,
122	and gmtime with `time_t's.  there were some types (like in
123	lastlog) that we believed to always be time_t.  this has proven
124	wrong on Solaris 8 in 64-bit mode, where they are stored as 32-bit
125	quantities but time_t has gone up to 64 bits
126
1272000-03-03  Assar Westerlund  <assar@sics.se>
128
129	* libtelnet/kerberos5.c (kerberos5_init): check that we do have a
130	keytab before saying that we will support KERBEROS5
131
1322000-02-12  Assar Westerlund  <assar@sics.se>
133
134	* telnet/commands.c (tn): only set tos for AF_INET.  From
135	itojun@iijlab.net
136
1372000-02-07  Assar Westerlund  <assar@sics.se>
138
139	* libtelnet/kerberos.c (kerberos4_is): send a reject back to the
140	client when we're not authorized
141
1422000-02-06  Assar Westerlund  <assar@sics.se>
143
144	* telnet/ring.h (ring_encrypt): better proto
145	* telnet/ring.c (ring_encrypt): better proto
146
1472000-02-04  Assar Westerlund  <assar@sics.se>
148
149	* telnet/telnet_locl.h: klduge-around KLUDGELINEMODE
150
1512000-01-18  Assar Westerlund  <assar@sics.se>
152
153	* libtelnet/misc.c (auth_encrypt_user): const-ify
154	* libtelnet/misc.h (RemoteHostName, LocalHostName): const-ify
155	* libtelnet/misc.c (auth_encrypt_init, RemoteHostName,
156	LocalHostName): const-ify
157	* libtelnet/misc-proto.h (auth_encrypt_init, auth_encrypt_user):
158	const-ify
159	* libtelnet/encrypt.c (encrypt_init, Name): const-ify
160	* libtelnet/enc-proto.h (encrypt_init): const-ify
161	* libtelnet/auth.c (auth_init, Name): const-ify
162	* libtelnet/auth-proto.h (auth_init): const-ify
163
1642000-01-08  Assar Westerlund  <assar@sics.se>
165
166	* telnet/commands.c (tn): handle ai_canonname being set in any of
167	the addresses returnedby getaddrinfo.  glibc apparently returns
168	the reverse lookup of every address in ai_canonname.  remove some
169	unused variables.
170
1712000-01-01  Assar Westerlund  <assar@sics.se>
172
173	* telnetd/sys_term.c (addarg): make void (return value isn't check
174	anyway).  fatal error when malloc fails
175
1761999-12-16  Assar Westerlund  <assar@sics.se>
177
178	* telnet/commands.c (*): handle ai_canonname not being set
179
1801999-12-04  Assar Westerlund  <assar@sics.se>
181
182	* telnetd/telnetd.c (doit): use getnameinfo_verified
183	* telnetd/telnetd.c: use getnameinfo
184	* telnet/commands.c: re-write to using getaddrinfo.  disable
185	source-routing for the moment, it doesn't seem to be used anyways.
186	
1871999-09-16  Assar Westerlund  <assar@sics.se>
188
189	* telnet/commands.c: revert 1.54, get_default_username should DTRT
190 	now
191
1921999-09-05  Assar Westerlund  <assar@sics.se>
193
194	* telnetd/utility.c (ttloop): make it return 1 if interrupted by a
195 	signal, which must have been what was meant from the beginning
196
197	* telnetd/ext.h (ttloop): update prototype
198
199	* telnetd/authenc.c (telnet_spin): actually return the value from
200 	ttloop (otherwise it's kind of bogus)
201
2021999-08-05  Assar Westerlund  <assar@sics.se>
203
204	* telnetd/sys_term.c (rmut): free utxp
205
2061999-08-04  Assar Westerlund  <assar@sics.se>
207
208	* telnet/main.c: add -G and config file support.  From Miroslav
209 	Ruda <ruda@ics.muni.cz>
210
211	* telnetd/sys_term.c (rmut): work around utmpx strangness.  From
212 	Miroslav Ruda <ruda@ics.muni.cz>
213
2141999-08-02  Assar Westerlund  <assar@sics.se>
215
216	* telnetd/telnetd.c (doit): only free hp if != NULL.  From: Jonas
217 	Oberg <jonas@coyote.org>
218
2191999-07-29  Assar Westerlund  <assar@sics.se>
220
221	* telnetd/telnetd.c (doit): remove unused variable mapped_sin
222
2231999-07-26  Assar Westerlund  <assar@sics.se>
224
225	* telnetd/ext.h: update prototypes
226	
227	* telnetd/telnetd.c: make it handle v4 and v6 sockets.  (it
228	doesn't handle being given a v6 socket that's really talking to an
229	v4 adress (mapped) because the rest of the code in telnetd is not
230	able to handle it anyway).  please run two telnetd from your
231	inetd, one for v4 and one for v6.
232
2331999-07-07  Assar Westerlund  <assar@sics.se>
234
235	* telnet/commands.c (tn): extra bogus const-cast
236
2371999-07-06  Assar Westerlund  <assar@sics.se>
238
239	* telnetd/sys_term.c (start_login): print a different warning with
240 	`-a otp'
241
2421999-06-24  Assar Westerlund  <assar@sics.se>
243
244	* libtelnet/kerberos5.c (kerberos5_send): set the addresses in the
245 	auth_context
246
2471999-06-23  Assar Westerlund  <assar@sics.se>
248
249	* telnet/Makefile.am (INCLUDES): add $(INCLUDE_krb4)
250
251	* telnet/commands.c (togkrbdebug): conditionalize on
252 	krb_disable_debug
253
2541999-06-16  Johan Danielsson  <joda@pdc.kth.se>
255
256	* telnet/commands.c: add kerberos debugging option
257
2581999-06-15  Assar Westerlund  <assar@sics.se>
259
260	* telnet/commands.c (tn): use get_default_username
261
2621999-05-14  Assar Westerlund  <assar@sics.se>
263
264	* telnetd/state.c (telrcv): magic patch to make it work against
265 	DOS Clarkson Telnet.  From Miroslav Ruda <ruda@ics.muni.cz>
266
2671999-04-25  Assar Westerlund  <assar@sics.se>
268
269	* libtelnet/kerberos5.c (kerberos5_send): use
270	`krb5_auth_setkeytype' instead of `krb5_auth_setenctype' to make
271	sure we get a DES session key.
272
273Thu Apr  1 16:59:27 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
274
275	* telnetd/Makefile.am: don't run check-local
276
277	* telnet/Makefile.am: don't run check-local
278
279Mon Mar 29 16:11:33 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
280
281	* telnetd/sys_term.c: _CRAY -> HAVE_STRUCT_UTMP_UT_ID
282
283Sat Mar 20 00:12:54 1999  Assar Westerlund  <assar@sics.se>
284
285	* telnet/authenc.c (telnet_gets): remove old extern declarations
286
287Thu Mar 18 11:20:16 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
288
289	* telnetd/Makefile.am: include Makefile.am.common
290
291	* telnet/Makefile.am: include Makefile.am.common
292
293	* libtelnet/Makefile.am: include Makefile.am.common
294
295	* Makefile.am: include Makefile.am.common
296
297Mon Mar 15 17:40:53 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
298
299	* telnetd/telnetd.c: replace perror/exit with fatalperror
300
301Sat Mar 13 22:18:57 1999  Assar Westerlund  <assar@sics.se>
302
303	* telnetd/telnetd.c (main): 0 -> STDIN_FILENO.  remove abs
304
305	* libtelnet/kerberos.c (kerberos4_is): syslog root logins
306
307Thu Mar 11 14:48:54 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
308
309	* telnetd/Makefile.in: add WFLAGS
310
311	* telnet/Makefile.in: add WFLAGS
312
313	* libtelnet/Makefile.in: add WFLAGS
314
315	* telnetd/sys_term.c: remove unused variables
316
317	* telnet/telnet.c: fix some warnings
318
319	* telnet/main.c: fix some warnings
320
321	* telnet/commands.c: fix types in format string
322
323	* libtelnet/auth.c: fix types in format string
324
325Mon Mar  1 10:50:30 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
326
327	* telnetd/sys_term.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
328
329Mon Feb  1 04:08:36 1999  Assar Westerlund  <assar@sics.se>
330
331	* telnet/commands.c (tn): only call gethostbyname2 with AF_INET6
332 	if we actually have IPv6.  From "Brandon S. Allbery KF8NH"
333 	<allbery@kf8nh.apk.net>
334
335Sat Nov 21 16:51:00 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
336
337	* telnetd/sys_term.c (cleanup): don't call vhangup() on sgi:s
338
339Fri Aug 14 16:29:18 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
340
341	* libtelnet/kerberos.c: krb_put_int -> KRB_PUT_INT
342
343Thu Jul 23 20:29:05 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
344
345	* libtelnet/kerberos5.c: use krb5_verify_authenticator_checksum
346
347Mon Jul 13 22:00:09 1998  Assar Westerlund  <assar@sics.se>
348
349	* telnet/commands.c (tn): don't advance hostent->h_addr_list, use
350 	a copy instead
351
352Wed May 27 04:19:17 1998  Assar Westerlund  <assar@sics.se>
353
354	* telnet/sys_bsd.c (process_rings): correct call to `stilloob'
355
356Fri May 15 19:38:19 1998  Johan Danielsson  <joda@blubb.pdc.kth.se>
357
358	* libtelnet/kerberos5.c: Always print errors from mk_req.
359
360Fri May  1 07:16:59 1998  Assar Westerlund  <assar@sics.se>
361
362	* telnet/commands.c: unifdef -DHAVE_H_ERRNO
363
364Sat Apr  4 15:00:29 1998  Assar Westerlund  <assar@sics.se>
365
366	* telnet/commands.c (tn): moved the printing of `trying...' to the
367 	loop
368
369Thu Mar 12 02:33:48 1998  Assar Westerlund  <assar@sics.se>
370
371	* telnet/telnet_locl.h: include <term.h>. From Gregory S. Stark
372 	<gsstark@mit.edu>
373
374Sat Feb 21 15:12:38 1998  Assar Westerlund  <assar@sics.se>
375
376	* telnetd/ext.h: add prototype for login_tty
377
378	* telnet/utilities.c (printsub): `direction' is now an int.
379
380	* libtelnet/misc-proto.h: add prototype for `printsub'
381
382Tue Feb 17 02:45:01 1998  Assar Westerlund  <assar@sics.se>
383
384	* libtelnet/kerberos.c (kerberos4_is): cred.pname should be
385 	cred.pinst.  From <art@stacken.kth.se>
386
387Sun Feb 15 02:46:39 1998  Assar Westerlund  <assar@sics.se>
388
389	* telnet/*/*.c: renamed `telnet' to `my_telnet' to avoid
390 	conflicts with system header files on mklinux.
391
392Tue Feb 10 02:09:03 1998  Assar Westerlund  <assar@sics.se>
393
394	* telnetd/telnetd.c: new signature for `getterminaltype' and
395 	`auth_wait'
396
397	* libtelnet: changed the signature of the authentication method
398 	`status'
399
400Sat Feb  7 07:21:29 1998  Assar Westerlund  <assar@sics.se>
401
402	* */*.c: replace HAS_GETTOS by HAVE_PARSETOS and HAVE_GETTOSBYNAME
403
404Fri Dec 26 16:17:10 1997  Assar Westerlund  <assar@sics.se>
405
406	* telnet/commands.c (tn): repair support for numeric addresses
407
408Sun Dec 21 09:40:31 1997  Assar Westerlund  <assar@sics.se>
409
410	* libtelnet/kerberos.c: fix up lots of stuff related to the
411 	forwarding of v4 tickets.
412
413	* libtelnet/kerberos5.c (kerberos5_forward): zero out `creds'.
414
415Mon Dec 15 20:53:13 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
416
417	* telnet/sys_bsd.c: Don't turn off OPOST in 8bit-mode.
418
419Tue Dec  9 19:26:50 1997  Assar Westerlund  <assar@sics.se>
420
421	* telnet/main.c (main): add 'b' to getopt
422
423Sat Nov 29 03:28:54 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
424
425	* telnet/telnet.c: Change binary mode to do just that, and add a
426 	eight-bit mode for just passing all characters.
427
428Sun Nov 16 04:37:02 1997  Assar Westerlund  <assar@sics.se>
429
430	* libtelnet/kerberos5.c (kerberos5_send): always ask for a session
431 	key of type DES
432
433	* libtelnet/kerberos5.c: remove old garbage and fix call to
434 	krb5_auth_con_setaddrs_from_fd
435
436Fri Nov 14 20:35:18 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
437
438	* telnetd/telnetd.c: Output contents of /etc/issue.
439
440Mon Nov  3 07:09:16 1997  Assar Westerlund  <assar@sics.se>
441
442	* telnet/telnet_locl.h: only include <sys/termio.h> iff
443 	!defined(HAVE_TERMIOS_H)
444
445	* libtelnet/kerberos.c (kerberos4_is): send the peer address to
446 	krb_rd_req
447
448	* telnetd/telnetd.c (terminaltypeok): always return OK.  It used
449 	to call `tgetent' to figure if it was a defined terminal type.
450  	It's possible to overflow tgetent so that's a bad idea.  The worst
451 	that could happen by saying yes to all terminals is that the user
452 	ends up with a terminal that has no definition on the local
453 	system.  And besides, most telnet client has no support for
454 	falling back to a different terminal type.
455
456Mon Oct 20 05:47:19 1997  Assar Westerlund  <assar@sics.se>
457
458	* libtelnet/kerberos5.c: remove lots of old junk.  clean-up.
459  	better error checking and reporting.  tell the user permission
460 	denied much earlier.
461
462	* libtelnet/kerberos.c (kerberos4_is): only print
463 	UserNameRequested if != NULL
464
465