| History log of /src/usr.bin/telnet/telnet.c |
| Revision | | Date | Author | Comments |
| 1.44 |
| 30-Oct-2021 |
hannken | Obvious typo ':' -> ';'.
|
| 1.43 |
| 30-Oct-2021 |
nia | telnet(1): use reallocarr instead of malloc(x * y)
|
| 1.42 |
| 05-Jan-2019 |
maya | unifdef compatibility for old BSD servers. This has been disabled, so no binary change. from openbsd.
|
| 1.41 |
| 14-Dec-2018 |
christos | minor cleanup: - more const - prevent overflow of the argument vector - change a lot of unsigned to signed to eliminate casts
|
| 1.40 |
| 14-Dec-2018 |
maya | G/C In3270 - always false
|
| 1.39 |
| 13-Dec-2018 |
maya | Remove unused code.
|
| 1.38 |
| 13-Dec-2018 |
maya | unifdef TN3270 which is never defined (and wouldn't build if it was) delete tn3270 file no longer needed. SetIn3270(); expands to nothing now, so remove it.
No functional change.
|
| 1.37 |
| 12-Dec-2018 |
maya | switch sprintf to snprintf in places.
Reported by hacker fantastic, thanks!
ok xtos.
|
| 1.36 |
| 10-Jan-2012 |
christos | branches: 1.36.18; 1.36.20; 1.36.28; 1.36.32; 1.36.38; 1.36.40; fix signed/unsigned comparison.
|
| 1.35 |
| 09-Jan-2012 |
christos | PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION (rfc2941) - Minimal diffs to separate MKCRYPTO from USE_KERBEROS
|
| 1.34 |
| 07-Oct-2011 |
christos | branches: 1.34.2; remove casts
|
| 1.33 |
| 07-Oct-2011 |
joerg | Simplify
|
| 1.32 |
| 05-Oct-2011 |
roy | Use terminfo and the non-standard ttytype rather than termcap.
|
| 1.31 |
| 02-Feb-2006 |
he | Rename debug to telnet_debug, to allow static linking with libssh.a.
|
| 1.30 |
| 29-Mar-2005 |
drochner | plug buffer overflows, see http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities (CAN 2005-0468 and 2005-0469)
Patch taken from MIT/Kerberos (MITKRB5-SA-2005-001-telnet.txt)
|
| 1.29 |
| 04-Nov-2004 |
dsl | branches: 1.29.2; Add (unsigned char) cast to ctype functions
|
| 1.28 |
| 20-Mar-2004 |
heas | branches: 1.28.2; 1.28.4; - deal with a dead tty in ttyflush() by cleaning-up and exiting instead of returning a failure code and processing that all the way up the stack. - deal with a dead peer similarly and do it without setjmp/longjmp() (at christos' request).
These fix bin/20304 and my own observations when the remote abruptly closes the connection.
|
| 1.27 |
| 17-Nov-2003 |
wiz | Various typo fixes from Jonathon Gray via jmc@openbsd.
|
| 1.26 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.25 |
| 14-Jul-2003 |
itojun | more unifdef
|
| 1.24 |
| 14-Jul-2003 |
itojun | remove unneeded #ifdef. (confirmed that same *.o is generated)
|
| 1.23 |
| 12-Jul-2003 |
itojun | use bounded copy ops
|
| 1.22 |
| 18-Jun-2003 |
christos | Ansify.
|
| 1.21 |
| 14-Jun-2002 |
wiz | De-register, de-__P. Remove #ifndef __STDC__ parts. defines.h: Be more careful with braces in macro definitions.
|
| 1.20 |
| 11-Feb-2002 |
wiz | branches: 1.20.2; s/infinate/infinite/
|
| 1.19 |
| 24-Sep-2001 |
wiz | va_{start,end} audit: Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
|
| 1.18 |
| 22-Jul-2001 |
wiz | seperate -> separate
|
| 1.17 |
| 04-Mar-2001 |
assar | fix spelling of cpp symbol (ENCRYPT vs ENCRYPTION). enable encryption with autologin. fixes PR 12226
|
| 1.16 |
| 22-Jun-2000 |
thorpej | Bring the telnet situation back into better shape. Specifically, pull in just about all of the differences from the crypto-us telnet suite (which includes Kerberos 4 and connection encryption support). Also bring in the Kerberos 5 support from the Heimdal telnet, and frob a little so that it can work with the non-Heimdal telnet suite.
There is still some work left to do, specifically: - Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4 module. - Add connection encryption support to the Heimdal Kerberos 5 module. Hints on this can be taken from the MIT Kerberos 5 module which still exists in crypto-us.
However, even with the shortcomings listed above, this is a better situation than using the stock Heimdal telnet suite, which does not understand the IPSec policy stuff, and is also based on much older code which contains bugs that we have already fixed in the NetBSD sources.
|
| 1.15 |
| 25-May-2000 |
blymn | branches: 1.15.4; Convert telnet and top to the new termcap interface. This stops some buffer overflows in top from ever happening.
|
| 1.14 |
| 30-Dec-1999 |
itojun | avoid memory leak on realloc() failure.
|
| 1.13 |
| 28-Jul-1999 |
abs | Add -N option (numeric host address) - idea taken from FreeBSD. Fix bug where -E8 would still pick up 0xFF as escape (again from FreeBSD)
|
| 1.12 |
| 06-Nov-1998 |
christos | branches: 1.12.2; - synchronize with the domestic version - setupterm -> setup_term - char -> unsigned char
|
| 1.11 |
| 26-Jul-1998 |
mycroft | const poisoning.
|
| 1.10 |
| 06-Jul-1998 |
mrg | - use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
|
| 1.9 |
| 27-Feb-1998 |
christos | WARNSify and fix problems passing int * -> long *
|
| 1.8 |
| 03-Jun-1997 |
mycroft | Don't interpret _POSIX_VDISABLE as a special character.
|
| 1.7 |
| 28-Feb-1996 |
thorpej | RCS id cosmetics.
|
| 1.6 |
| 24-Feb-1996 |
jtk | restore local change mistakenly overrun in import of 95.10.23 telnet--keep track of a client-side close and just turn off one direction of the socket; keep running until server side closes down too.
|
| 1.5 |
| 24-Feb-1996 |
jtk | update to 95.10.23 version of telnet also, RCS ID police
|
| 1.4 |
| 17-Mar-1995 |
mycroft | If we get an EOF on stdin, close the write side of the TCP connection, but wait for the remote host to close the connection before exiting.
|
| 1.3 |
| 25-Feb-1994 |
cgd | new telnet from ftp.cray.com. Encryption support ripped out, pending figuring out what to do about it...
|
| 1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12.2.1 |
| 08-Jan-2000 |
he | Pull up revision 1.14 (requested by itojun): Avoid memory leak on realloc() failure.
|
| 1.15.4.2 |
| 11-Mar-2001 |
he | Pull up revision 1.17 (requested by assar): Correct handling of encryption and decryption with Kerberos4. Fixes PR#12226.
|
| 1.15.4.1 |
| 22-Jun-2000 |
thorpej | Update from trunk: Bring the telnet situation back into better shape. Specifically, pull in just about all of the differences from the crypto-us telnet suite (which includes Kerberos 4 and connection encryption support). Also bring in the Kerberos 5 support from the Heimdal telnet, and frob a little so that it can work with the non-Heimdal telnet suite.
There is still some work left to do, specifically: - Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4 module. - Add connection encryption support to the Heimdal Kerberos 5 module. Hints on this can be taken from the MIT Kerberos 5 module which still exists in crypto-us.
However, even with the shortcomings listed above, this is a better situation than using the stock Heimdal telnet suite, which does not understand the IPSec policy stuff, and is also based on much older code which contains bugs that we have already fixed in the NetBSD sources.
|
| 1.20.2.1 |
| 08-Apr-2005 |
he | Pull up revision 1.30 (via patch, requested by tron in ticket #5742): Plug buffer overflows, ref. CAN 2005-0468 and 2005-0469. Patch from MIT/Kerberos (MITKRB5-SA-2005-001-telnet.txt).
|
| 1.28.4.1 |
| 08-Apr-2005 |
he | Pull up revision 1.30 (requested by tron in ticket #1410): Plug buffer overflows, ref. CAN 2005-0468 and 2005-0469. Patch from MIT/Kerberos (MITKRB5-SA-2005-001-telnet.txt).
|
| 1.28.2.1 |
| 08-Apr-2005 |
he | Pull up revision 1.30 (requested by tron in ticket #1410): Plug buffer overflows, ref. CAN 2005-0468 and 2005-0469. Patch from MIT/Kerberos (MITKRB5-SA-2005-001-telnet.txt).
|
| 1.29.2.1 |
| 08-Apr-2005 |
he | Pull up revision 1.30 (requested by tron in ticket #124): Plug buffer overflows, ref. CAN 2005-0468 and 2005-0469. Patch from MIT/Kerberos (MITKRB5-SA-2005-001-telnet.txt).
|
| 1.34.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.36.40.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.36.38.2 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
| 1.36.38.1 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
| 1.36.32.1 |
| 18-Dec-2018 |
martin | Pull up following revision(s) (requested by maya in ticket #1135):
usr.bin/telnet/utilities.c: revision 1.24 usr.bin/telnet/telnet.c: revision 1.37
switch sprintf to snprintf in places.
Reported by hacker fantastic, thanks!
ok xtos.
|
| 1.36.28.1 |
| 18-Dec-2018 |
martin | Pull up following revision(s) (requested by maya in ticket #1665):
usr.bin/telnet/utilities.c: revision 1.24 usr.bin/telnet/telnet.c: revision 1.37
switch sprintf to snprintf in places.
Reported by hacker fantastic, thanks!
ok xtos.
|
| 1.36.20.1 |
| 18-Dec-2018 |
martin | Pull up following revision(s) (requested by maya in ticket #1665):
usr.bin/telnet/utilities.c: revision 1.24 usr.bin/telnet/telnet.c: revision 1.37
switch sprintf to snprintf in places.
Reported by hacker fantastic, thanks!
ok xtos.
|
| 1.36.18.1 |
| 18-Dec-2018 |
martin | Pull up following revision(s) (requested by maya in ticket #1665):
usr.bin/telnet/utilities.c: revision 1.24 usr.bin/telnet/telnet.c: revision 1.37
switch sprintf to snprintf in places.
Reported by hacker fantastic, thanks!
ok xtos.
|