Re: [Proftpd-user] 1.3.7e + openssl 3.0.2 on Ubuntu 22.04 LTS large file problem?
"TJ Saunders" <[email protected]> Fri, 31 Mar 2023 14:48:27 -0700
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
> I've had a customer run into a problem where they tried uploading
> files larger than 2gb to our Ubuntu 22.04 LTS server, where I had
> self-compiled proftpd 1.3.7e (but most likely on 21.04!) and they
> would randomly break when sending files.
>
> I'm really only using mod_sftp on this host to allow customers to
> send/get files from us.
There aren't any ProFTPD-imposed file size limitations by default. That said, for SFTP transfers, some clients do not handle rekeying well (a similar phenomenon occurs for FTPS clients and renegotiations). And the default behavior for mod_sftp is to request rekeying after 1 hour, or 2GB, whichever comes first:
http://www.proftpd.org/docs/contrib/mod_sftp.html#SFTPRekey
So as an initial guess/experiment, you see if disabling SFTP rekeying improves (or at least changes) the situation:
<IfModule mod_sftp.c>
...
SFTPRekey none
</IfModule>
Hope this helps,
TJ
_______________________________________________
ProFTPD Users List <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html