[14617] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Cant FTP large files: PBSZ / PROT-buffer problem ?

daemon@ATHENA.MIT.EDU (Douglas E. Engert)
Mon Jul 2 14:29:47 2001

Message-ID: <3B40BD5C.7A36D075@anl.gov>
Date: Mon, 02 Jul 2001 13:28:44 -0500
From: "Douglas E. Engert" <deengert@anl.gov>
MIME-Version: 1.0
To: Rich Jamieson <Richard.Jamieson@db.com>
CC: kerberos@MIT.EDU
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Rich Jamieson wrote:
> 
> I can successfully ftp small (eg: 100 K) files, but not large (eg: 25
> Meg) ones.
> 
> When I try to transfer the large file I get the "PBSZ" message and the
> transfer fails.


gssftp/ftp/secure.c:



*** ,secure.c   Wed Feb 28 16:06:45 2001
--- secure.c    Tue May 29 13:12:52 2001
***************
*** 73,79 ****
  
  #ifdef GSSAPI
  #undef FUDGE_FACTOR
! #define FUDGE_FACTOR 64 /*It appears to add 52 byts, but I'm not usre it is a
constant--hartmans*/
  #endif /*GSSAPI*/
  
  #ifndef FUDGE_FACTOR          /* In case no auth types define it. */
--- 75,82 ----
  
  #ifdef GSSAPI
  #undef FUDGE_FACTOR
! #define FUDGE_FACTOR 68 /*It appears to add 52 byts, but I'm not usre it is a
constant--hartmans*/
! /* Increased from 64 to 68. With 3des PBSZ was 4 bytes to small */
  #endif /*GSSAPI*/
  
  #ifndef FUDGE_FACTOR          /* In case no auth types define it. */

> 
> Anyone seen this before ?
> Im not sure if its kerberos issue or a generic FTP config problem.
> 
> regards
> 
> Richard Jamieson.
> --------------
> 
> ftp -x server1.rich.com.
> 
> ftp> put MITkrb5.Solaris2.8.tar
> local: MITkrb5.Solaris2.8.tar remote: MITkrb5.Solaris2.8.tar
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for MITkrb5.Solaris2.8.tar.
> 535 Length (1048580) of PROT buffer > PBSZ=1048576
> 
> -----------
> 
> ----------------

-- 

 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444

home help back first fref pref prev next nref lref last post