www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Slow FTP Upload

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking
View previous topic :: View next topic  
Author Message
ale.yanag



Joined: 01 Mar 2010
Posts: 5

PostPosted: Mon Mar 01, 2010 3:43 am    Post subject: Slow FTP Upload Reply with quote

Im new in Zeroshell and Im having problems to connect to FTP servers.
I can connect but when Im uploading a file, the speed starts to drop until the connection dies. Does anyone have any suggestions? Thanks in advance.
Back to top
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Mar 01, 2010 8:06 am    Post subject: Reply with quote

Hey there!
How about posting here some info about the upload connection, such as QoS, Firewall, type of wan, netbalancer etc... ?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ale.yanag



Joined: 01 Mar 2010
Posts: 5

PostPosted: Mon Mar 01, 2010 12:59 pm    Post subject: Reply with quote

Hi, I didnt make any special configuration to make this work.
Ive tried with QoS on defaut class, on and off, without any changes in both cases.
The connection is made through port 21, using PASV (passive), Wan is a direct connection with fixed IP, net balancer is set to direct clients directly to this connection, without load balancing.
The other applications work normally, even FTP clients when listing folders or downloading. Just on uploads the connection starts with full speed (link speed) and immediatelly starts to fall until reaches 0kbs. Then I receive an error from FTP client and I have to reconnect to FTP server.

The only rule added to Firewall is:
ACCEPT all opt -- in ETH00 out ETH01 0.0.0.0/0 -> 0.0.0.0/0
(In chain Forward - using ZS interface).

Hope this helps to clarify. Thanks!
Back to top
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Mar 01, 2010 1:32 pm    Post subject: Reply with quote

If you use another router other than ZeroShell do you face the same issue? For example with a aDSL router, or a PC directly connected on the WAN line.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ale.yanag



Joined: 01 Mar 2010
Posts: 5

PostPosted: Mon Mar 01, 2010 1:36 pm    Post subject: Reply with quote

No, seems this problem just ahppens with Zeroshell.
Back to top
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Mar 01, 2010 1:47 pm    Post subject: Reply with quote

Download and install the iptraf patch from http://www.zeroshell.net/eng/patch-details/
Then try to do the same upload with the iptraf turned on and nothing else running to verify that nothing else uses the network.
Run iptraf, then select "IP traffic monitor" and select your WAN interface. You should now only see the ftp flow. After the FTP is finished tell us what the behavior was.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ale.yanag



Joined: 01 Mar 2010
Posts: 5

PostPosted: Mon Mar 01, 2010 1:56 pm    Post subject: Reply with quote

Thanks!

Ill try this and post the results later.
Back to top
View user's profile Send private message
ale.yanag



Joined: 01 Mar 2010
Posts: 5

PostPosted: Sat Mar 06, 2010 3:56 am    Post subject: Reply with quote

Problem solved, I checked the logs and I found errors that are caused by some network card incompatibility. The card was a Zilan, now Im using a Realtek 8138d and the problem stopped.

Thanks for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group