Hi,

Thanks for the reply.  We've confirmed the issue also exists against the SFTP 
server in the Cerebus FTP Server software (http://www.cerberusftp.com/) and 
that the latest 0.1.51.rc7 version does fix this issue which is great.  I have 
a couple questions because I want to implement this fix in our environment soon.

Would it be safe for me to patch in the change (the commented out line of code) 
from ChannelSftp.put(..) into 0.1.49? or are there additional changes directly 
related to this that need to be updated elsewhere?

What are your expectations for a release date of the stable 0.1.51?  

Regards,
Erick

-----Original Message-----
From: Atsuhiko Yamanaka [mailto:y...@jcraft.com] 
Sent: Wednesday, February 12, 2014 12:54 AM
To: Erick Lichtas
Cc: jsch-users@lists.sourceforge.net
Subject: Re: [JSch-users] Issues uploading to ProFTPd with mod_sftp

Hi,

   +-From: Erick Lichtas <elich...@linoma.com> --
   |_Date: Thu, 3 Oct 2013 21:20:10 +0000 _______
   ...
   |I have the following setting configured in my proftpd config as
   |recommended by the link below.
   |SFTPClientMatch ".*JSCH.*" channelWindowSize 1GB
   |https://forums.proftpd.org/smf/index.php?topic=3D4616.0

This is an off-topic, but we have found the reason why that config is required 
for ProFTPd.  It seems, by the default, ProFTPd will choose 4GB for its 
channelWindowSize, and JSch's sftp channel will be stopped in uploading huge 
data to ProFTPd.  We hope the following version will work well without such a 
config for ProFTPd.
  http://www.jcraft.com/jsch/jsch-0.1.51-rc7.zip

We have planned to release that version as the next formal one.
It has following changes,
Changes since version 0.1.50:
- bugfix: reproducibility of "verify: false".   FIXED.
          Hundreds of thousands connections had caused that exception.
- bugfix: resource leaks at the failure of making local port forwarding. FIXED.
- bugfix: NPE in connecting to the non-standard TCP port.  FIXED.
          This problem had appeared if a host-key does not exist in
          "known_host" file.
- bugfix: TCP connection may not be dropped if error messages from
          the remote are too long.                          FIXED.
- bugfix: SftpATTRS#getAtimeString() returns the wrong string. FIXED.
- bugfix: bytes to be added by SSH_MSG_CHANNEL_WINDOW_ADJUST must be in
          unsigned integer. FIXED.
- bugfix: Util.checkTilde() should not convert a tilde in
          "C:\PROGRA~1\". FIXED.
- bugfix: A long long command for ChannelExec will cause
          an ArrayIndexOutOfBoundsException. FIXED.
- bugfix: ChannelSftp should not send bulk request greedily even if the remote
          window has the enough space.  FIXED.
- bugfix: Util.createSocket() should throw an exception with 'cause'. FIXED.
- bugfix: failed to parse .ssh/config in the EBCDIC environment. FIXED.
- bugfix: com.jcraft.jsch.jcraft.HMACSHA1(used only for MacOSX) is not
          reusable.  FIXED.
- bugfix: NPE caused by the delayed response for channels.  FIXED.
- bugfix: hung-up in uploading huge data to ProFTPd without the config
          'SFTPClientMatch "JSCH.*" channelWindowSize 1GB'  FIXED.
- change: com.jcraft.jsch.jcraft.HMAC* will not be used.
          It seems Java6 on Mac OS X has fixed some memory leak bug in JCE,
          so there is no reason to use c.j.j.jt.HMAC* introduced at 0.1.30.
- change: updating copyright messages; 2013 -> 2014
- feature: added the support for private keys in PKCS#8 format.


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk



------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to