summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet
Commit message (Collapse)AuthorAgeFilesLines
* Mass makefile/configure.in build system revampTheodore Tso1998-02-1210-3/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (doit): additional fix for previous terminaltype changeDan Winship1998-01-282-1/+5
| | | | | | (fixes a bug that caused TERM to be set to "") git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10384 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (getterminaltype): Null-terminate strings and avoid aDan Winship1998-01-275-16/+29
| | | | | | | | | | | buffer overrun. * ext.h: make terminaltype a char[] instead of a char * for telnetd.c change * state.c (suboption): redo handling of terminaltype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10380 dc483132-0cff-0310-8789-dd5450dbe970
* telnetd.c (telnet, get_default_IM): Instead of using a hardcoded IMTheodore Tso1998-01-243-20/+31
| | | | | | | | | variable, use one which is dynamically generated from the uname() system call. ext.h: Remove definition of DEFAULT_IM, since it's no longer used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10376 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (doit): Fix up slave buffer lengthTom Yu1997-12-052-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10312 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds): Fix up to no longer do theTom Yu1997-11-203-11/+10
| | | | | | | | | chown [krb5-appl/502] * kerberos5.c (kerberos5_is): Fix up call to rd_and_store_for_creds. [krb5-appl/502] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10302 dc483132-0cff-0310-8789-dd5450dbe970
* Prohibit the passing of TERMCAP, TERMPATH, TERMINFO, and HOME, sinceTheodore Tso1997-10-232-0/+10
| | | | | | they can be used to exploit a security in tgetent. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10248 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h/strings.h for memcpy prototypeEzra Peisach1997-10-212-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10239 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Fix typo s/scrdir/srcdir/Ezra Peisach1997-07-312-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10151 dc483132-0cff-0310-8789-dd5450dbe970
* * sys_term.c (start_login): Bounds check the constructed "speed"Tom Yu1997-04-102-2/+13
| | | | | | passed in to login. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10065 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix DES425_DEPLIBTom Yu1997-02-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9856 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix DES425_LIB... missed this in libhack_branch;Tom Yu1997-02-122-2/+8
| | | | | | | prevents --without-krb4 from working for some odd reason, though comments says "fix post beta-6". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9855 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-096-15/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos5.c: The first arg to krb5_verify_checksum is a krb5_context!!!Richard Basch1997-02-062-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9802 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-133-11/+39
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* sys_bsd.c(intr): Added checks to intr_waiting and intr_happened toTheodore Tso1996-11-144-4/+42
| | | | | | | | | handle ^C while waiting for encryption negotiation. telnet.c (telnet): Allow ^C to work while waiting for encryption negotiation to finish. [telnet/64] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9414 dc483132-0cff-0310-8789-dd5450dbe970
* Commit jhawk's patch to print IP status.Sam Hartman1996-11-112-2/+6
| | | | | | [113] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9365 dc483132-0cff-0310-8789-dd5450dbe970
* Call gethostbyaddr over what we connect to to get the Kerberos principal toSam Hartman1996-11-102-0/+12
| | | | | | | | use; if that fails, fall back on what gethostbyname returns earlier. [170] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9363 dc483132-0cff-0310-8789-dd5450dbe970
* Check the error return from krb5_init_context(), and print an errorTheodore Tso1996-11-084-5/+28
| | | | | | message if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9345 dc483132-0cff-0310-8789-dd5450dbe970
* * Add forward command. [45]Sam Hartman1996-11-024-6/+138
| | | | | | * Add TOS support. [57] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9281 dc483132-0cff-0310-8789-dd5450dbe970
* * Add TOS support on other than Cray [57]Sam Hartman1996-11-026-33/+67
| | | | | | | | | | | | | | | | * Externalize forward options from kerberos5.c to reduce cut/paste inheritance between kerberos5.c and main.c in telnet. * Fix up source of error messages (telnet|telnetd) in kerberos5.c [77] CVS: ---------------------------------------------------------------------- automatically CVS: CVS: Committing in libtelnet CVS: CVS: Modified Files: CVS: ChangeLog Makefile.in auth.h configure.in kerberos5.c CVS: parsetos.c CVS: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9280 dc483132-0cff-0310-8789-dd5450dbe970
* Misc debugging cleanups [71, 74]Sam Hartman1996-10-142-7/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9164 dc483132-0cff-0310-8789-dd5450dbe970
* Environment command argument handling sometimesSam Hartman1996-10-142-2/+8
| | | | | | prints bogus only. [75] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9163 dc483132-0cff-0310-8789-dd5450dbe970
* Remove rsaencpwd and krb4encpwd authentication. Bugs were beingSam Hartman1996-10-147-1124/+8
| | | | | | | | | reported and the code is old and wouldn't compile if you tried. Also, I don't think the libraries on which it depends are available. Besides, there is no excuse for read_password.c using setjmp and longjmp. [50] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9162 dc483132-0cff-0310-8789-dd5450dbe970
* Check in all of jik's patches besides the forward commandSam Hartman1996-09-217-3/+76
| | | | | | | | | | and init stanza. I think that as a low-priority fix, someone should rewrite the posix_signals stuff in sys_bsd.c to be more consistent with the rest of the code; it is correct but in a different style. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9102 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.1: Update -x flag usage to reflect our behavior ofTom Yu1996-09-102-1/+6
| | | | | | dropping connection if encryption cannot be negotiated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9070 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-104-4/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* Don't allow the environment variable RESOLV_HOST_CONF to be set forTheodore Tso1996-09-072-0/+6
| | | | | | Linux's sake. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9057 dc483132-0cff-0310-8789-dd5450dbe970
* Removed Cygnus-specific infoJeff Bigler1996-08-301-73/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9015 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrite from Cygnus. (Got rid of tmac.doc dependency, whichJeff Bigler1996-08-292-1459/+1508
| | | | | | breaks under HP-UX) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9006 dc483132-0cff-0310-8789-dd5450dbe970
* On systems with setup_term, don't define it in telnet.c or meSam Hartman1996-08-053-1/+12
| | | | | | | might get into nasty loops if tcgetent is defined in terms of setup_term. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8902 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-223-8/+15
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* Krb4: get the right includesSam Hartman1996-06-243-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8543 dc483132-0cff-0310-8789-dd5450dbe970
* Drop support for -u because it allows us to removeSam Hartman1996-06-244-243/+13
| | | | | | dependencies from utmp.h and it didn't work anyway. This fixes some Hpux compile problems as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8542 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-104-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-061-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Ezra's changes to allow compiling w/o krb4Tom Yu1996-06-042-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8212 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Ezra's patches to allow compilation w/o krb4Tom Yu1996-06-042-0/+15
| | | | | | support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8211 dc483132-0cff-0310-8789-dd5450dbe970
* Use the default service principal (don't assume it is "host") as theRichard Basch1996-05-092-1/+6
| | | | | | basis for the replay cache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7950 dc483132-0cff-0310-8789-dd5450dbe970
* cygnus merge:Ken Raeburn1996-05-028-64/+156
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Fix typo in Apr 16 HP-UX change. * state.c (envvarok): nuke all KRB5* environment variables, not just the previously selected ones. * telnetd.c (telnet -> doit): moved SIGTTOU handler before the first thing which would cause the terminal driver to get upset. * sys_term.c (line): Remove initialization silliness. The non-GNUC method was Just Wrong, do it the other way always. (Xline): Specify length, not contents. * termio-tn.c (readstream_termio): new file, provides isolated version of M_IOCTL handling for systems where termio and termios can't be compiled together. * termios-tn.c (readstream_termios): new file, provides isolated version of M_IOCTL handling for systems where termio and termios can't be compiled together. * telnetd.c (readstream): use readstream_termios and readstream_termio to handle getmsg with M_IOCTL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7883 dc483132-0cff-0310-8789-dd5450dbe970
* The rd_req has to allow any local service principal, as the host may haveRichard Basch1996-04-282-21/+30
| | | | | | multiple names and multiple "host" keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7861 dc483132-0cff-0310-8789-dd5450dbe970
* More option handling changesSam Hartman1996-04-182-3/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7839 dc483132-0cff-0310-8789-dd5450dbe970
* * Changes to not use streams on HPUXSam Hartman1996-04-165-2/+37
| | | | | | | | * Changes to abort the session if telnetd receives certain options such as environment or DISPLAY options before authentication and encryption is negotiated or not negotiated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7818 dc483132-0cff-0310-8789-dd5450dbe970
* Store the forwarded credentials in /tmp/krb5cc_p<pid> (like krlogind)Richard Basch1996-04-132-11/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7811 dc483132-0cff-0310-8789-dd5450dbe970
* forward.c: Use a saner naming convention for the credentials cache.Richard Basch1996-04-123-8/+45
| | | | | | kerberos5.c: Add a cleanup function to destroy the credentials cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7799 dc483132-0cff-0310-8789-dd5450dbe970
* Call a krb5 cleanup routine to cleanup forwarded credentials, if necessaryRichard Basch1996-04-123-15/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7798 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c: remove inclusion of netdb.h; it's already in defs.h,Tom Yu1996-03-272-1/+6
| | | | | | | and #$%&* ultrix doesn't protect it from multiple inclusions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7718 dc483132-0cff-0310-8789-dd5450dbe970
* Add a couple missing log entries for stuff Mark checked inKen Raeburn1996-03-251-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7711 dc483132-0cff-0310-8789-dd5450dbe970
* * Apply patch from Ken Raeburn to get telnetd compiling on the SGISam Hartman1996-03-246-160/+57
| | | | | | | | | | | * Force telnetd not to use streams on the SGI; it doesn't support pushing modules onto a pty. * Remove old utmpx crud from sys_term.c because it was getting called inadvertently, didn't compile on the SGI, and libpty already does something reasonable with utmpx. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7705 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Added flags which turn on the encryption optionTheodore Tso1996-03-193-3/+51
| | | | | | | | telnetd.c (getterminaltype): If the authentication option which was negotiated requires that encryption be turned on, then enforce this here. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7663 dc483132-0cff-0310-8789-dd5450dbe970