Initial import from FreeBSD RELENG_4:
[dragonfly.git] / crypto / heimdal / appl / telnet / ChangeLog
1 2002-10-21  Johan Danielsson  <joda@pdc.kth.se>
2
3         * libtelnet/kerberos5.c: pull up 1.52-1.53; also try to use the
4         session key (if this is really correct is beyond me, RFC2942 in
5         unclear on this point;
6         (kerberos5_is): check that the subkey is non-NULL
7
8 2002-09-02  Johan Danielsson  <joda@pdc.kth.se>
9
10         * libtelnet/kerberos5.c: set AP_OPTS_USE_SUBKEY
11
12 2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
13
14         * telnet/commands.c: remove extra "Toggle"'s
15
16         * telnet/commands.c: IRIX == 4 -> IRIX4
17
18         * telnet/main.c: rename functions to what they're really called
19
20         * telnet/commands.c: kill some might be uninitialized warnings
21
22         * telnet/commands.c: add forward and forwardable toggle options,
23         and call set_forward_options() after parsing .telnetrc
24
25         * telnet/externs.h: proto for set_forward_options
26
27         * telnet/main.c: only register what forwarding options are asked
28         for when parsing command line, we have to set the actual flags
29         later after we have read .telnetrc
30
31         * libtelnet/auth-proto.h: kerberos5_set_forward{,able} protos
32
33         * libtelnet/kerberos5.c: add kerberos5_set_forward{,able}
34         functions suitable for the command parser
35
36 2002-08-23  Assar Westerlund  <assar@kth.se>
37
38         * telnetd/telnetd.c: add --version as a special case
39         * telnet/main.c: add --version as a special case
40
41 2002-05-03  Johan Danielsson  <joda@pdc.kth.se>
42
43         * telnet/telnet.c: only try to negotiate encryption if we're
44         talking to a real telnet
45
46 2002-03-31  Johan Danielsson  <joda@pdc.kth.se>
47
48         * telnet/commands.c: fix an old cut-n-paste typo (via debian)
49
50 2002-02-07  Johan Danielsson  <joda@pdc.kth.se>
51
52         * telnet/telnet.c: print a more informative message than "done"
53         after negotiating encryption
54
55 2001-09-17  Assar Westerlund  <assar@sics.se>
56
57         * telnetd/telnetd.c: add a kludge to make it build on aix (that
58         defines NOERROR in both sys/stream.h and arpa/nameser.h and
59         considers that a fatal error)
60
61         * telnet/telnet.c: undef PUTSHORT to avoid conflict
62
63 2001-08-26  Assar Westerlund  <assar@sics.se>
64
65         * telnetd/Makefile.am: also link with the library for logout
66
67 2001-08-22  Assar Westerlund  <assar@sics.se>
68
69         * telnetd/sys_term.c: include libutil.h if it exists
70
71 2001-08-10  Assar Westerlund  <assar@sics.se>
72
73         * telnetd/sys_term.c (getpty): call openpty if it exists
74
75 2001-07-19  Assar Westerlund  <assar@sics.se>
76
77         * telnetd/global.c (output_data): make sure of not forwarding
78         `nfrontp' too far, thereby allowing writes after the end of
79         `netobuf'
80
81 2001-06-18  Assar Westerlund  <assar@sics.se>
82
83         * libtelnet/kerberos5.c: update to new krb5_auth_con* names
84
85 2001-04-25  Assar Westerlund  <assar@sics.se>
86
87         * telnetd/sys_term.c (start_login): give the correct error if exec
88         fails
89         * telnetd/utility.c (fatalperror_errno): add a new function with
90         explicit errno parameter
91
92 2001-03-07  Assar Westerlund  <assar@sics.se>
93
94         * telnetd/sys_term.c: some minimal more amount of
95         const-correctness
96
97 2001-02-24  Assar Westerlund  <assar@sics.se>
98
99         * libtelnet/enc_des.c: learn to live with libcrypto (from openssl)
100
101 2001-02-20  Assar Westerlund  <assar@sics.se>
102
103         * telnet/commands.c (tn): copy the hostname so it doesn't get
104         overwritten while reading ~/.telnetrc
105         (*): removed some unneeded externs
106
107 2001-02-08  Assar Westerlund  <assar@sics.se>
108
109         * telnetd/sys_term.c (startslave, start_login): re-write code to
110         keep track both of remote hostname and utmp string to be used
111         * telnetd/telnetd.c (doit, my_telnet): re-write code to keep track
112         both of remote hostname and utmp string to be used
113
114 2001-02-07  Assar Westerlund  <assar@sics.se>
115
116         * telnet/Makefile.am, telnetd/Makefile.am: add LIB_kdfs
117
118 2001-01-09  Assar Westerlund  <assar@sics.se>
119
120         * libtelnet/kerberos5.c (kerberos5_is): use krb5_rd_cred2 instead
121         of krb5_rd_cred
122
123 2000-12-31  Assar Westerlund  <assar@sics.se>
124
125         * telnet/main.c (krb5_init): check krb5_init_context for success
126         * libtelnet/kerberos5.c (kerberos5_init): check krb5_init_context
127         for success
128
129 2000-12-11  Assar Westerlund  <assar@sics.se>
130
131         * telnet/commands.c (sourceroute): make it not break if the
132         rfc2292 api does not exist
133
134 2000-12-09  Assar Westerlund  <assar@sics.se>
135
136         * telnetd/sys_term.c (scrub_env): add supporting non-file TERMCAP
137         variables
138
139 2000-12-07  Assar Westerlund  <assar@sics.se>
140
141         * telnetd/telnetd.h: move include files around to avoid getting SE
142         from sys/*.h on HP to override SE from telnet.h
143
144         * telnetd/sys_term.c (scrub_env): remove some const-ness
145         * telnetd/sys_term.c (scrub_env): add LOGNAME and POSIXLY_CORRECT
146         to the list of authorized environment variables to be compatible
147         with linux-telnetd
148
149         * telnetd/sys_term.c (scrub_env): change filtering algoritm from
150         allowing everything except a few bad cases to not allowing
151         anything except a few non-dangerous cases
152
153 2000-12-06  Johan Danielsson  <joda@pdc.kth.se>
154
155         * libtelnet/kerberos5.c: de-pointerise auth_context parameter to
156         krb5_mk_rep
157
158 2000-11-23  Johan Danielsson  <joda@pdc.kth.se>
159
160         * libtelnet/kerberos5.c: print the principal we're trying to use
161
162         * libtelnet/kerberos.c: print the principal we're trying to use
163
164 2000-11-16  Assar Westerlund  <assar@sics.se>
165
166         * libtelnet/misc-proto.h (telnet_getenv): const-ize some
167
168 2000-11-08  Johan Danielsson  <joda@pdc.kth.se>
169
170         * telnet/telnet.c: fake entry if no tgetent
171
172 2000-10-08  Assar Westerlund  <assar@sics.se>
173
174         * telnetd/utility.c (stilloob): check that fds are not too large
175         to select on
176         (ttloop): remove confusing output of errno
177         * telnetd/telnetd.c (my_telnet): check that fds are not too large
178         to select on
179         * telnet/utilities.c (EmptyTerminal): check that fds are not too
180         large to select on
181         * telnet/sys_bsd.c (process_rings): check that fds are not too
182         large to select on
183         * telnet/network.c (stilloob): check that fds are not too large to
184         select on
185
186 2000-06-09  Assar Westerlund  <assar@sics.se>
187
188         * telnet/commands.c: remove all setuid(getuid()).  we do not
189         support telnet being setuid root
190
191 2000-05-05  Assar Westerlund  <assar@sics.se>
192
193         * telnet/externs.h (sourceroute): update prototype
194         * telnet/commands.c (tn): re-enable source routing
195         (sourceroute): make it work again based on the code from
196         itojun@kame.net
197
198 2000-03-28  Assar Westerlund  <assar@sics.se>
199
200         * telnet/commands.c (tn): clean-up a tiny little bit.  give-up if
201         we do not manage to connect to any address
202
203 2000-03-26  Assar Westerlund  <assar@sics.se>
204
205         * telnetd/sys_term.c (*): make sure to always call time, ctime,
206         and gmtime with `time_t's.  there were some types (like in
207         lastlog) that we believed to always be time_t.  this has proven
208         wrong on Solaris 8 in 64-bit mode, where they are stored as 32-bit
209         quantities but time_t has gone up to 64 bits
210
211 2000-03-03  Assar Westerlund  <assar@sics.se>
212
213         * libtelnet/kerberos5.c (kerberos5_init): check that we do have a
214         keytab before saying that we will support KERBEROS5
215
216 2000-02-12  Assar Westerlund  <assar@sics.se>
217
218         * telnet/commands.c (tn): only set tos for AF_INET.  From
219         itojun@iijlab.net
220
221 2000-02-07  Assar Westerlund  <assar@sics.se>
222
223         * libtelnet/kerberos.c (kerberos4_is): send a reject back to the
224         client when we're not authorized
225
226 2000-02-06  Assar Westerlund  <assar@sics.se>
227
228         * telnet/ring.h (ring_encrypt): better proto
229         * telnet/ring.c (ring_encrypt): better proto
230
231 2000-02-04  Assar Westerlund  <assar@sics.se>
232
233         * telnet/telnet_locl.h: klduge-around KLUDGELINEMODE
234
235 2000-01-18  Assar Westerlund  <assar@sics.se>
236
237         * libtelnet/misc.c (auth_encrypt_user): const-ify
238         * libtelnet/misc.h (RemoteHostName, LocalHostName): const-ify
239         * libtelnet/misc.c (auth_encrypt_init, RemoteHostName,
240         LocalHostName): const-ify
241         * libtelnet/misc-proto.h (auth_encrypt_init, auth_encrypt_user):
242         const-ify
243         * libtelnet/encrypt.c (encrypt_init, Name): const-ify
244         * libtelnet/enc-proto.h (encrypt_init): const-ify
245         * libtelnet/auth.c (auth_init, Name): const-ify
246         * libtelnet/auth-proto.h (auth_init): const-ify
247
248 2000-01-08  Assar Westerlund  <assar@sics.se>
249
250         * telnet/commands.c (tn): handle ai_canonname being set in any of
251         the addresses returnedby getaddrinfo.  glibc apparently returns
252         the reverse lookup of every address in ai_canonname.  remove some
253         unused variables.
254
255 2000-01-01  Assar Westerlund  <assar@sics.se>
256
257         * telnetd/sys_term.c (addarg): make void (return value isn't check
258         anyway).  fatal error when malloc fails
259
260 1999-12-16  Assar Westerlund  <assar@sics.se>
261
262         * telnet/commands.c (*): handle ai_canonname not being set
263
264 1999-12-04  Assar Westerlund  <assar@sics.se>
265
266         * telnetd/telnetd.c (doit): use getnameinfo_verified
267         * telnetd/telnetd.c: use getnameinfo
268         * telnet/commands.c: re-write to using getaddrinfo.  disable
269         source-routing for the moment, it doesn't seem to be used anyways.
270         
271 1999-09-16  Assar Westerlund  <assar@sics.se>
272
273         * telnet/commands.c: revert 1.54, get_default_username should DTRT
274         now
275
276 1999-09-05  Assar Westerlund  <assar@sics.se>
277
278         * telnetd/utility.c (ttloop): make it return 1 if interrupted by a
279         signal, which must have been what was meant from the beginning
280
281         * telnetd/ext.h (ttloop): update prototype
282
283         * telnetd/authenc.c (telnet_spin): actually return the value from
284         ttloop (otherwise it's kind of bogus)
285
286 1999-08-05  Assar Westerlund  <assar@sics.se>
287
288         * telnetd/sys_term.c (rmut): free utxp
289
290 1999-08-04  Assar Westerlund  <assar@sics.se>
291
292         * telnet/main.c: add -G and config file support.  From Miroslav
293         Ruda <ruda@ics.muni.cz>
294
295         * telnetd/sys_term.c (rmut): work around utmpx strangness.  From
296         Miroslav Ruda <ruda@ics.muni.cz>
297
298 1999-08-02  Assar Westerlund  <assar@sics.se>
299
300         * telnetd/telnetd.c (doit): only free hp if != NULL.  From: Jonas
301         Oberg <jonas@coyote.org>
302
303 1999-07-29  Assar Westerlund  <assar@sics.se>
304
305         * telnetd/telnetd.c (doit): remove unused variable mapped_sin
306
307 1999-07-26  Assar Westerlund  <assar@sics.se>
308
309         * telnetd/ext.h: update prototypes
310         
311         * telnetd/telnetd.c: make it handle v4 and v6 sockets.  (it
312         doesn't handle being given a v6 socket that's really talking to an
313         v4 adress (mapped) because the rest of the code in telnetd is not
314         able to handle it anyway).  please run two telnetd from your
315         inetd, one for v4 and one for v6.
316
317 1999-07-07  Assar Westerlund  <assar@sics.se>
318
319         * telnet/commands.c (tn): extra bogus const-cast
320
321 1999-07-06  Assar Westerlund  <assar@sics.se>
322
323         * telnetd/sys_term.c (start_login): print a different warning with
324         `-a otp'
325
326 1999-06-24  Assar Westerlund  <assar@sics.se>
327
328         * libtelnet/kerberos5.c (kerberos5_send): set the addresses in the
329         auth_context
330
331 1999-06-23  Assar Westerlund  <assar@sics.se>
332
333         * telnet/Makefile.am (INCLUDES): add $(INCLUDE_krb4)
334
335         * telnet/commands.c (togkrbdebug): conditionalize on
336         krb_disable_debug
337
338 1999-06-16  Johan Danielsson  <joda@pdc.kth.se>
339
340         * telnet/commands.c: add kerberos debugging option
341
342 1999-06-15  Assar Westerlund  <assar@sics.se>
343
344         * telnet/commands.c (tn): use get_default_username
345
346 1999-05-14  Assar Westerlund  <assar@sics.se>
347
348         * telnetd/state.c (telrcv): magic patch to make it work against
349         DOS Clarkson Telnet.  From Miroslav Ruda <ruda@ics.muni.cz>
350
351 1999-04-25  Assar Westerlund  <assar@sics.se>
352
353         * libtelnet/kerberos5.c (kerberos5_send): use
354         `krb5_auth_setkeytype' instead of `krb5_auth_setenctype' to make
355         sure we get a DES session key.
356
357 Thu Apr  1 16:59:27 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
358
359         * telnetd/Makefile.am: don't run check-local
360
361         * telnet/Makefile.am: don't run check-local
362
363 Mon Mar 29 16:11:33 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
364
365         * telnetd/sys_term.c: _CRAY -> HAVE_STRUCT_UTMP_UT_ID
366
367 Sat Mar 20 00:12:54 1999  Assar Westerlund  <assar@sics.se>
368
369         * telnet/authenc.c (telnet_gets): remove old extern declarations
370
371 Thu Mar 18 11:20:16 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
372
373         * telnetd/Makefile.am: include Makefile.am.common
374
375         * telnet/Makefile.am: include Makefile.am.common
376
377         * libtelnet/Makefile.am: include Makefile.am.common
378
379         * Makefile.am: include Makefile.am.common
380
381 Mon Mar 15 17:40:53 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
382
383         * telnetd/telnetd.c: replace perror/exit with fatalperror
384
385 Sat Mar 13 22:18:57 1999  Assar Westerlund  <assar@sics.se>
386
387         * telnetd/telnetd.c (main): 0 -> STDIN_FILENO.  remove abs
388
389         * libtelnet/kerberos.c (kerberos4_is): syslog root logins
390
391 Thu Mar 11 14:48:54 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
392
393         * telnetd/Makefile.in: add WFLAGS
394
395         * telnet/Makefile.in: add WFLAGS
396
397         * libtelnet/Makefile.in: add WFLAGS
398
399         * telnetd/sys_term.c: remove unused variables
400
401         * telnet/telnet.c: fix some warnings
402
403         * telnet/main.c: fix some warnings
404
405         * telnet/commands.c: fix types in format string
406
407         * libtelnet/auth.c: fix types in format string
408
409 Mon Mar  1 10:50:30 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
410
411         * telnetd/sys_term.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
412
413 Mon Feb  1 04:08:36 1999  Assar Westerlund  <assar@sics.se>
414
415         * telnet/commands.c (tn): only call gethostbyname2 with AF_INET6
416         if we actually have IPv6.  From "Brandon S. Allbery KF8NH"
417         <allbery@kf8nh.apk.net>
418
419 Sat Nov 21 16:51:00 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
420
421         * telnetd/sys_term.c (cleanup): don't call vhangup() on sgi:s
422
423 Fri Aug 14 16:29:18 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
424
425         * libtelnet/kerberos.c: krb_put_int -> KRB_PUT_INT
426
427 Thu Jul 23 20:29:05 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
428
429         * libtelnet/kerberos5.c: use krb5_verify_authenticator_checksum
430
431 Mon Jul 13 22:00:09 1998  Assar Westerlund  <assar@sics.se>
432
433         * telnet/commands.c (tn): don't advance hostent->h_addr_list, use
434         a copy instead
435
436 Wed May 27 04:19:17 1998  Assar Westerlund  <assar@sics.se>
437
438         * telnet/sys_bsd.c (process_rings): correct call to `stilloob'
439
440 Fri May 15 19:38:19 1998  Johan Danielsson  <joda@blubb.pdc.kth.se>
441
442         * libtelnet/kerberos5.c: Always print errors from mk_req.
443
444 Fri May  1 07:16:59 1998  Assar Westerlund  <assar@sics.se>
445
446         * telnet/commands.c: unifdef -DHAVE_H_ERRNO
447
448 Sat Apr  4 15:00:29 1998  Assar Westerlund  <assar@sics.se>
449
450         * telnet/commands.c (tn): moved the printing of `trying...' to the
451         loop
452
453 Thu Mar 12 02:33:48 1998  Assar Westerlund  <assar@sics.se>
454
455         * telnet/telnet_locl.h: include <term.h>. From Gregory S. Stark
456         <gsstark@mit.edu>
457
458 Sat Feb 21 15:12:38 1998  Assar Westerlund  <assar@sics.se>
459
460         * telnetd/ext.h: add prototype for login_tty
461
462         * telnet/utilities.c (printsub): `direction' is now an int.
463
464         * libtelnet/misc-proto.h: add prototype for `printsub'
465
466 Tue Feb 17 02:45:01 1998  Assar Westerlund  <assar@sics.se>
467
468         * libtelnet/kerberos.c (kerberos4_is): cred.pname should be
469         cred.pinst.  From <art@stacken.kth.se>
470
471 Sun Feb 15 02:46:39 1998  Assar Westerlund  <assar@sics.se>
472
473         * telnet/*/*.c: renamed `telnet' to `my_telnet' to avoid
474         conflicts with system header files on mklinux.
475
476 Tue Feb 10 02:09:03 1998  Assar Westerlund  <assar@sics.se>
477
478         * telnetd/telnetd.c: new signature for `getterminaltype' and
479         `auth_wait'
480
481         * libtelnet: changed the signature of the authentication method
482         `status'
483
484 Sat Feb  7 07:21:29 1998  Assar Westerlund  <assar@sics.se>
485
486         * */*.c: replace HAS_GETTOS by HAVE_PARSETOS and HAVE_GETTOSBYNAME
487
488 Fri Dec 26 16:17:10 1997  Assar Westerlund  <assar@sics.se>
489
490         * telnet/commands.c (tn): repair support for numeric addresses
491
492 Sun Dec 21 09:40:31 1997  Assar Westerlund  <assar@sics.se>
493
494         * libtelnet/kerberos.c: fix up lots of stuff related to the
495         forwarding of v4 tickets.
496
497         * libtelnet/kerberos5.c (kerberos5_forward): zero out `creds'.
498
499 Mon Dec 15 20:53:13 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
500
501         * telnet/sys_bsd.c: Don't turn off OPOST in 8bit-mode.
502
503 Tue Dec  9 19:26:50 1997  Assar Westerlund  <assar@sics.se>
504
505         * telnet/main.c (main): add 'b' to getopt
506
507 Sat Nov 29 03:28:54 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
508
509         * telnet/telnet.c: Change binary mode to do just that, and add a
510         eight-bit mode for just passing all characters.
511
512 Sun Nov 16 04:37:02 1997  Assar Westerlund  <assar@sics.se>
513
514         * libtelnet/kerberos5.c (kerberos5_send): always ask for a session
515         key of type DES
516
517         * libtelnet/kerberos5.c: remove old garbage and fix call to
518         krb5_auth_con_setaddrs_from_fd
519
520 Fri Nov 14 20:35:18 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
521
522         * telnetd/telnetd.c: Output contents of /etc/issue.
523
524 Mon Nov  3 07:09:16 1997  Assar Westerlund  <assar@sics.se>
525
526         * telnet/telnet_locl.h: only include <sys/termio.h> iff
527         !defined(HAVE_TERMIOS_H)
528
529         * libtelnet/kerberos.c (kerberos4_is): send the peer address to
530         krb_rd_req
531
532         * telnetd/telnetd.c (terminaltypeok): always return OK.  It used
533         to call `tgetent' to figure if it was a defined terminal type.
534         It's possible to overflow tgetent so that's a bad idea.  The worst
535         that could happen by saying yes to all terminals is that the user
536         ends up with a terminal that has no definition on the local
537         system.  And besides, most telnet client has no support for
538         falling back to a different terminal type.
539
540 Mon Oct 20 05:47:19 1997  Assar Westerlund  <assar@sics.se>
541
542         * libtelnet/kerberos5.c: remove lots of old junk.  clean-up.
543         better error checking and reporting.  tell the user permission
544         denied much earlier.
545
546         * libtelnet/kerberos.c (kerberos4_is): only print
547         UserNameRequested if != NULL
548