[Fixed in rc4] FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

[Fixed in rc4] FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#1 Post by boco » 2021-07-18 14:39

I did transfer files from FileZilla Server, using FileZilla 3.55.0 on another PC. Four of the items were multi-GB ISO files. All four of these failed the checksum verification. The files all transferred using TLS 1.3, so, they should be integrity-protected. Data type was Auto and ISO was NOT on the list of files to transfer as ASCII. The strangest thing: No error was mentioned and all marked as successful.

Currently I'm trying to find out what's going on. The target files are always a few KBs bigger.


When I switched to FileZilla Server 0.9.60.2, all files transferred perfectly every time.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#2 Post by boco » 2021-07-18 15:35

Analyzing the nature of corruption.

In fact, the files are not corrupted at all, but the transfer adds 81920 (exactly 80KiB) to the very beginning of the file. Cutting that stub with a hex editor leaves the rest of the file bit-identical to the source one.

Next trying a transfer in the opposite direction (uploading towards the server).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 35492
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#3 Post by botg » 2021-07-18 19:20

That's a weird one. And why specifically 80KiB, such an odd number.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#4 Post by boco » 2021-07-18 20:19

I'm still in tests. What excludes the hardware is:

1. I have tested it to Marrakesh and back.
2. It is only the unwanted addition. Not a single bit is shifted in the rest of the file.
3. FileZilla Server 0.9.60.2 works flawless every time (using it for a long time now).

Suspicions:
1. Buffer clearing issue?
2. TLS 1.3, the only real major change from old FileZilla (feature-wise).
3. TPM 2.0 chip acting up?
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 35492
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#5 Post by botg » 2021-07-19 09:09

It's a buffer clearing issue.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#6 Post by boco » 2021-07-19 14:04

Did you find it or do I have to conduct more tests? It unfortunately seems to be a sporadic problem and not occurring every session. Would have been too easy.

The stub is simply gibberish (probably parts of a file transferred earlier or in parallel, I always use 4 simultaneous transfers).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 35492
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#7 Post by botg » 2021-07-19 14:46

Please update to rc4.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#8 Post by boco » 2021-07-19 18:32

Will do.

Just a note concerning the SHA512 file, it is probably built automatically and the server source code checksum has the original path not stripped away.

Code: Select all

e4ef8482215afc2057ae50ebe36fcbbb4ac107ed01d3ffd45eb5c14c32c0261e351bdffe1a3d7adde14caf7a6399d92251a7513147c34bd38cb802836877db60 */home/nightlybuild/output/releases_server/files/FileZilla_Server_1.0.0-rc4_src.tar.bz2
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 35492
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla Server 1.0.0-rc3 - Bigger files don't transfer correctly?

#9 Post by botg » 2021-07-19 22:05

This bloody build system. If it weren't me who created it, I'd blame the one who created it.

The file is definitely created with without absolute paths at some point. I wonder where it is being overwritten.

Post Reply