FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2009-11-20 23:15

All times are UTC




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 17:18 
Offline
500 Command not understood

Joined: 2008-07-07 17:09
Posts: 4
I can't open the folders (subfolders) on my directory. The folders have a question mark (?) over the folder. When I click on the folder there's an error with decryption or something and then I get disconnected. Can anyone help me? The log shows error messages:

Status: Connecting to files.chartercom.com:22...
Response: fzSftp started
Command: open "Conmap@files.chartercom.com" 22
Command: Pass: ********
Status: Connected to files.chartercom.com
Status: Retrieving directory listing...
Command: pwd
Response: Current directory is: "/"
Command: ls
Status: Listing directory /
Status: Calculating timezone offset of server...
Command: mtime "Belleville"
Response: 1214573276
Status: Timezone offsets: Server: -18056 seconds. Local: -14400 seconds. Difference: 3656 seconds.
Status: Directory listing successful
Status: Retrieving directory listing...
Command: cd "/StPeters"
Response: New directory is: "/StPeters"
Command: ls
Status: Listing directory /StPeters
Error: Incoming packet was garbled on decryption
Error: Failed to retrieve directory listing


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 17:35 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 11736
Which SSH server (product + version) are you using?


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 18:35 
Offline
500 Command not understood

Joined: 2008-07-07 17:09
Posts: 4
I'm not sure what you're asking exactly. I'm new to this application. SFTP - SSH transfer protocol?


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 19:16 
Offline
226 Transfer OK

Joined: 2005-11-02 06:41
Posts: 618
No, "what is the server?" means the flavor of SSHd you're connecting to. OpenSSH 5.0 on Linux? VShell 3.0 on Windows? Most servers identify themselves when you first connect.

Either the server is sending bad packets, something is relaying bad packets (like a firewall), or FileZilla is decoding bad packets (pretty unlikely or there would be a lot more reports of this).


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 19:48 
Offline
500 Command not understood

Joined: 2008-07-07 17:09
Posts: 4
I'm not sure what server we're connecting to. I'm a contractor for Charter Cable, and connecting to their server to access maps. So, I have no idea what kind of server they're using, but I'll try to find out and post it. Thanks for your help.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 20:04 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 6444
Location: Germany
Look at the log, usually it's in the welcome message.

_________________
Server woes? Getting a 425? Please read the Network Configuration Guide, the answer to most connection problems.
Browsers are no FTP clients! They are designed for basic public FTP only.
I will give NO support per PM, please post on the forums.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 20:08 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 11736
For SFTp connections you need to set debug level to 3 to show the details.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 20:22 
Offline
500 Command not understood

Joined: 2008-07-07 17:09
Posts: 4
okay. I set the debug level to 3, connected, and log as follows:

Status: Connecting to files.chartercom.com:22...
Trace: Going to execute "C:\Program Files\FileZilla FTP Client\fzsftp.exe"
Response: fzSftp started
Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: open "Conmap@files.chartercom.com" 22
Trace: Looking up host "files.chartercom.com"
Trace: Connecting to 24.217.29.215 port 22
Trace: Server version: SSH-2.0-1.36 sshlib: GlobalScape
Trace: Using SSH protocol version 2
Trace: We claim version: SSH-2.0-PuTTY_Local:_Jul__5_2008_14:32:13
Trace: Using Diffie-Hellman with standard group "group1"
Trace: Doing Diffie-Hellman key exchange with hash SHA-1
Trace: Host key fingerprint is:
Trace: ssh-dss 1024 7d:0c:b2:26:89:60:a7:f0:d0:bf:2d:b6:40:71:fa:fb
Trace: Initialised AES-256 CBC client->server encryption
Trace: Initialised HMAC-SHA1 client->server MAC algorithm
Trace: Initialised AES-256 CBC server->client encryption
Trace: Initialised HMAC-SHA1 server->client MAC algorithm
Command: Pass: ********
Trace: Sent password
Trace: Access granted
Trace: Opened channel for session
Trace: Started a shell/command
Status: Connected to files.chartercom.com
Trace: CSftpControlSocket::ConnectParseResponse()
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Retrieving directory listing...
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ChangeDirSend()
Command: pwd
Response: Current directory is: "/"
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CSftpControlSocket::ParseSubcommandResult(0)
Trace: CSftpControlSocket::ListSubcommandResult()
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ListSend()
Command: ls
Status: Listing directory /
Trace: CSftpControlSocket::ListParseResponse()
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ListSend()
Status: Calculating timezone offset of server...
Command: mtime "Belleville"
Response: 1214573276
Trace: CSftpControlSocket::ListParseResponse(1214573276)
Status: Timezone offsets: Server: -18056 seconds. Local: -14400 seconds. Difference: 3656 seconds.
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Directory listing successful


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 20:44 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 11736
http://www.chiark.greenend.org.uk/~sgta ... axpkt.html:

Excerpt:
Quote:
When using one SSH-2 server, identifying itself as "1.36_sshlib GlobalSCAPE", PuTTY reports "Incoming packet was garbled on decryption". This was originally reported as a bug in FileZilla, and turns out to be a bug in the server.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-07 21:22 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 11736
It appears your broken server uses a slightly different version string. I've forwarded this to the PuTTY developers.

In any case, you should consider upgrading to a proper server. Personally I'd use the port of OpenSSH included in Cygwin as SFTP server.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-08 04:06 
Offline
226 Transfer OK

Joined: 2005-11-02 06:41
Posts: 618
If he's a contractor, the chances of him getting IT to rebuild the server from Globalscape SFTPd (which costs about $1200 and trivially integrates into a Windows domain) for OpenSSH via Cygwin (which is pretty horrible and difficult to administer from an IT perspective, especially if you want to use ) are somewhere between zero and none. He should decidedly report the bug to IT, but I'm willing to bet money they won't change it. The amount of money they save by not needing to administer the server is more than the cost of the Windows Server and GS license. That's why Windows is popular.

You'll be further along to get an SFTP client from Charter when you complain about the bug. They should give you a copy of CuteFTP Pro or similar which should work with their broken implementation.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-08 07:37 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 11736
Nice example of vendor lock-in.


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-07-08 07:50 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 6444
Location: Germany
botg wrote:
Nice example of vendor lock-in.

And another point pro Open Source.

_________________
Server woes? Getting a 425? Please read the Network Configuration Guide, the answer to most connection problems.
Browsers are no FTP clients! They are designed for basic public FTP only.
I will give NO support per PM, please post on the forums.


Top
 Profile  
 
 Post subject: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-08-06 19:34 
Offline
500 Command not understood
User avatar

Joined: 2008-08-06 18:39
Posts: 4
I get the same problem when I connect via
SFTP - SSH File Transfer Protocol
using FileZilla 3.0.4.1, FileZilla 3.1.0.1, FileZilla Unstable 3.1.1-rc1 or generally FileZilla 3.x:

Error: Incoming packet was garbled on decryption
Error: Failed to retrieve directory listing


The server I connect to is GlobalSCAPE Secure FTP Server 3.14 with SFTP extension.

The error is only generated when trying to list folders with more than 209...215 or more subdirectories in it.
Maybe depending on the length of the subdirectory names?

The restriction to use Blowfish as the only encryption algorithm didn't help.

I get no problems with FileZilla 2.2.22, FileZilla 2.2.29, FileZilla 2.2.32 or generally FileZilla 2.x
Any FileZilla 2.x version is able to list a folder with about 2300 subdirectories.

Where is the bug?
Kevin


Top
 Profile  
 
 Post subject: Re: Incoming Packet Was Garbled On Decryption
PostPosted: 2008-08-06 22:11 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 11736
Got logs? (Set debug level to 3)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Server sponsored by Hetzner Online AG