Proftpd: very slow ftp response
From NAS-2000.org
If your ftp connects to the box are very slow (sometimes 20 sec for the welcome message) and each command takes the same time, this is probably caused by a firewall or DNS timeout.
By default ProFTPD will try to do both DNS and ident lookups against the incoming connection. If these are blocked or excessively delayed a slower than normal login will result.
To turn off DNS and ident you need to change /usr/hddapp/etc/proftpd.conf
1. connect via Telnet on the NAS (as root).
2. in the command line enter: vi /system/hddapp/etc/proftpd.conf
3. type shift+a (append at end of line) or i (insert before cursor) to enter the edit mode and add the following lines:
UseReverseDNS off IdentLookups off
4. type ESC shift+zz to exit with saving the file. If you don't like to save you can exit without saving with: ESC : q !.
5. reboot ...... READY!!!
Note: if you have the original Raidsonic firmware the changes get lost after reboot. This can be solved using the "do_it" package.