wu-ftpd slow
I have wu-ftpd installed on my Redhat 7.3 box. The box sits behing a linksys router and is accessible to the web through the router's DMZ function. When I try to connect to it to ftp a file, the connection opens right away but takes 10-30 seconds to ask for the usernname. I have read several threads that point to a reverse dns lookup issue, but none of them suggest what to do to fix it. Anybody know how to fix it?
|
In your xinetd.conf edit the ftp service entries as follows. You can just replace your existing with the following.
service ftp { flags = REUSE socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/in.ftpd server_args = -l -a -u 002 -I log_on_success += DURATION HOST PID log_on_failure += HOST PID nice = 10 } It has to do with the HOST PID on success and Failure. I also put -I on the end of server args. This fixed it for my box. |
All times are GMT -5. The time now is 11:49 AM. |