VSFTP - uploaded files get scrambled
My Debian (Etch) server has vsftpd installed on it and everything seems to be working correctly, except this scrambling problem.
When remote users upload, say an mp3 file, it gets jumpy and incorrectly put together on the server.
I imagine it could be a bad connection or something, maybe bad NICS. I'm trying it on another NIC now.
My remote friend tells me he gets kicked a lot of times, the connection times out etc.
I am was behind a OpenBSD box yesterday but installed pfSense, in case that was the problem, but it wasn't.
Does anyone have an idea how to fix this or how to troubleshoot it?
Here is my vsftp.conf
# Debian customization
The time out was the default 300 sec, last time my friend tried,
I don't know if it will help.
I'm also using XFS on the partition with the ftp directory.
I've tried withe to different friends, and it's the same problem with both of them.
Any help would be greatly appreciated, as I've been looking into sftp with chroot etc, but that's a lot of hassle.
I would rather just get this working.
And if this thread does not belong in the networking forum, please move it. I just thought it would be the most appropriate place to post it.
This could have any of a large number of possible causes. Your server might be overloaded. You might have problems with hardware. Your friend might have problems with his computer.
The first thing that I would do is check the system logs to see if there are messages that would help determine what is going wrong. Depending on how your system is configured you should look in /var/log/messages and /var/log/syslog at a minimum.
I would install Wire Shark (formerly Ethereal) and watch the packets.
You should run Wire Shark on all of the computers involved, not necessarily at the same time.
If you have a lot of dropped packets + a lot of packets out of order you may have a bad NIC somewhere in the path between your server and your client for example.
You can also try other things like running ping for a long time between the client and the server. See if the traffic is smooth or intermittent.
You can also try enabling other network services on the server and testing their performance. The client could pound away at services like finger or rwho or other things that normally should not be enabled. Again you would be watching packets via Wire Shark looking for dropped packets, corrupt packets, retransmitted packets, out of order packets, and delays.
That's where I would start.
Thanks for the reply.
I have looked in the logs etc. but there doesn't seem to be any error messages.
I figure it might be easier to try to set up rssh instead of the troubleshooting, so maybe I'll try that first.
But anyway, thanks for the reply.
|All times are GMT -5. The time now is 11:13 AM.|