Networking Forums

Networking Forums > Computer Networking > Linux Networking > ftp to FC3 box very slow.

Reply
Thread Tools Display Modes

ftp to FC3 box very slow.

 
 
Tom Cat
Guest
Posts: n/a

 
      03-16-2005, 09:03 PM
Hi,

I just installed FC3 on a test server. I managed to get vsftpd started.
However when I ftp from any box on the same network to the FC3 test
server the transfers are very very very slow. Actually it isn't really
the transfer, but the time it takes to connect to the next port.

Is there something i could have done wrong? What could cause this? Do
I need to play with iptables or something?

In setting up vsftpd, I only made two changes to the .conf file --
commented out the anon login and uncommented the local login.

Thanks

-Tom

 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      03-17-2005, 12:53 AM
On 16 Mar 2005 14:03:14 -0800, Tom Cat <(E-Mail Removed)> wrote:
> Hi,
>
> I just installed FC3 on a test server. I managed to get vsftpd started.
> However when I ftp from any box on the same network to the FC3 test
> server the transfers are very very very slow. Actually it isn't really
> the transfer, but the time it takes to connect to the next port.
>
> Is there something i could have done wrong? What could cause this? Do
> I need to play with iptables or something?


It is DNS timeout. Apparently Linux is having trouble resolving a name
for your client IP (which it does as a security check). Your ftp server
should have instructions about how to override that.

I personally run a caching nameserver (bind9), so I just added forward and
reverse zones for my LAN (per DNS HOWTO).
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      03-17-2005, 06:34 AM
In comp.os.linux.networking Tom Cat <(E-Mail Removed)>:
> Hi,


> I just installed FC3 on a test server. I managed to get vsftpd started.
> However when I ftp from any box on the same network to the FC3 test
> server the transfers are very very very slow. Actually it isn't really
> the transfer, but the time it takes to connect to the next port.


> Is there something i could have done wrong? What could cause this? Do
> I need to play with iptables or something?


No. The problems is vsftpd trying to (reverse) lookup host/IP
name of the client, which if not possible takes some time until
timeout occurs.

Possible solutions:

- Setup DNS for your LAN if your haven't, if so the FC3 box is
just missing the proper nameserver entry. (www.tldp.org) has a
great DNS Howto.

- Setup /etc/hosts. ('man 5 hosts')

- Use proftpd or alike ftp server which allows to switch of DNS
lookups. (vsftpd IIRC doesn't)

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 300: Digital Manipulator exceeding velocity
parameters
 
Reply With Quote
 
Tom Cat
Guest
Posts: n/a

 
      03-22-2005, 04:45 PM
Instead of embarking on the DNS idea as some have suggested, I just
shut down iptables during the transfer. The transfers then proceeded
at an amazingly fast speed.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exceptionally slow ping times, slow DNS lookup and slow download on router Martin Underwood Broadband 1 01-24-2007 12:05 AM
fast PC, slow on LAN, slow with Mac's. barret bonden Windows Networking 2 09-24-2006 03:21 PM
Slow Slow ADSL :( footwo Broadband 1 08-10-2005 02:21 PM
Slow domain logins and slow file copy from XP clients Moses Gross Windows Networking 1 06-10-2004 01:47 AM
Slow modem connection = slow broadband Jon Broadband 0 07-18-2003 08:32 AM



1 2 3 4 5 6 7 8 9 10 11