1 2004-06-21 Love Hörnquist Åstrand <lha@it.su.se>
3 * telnet/network.c: 1.12: make network rings larger From: MAAAAA
4 MOOOR <huaraz@btinternet.com>
6 * telnetd/state.c: 1.14: make subbuffer larger XXX resize
7 dynamicly From: MAAAAA MOOOR <huaraz@btinternet.com>
9 * libtelnet/kerberos5.c: 1.54: (Data): allocate the data needed to
11 From: MAAAAA MOOOR <huaraz@btinternet.com>
13 2004-03-22 Love Hörnquist Åstrand <lha@it.su.se>
15 * telnetd/telnetd.c: call setprogname to make libvers happy
17 * telnet/main.c: call setprogname to make libvers happy
19 2002-09-02 Johan Danielsson <joda@pdc.kth.se>
21 * libtelnet/kerberos5.c: set AP_OPTS_USE_SUBKEY
23 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
25 * telnet/commands.c: remove extra "Toggle"'s
27 * telnet/commands.c: IRIX == 4 -> IRIX4
29 * telnet/main.c: rename functions to what they're really called
31 * telnet/commands.c: kill some might be uninitialized warnings
33 * telnet/commands.c: add forward and forwardable toggle options,
34 and call set_forward_options() after parsing .telnetrc
36 * telnet/externs.h: proto for set_forward_options
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
42 * libtelnet/auth-proto.h: kerberos5_set_forward{,able} protos
44 * libtelnet/kerberos5.c: add kerberos5_set_forward{,able}
45 functions suitable for the command parser
47 2002-08-23 Assar Westerlund <assar@kth.se>
49 * telnetd/telnetd.c: add --version as a special case
50 * telnet/main.c: add --version as a special case
52 2002-05-03 Johan Danielsson <joda@pdc.kth.se>
54 * telnet/telnet.c: only try to negotiate encryption if we're
55 talking to a real telnet
57 2002-03-31 Johan Danielsson <joda@pdc.kth.se>
59 * telnet/commands.c: fix an old cut-n-paste typo (via debian)
61 2002-02-07 Johan Danielsson <joda@pdc.kth.se>
63 * telnet/telnet.c: print a more informative message than "done"
64 after negotiating encryption
66 2001-09-17 Assar Westerlund <assar@sics.se>
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)
72 * telnet/telnet.c: undef PUTSHORT to avoid conflict
74 2001-08-26 Assar Westerlund <assar@sics.se>
76 * telnetd/Makefile.am: also link with the library for logout
78 2001-08-22 Assar Westerlund <assar@sics.se>
80 * telnetd/sys_term.c: include libutil.h if it exists
82 2001-08-10 Assar Westerlund <assar@sics.se>
84 * telnetd/sys_term.c (getpty): call openpty if it exists
86 2001-07-19 Assar Westerlund <assar@sics.se>
88 * telnetd/global.c (output_data): make sure of not forwarding
89 `nfrontp' too far, thereby allowing writes after the end of
92 2001-06-18 Assar Westerlund <assar@sics.se>
94 * libtelnet/kerberos5.c: update to new krb5_auth_con* names
96 2001-04-25 Assar Westerlund <assar@sics.se>
98 * telnetd/sys_term.c (start_login): give the correct error if exec
100 * telnetd/utility.c (fatalperror_errno): add a new function with
101 explicit errno parameter
103 2001-03-07 Assar Westerlund <assar@sics.se>
105 * telnetd/sys_term.c: some minimal more amount of
108 2001-02-24 Assar Westerlund <assar@sics.se>
110 * libtelnet/enc_des.c: learn to live with libcrypto (from openssl)
112 2001-02-20 Assar Westerlund <assar@sics.se>
114 * telnet/commands.c (tn): copy the hostname so it doesn't get
115 overwritten while reading ~/.telnetrc
116 (*): removed some unneeded externs
118 2001-02-08 Assar Westerlund <assar@sics.se>
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
125 2001-02-07 Assar Westerlund <assar@sics.se>
127 * telnet/Makefile.am, telnetd/Makefile.am: add LIB_kdfs
129 2001-01-09 Assar Westerlund <assar@sics.se>
131 * libtelnet/kerberos5.c (kerberos5_is): use krb5_rd_cred2 instead
134 2000-12-31 Assar Westerlund <assar@sics.se>
136 * telnet/main.c (krb5_init): check krb5_init_context for success
137 * libtelnet/kerberos5.c (kerberos5_init): check krb5_init_context
140 2000-12-11 Assar Westerlund <assar@sics.se>
142 * telnet/commands.c (sourceroute): make it not break if the
143 rfc2292 api does not exist
145 2000-12-09 Assar Westerlund <assar@sics.se>
147 * telnetd/sys_term.c (scrub_env): add supporting non-file TERMCAP
150 2000-12-07 Assar Westerlund <assar@sics.se>
152 * telnetd/telnetd.h: move include files around to avoid getting SE
153 from sys/*.h on HP to override SE from telnet.h
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
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
164 2000-12-06 Johan Danielsson <joda@pdc.kth.se>
166 * libtelnet/kerberos5.c: de-pointerise auth_context parameter to
169 2000-11-23 Johan Danielsson <joda@pdc.kth.se>
171 * libtelnet/kerberos5.c: print the principal we're trying to use
173 * libtelnet/kerberos.c: print the principal we're trying to use
175 2000-11-16 Assar Westerlund <assar@sics.se>
177 * libtelnet/misc-proto.h (telnet_getenv): const-ize some
179 2000-11-08 Johan Danielsson <joda@pdc.kth.se>
181 * telnet/telnet.c: fake entry if no tgetent
183 2000-10-08 Assar Westerlund <assar@sics.se>
185 * telnetd/utility.c (stilloob): check that fds are not too large
187 (ttloop): remove confusing output of errno
188 * telnetd/telnetd.c (my_telnet): check that fds are not too large
190 * telnet/utilities.c (EmptyTerminal): check that fds are not too
192 * telnet/sys_bsd.c (process_rings): check that fds are not too
194 * telnet/network.c (stilloob): check that fds are not too large to
197 2000-06-09 Assar Westerlund <assar@sics.se>
199 * telnet/commands.c: remove all setuid(getuid()). we do not
200 support telnet being setuid root
202 2000-05-05 Assar Westerlund <assar@sics.se>
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
209 2000-03-28 Assar Westerlund <assar@sics.se>
211 * telnet/commands.c (tn): clean-up a tiny little bit. give-up if
212 we do not manage to connect to any address
214 2000-03-26 Assar Westerlund <assar@sics.se>
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
222 2000-03-03 Assar Westerlund <assar@sics.se>
224 * libtelnet/kerberos5.c (kerberos5_init): check that we do have a
225 keytab before saying that we will support KERBEROS5
227 2000-02-12 Assar Westerlund <assar@sics.se>
229 * telnet/commands.c (tn): only set tos for AF_INET. From
232 2000-02-07 Assar Westerlund <assar@sics.se>
234 * libtelnet/kerberos.c (kerberos4_is): send a reject back to the
235 client when we're not authorized
237 2000-02-06 Assar Westerlund <assar@sics.se>
239 * telnet/ring.h (ring_encrypt): better proto
240 * telnet/ring.c (ring_encrypt): better proto
242 2000-02-04 Assar Westerlund <assar@sics.se>
244 * telnet/telnet_locl.h: klduge-around KLUDGELINEMODE
246 2000-01-18 Assar Westerlund <assar@sics.se>
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):
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
259 2000-01-08 Assar Westerlund <assar@sics.se>
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
266 2000-01-01 Assar Westerlund <assar@sics.se>
268 * telnetd/sys_term.c (addarg): make void (return value isn't check
269 anyway). fatal error when malloc fails
271 1999-12-16 Assar Westerlund <assar@sics.se>
273 * telnet/commands.c (*): handle ai_canonname not being set
275 1999-12-04 Assar Westerlund <assar@sics.se>
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.
282 1999-09-16 Assar Westerlund <assar@sics.se>
284 * telnet/commands.c: revert 1.54, get_default_username should DTRT
287 1999-09-05 Assar Westerlund <assar@sics.se>
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
292 * telnetd/ext.h (ttloop): update prototype
294 * telnetd/authenc.c (telnet_spin): actually return the value from
295 ttloop (otherwise it's kind of bogus)
297 1999-08-05 Assar Westerlund <assar@sics.se>
299 * telnetd/sys_term.c (rmut): free utxp
301 1999-08-04 Assar Westerlund <assar@sics.se>
303 * telnet/main.c: add -G and config file support. From Miroslav
304 Ruda <ruda@ics.muni.cz>
306 * telnetd/sys_term.c (rmut): work around utmpx strangness. From
307 Miroslav Ruda <ruda@ics.muni.cz>
309 1999-08-02 Assar Westerlund <assar@sics.se>
311 * telnetd/telnetd.c (doit): only free hp if != NULL. From: Jonas
312 Oberg <jonas@coyote.org>
314 1999-07-29 Assar Westerlund <assar@sics.se>
316 * telnetd/telnetd.c (doit): remove unused variable mapped_sin
318 1999-07-26 Assar Westerlund <assar@sics.se>
320 * telnetd/ext.h: update prototypes
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.
328 1999-07-07 Assar Westerlund <assar@sics.se>
330 * telnet/commands.c (tn): extra bogus const-cast
332 1999-07-06 Assar Westerlund <assar@sics.se>
334 * telnetd/sys_term.c (start_login): print a different warning with
337 1999-06-24 Assar Westerlund <assar@sics.se>
339 * libtelnet/kerberos5.c (kerberos5_send): set the addresses in the
342 1999-06-23 Assar Westerlund <assar@sics.se>
344 * telnet/Makefile.am (INCLUDES): add $(INCLUDE_krb4)
346 * telnet/commands.c (togkrbdebug): conditionalize on
349 1999-06-16 Johan Danielsson <joda@pdc.kth.se>
351 * telnet/commands.c: add kerberos debugging option
353 1999-06-15 Assar Westerlund <assar@sics.se>
355 * telnet/commands.c (tn): use get_default_username
357 1999-05-14 Assar Westerlund <assar@sics.se>
359 * telnetd/state.c (telrcv): magic patch to make it work against
360 DOS Clarkson Telnet. From Miroslav Ruda <ruda@ics.muni.cz>
362 1999-04-25 Assar Westerlund <assar@sics.se>
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.
368 Thu Apr 1 16:59:27 1999 Johan Danielsson <joda@hella.pdc.kth.se>
370 * telnetd/Makefile.am: don't run check-local
372 * telnet/Makefile.am: don't run check-local
374 Mon Mar 29 16:11:33 1999 Johan Danielsson <joda@hella.pdc.kth.se>
376 * telnetd/sys_term.c: _CRAY -> HAVE_STRUCT_UTMP_UT_ID
378 Sat Mar 20 00:12:54 1999 Assar Westerlund <assar@sics.se>
380 * telnet/authenc.c (telnet_gets): remove old extern declarations
382 Thu Mar 18 11:20:16 1999 Johan Danielsson <joda@hella.pdc.kth.se>
384 * telnetd/Makefile.am: include Makefile.am.common
386 * telnet/Makefile.am: include Makefile.am.common
388 * libtelnet/Makefile.am: include Makefile.am.common
390 * Makefile.am: include Makefile.am.common
392 Mon Mar 15 17:40:53 1999 Johan Danielsson <joda@hella.pdc.kth.se>
394 * telnetd/telnetd.c: replace perror/exit with fatalperror
396 Sat Mar 13 22:18:57 1999 Assar Westerlund <assar@sics.se>
398 * telnetd/telnetd.c (main): 0 -> STDIN_FILENO. remove abs
400 * libtelnet/kerberos.c (kerberos4_is): syslog root logins
402 Thu Mar 11 14:48:54 1999 Johan Danielsson <joda@hella.pdc.kth.se>
404 * telnetd/Makefile.in: add WFLAGS
406 * telnet/Makefile.in: add WFLAGS
408 * libtelnet/Makefile.in: add WFLAGS
410 * telnetd/sys_term.c: remove unused variables
412 * telnet/telnet.c: fix some warnings
414 * telnet/main.c: fix some warnings
416 * telnet/commands.c: fix types in format string
418 * libtelnet/auth.c: fix types in format string
420 Mon Mar 1 10:50:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
422 * telnetd/sys_term.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
424 Mon Feb 1 04:08:36 1999 Assar Westerlund <assar@sics.se>
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>
430 Sat Nov 21 16:51:00 1998 Johan Danielsson <joda@hella.pdc.kth.se>
432 * telnetd/sys_term.c (cleanup): don't call vhangup() on sgi:s
434 Fri Aug 14 16:29:18 1998 Johan Danielsson <joda@emma.pdc.kth.se>
436 * libtelnet/kerberos.c: krb_put_int -> KRB_PUT_INT
438 Thu Jul 23 20:29:05 1998 Johan Danielsson <joda@emma.pdc.kth.se>
440 * libtelnet/kerberos5.c: use krb5_verify_authenticator_checksum
442 Mon Jul 13 22:00:09 1998 Assar Westerlund <assar@sics.se>
444 * telnet/commands.c (tn): don't advance hostent->h_addr_list, use
447 Wed May 27 04:19:17 1998 Assar Westerlund <assar@sics.se>
449 * telnet/sys_bsd.c (process_rings): correct call to `stilloob'
451 Fri May 15 19:38:19 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
453 * libtelnet/kerberos5.c: Always print errors from mk_req.
455 Fri May 1 07:16:59 1998 Assar Westerlund <assar@sics.se>
457 * telnet/commands.c: unifdef -DHAVE_H_ERRNO
459 Sat Apr 4 15:00:29 1998 Assar Westerlund <assar@sics.se>
461 * telnet/commands.c (tn): moved the printing of `trying...' to the
464 Thu Mar 12 02:33:48 1998 Assar Westerlund <assar@sics.se>
466 * telnet/telnet_locl.h: include <term.h>. From Gregory S. Stark
469 Sat Feb 21 15:12:38 1998 Assar Westerlund <assar@sics.se>
471 * telnetd/ext.h: add prototype for login_tty
473 * telnet/utilities.c (printsub): `direction' is now an int.
475 * libtelnet/misc-proto.h: add prototype for `printsub'
477 Tue Feb 17 02:45:01 1998 Assar Westerlund <assar@sics.se>
479 * libtelnet/kerberos.c (kerberos4_is): cred.pname should be
480 cred.pinst. From <art@stacken.kth.se>
482 Sun Feb 15 02:46:39 1998 Assar Westerlund <assar@sics.se>
484 * telnet/*/*.c: renamed `telnet' to `my_telnet' to avoid
485 conflicts with system header files on mklinux.
487 Tue Feb 10 02:09:03 1998 Assar Westerlund <assar@sics.se>
489 * telnetd/telnetd.c: new signature for `getterminaltype' and
492 * libtelnet: changed the signature of the authentication method
495 Sat Feb 7 07:21:29 1998 Assar Westerlund <assar@sics.se>
497 * */*.c: replace HAS_GETTOS by HAVE_PARSETOS and HAVE_GETTOSBYNAME
499 Fri Dec 26 16:17:10 1997 Assar Westerlund <assar@sics.se>
501 * telnet/commands.c (tn): repair support for numeric addresses
503 Sun Dec 21 09:40:31 1997 Assar Westerlund <assar@sics.se>
505 * libtelnet/kerberos.c: fix up lots of stuff related to the
506 forwarding of v4 tickets.
508 * libtelnet/kerberos5.c (kerberos5_forward): zero out `creds'.
510 Mon Dec 15 20:53:13 1997 Johan Danielsson <joda@emma.pdc.kth.se>
512 * telnet/sys_bsd.c: Don't turn off OPOST in 8bit-mode.
514 Tue Dec 9 19:26:50 1997 Assar Westerlund <assar@sics.se>
516 * telnet/main.c (main): add 'b' to getopt
518 Sat Nov 29 03:28:54 1997 Johan Danielsson <joda@emma.pdc.kth.se>
520 * telnet/telnet.c: Change binary mode to do just that, and add a
521 eight-bit mode for just passing all characters.
523 Sun Nov 16 04:37:02 1997 Assar Westerlund <assar@sics.se>
525 * libtelnet/kerberos5.c (kerberos5_send): always ask for a session
528 * libtelnet/kerberos5.c: remove old garbage and fix call to
529 krb5_auth_con_setaddrs_from_fd
531 Fri Nov 14 20:35:18 1997 Johan Danielsson <joda@emma.pdc.kth.se>
533 * telnetd/telnetd.c: Output contents of /etc/issue.
535 Mon Nov 3 07:09:16 1997 Assar Westerlund <assar@sics.se>
537 * telnet/telnet_locl.h: only include <sys/termio.h> iff
538 !defined(HAVE_TERMIOS_H)
540 * libtelnet/kerberos.c (kerberos4_is): send the peer address to
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.
551 Mon Oct 20 05:47:19 1997 Assar Westerlund <assar@sics.se>
553 * libtelnet/kerberos5.c: remove lots of old junk. clean-up.
554 better error checking and reporting. tell the user permission
557 * libtelnet/kerberos.c (kerberos4_is): only print
558 UserNameRequested if != NULL