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