1*ae771770SStanislav Sedov2008-04-27 Love Hörnquist Åstrand <lha@it.su.se> 2*ae771770SStanislav Sedov 3*ae771770SStanislav Sedov * libtelnet/enc_des.c: Use RAND_bytes() + DES_is_weak_key() to 4*ae771770SStanislav Sedov generate random DES key. Introdunce random by feeding the des 5*ae771770SStanislav Sedov session key into the random pool when the keys is recived instead 6*ae771770SStanislav Sedov of encrypt the random key with the kerberos key. 7*ae771770SStanislav Sedov 8*ae771770SStanislav Sedov This avoid depenency on DES_new_random_key() that doesn't exists 9*ae771770SStanislav Sedov in OpenSSL. 10*ae771770SStanislav Sedov 11*ae771770SStanislav Sedov2008-04-18 Love Hörnquist Åstrand <lha@it.su.se> 12*ae771770SStanislav Sedov 13*ae771770SStanislav Sedov * libtelnet/enc_des.c: No need to call 14*ae771770SStanislav Sedov DES_init_random_number_generator, hcrypto is sane now. 15*ae771770SStanislav Sedov 16*ae771770SStanislav Sedov * libtelnet/enc_des.c: Use DES_new_random_key(). 17*ae771770SStanislav Sedov 18*ae771770SStanislav Sedov2008-04-10 Love Hörnquist Åstrand <lha@it.su.se> 19*ae771770SStanislav Sedov 20*ae771770SStanislav Sedov * telnetd/sys_term.c: Really, mac os uses wtmpx (or asl). 21*ae771770SStanislav Sedov 22*ae771770SStanislav Sedov2008-03-09 Love Hörnquist Åstrand <lha@it.su.se> 23*ae771770SStanislav Sedov 24*ae771770SStanislav Sedov * telnetd/sys_term.c: Dont need to set this as the controlling PTY 25*ae771770SStanislav Sedov on steams sockets, don't abort on failure. From Harald Barth and 26*ae771770SStanislav Sedov Ian Delahorne. 27*ae771770SStanislav Sedov 28*ae771770SStanislav Sedov2007-12-31 Love Hörnquist Åstrand <lha@it.su.se> 298d4ba808SJacques Vidrine 30c19800e8SDoug Rabson * telnetd/sys_term.c: Use strlcpy instead of strncpy, thanks to 31c19800e8SDoug Rabson Antoine Brodin. 328d4ba808SJacques Vidrine 33*ae771770SStanislav Sedov2007-07-31 Love Hörnquist Åstrand <lha@it.su.se> 348d4ba808SJacques Vidrine 35c19800e8SDoug Rabson * telnetd/telnetd.c (usage): use exit_code, add --version and 36c19800e8SDoug Rabson --help. 37c19800e8SDoug Rabson 38c19800e8SDoug Rabson * telnetd/telnetd.c: Add --help, reported by David Love. 39c19800e8SDoug Rabson 40*ae771770SStanislav Sedov2007-07-30 Love Hörnquist Åstrand <lha@it.su.se> 41c19800e8SDoug Rabson 42c19800e8SDoug Rabson * telnet/main.c: Catch --help, reported by David Love. 43c19800e8SDoug Rabson 44*ae771770SStanislav Sedov2007-07-12 Love Hörnquist Åstrand <lha@it.su.se> 45c19800e8SDoug Rabson 46c19800e8SDoug Rabson * telnetd/sys_term.c: GLIBC made the choice that ut_tv should be 47c19800e8SDoug Rabson shared between 32 and 64 bit platforms so now we can no longer use 48c19800e8SDoug Rabson struct timeval functions to compare or set/get data that uses 49c19800e8SDoug Rabson pointer (gettimeofday for example) since ut_tv is now not a struct 50c19800e8SDoug Rabson timeval but rather a struct { int32_t tv_sec; int32_t tv_usec; }; 51c19800e8SDoug Rabson 52*ae771770SStanislav Sedov2006-10-21 Love Hörnquist Åstrand <lha@it.su.se> 53c19800e8SDoug Rabson 54c19800e8SDoug Rabson * telnet/telnet_locl.h: Include roken.h before the local 55c19800e8SDoug Rabson headerfiles. 56c19800e8SDoug Rabson 57c19800e8SDoug Rabson * telnetd/telnetd.h: HP/UX defines SE in sys/uio.h, #undef it. 58c19800e8SDoug Rabson 59c19800e8SDoug Rabson * telnetd/sys_term.c: Dont't include some streamspty headers here. 60c19800e8SDoug Rabson 61c19800e8SDoug Rabson * telnetd/telnetd.c: Dont't include some streamspty headers here. 62c19800e8SDoug Rabson 63c19800e8SDoug Rabson * telnetd/telnetd.h: includes some STREAMSPTY header here to avoid 64c19800e8SDoug Rabson ioctl vs socket_wrapper horror. 65c19800e8SDoug Rabson 66*ae771770SStanislav Sedov2006-10-20 Love Hörnquist Åstrand <lha@it.su.se> 67c19800e8SDoug Rabson 68c19800e8SDoug Rabson * telnet/Makefile.am: more files 69c19800e8SDoug Rabson 70c19800e8SDoug Rabson * telnetd/Makefile.am: more files 71c19800e8SDoug Rabson 72*ae771770SStanislav Sedov2006-09-19 Love Hörnquist Åstrand <lha@it.su.se> 73c19800e8SDoug Rabson 74c19800e8SDoug Rabson * telnetd/telnetd.8: Add documentation for -e, require encryption. 75c19800e8SDoug Rabson 76c19800e8SDoug Rabson * telnetd/telnetd.h: Add require_encryption. 77c19800e8SDoug Rabson 78c19800e8SDoug Rabson * telnetd/telnetd.c: Allow encryption to be required, wait to the 79c19800e8SDoug Rabson client to turn it on, if failes, refuse the connection. 80c19800e8SDoug Rabson 81c19800e8SDoug Rabson * telnetd/state.c: If encryption is required, don't allow it to be 82c19800e8SDoug Rabson turned off. 83c19800e8SDoug Rabson 84*ae771770SStanislav Sedov2006-09-04 Love Hörnquist Åstrand <lha@it.su.se> 85c19800e8SDoug Rabson 86c19800e8SDoug Rabson * libtelnet/kerberos5.c (kerberos5_forward): use KDCOptions2int on 87c19800e8SDoug Rabson flags before passing them to krb5_get_forwarded_creds. 88c19800e8SDoug Rabson 89*ae771770SStanislav Sedov2006-05-05 Love Hörnquist Åstrand <lha@it.su.se> 90c19800e8SDoug Rabson 91c19800e8SDoug Rabson * Rename u_intXX_t to uintXX_t 92c19800e8SDoug Rabson 93*ae771770SStanislav Sedov2006-03-23 Love Hörnquist Åstrand <lha@it.su.se> 94c19800e8SDoug Rabson 95c19800e8SDoug Rabson * libtelnet/encrypt.c: Spelling. 96c19800e8SDoug Rabson 97*ae771770SStanislav Sedov2005-12-01 Love Hörnquist Åstrand <lha@it.su.se> 98c19800e8SDoug Rabson 99c19800e8SDoug Rabson * telnetd/telnetd.c: Initialize the slc mapping table before its 100c19800e8SDoug Rabson used. Based on bug report from Russell Sanford 101c19800e8SDoug Rabson <rrs@clyde.dcccd.edu> 102c19800e8SDoug Rabson 103*ae771770SStanislav Sedov2005-11-03 Love Hörnquist Åstrand <lha@it.su.se> 104c19800e8SDoug Rabson 105c19800e8SDoug Rabson * telnet/telnet.c: Spelling in comments, from Dave Love 106c19800e8SDoug Rabson <fx@gnu.org> 107c19800e8SDoug Rabson 108*ae771770SStanislav Sedov2005-10-31 Love Hörnquist Åstrand <lha@it.su.se> 109c19800e8SDoug Rabson 110c19800e8SDoug Rabson * libtelnet/kerberos5.c (Data): Use right variable. From Tomas 111c19800e8SDoug Rabson Olsson 112c19800e8SDoug Rabson 113*ae771770SStanislav Sedov2005-10-22 Love Hörnquist Åstrand <lha@it.su.se> 114c19800e8SDoug Rabson 115c19800e8SDoug Rabson * telnet/commands.c: Check return value from asprintf instead of 116*ae771770SStanislav Sedov string != NULL since it undefined behavior on Linux. From Björn 117c19800e8SDoug Rabson Sandell 118c19800e8SDoug Rabson 119c19800e8SDoug Rabson * libtelnet/kerberos5.c: Check return value from asprintf instead 120*ae771770SStanislav Sedov of string != NULL since it undefined behavior on Linux. From Björn 121c19800e8SDoug Rabson Sandell 122c19800e8SDoug Rabson 123c19800e8SDoug Rabson * libtelnet/kerberos.c: Check return value from asprintf instead 124*ae771770SStanislav Sedov of string != NULL since it undefined behavior on Linux. From Björn 125c19800e8SDoug Rabson Sandell 126c19800e8SDoug Rabson 127*ae771770SStanislav Sedov2005-08-08 Love Hörnquist Åstrand <lha@it.su.se> 128c19800e8SDoug Rabson 129c19800e8SDoug Rabson * telnetd/telnetd.c: Fix printing of /etc/issue{,.net}. 130c19800e8SDoug Rabson 131c19800e8SDoug Rabson * telnetd/utility.c: make writenet take const void * and size_t, 132c19800e8SDoug Rabson abort if size it too large 133c19800e8SDoug Rabson 134c19800e8SDoug Rabson * telnetd/state.c: Fix ansi c warning. 135c19800e8SDoug Rabson 136c19800e8SDoug Rabson * telnetd/sys_term.c: no need to typecast argument to writenet 137c19800e8SDoug Rabson 138c19800e8SDoug Rabson * telnetd/ext.h: make writenet take const void * and size_t 139c19800e8SDoug Rabson 140c19800e8SDoug Rabson2005-07-07 Assar Westerlund <assar@kth.se> 141c19800e8SDoug Rabson 142c19800e8SDoug Rabson * libtelnet/kerberos.c: Do not assume that des_key_schedule is an 143c19800e8SDoug Rabson array. 144c19800e8SDoug Rabson 145*ae771770SStanislav Sedov2005-05-27 Love Hörnquist Åstrand <lha@it.su.se> 146c19800e8SDoug Rabson 147c19800e8SDoug Rabson * libtelnet/kerberos5.c: case uid_t to unsigned long in printf 148c19800e8SDoug Rabson format 149c19800e8SDoug Rabson 150c19800e8SDoug Rabson * telnetd/sys_term.c (set_termbuf): use {} around if to make else 151c19800e8SDoug Rabson unambiguous 152c19800e8SDoug Rabson 153*ae771770SStanislav Sedov2005-05-20 Love Hörnquist Åstrand <lha@it.su.se> 154c19800e8SDoug Rabson 155c19800e8SDoug Rabson * telnetd/sys_term.c (start_login): put utmpx code into a new 156c19800e8SDoug Rabson scope to avoid pre c99 problems. 157c19800e8SDoug Rabson 158c19800e8SDoug Rabson2005-05-19 Dave Love <fx@gnu.org> 159c19800e8SDoug Rabson 160c19800e8SDoug Rabson * telnet/telnet.c,telnet_locl.h: Make solaris find tgetent 161c19800e8SDoug Rabson 162c19800e8SDoug Rabson2005-05-13 Johan Danielsson <joda@pdc.kth.se> 163c19800e8SDoug Rabson 164c19800e8SDoug Rabson * telnetd/sys_term.c (start_login): set encryption pointers to 165c19800e8SDoug Rabson NULL, so we don't try to do either 166c19800e8SDoug Rabson 167c19800e8SDoug Rabson2005-05-11 Dave Love <fx@gnu.org> 168c19800e8SDoug Rabson 169c19800e8SDoug Rabson * telnet/telnet.c: undef ISASCII before we define our own (problem 170c19800e8SDoug Rabson on Irix) 171c19800e8SDoug Rabson 172c19800e8SDoug Rabson2005-04-28 Johan Danielsson <joda@pdc.kth.se> 173c19800e8SDoug Rabson 174c19800e8SDoug Rabson * telnetd/utility.c (putf): %t: the regular and streamspty case 175c19800e8SDoug Rabson are functionally equivalent, so merge them, this also makes it 176c19800e8SDoug Rabson work better on machines that puts their devices in a subdirectory 177c19800e8SDoug Rabson to /dev 178c19800e8SDoug Rabson 179c19800e8SDoug Rabson2005-04-27 Dave Love <fx@gnu.org> 180c19800e8SDoug Rabson 181c19800e8SDoug Rabson * telnetd/sys_term.c (getpty): Declare p. 182c19800e8SDoug Rabson 183*ae771770SStanislav Sedov2005-04-25 Love Hörnquist Åstrand <lha@it.su.se> 184c19800e8SDoug Rabson 185c19800e8SDoug Rabson * telnetd/telnetd.c: use strlcpy 186c19800e8SDoug Rabson 187*ae771770SStanislav Sedov2005-04-24 Love Hörnquist Åstrand <lha@it.su.se> 188c19800e8SDoug Rabson 189c19800e8SDoug Rabson * telnetd/global.c, telnetd/state.c, telnetd/telnetd.c, 190c19800e8SDoug Rabson telentd/ext.h: remove another strcpy 191c19800e8SDoug Rabson 192*ae771770SStanislav Sedov2005-04-19 Love Hörnquist Åstrand <lha@it.su.se> 193c19800e8SDoug Rabson 194c19800e8SDoug Rabson * telnetd/sys_term.c: rewrite getpty to make use openpty when its 195c19800e8SDoug Rabson found, save the slave fd so that cleanopen can use it if its 196c19800e8SDoug Rabson available 197c19800e8SDoug Rabson 198*ae771770SStanislav Sedov2005-04-07 Love Hörnquist Åstrand <lha@it.su.se> 199c19800e8SDoug Rabson 200c19800e8SDoug Rabson * telnetd/sys_term.c: clean_ttyname might be unused, mark it so 201c19800e8SDoug Rabson with __attribute__ 202c19800e8SDoug Rabson 203*ae771770SStanislav Sedov2005-04-06 Love Hörnquist Åstrand <lha@it.su.se> 204c19800e8SDoug Rabson 205c19800e8SDoug Rabson * telnetd/sys_term.c: use NULL as last argument to execl, not 0 206c19800e8SDoug Rabson 207c19800e8SDoug Rabson * telnet/commands.c: use NULL as last argument to execl, not 0 208c19800e8SDoug Rabson 209*ae771770SStanislav Sedov2005-03-29 Love Hörnquist Åstrand <lha@it.su.se> 210c19800e8SDoug Rabson 211c19800e8SDoug Rabson * telnet/telnet.c: From FreeBSD: 212c19800e8SDoug Rabson 213c19800e8SDoug Rabson Correct a pair of buffer overflows in the telnet(1) command: 214c19800e8SDoug Rabson 215c19800e8SDoug Rabson (CAN-2005-0468) A heap buffer overflow in env_opt_add() and related 216c19800e8SDoug Rabson functions. 217c19800e8SDoug Rabson 218c19800e8SDoug Rabson (CAN-2005-0469) A global uninitialized data section buffer overflow in 219c19800e8SDoug Rabson slc_add_reply() and related functions. 220c19800e8SDoug Rabson 221c19800e8SDoug Rabson As a result of these vulnerabilities, it may be possible for a 222c19800e8SDoug Rabson malicious telnet server or active network attacker to cause 223c19800e8SDoug Rabson telnet(1) to execute arbitrary code with the privileges of the 224c19800e8SDoug Rabson user running it. 225c19800e8SDoug Rabson 226c19800e8SDoug Rabson Security: CAN-2005-0468, CAN-2005-0469 Security: 227c19800e8SDoug Rabson FreeBSD-SA-05:01.telnet Security: 228c19800e8SDoug Rabson http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities 229c19800e8SDoug Rabson Security: 230c19800e8SDoug Rabson http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities 231c19800e8SDoug Rabson 232c19800e8SDoug Rabson These fixes are based in part on patches Submitted by: Solar 233c19800e8SDoug Rabson Designer <solar@openwall.com> 234c19800e8SDoug Rabson 235*ae771770SStanislav Sedov2005-03-23 Love Hörnquist Åstrand <lha@it.su.se> 236c19800e8SDoug Rabson 237c19800e8SDoug Rabson * telnetd/telnetd.c: remove setting of DES_check_key, all code 238c19800e8SDoug Rabson uses DES_set_key_checked 239c19800e8SDoug Rabson 240c19800e8SDoug Rabson * libtelnet/enc_des.c: use DES_set_key_checked 241c19800e8SDoug Rabson 242*ae771770SStanislav Sedov2005-01-09 Love Hörnquist Åstrand <lha@it.su.se> 243c19800e8SDoug Rabson 244c19800e8SDoug Rabson * telnet/telnet.c: cast argument to toupper to unsigned char 245c19800e8SDoug Rabson 246c19800e8SDoug Rabson * telnet/commands.c: cast argument to is* to unsigned char 247c19800e8SDoug Rabson 248*ae771770SStanislav Sedov2004-06-20 Love Hörnquist Åstrand <lha@it.su.se> 249c19800e8SDoug Rabson 250c19800e8SDoug Rabson * telnet/network.c: make network rings larger From: MAAAAA MOOOR 251c19800e8SDoug Rabson <huaraz@btinternet.com> 252c19800e8SDoug Rabson 253c19800e8SDoug Rabson * telnetd/state.c: make subbuffer larger XXX resize dynamicly 2548d4ba808SJacques Vidrine From: MAAAAA MOOOR <huaraz@btinternet.com> 2558d4ba808SJacques Vidrine 256c19800e8SDoug Rabson * libtelnet/kerberos5.c (Data): allocate the data needed to be 257c19800e8SDoug Rabson send From: MAAAAA MOOOR <huaraz@btinternet.com> 258c19800e8SDoug Rabson 259*ae771770SStanislav Sedov2004-04-02 Love Hörnquist Åstrand <lha@it.su.se> 260c19800e8SDoug Rabson 261c19800e8SDoug Rabson * telnet/main.c: make encrypt, forwardable, forward use appdefault 262c19800e8SDoug Rabson (that also searches libdefaults), prompted by Thomas Nystrom 263c19800e8SDoug Rabson <thn@saeab.se> 264c19800e8SDoug Rabson 265*ae771770SStanislav Sedov2004-03-22 Love Hörnquist Åstrand <lha@it.su.se> 2661c43270aSJacques Vidrine 2671c43270aSJacques Vidrine * telnetd/telnetd.c: call setprogname to make libvers happy 2681c43270aSJacques Vidrine 2691c43270aSJacques Vidrine * telnet/main.c: call setprogname to make libvers happy 2701c43270aSJacques Vidrine 271*ae771770SStanislav Sedov2003-09-25 Love Hörnquist Åstrand <lha@it.su.se> 272c19800e8SDoug Rabson 273c19800e8SDoug Rabson * telnet/externs.h: export Scheduler and scheduler_lockout_tty 274c19800e8SDoug Rabson 275c19800e8SDoug Rabson * telnet/telnet.c (my_telnet): if telnet_spin returns failure, 276c19800e8SDoug Rabson complain that the server disconnected and exit 277c19800e8SDoug Rabson 278c19800e8SDoug Rabson * telnet/authenc.c (telnet_spin): if Scheduler() returns failure 279c19800e8SDoug Rabson (-1) propagate to higher level 280c19800e8SDoug Rabson 281*ae771770SStanislav Sedov2003-09-03 Love Hörnquist Åstrand <lha@it.su.se> 282c19800e8SDoug Rabson 283c19800e8SDoug Rabson * telnetd/telnetd.c: use new DES_ api 284c19800e8SDoug Rabson 285c19800e8SDoug Rabson * libtelnet/enc_des.c: use new DES_ api 286c19800e8SDoug Rabson 287*ae771770SStanislav Sedov2003-04-22 Love Hörnquist Åstrand <lha@it.su.se> 288c19800e8SDoug Rabson 289c19800e8SDoug Rabson * telnet/telnet.1: replace <,> with \*[Lt],\*[Gt] 290c19800e8SDoug Rabson 2910cadf2f4SJacques Vidrine2002-09-02 Johan Danielsson <joda@pdc.kth.se> 2920cadf2f4SJacques Vidrine 2930cadf2f4SJacques Vidrine * libtelnet/kerberos5.c: set AP_OPTS_USE_SUBKEY 2940cadf2f4SJacques Vidrine 2958373020dSJacques Vidrine2002-08-28 Johan Danielsson <joda@pdc.kth.se> 2968373020dSJacques Vidrine 2970cadf2f4SJacques Vidrine * telnet/commands.c: remove extra "Toggle"'s 2980cadf2f4SJacques Vidrine 2990cadf2f4SJacques Vidrine * telnet/commands.c: IRIX == 4 -> IRIX4 3000cadf2f4SJacques Vidrine 3018373020dSJacques Vidrine * telnet/main.c: rename functions to what they're really called 3028373020dSJacques Vidrine 3038373020dSJacques Vidrine * telnet/commands.c: kill some might be uninitialized warnings 3048373020dSJacques Vidrine 3058373020dSJacques Vidrine * telnet/commands.c: add forward and forwardable toggle options, 3068373020dSJacques Vidrine and call set_forward_options() after parsing .telnetrc 3078373020dSJacques Vidrine 3088373020dSJacques Vidrine * telnet/externs.h: proto for set_forward_options 3098373020dSJacques Vidrine 3108373020dSJacques Vidrine * telnet/main.c: only register what forwarding options are asked 3118373020dSJacques Vidrine for when parsing command line, we have to set the actual flags 3128373020dSJacques Vidrine later after we have read .telnetrc 3138373020dSJacques Vidrine 3148373020dSJacques Vidrine * libtelnet/auth-proto.h: kerberos5_set_forward{,able} protos 3158373020dSJacques Vidrine 3168373020dSJacques Vidrine * libtelnet/kerberos5.c: add kerberos5_set_forward{,able} 3178373020dSJacques Vidrine functions suitable for the command parser 3188373020dSJacques Vidrine 3198373020dSJacques Vidrine2002-08-23 Assar Westerlund <assar@kth.se> 3208373020dSJacques Vidrine 3218373020dSJacques Vidrine * telnetd/telnetd.c: add --version as a special case 3228373020dSJacques Vidrine * telnet/main.c: add --version as a special case 3238373020dSJacques Vidrine 3248373020dSJacques Vidrine2002-05-03 Johan Danielsson <joda@pdc.kth.se> 3258373020dSJacques Vidrine 3268373020dSJacques Vidrine * telnet/telnet.c: only try to negotiate encryption if we're 3278373020dSJacques Vidrine talking to a real telnet 3288373020dSJacques Vidrine 3298373020dSJacques Vidrine2002-03-31 Johan Danielsson <joda@pdc.kth.se> 3308373020dSJacques Vidrine 3318373020dSJacques Vidrine * telnet/commands.c: fix an old cut-n-paste typo (via debian) 3328373020dSJacques Vidrine 3334137ff4cSJacques Vidrine2002-02-07 Johan Danielsson <joda@pdc.kth.se> 3344137ff4cSJacques Vidrine 3354137ff4cSJacques Vidrine * telnet/telnet.c: print a more informative message than "done" 3364137ff4cSJacques Vidrine after negotiating encryption 3374137ff4cSJacques Vidrine 3384137ff4cSJacques Vidrine2001-09-17 Assar Westerlund <assar@sics.se> 3394137ff4cSJacques Vidrine 3404137ff4cSJacques Vidrine * telnetd/telnetd.c: add a kludge to make it build on aix (that 3414137ff4cSJacques Vidrine defines NOERROR in both sys/stream.h and arpa/nameser.h and 3424137ff4cSJacques Vidrine considers that a fatal error) 3434137ff4cSJacques Vidrine 3444137ff4cSJacques Vidrine * telnet/telnet.c: undef PUTSHORT to avoid conflict 3454137ff4cSJacques Vidrine 3464137ff4cSJacques Vidrine2001-08-26 Assar Westerlund <assar@sics.se> 3474137ff4cSJacques Vidrine 3484137ff4cSJacques Vidrine * telnetd/Makefile.am: also link with the library for logout 3494137ff4cSJacques Vidrine 3504137ff4cSJacques Vidrine2001-08-22 Assar Westerlund <assar@sics.se> 3514137ff4cSJacques Vidrine 3524137ff4cSJacques Vidrine * telnetd/sys_term.c: include libutil.h if it exists 3534137ff4cSJacques Vidrine 3544137ff4cSJacques Vidrine2001-08-10 Assar Westerlund <assar@sics.se> 3554137ff4cSJacques Vidrine 3564137ff4cSJacques Vidrine * telnetd/sys_term.c (getpty): call openpty if it exists 3574137ff4cSJacques Vidrine 3584137ff4cSJacques Vidrine2001-07-19 Assar Westerlund <assar@sics.se> 3594137ff4cSJacques Vidrine 3604137ff4cSJacques Vidrine * telnetd/global.c (output_data): make sure of not forwarding 3614137ff4cSJacques Vidrine `nfrontp' too far, thereby allowing writes after the end of 3624137ff4cSJacques Vidrine `netobuf' 3634137ff4cSJacques Vidrine 3644137ff4cSJacques Vidrine2001-06-18 Assar Westerlund <assar@sics.se> 3654137ff4cSJacques Vidrine 3664137ff4cSJacques Vidrine * libtelnet/kerberos5.c: update to new krb5_auth_con* names 3674137ff4cSJacques Vidrine 368adb0ddaeSAssar Westerlund2001-04-25 Assar Westerlund <assar@sics.se> 369adb0ddaeSAssar Westerlund 370adb0ddaeSAssar Westerlund * telnetd/sys_term.c (start_login): give the correct error if exec 371adb0ddaeSAssar Westerlund fails 372adb0ddaeSAssar Westerlund * telnetd/utility.c (fatalperror_errno): add a new function with 373adb0ddaeSAssar Westerlund explicit errno parameter 374adb0ddaeSAssar Westerlund 375adb0ddaeSAssar Westerlund2001-03-07 Assar Westerlund <assar@sics.se> 376adb0ddaeSAssar Westerlund 377adb0ddaeSAssar Westerlund * telnetd/sys_term.c: some minimal more amount of 378adb0ddaeSAssar Westerlund const-correctness 379adb0ddaeSAssar Westerlund 380adb0ddaeSAssar Westerlund2001-02-24 Assar Westerlund <assar@sics.se> 381adb0ddaeSAssar Westerlund 382adb0ddaeSAssar Westerlund * libtelnet/enc_des.c: learn to live with libcrypto (from openssl) 383adb0ddaeSAssar Westerlund 384adb0ddaeSAssar Westerlund2001-02-20 Assar Westerlund <assar@sics.se> 385adb0ddaeSAssar Westerlund 386adb0ddaeSAssar Westerlund * telnet/commands.c (tn): copy the hostname so it doesn't get 387adb0ddaeSAssar Westerlund overwritten while reading ~/.telnetrc 388adb0ddaeSAssar Westerlund (*): removed some unneeded externs 389adb0ddaeSAssar Westerlund 390adb0ddaeSAssar Westerlund2001-02-08 Assar Westerlund <assar@sics.se> 391adb0ddaeSAssar Westerlund 392adb0ddaeSAssar Westerlund * telnetd/sys_term.c (startslave, start_login): re-write code to 393adb0ddaeSAssar Westerlund keep track both of remote hostname and utmp string to be used 394adb0ddaeSAssar Westerlund * telnetd/telnetd.c (doit, my_telnet): re-write code to keep track 395adb0ddaeSAssar Westerlund both of remote hostname and utmp string to be used 396adb0ddaeSAssar Westerlund 397adb0ddaeSAssar Westerlund2001-02-07 Assar Westerlund <assar@sics.se> 398adb0ddaeSAssar Westerlund 399adb0ddaeSAssar Westerlund * telnet/Makefile.am, telnetd/Makefile.am: add LIB_kdfs 400adb0ddaeSAssar Westerlund 4015e9cd1aeSAssar Westerlund2001-01-09 Assar Westerlund <assar@sics.se> 4025e9cd1aeSAssar Westerlund 4035e9cd1aeSAssar Westerlund * libtelnet/kerberos5.c (kerberos5_is): use krb5_rd_cred2 instead 4045e9cd1aeSAssar Westerlund of krb5_rd_cred 4055e9cd1aeSAssar Westerlund 4065e9cd1aeSAssar Westerlund2000-12-31 Assar Westerlund <assar@sics.se> 4075e9cd1aeSAssar Westerlund 4085e9cd1aeSAssar Westerlund * telnet/main.c (krb5_init): check krb5_init_context for success 4095e9cd1aeSAssar Westerlund * libtelnet/kerberos5.c (kerberos5_init): check krb5_init_context 4105e9cd1aeSAssar Westerlund for success 4115e9cd1aeSAssar Westerlund 4125e9cd1aeSAssar Westerlund2000-12-11 Assar Westerlund <assar@sics.se> 4135e9cd1aeSAssar Westerlund 4145e9cd1aeSAssar Westerlund * telnet/commands.c (sourceroute): make it not break if the 4155e9cd1aeSAssar Westerlund rfc2292 api does not exist 4165e9cd1aeSAssar Westerlund 4175e9cd1aeSAssar Westerlund2000-12-09 Assar Westerlund <assar@sics.se> 4185e9cd1aeSAssar Westerlund 4195e9cd1aeSAssar Westerlund * telnetd/sys_term.c (scrub_env): add supporting non-file TERMCAP 4205e9cd1aeSAssar Westerlund variables 4215e9cd1aeSAssar Westerlund 4225e9cd1aeSAssar Westerlund2000-12-07 Assar Westerlund <assar@sics.se> 4235e9cd1aeSAssar Westerlund 424adb0ddaeSAssar Westerlund * telnetd/telnetd.h: move include files around to avoid getting SE 425adb0ddaeSAssar Westerlund from sys/*.h on HP to override SE from telnet.h 426adb0ddaeSAssar Westerlund 4275e9cd1aeSAssar Westerlund * telnetd/sys_term.c (scrub_env): remove some const-ness 4285e9cd1aeSAssar Westerlund * telnetd/sys_term.c (scrub_env): add LOGNAME and POSIXLY_CORRECT 4295e9cd1aeSAssar Westerlund to the list of authorized environment variables to be compatible 4305e9cd1aeSAssar Westerlund with linux-telnetd 4315e9cd1aeSAssar Westerlund 4325e9cd1aeSAssar Westerlund * telnetd/sys_term.c (scrub_env): change filtering algoritm from 4335e9cd1aeSAssar Westerlund allowing everything except a few bad cases to not allowing 4345e9cd1aeSAssar Westerlund anything except a few non-dangerous cases 4355e9cd1aeSAssar Westerlund 4365e9cd1aeSAssar Westerlund2000-12-06 Johan Danielsson <joda@pdc.kth.se> 4375e9cd1aeSAssar Westerlund 4385e9cd1aeSAssar Westerlund * libtelnet/kerberos5.c: de-pointerise auth_context parameter to 4395e9cd1aeSAssar Westerlund krb5_mk_rep 4405e9cd1aeSAssar Westerlund 4415e9cd1aeSAssar Westerlund2000-11-23 Johan Danielsson <joda@pdc.kth.se> 4425e9cd1aeSAssar Westerlund 4435e9cd1aeSAssar Westerlund * libtelnet/kerberos5.c: print the principal we're trying to use 4445e9cd1aeSAssar Westerlund 4455e9cd1aeSAssar Westerlund * libtelnet/kerberos.c: print the principal we're trying to use 4465e9cd1aeSAssar Westerlund 4475e9cd1aeSAssar Westerlund2000-11-16 Assar Westerlund <assar@sics.se> 4485e9cd1aeSAssar Westerlund 4495e9cd1aeSAssar Westerlund * libtelnet/misc-proto.h (telnet_getenv): const-ize some 4505e9cd1aeSAssar Westerlund 4515e9cd1aeSAssar Westerlund2000-11-08 Johan Danielsson <joda@pdc.kth.se> 4525e9cd1aeSAssar Westerlund 4535e9cd1aeSAssar Westerlund * telnet/telnet.c: fake entry if no tgetent 4545e9cd1aeSAssar Westerlund 4555e9cd1aeSAssar Westerlund2000-10-08 Assar Westerlund <assar@sics.se> 4565e9cd1aeSAssar Westerlund 4575e9cd1aeSAssar Westerlund * telnetd/utility.c (stilloob): check that fds are not too large 4585e9cd1aeSAssar Westerlund to select on 4595e9cd1aeSAssar Westerlund (ttloop): remove confusing output of errno 4605e9cd1aeSAssar Westerlund * telnetd/telnetd.c (my_telnet): check that fds are not too large 4615e9cd1aeSAssar Westerlund to select on 4625e9cd1aeSAssar Westerlund * telnet/utilities.c (EmptyTerminal): check that fds are not too 4635e9cd1aeSAssar Westerlund large to select on 4645e9cd1aeSAssar Westerlund * telnet/sys_bsd.c (process_rings): check that fds are not too 4655e9cd1aeSAssar Westerlund large to select on 4665e9cd1aeSAssar Westerlund * telnet/network.c (stilloob): check that fds are not too large to 4675e9cd1aeSAssar Westerlund select on 4685e9cd1aeSAssar Westerlund 4695e9cd1aeSAssar Westerlund2000-06-09 Assar Westerlund <assar@sics.se> 4705e9cd1aeSAssar Westerlund 4715e9cd1aeSAssar Westerlund * telnet/commands.c: remove all setuid(getuid()). we do not 4725e9cd1aeSAssar Westerlund support telnet being setuid root 4735e9cd1aeSAssar Westerlund 4745e9cd1aeSAssar Westerlund2000-05-05 Assar Westerlund <assar@sics.se> 4755e9cd1aeSAssar Westerlund 4765e9cd1aeSAssar Westerlund * telnet/externs.h (sourceroute): update prototype 4775e9cd1aeSAssar Westerlund * telnet/commands.c (tn): re-enable source routing 4785e9cd1aeSAssar Westerlund (sourceroute): make it work again based on the code from 4795e9cd1aeSAssar Westerlund itojun@kame.net 4805e9cd1aeSAssar Westerlund 4815e9cd1aeSAssar Westerlund2000-03-28 Assar Westerlund <assar@sics.se> 4825e9cd1aeSAssar Westerlund 4835e9cd1aeSAssar Westerlund * telnet/commands.c (tn): clean-up a tiny little bit. give-up if 4845e9cd1aeSAssar Westerlund we do not manage to connect to any address 4855e9cd1aeSAssar Westerlund 4865e9cd1aeSAssar Westerlund2000-03-26 Assar Westerlund <assar@sics.se> 4875e9cd1aeSAssar Westerlund 4885e9cd1aeSAssar Westerlund * telnetd/sys_term.c (*): make sure to always call time, ctime, 4895e9cd1aeSAssar Westerlund and gmtime with `time_t's. there were some types (like in 4905e9cd1aeSAssar Westerlund lastlog) that we believed to always be time_t. this has proven 4915e9cd1aeSAssar Westerlund wrong on Solaris 8 in 64-bit mode, where they are stored as 32-bit 4925e9cd1aeSAssar Westerlund quantities but time_t has gone up to 64 bits 4935e9cd1aeSAssar Westerlund 4945e9cd1aeSAssar Westerlund2000-03-03 Assar Westerlund <assar@sics.se> 4955e9cd1aeSAssar Westerlund 4965e9cd1aeSAssar Westerlund * libtelnet/kerberos5.c (kerberos5_init): check that we do have a 4975e9cd1aeSAssar Westerlund keytab before saying that we will support KERBEROS5 4985e9cd1aeSAssar Westerlund 499283d988cSMark Murray2000-02-12 Assar Westerlund <assar@sics.se> 500283d988cSMark Murray 501283d988cSMark Murray * telnet/commands.c (tn): only set tos for AF_INET. From 502283d988cSMark Murray itojun@iijlab.net 503283d988cSMark Murray 50413e3f4d6SMark Murray2000-02-07 Assar Westerlund <assar@sics.se> 50513e3f4d6SMark Murray 50613e3f4d6SMark Murray * libtelnet/kerberos.c (kerberos4_is): send a reject back to the 50713e3f4d6SMark Murray client when we're not authorized 50813e3f4d6SMark Murray 50913e3f4d6SMark Murray2000-02-06 Assar Westerlund <assar@sics.se> 51013e3f4d6SMark Murray 51113e3f4d6SMark Murray * telnet/ring.h (ring_encrypt): better proto 51213e3f4d6SMark Murray * telnet/ring.c (ring_encrypt): better proto 51313e3f4d6SMark Murray 51413e3f4d6SMark Murray2000-02-04 Assar Westerlund <assar@sics.se> 51513e3f4d6SMark Murray 51613e3f4d6SMark Murray * telnet/telnet_locl.h: klduge-around KLUDGELINEMODE 51713e3f4d6SMark Murray 51813e3f4d6SMark Murray2000-01-18 Assar Westerlund <assar@sics.se> 51913e3f4d6SMark Murray 52013e3f4d6SMark Murray * libtelnet/misc.c (auth_encrypt_user): const-ify 52113e3f4d6SMark Murray * libtelnet/misc.h (RemoteHostName, LocalHostName): const-ify 52213e3f4d6SMark Murray * libtelnet/misc.c (auth_encrypt_init, RemoteHostName, 52313e3f4d6SMark Murray LocalHostName): const-ify 52413e3f4d6SMark Murray * libtelnet/misc-proto.h (auth_encrypt_init, auth_encrypt_user): 52513e3f4d6SMark Murray const-ify 52613e3f4d6SMark Murray * libtelnet/encrypt.c (encrypt_init, Name): const-ify 52713e3f4d6SMark Murray * libtelnet/enc-proto.h (encrypt_init): const-ify 52813e3f4d6SMark Murray * libtelnet/auth.c (auth_init, Name): const-ify 52913e3f4d6SMark Murray * libtelnet/auth-proto.h (auth_init): const-ify 53013e3f4d6SMark Murray 53113e3f4d6SMark Murray2000-01-08 Assar Westerlund <assar@sics.se> 53213e3f4d6SMark Murray 53313e3f4d6SMark Murray * telnet/commands.c (tn): handle ai_canonname being set in any of 53413e3f4d6SMark Murray the addresses returnedby getaddrinfo. glibc apparently returns 53513e3f4d6SMark Murray the reverse lookup of every address in ai_canonname. remove some 53613e3f4d6SMark Murray unused variables. 53713e3f4d6SMark Murray 53813e3f4d6SMark Murray2000-01-01 Assar Westerlund <assar@sics.se> 53913e3f4d6SMark Murray 54013e3f4d6SMark Murray * telnetd/sys_term.c (addarg): make void (return value isn't check 54113e3f4d6SMark Murray anyway). fatal error when malloc fails 54213e3f4d6SMark Murray 54313e3f4d6SMark Murray1999-12-16 Assar Westerlund <assar@sics.se> 54413e3f4d6SMark Murray 54513e3f4d6SMark Murray * telnet/commands.c (*): handle ai_canonname not being set 54613e3f4d6SMark Murray 54713e3f4d6SMark Murray1999-12-04 Assar Westerlund <assar@sics.se> 54813e3f4d6SMark Murray 54913e3f4d6SMark Murray * telnetd/telnetd.c (doit): use getnameinfo_verified 55013e3f4d6SMark Murray * telnetd/telnetd.c: use getnameinfo 55113e3f4d6SMark Murray * telnet/commands.c: re-write to using getaddrinfo. disable 55213e3f4d6SMark Murray source-routing for the moment, it doesn't seem to be used anyways. 55313e3f4d6SMark Murray 55413e3f4d6SMark Murray1999-09-16 Assar Westerlund <assar@sics.se> 55513e3f4d6SMark Murray 55613e3f4d6SMark Murray * telnet/commands.c: revert 1.54, get_default_username should DTRT 55713e3f4d6SMark Murray now 55813e3f4d6SMark Murray 55913e3f4d6SMark Murray1999-09-05 Assar Westerlund <assar@sics.se> 56013e3f4d6SMark Murray 56113e3f4d6SMark Murray * telnetd/utility.c (ttloop): make it return 1 if interrupted by a 56213e3f4d6SMark Murray signal, which must have been what was meant from the beginning 56313e3f4d6SMark Murray 56413e3f4d6SMark Murray * telnetd/ext.h (ttloop): update prototype 56513e3f4d6SMark Murray 56613e3f4d6SMark Murray * telnetd/authenc.c (telnet_spin): actually return the value from 56713e3f4d6SMark Murray ttloop (otherwise it's kind of bogus) 56813e3f4d6SMark Murray 56913e3f4d6SMark Murray1999-08-05 Assar Westerlund <assar@sics.se> 57013e3f4d6SMark Murray 57113e3f4d6SMark Murray * telnetd/sys_term.c (rmut): free utxp 57213e3f4d6SMark Murray 57313e3f4d6SMark Murray1999-08-04 Assar Westerlund <assar@sics.se> 57413e3f4d6SMark Murray 57513e3f4d6SMark Murray * telnet/main.c: add -G and config file support. From Miroslav 57613e3f4d6SMark Murray Ruda <ruda@ics.muni.cz> 57713e3f4d6SMark Murray 57813e3f4d6SMark Murray * telnetd/sys_term.c (rmut): work around utmpx strangness. From 57913e3f4d6SMark Murray Miroslav Ruda <ruda@ics.muni.cz> 58013e3f4d6SMark Murray 58113e3f4d6SMark Murray1999-08-02 Assar Westerlund <assar@sics.se> 58213e3f4d6SMark Murray 58313e3f4d6SMark Murray * telnetd/telnetd.c (doit): only free hp if != NULL. From: Jonas 58413e3f4d6SMark Murray Oberg <jonas@coyote.org> 58513e3f4d6SMark Murray 58613e3f4d6SMark Murray1999-07-29 Assar Westerlund <assar@sics.se> 58713e3f4d6SMark Murray 58813e3f4d6SMark Murray * telnetd/telnetd.c (doit): remove unused variable mapped_sin 58913e3f4d6SMark Murray 59013e3f4d6SMark Murray1999-07-26 Assar Westerlund <assar@sics.se> 59113e3f4d6SMark Murray 59213e3f4d6SMark Murray * telnetd/ext.h: update prototypes 59313e3f4d6SMark Murray 59413e3f4d6SMark Murray * telnetd/telnetd.c: make it handle v4 and v6 sockets. (it 59513e3f4d6SMark Murray doesn't handle being given a v6 socket that's really talking to an 59613e3f4d6SMark Murray v4 adress (mapped) because the rest of the code in telnetd is not 59713e3f4d6SMark Murray able to handle it anyway). please run two telnetd from your 59813e3f4d6SMark Murray inetd, one for v4 and one for v6. 59913e3f4d6SMark Murray 60013e3f4d6SMark Murray1999-07-07 Assar Westerlund <assar@sics.se> 60113e3f4d6SMark Murray 60213e3f4d6SMark Murray * telnet/commands.c (tn): extra bogus const-cast 60313e3f4d6SMark Murray 60413e3f4d6SMark Murray1999-07-06 Assar Westerlund <assar@sics.se> 60513e3f4d6SMark Murray 60613e3f4d6SMark Murray * telnetd/sys_term.c (start_login): print a different warning with 60713e3f4d6SMark Murray `-a otp' 60813e3f4d6SMark Murray 60913e3f4d6SMark Murray1999-06-24 Assar Westerlund <assar@sics.se> 61013e3f4d6SMark Murray 61113e3f4d6SMark Murray * libtelnet/kerberos5.c (kerberos5_send): set the addresses in the 61213e3f4d6SMark Murray auth_context 61313e3f4d6SMark Murray 61413e3f4d6SMark Murray1999-06-23 Assar Westerlund <assar@sics.se> 61513e3f4d6SMark Murray 61613e3f4d6SMark Murray * telnet/Makefile.am (INCLUDES): add $(INCLUDE_krb4) 61713e3f4d6SMark Murray 61813e3f4d6SMark Murray * telnet/commands.c (togkrbdebug): conditionalize on 61913e3f4d6SMark Murray krb_disable_debug 62013e3f4d6SMark Murray 62113e3f4d6SMark Murray1999-06-16 Johan Danielsson <joda@pdc.kth.se> 62213e3f4d6SMark Murray 62313e3f4d6SMark Murray * telnet/commands.c: add kerberos debugging option 62413e3f4d6SMark Murray 62513e3f4d6SMark Murray1999-06-15 Assar Westerlund <assar@sics.se> 62613e3f4d6SMark Murray 62713e3f4d6SMark Murray * telnet/commands.c (tn): use get_default_username 62813e3f4d6SMark Murray 62913e3f4d6SMark Murray1999-05-14 Assar Westerlund <assar@sics.se> 63013e3f4d6SMark Murray 63113e3f4d6SMark Murray * telnetd/state.c (telrcv): magic patch to make it work against 63213e3f4d6SMark Murray DOS Clarkson Telnet. From Miroslav Ruda <ruda@ics.muni.cz> 63313e3f4d6SMark Murray 63413e3f4d6SMark Murray1999-04-25 Assar Westerlund <assar@sics.se> 63513e3f4d6SMark Murray 63613e3f4d6SMark Murray * libtelnet/kerberos5.c (kerberos5_send): use 63713e3f4d6SMark Murray `krb5_auth_setkeytype' instead of `krb5_auth_setenctype' to make 63813e3f4d6SMark Murray sure we get a DES session key. 63913e3f4d6SMark Murray 64013e3f4d6SMark MurrayThu Apr 1 16:59:27 1999 Johan Danielsson <joda@hella.pdc.kth.se> 64113e3f4d6SMark Murray 64213e3f4d6SMark Murray * telnetd/Makefile.am: don't run check-local 64313e3f4d6SMark Murray 64413e3f4d6SMark Murray * telnet/Makefile.am: don't run check-local 64513e3f4d6SMark Murray 64613e3f4d6SMark MurrayMon Mar 29 16:11:33 1999 Johan Danielsson <joda@hella.pdc.kth.se> 64713e3f4d6SMark Murray 64813e3f4d6SMark Murray * telnetd/sys_term.c: _CRAY -> HAVE_STRUCT_UTMP_UT_ID 64913e3f4d6SMark Murray 65013e3f4d6SMark MurraySat Mar 20 00:12:54 1999 Assar Westerlund <assar@sics.se> 65113e3f4d6SMark Murray 65213e3f4d6SMark Murray * telnet/authenc.c (telnet_gets): remove old extern declarations 65313e3f4d6SMark Murray 65413e3f4d6SMark MurrayThu Mar 18 11:20:16 1999 Johan Danielsson <joda@hella.pdc.kth.se> 65513e3f4d6SMark Murray 65613e3f4d6SMark Murray * telnetd/Makefile.am: include Makefile.am.common 65713e3f4d6SMark Murray 65813e3f4d6SMark Murray * telnet/Makefile.am: include Makefile.am.common 65913e3f4d6SMark Murray 66013e3f4d6SMark Murray * libtelnet/Makefile.am: include Makefile.am.common 66113e3f4d6SMark Murray 66213e3f4d6SMark Murray * Makefile.am: include Makefile.am.common 66313e3f4d6SMark Murray 66413e3f4d6SMark MurrayMon Mar 15 17:40:53 1999 Johan Danielsson <joda@hella.pdc.kth.se> 66513e3f4d6SMark Murray 66613e3f4d6SMark Murray * telnetd/telnetd.c: replace perror/exit with fatalperror 66713e3f4d6SMark Murray 66813e3f4d6SMark MurraySat Mar 13 22:18:57 1999 Assar Westerlund <assar@sics.se> 66913e3f4d6SMark Murray 67013e3f4d6SMark Murray * telnetd/telnetd.c (main): 0 -> STDIN_FILENO. remove abs 67113e3f4d6SMark Murray 67213e3f4d6SMark Murray * libtelnet/kerberos.c (kerberos4_is): syslog root logins 67313e3f4d6SMark Murray 67413e3f4d6SMark MurrayThu Mar 11 14:48:54 1999 Johan Danielsson <joda@hella.pdc.kth.se> 67513e3f4d6SMark Murray 67613e3f4d6SMark Murray * telnetd/Makefile.in: add WFLAGS 67713e3f4d6SMark Murray 67813e3f4d6SMark Murray * telnet/Makefile.in: add WFLAGS 67913e3f4d6SMark Murray 68013e3f4d6SMark Murray * libtelnet/Makefile.in: add WFLAGS 68113e3f4d6SMark Murray 68213e3f4d6SMark Murray * telnetd/sys_term.c: remove unused variables 68313e3f4d6SMark Murray 68413e3f4d6SMark Murray * telnet/telnet.c: fix some warnings 68513e3f4d6SMark Murray 68613e3f4d6SMark Murray * telnet/main.c: fix some warnings 68713e3f4d6SMark Murray 68813e3f4d6SMark Murray * telnet/commands.c: fix types in format string 68913e3f4d6SMark Murray 69013e3f4d6SMark Murray * libtelnet/auth.c: fix types in format string 69113e3f4d6SMark Murray 69213e3f4d6SMark MurrayMon Mar 1 10:50:30 1999 Johan Danielsson <joda@hella.pdc.kth.se> 69313e3f4d6SMark Murray 69413e3f4d6SMark Murray * telnetd/sys_term.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_* 69513e3f4d6SMark Murray 69613e3f4d6SMark MurrayMon Feb 1 04:08:36 1999 Assar Westerlund <assar@sics.se> 69713e3f4d6SMark Murray 69813e3f4d6SMark Murray * telnet/commands.c (tn): only call gethostbyname2 with AF_INET6 69913e3f4d6SMark Murray if we actually have IPv6. From "Brandon S. Allbery KF8NH" 70013e3f4d6SMark Murray <allbery@kf8nh.apk.net> 70113e3f4d6SMark Murray 70213e3f4d6SMark MurraySat Nov 21 16:51:00 1998 Johan Danielsson <joda@hella.pdc.kth.se> 70313e3f4d6SMark Murray 70413e3f4d6SMark Murray * telnetd/sys_term.c (cleanup): don't call vhangup() on sgi:s 70513e3f4d6SMark Murray 70613e3f4d6SMark MurrayFri Aug 14 16:29:18 1998 Johan Danielsson <joda@emma.pdc.kth.se> 70713e3f4d6SMark Murray 70813e3f4d6SMark Murray * libtelnet/kerberos.c: krb_put_int -> KRB_PUT_INT 70913e3f4d6SMark Murray 71013e3f4d6SMark MurrayThu Jul 23 20:29:05 1998 Johan Danielsson <joda@emma.pdc.kth.se> 71113e3f4d6SMark Murray 71213e3f4d6SMark Murray * libtelnet/kerberos5.c: use krb5_verify_authenticator_checksum 71313e3f4d6SMark Murray 71413e3f4d6SMark MurrayMon Jul 13 22:00:09 1998 Assar Westerlund <assar@sics.se> 71513e3f4d6SMark Murray 71613e3f4d6SMark Murray * telnet/commands.c (tn): don't advance hostent->h_addr_list, use 71713e3f4d6SMark Murray a copy instead 71813e3f4d6SMark Murray 71913e3f4d6SMark MurrayWed May 27 04:19:17 1998 Assar Westerlund <assar@sics.se> 72013e3f4d6SMark Murray 72113e3f4d6SMark Murray * telnet/sys_bsd.c (process_rings): correct call to `stilloob' 72213e3f4d6SMark Murray 72313e3f4d6SMark MurrayFri May 15 19:38:19 1998 Johan Danielsson <joda@blubb.pdc.kth.se> 72413e3f4d6SMark Murray 72513e3f4d6SMark Murray * libtelnet/kerberos5.c: Always print errors from mk_req. 72613e3f4d6SMark Murray 72713e3f4d6SMark MurrayFri May 1 07:16:59 1998 Assar Westerlund <assar@sics.se> 72813e3f4d6SMark Murray 72913e3f4d6SMark Murray * telnet/commands.c: unifdef -DHAVE_H_ERRNO 73013e3f4d6SMark Murray 73113e3f4d6SMark MurraySat Apr 4 15:00:29 1998 Assar Westerlund <assar@sics.se> 73213e3f4d6SMark Murray 73313e3f4d6SMark Murray * telnet/commands.c (tn): moved the printing of `trying...' to the 73413e3f4d6SMark Murray loop 73513e3f4d6SMark Murray 73613e3f4d6SMark MurrayThu Mar 12 02:33:48 1998 Assar Westerlund <assar@sics.se> 73713e3f4d6SMark Murray 73813e3f4d6SMark Murray * telnet/telnet_locl.h: include <term.h>. From Gregory S. Stark 73913e3f4d6SMark Murray <gsstark@mit.edu> 74013e3f4d6SMark Murray 74113e3f4d6SMark MurraySat Feb 21 15:12:38 1998 Assar Westerlund <assar@sics.se> 74213e3f4d6SMark Murray 74313e3f4d6SMark Murray * telnetd/ext.h: add prototype for login_tty 74413e3f4d6SMark Murray 74513e3f4d6SMark Murray * telnet/utilities.c (printsub): `direction' is now an int. 74613e3f4d6SMark Murray 74713e3f4d6SMark Murray * libtelnet/misc-proto.h: add prototype for `printsub' 74813e3f4d6SMark Murray 74913e3f4d6SMark MurrayTue Feb 17 02:45:01 1998 Assar Westerlund <assar@sics.se> 75013e3f4d6SMark Murray 75113e3f4d6SMark Murray * libtelnet/kerberos.c (kerberos4_is): cred.pname should be 75213e3f4d6SMark Murray cred.pinst. From <art@stacken.kth.se> 75313e3f4d6SMark Murray 75413e3f4d6SMark MurraySun Feb 15 02:46:39 1998 Assar Westerlund <assar@sics.se> 75513e3f4d6SMark Murray 75613e3f4d6SMark Murray * telnet/*/*.c: renamed `telnet' to `my_telnet' to avoid 75713e3f4d6SMark Murray conflicts with system header files on mklinux. 75813e3f4d6SMark Murray 75913e3f4d6SMark MurrayTue Feb 10 02:09:03 1998 Assar Westerlund <assar@sics.se> 76013e3f4d6SMark Murray 76113e3f4d6SMark Murray * telnetd/telnetd.c: new signature for `getterminaltype' and 76213e3f4d6SMark Murray `auth_wait' 76313e3f4d6SMark Murray 76413e3f4d6SMark Murray * libtelnet: changed the signature of the authentication method 76513e3f4d6SMark Murray `status' 76613e3f4d6SMark Murray 76713e3f4d6SMark MurraySat Feb 7 07:21:29 1998 Assar Westerlund <assar@sics.se> 76813e3f4d6SMark Murray 76913e3f4d6SMark Murray * */*.c: replace HAS_GETTOS by HAVE_PARSETOS and HAVE_GETTOSBYNAME 77013e3f4d6SMark Murray 77113e3f4d6SMark MurrayFri Dec 26 16:17:10 1997 Assar Westerlund <assar@sics.se> 77213e3f4d6SMark Murray 77313e3f4d6SMark Murray * telnet/commands.c (tn): repair support for numeric addresses 77413e3f4d6SMark Murray 77513e3f4d6SMark MurraySun Dec 21 09:40:31 1997 Assar Westerlund <assar@sics.se> 77613e3f4d6SMark Murray 77713e3f4d6SMark Murray * libtelnet/kerberos.c: fix up lots of stuff related to the 77813e3f4d6SMark Murray forwarding of v4 tickets. 77913e3f4d6SMark Murray 78013e3f4d6SMark Murray * libtelnet/kerberos5.c (kerberos5_forward): zero out `creds'. 78113e3f4d6SMark Murray 78213e3f4d6SMark MurrayMon Dec 15 20:53:13 1997 Johan Danielsson <joda@emma.pdc.kth.se> 78313e3f4d6SMark Murray 78413e3f4d6SMark Murray * telnet/sys_bsd.c: Don't turn off OPOST in 8bit-mode. 78513e3f4d6SMark Murray 78613e3f4d6SMark MurrayTue Dec 9 19:26:50 1997 Assar Westerlund <assar@sics.se> 78713e3f4d6SMark Murray 78813e3f4d6SMark Murray * telnet/main.c (main): add 'b' to getopt 78913e3f4d6SMark Murray 79013e3f4d6SMark MurraySat Nov 29 03:28:54 1997 Johan Danielsson <joda@emma.pdc.kth.se> 79113e3f4d6SMark Murray 79213e3f4d6SMark Murray * telnet/telnet.c: Change binary mode to do just that, and add a 79313e3f4d6SMark Murray eight-bit mode for just passing all characters. 79413e3f4d6SMark Murray 79513e3f4d6SMark MurraySun Nov 16 04:37:02 1997 Assar Westerlund <assar@sics.se> 79613e3f4d6SMark Murray 79713e3f4d6SMark Murray * libtelnet/kerberos5.c (kerberos5_send): always ask for a session 79813e3f4d6SMark Murray key of type DES 79913e3f4d6SMark Murray 80013e3f4d6SMark Murray * libtelnet/kerberos5.c: remove old garbage and fix call to 80113e3f4d6SMark Murray krb5_auth_con_setaddrs_from_fd 80213e3f4d6SMark Murray 80313e3f4d6SMark MurrayFri Nov 14 20:35:18 1997 Johan Danielsson <joda@emma.pdc.kth.se> 80413e3f4d6SMark Murray 80513e3f4d6SMark Murray * telnetd/telnetd.c: Output contents of /etc/issue. 80613e3f4d6SMark Murray 80713e3f4d6SMark MurrayMon Nov 3 07:09:16 1997 Assar Westerlund <assar@sics.se> 80813e3f4d6SMark Murray 80913e3f4d6SMark Murray * telnet/telnet_locl.h: only include <sys/termio.h> iff 81013e3f4d6SMark Murray !defined(HAVE_TERMIOS_H) 81113e3f4d6SMark Murray 81213e3f4d6SMark Murray * libtelnet/kerberos.c (kerberos4_is): send the peer address to 81313e3f4d6SMark Murray krb_rd_req 81413e3f4d6SMark Murray 81513e3f4d6SMark Murray * telnetd/telnetd.c (terminaltypeok): always return OK. It used 81613e3f4d6SMark Murray to call `tgetent' to figure if it was a defined terminal type. 81713e3f4d6SMark Murray It's possible to overflow tgetent so that's a bad idea. The worst 81813e3f4d6SMark Murray that could happen by saying yes to all terminals is that the user 81913e3f4d6SMark Murray ends up with a terminal that has no definition on the local 82013e3f4d6SMark Murray system. And besides, most telnet client has no support for 82113e3f4d6SMark Murray falling back to a different terminal type. 82213e3f4d6SMark Murray 82313e3f4d6SMark MurrayMon Oct 20 05:47:19 1997 Assar Westerlund <assar@sics.se> 82413e3f4d6SMark Murray 82513e3f4d6SMark Murray * libtelnet/kerberos5.c: remove lots of old junk. clean-up. 82613e3f4d6SMark Murray better error checking and reporting. tell the user permission 82713e3f4d6SMark Murray denied much earlier. 82813e3f4d6SMark Murray 82913e3f4d6SMark Murray * libtelnet/kerberos.c (kerberos4_is): only print 83013e3f4d6SMark Murray UserNameRequested if != NULL 83113e3f4d6SMark Murray 832