summaryrefslogtreecommitdiffstats
path: root/src/appl/gssftp/ftp
Commit message (Collapse)AuthorAgeFilesLines
...
* * ftp.c (getreply): Restore proper setting of safe. This variableTom Yu1998-08-072-1/+9
| | | | | | | | | was previously being set to the value of code rather than to the boolean expression (code == 631), which it had been previously. The bug resulted in all replies from the server being parsed as krb_safe messages even when they were krb_priv messages. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10788 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-062-1/+6
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10548 dc483132-0cff-0310-8789-dd5450dbe970
* Fix -n so that it doesn't disable authentication but does disable login. [38]Sam Hartman1998-04-254-2/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10543 dc483132-0cff-0310-8789-dd5450dbe970
* * glob.c (ftpglob): Always allocate new storage, even if no magic globKen Raeburn1998-04-222-2/+17
| | | | | | characters were found, because the caller will always free the storage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10539 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.c (secure_putbyte): Set nout = 0 *before* callingDan Winship1998-04-072-1/+9
| | | | | | | | | secure_putbuf: if the transfer is aborted, the SIGURG handler will longjmp out, so the line after the secure_putbuf will never get executed, so nout would never be reset and the next transfer would overrun ucbuf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10524 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-182-2/+7
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse ftp and ftpd's configure.in into gssftp's configure.inTheodore Tso1998-02-133-21/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10440 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-122-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* Add -x (automatically encrypt) and -f (forward credentials) optionsDan Winship1998-01-306-14/+43
| | | | | | | Don't complain about missing ftp/hostname principal if there's a usable host/hostname. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10387 dc483132-0cff-0310-8789-dd5450dbe970
* * ftp.c:Tom Yu1997-12-123-0/+19
| | | | | | | | * main.c: Don't include netdb.h or sys/socket.h if krb.h is included; this works around an Ultrix bug where those headers aren't protected against multiple inclusion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10332 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Change KERBEROS to KRB5_KRB4_COMPAT where appropriateTom Yu1997-10-165-91/+107
| | | | | | | | | | | | | | | * secure.c: Use <secure.h> rather than "secure.h" so that the correct secure.h gets included (the one in the $(srcdir) of the directory we're compiling secure.c into). From danw@mit.edu. * ftp.c: Change KERBEROS to KRB5_KRB4_COMPAT where appropriate. Re-order the clauses so that that GSSAPI gets tried before KERBEROS_V4. * Makefile.in: Update LOCALINCLUDE and the link line to DTRT with krb4 compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10235 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) where neededEzra Peisach1997-08-172-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10175 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Y2K bug in the parsing of the MDTM command. [krb5-appl/399]Theodore Tso1997-05-022-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10083 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-093-10/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-132-2/+8
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* Apply patch from shadow@andrew.cmu.edu to fix a bug I fixedSam Hartman1996-11-202-1/+8
| | | | | | | for krb5 if compiled with Kerberos support; we don't support that, but applying the patch was easier than removing the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9445 dc483132-0cff-0310-8789-dd5450dbe970
* * cmds.c (setpeer): Apply jik's fix so "-n" actually works asTom Yu1996-09-272-2/+8
| | | | | | intended. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9130 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-102-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrite from Cygnus. (Got rid of dependency on tmac.doc, whichJeff Bigler1996-08-291-948/+833
| | | | | | breaks under HP-UX) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9004 dc483132-0cff-0310-8789-dd5450dbe970
* s/struct fd_set/fd_set/gSam Hartman1996-08-052-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8901 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.c: Do not assume sizeof(long) = 4 for sending lengths OTWEzra Peisach1996-07-303-3/+24
| | | | | | * configure.in: Determine sizeof short, int, long for secure.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8860 dc483132-0cff-0310-8789-dd5450dbe970
* * Define a non-zero FUDGE_FACTOR for GSSAPI; I have it set to 64 now,Sam Hartman1996-07-273-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | even though I tend to see 52 bytes of increased data because I'm not sure that the 52 bytes is constant across all implementations ands options. * When allocating outbuf, set bufsize to the size that was actually allocated; it tends not to be nbyte+FUDGE_FACTOR exactly, and you smash the heap if you store a different size than you actually allocate. * If a secure_putbyte fails, set nout to zero so you don't run off the end of the buffer next time around. * Only write out foure bytes of net_len, no matter how big it is. The right answer is to have it be some 32-bit type but I'm not sure if I should use the krb5 type, the GSSAPI type, or what. (Remember, this code has ifdefs for KerberosIV without GSSAPI) * While we're at it, if secure_write fails while writing out a file in the client, notice the error. (a break in an inner loop didn't break out quite far enough) With these changes, I am able to get and put multi-megabyte files even on an Alpha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8847 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-223-4/+9
| | | | | | | | | 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
* cvsignore hackeryTom Yu1996-06-101-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* previously checked-in changesKen Raeburn1996-05-011-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7879 dc483132-0cff-0310-8789-dd5450dbe970
* some fixes changes from marc. changelogs will be merged laterMark Eichin1996-04-092-27/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7760 dc483132-0cff-0310-8789-dd5450dbe970
* Use AC_HEADER_STDARG and use that test to set STDARG.Ezra Peisach1996-03-195-3/+11
| | | | | | | The old test assumed that either STDARG was defined or __STDC__ - which is not sufficient. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7660 dc483132-0cff-0310-8789-dd5450dbe970
* update from cygnus sources. Get local hostname in a consistent manner,Mark Eichin1996-03-131-0/+2
| | | | | | so we ask for the right local service name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7622 dc483132-0cff-0310-8789-dd5450dbe970
* remove errno correctlyMark Eichin1996-02-241-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7517 dc483132-0cff-0310-8789-dd5450dbe970
* remove extraneous second include of stdlib.hMark Eichin1996-02-241-6/+1
| | | | | | | remove extra ; from previous merge remove declaration of errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7516 dc483132-0cff-0310-8789-dd5450dbe970
* update from cygnus sourcesMark Eichin1996-02-243-10/+32
| | | | | | | | | | | | | Fri Feb 16 15:50:51 1996 Mark Eichin <eichin@cygnus.com> * ftp.c (do_auth): return status handling fixes from kbalk@hp.com. Tue Jan 16 19:05:31 1996 Mark Eichin <eichin@cygnus.com> * ftp.c (login): move do_auth ... * cmds.c (setpeer): ... to just before login call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7511 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for stdlib.hEzra Peisach1996-02-076-1/+18
| | | | | | | * secure.c, pclose.c, ruserpass.c, ftp.c: Include stdlib.h if present for malloc declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7453 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.inRichard Basch1996-02-041-2/+6
| | | | | | Support --program-prefix, --program-suffix, --program-transform git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7435 dc483132-0cff-0310-8789-dd5450dbe970
* Portability fixes: don't declare errno everSam Hartman1996-01-195-2/+18
| | | | | | and don't declare sys_errlist unless you need to. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7336 dc483132-0cff-0310-8789-dd5450dbe970
* Include sys/select.h for AIXSam Hartman1996-01-183-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7333 dc483132-0cff-0310-8789-dd5450dbe970
* Sanitize and cvsignore files for gssftpMark Eichin1996-01-142-0/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7314 dc483132-0cff-0310-8789-dd5450dbe970
* Cygnus implementation of GSSAPI-based ftp client and server.Mark Eichin1996-01-1418-0/+8804
See README.gssftp for history and details. Bugs, comments to <eichin@cygnus.com>. Be sure to forward any changes made at MIT as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7312 dc483132-0cff-0310-8789-dd5450dbe970