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