[14618] 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 (Richard Jamieson)
Tue Jul 3 14:05:31 2001

To: "Douglas E. Engert" <deengert@anl.gov>
Cc: kerberos@MIT.EDU
From: "Richard Jamieson" <richard.jamieson@db.com>
Date: Tue, 3 Jul 2001 19:01:01 +0000
Message-ID: <OFE89B900B.624E1CB5-ON00256A7E.00683295@db.com>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii

Worked !

Thanks a lot Douglas.

Richard J.


---------------------------------------- Message History ----------------------------------------


From: "Douglas E. Engert" <deengert@anl.gov> on 02/07/2001 13:28 EST

To:   Richard Jamieson/DMGIT/DMG UK/DeuBa@DMG UK
cc:   kerberos@MIT.EDU
Subject:  Re: Cant  FTP large files:  PBSZ / PROT-buffer problem ?




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





--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


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