Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.