Re: [Proftpd-user] mod_sftp slowness - how can I track this down

Matus UHLAR - fantomas <[email protected]> Wed, 17 Feb 2021 10:37:14 +0100
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
On 16.02.21 13:47, Michel van der List wrote:
>I recently upgraded a machine to RedHat 8 and used the provided
>proftpd rpm. This installs version 1.3.6e with some patches. I
>use the mod_sftp module to provide access to a small number of
>people. Prior to this version of the OS, on RedHat 7, this worked
>just fine (version 1.3.5e). However, on this version, browsing
>directories and accessing file using the OpenSSH_8.4 sftp client
>is dreadfully slow.

what exactly is slow, connecting, transferring files, listing directories?

is it also slow when trying plain ftp?

>I tried bunch of things, such as FSCachePolicy, FSOptions,
>turning off SFTPExtensions, different advertized SFTPDigests and
>SFTPCiphers, changed channelWindowSize, channelPacketSize, but
>nothing seems to help. I turned on the Tracelog but that did not
>tell *me* anything, though there's information there that
>I don't understand.
>
>I then created an updated rpm for version 1.3.7a and I get the
>same thing.
>
>Before I go off and downgrade to 1.3.5e (which I'd have to
>recreate an RPM) I'm curious to know if there's anything I can
>do to track this down. Of course I'm also curious if downgrading
>would fix this anyway, or if there's something else that's
>getting in the way.

>SFTPExtensions -checkFile -copyFile -fsync -vendorID -versionSelect -posixRename -spaceAvailable -statvfs -hardlink -xattr

did you just disable everything in attempt to make it faster?

>SFTPDigests hmac-md5 hmac-sha1 hmac-sha2-256 hmac-sha2-512 \
>    hmac-ripemd160 hmac-sha1-96 hmac-md5-96 [email protected] \
>    [email protected]
>SFTPCiphers aes128-cbc 3des-cbc blowfish-cbc cast128-cbc arcfour128 \
>              arcfour256 aes192-cbc aes256-cbc aes128-ctr aes192-ctr aes256-ctr
>SFTPCompression on

I would start with disabling compression.
then I'd disable CBC ciphers, md5 and sha1 digests.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I don't have lysdexia. The Dog wouldn't allow that.


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html