Networking Forums

Networking Forums > Computer Networking > Linux Networking > FTP problem with data connection

Reply
Thread Tools Display Modes

FTP problem with data connection

 
 
Martin
Guest
Posts: n/a

 
      09-19-2004, 09:36 PM
Some of our users have problem with the data connection using our ftp
services. They can login fine to the ftp servers but get "Getting file
list - timout" and similar errors when starting the data connections.

Our environment is:
FIREWALL: Linux box with Debian Woody and LDirectorD for the port
redirection to our servers on the inside. Port 20 and 21 are fully
open as far as we can see.
FTP SERVERS: One Windows 2000 server and another with Linux (same
problem connecting to both so probably the problem has to do with the
Firewall)

It does work fine from many clients out there but too many clients do
have problems. It would be easy to blame the client computer for bad
configured firewalls and so on, but faxt is that they can succesfully
connect to many different ftp-servers except ours, so something must
be wrong at our side.

Do you need more information, please ask and I will give it to you.

Anyone with a suggestion would be great.

Sincerely
Martin Rådbo
Teknologia
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      09-20-2004, 07:49 AM
Martin wrote:
> Some of our users have problem with the data connection using our ftp
> services. They can login fine to the ftp servers but get "Getting file
> list - timout" and similar errors when starting the data connections.
>
> Our environment is:
> FIREWALL: Linux box with Debian Woody and LDirectorD for the port
> redirection to our servers on the inside. Port 20 and 21 are fully
> open as far as we can see.
> FTP SERVERS: One Windows 2000 server and another with Linux (same
> problem connecting to both so probably the problem has to do with the
> Firewall)
>
> It does work fine from many clients out there but too many clients do
> have problems. It would be easy to blame the client computer for bad
> configured firewalls and so on, but faxt is that they can succesfully
> connect to many different ftp-servers except ours, so something must
> be wrong at our side.
>
> Do you need more information, please ask and I will give it to you.
>
> Anyone with a suggestion would be great.
>
> Sincerely
> Martin Rådbo
> Teknologia


This is a common problem with clients using a NAT connection,
and the NAT unaware of the association of the two FTP ports. The
standard FTP is trying to open the data connection to the client,
and the NAT box does not understand to send the request to
the correct host behind the router.

There are two ways to attack the problem:

- get better NAT boxes,
- use passive FTP.

Passive FTP opens the data connection from the client end,
and it passes even a crippled NAT easily. However, the
FTP server and client must support passive mode.

HTH

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
Martin
Guest
Posts: n/a

 
      09-20-2004, 07:34 PM
The need for the client to use passiv mode is well known. (i.e.
normally when people have problem using the ftp you tell them to try
passiv mode and everything works fine.

But our problem is more complex. Our "problem users" do use passiv ftp
and they try with different ftp programs but still can not get the
data connection to work. But they can easily connect and send files to
many other ftp servers out there, so we can not blame them for totally
missconfigured firewalls.
Normally they use some broadband like ADSL and a home user
firewall/router like Netgear or Dlink broadbandrouters with settings
of everything allowed from the inside and out.

Any other suggestions?

// Martin

Tauno Voipio <(E-Mail Removed)> wrote in message news:<XXv3d.70$(E-Mail Removed)>...
> Martin wrote:
> > Some of our users have problem with the data connection using our ftp
> > services. They can login fine to the ftp servers but get "Getting file
> > list - timout" and similar errors when starting the data connections.
> >
> > Our environment is:
> > FIREWALL: Linux box with Debian Woody and LDirectorD for the port
> > redirection to our servers on the inside. Port 20 and 21 are fully
> > open as far as we can see.
> > FTP SERVERS: One Windows 2000 server and another with Linux (same
> > problem connecting to both so probably the problem has to do with the
> > Firewall)
> >
> > It does work fine from many clients out there but too many clients do
> > have problems. It would be easy to blame the client computer for bad
> > configured firewalls and so on, but faxt is that they can succesfully
> > connect to many different ftp-servers except ours, so something must
> > be wrong at our side.
> >
> > Do you need more information, please ask and I will give it to you.
> >
> > Anyone with a suggestion would be great.
> >
> > Sincerely
> > Martin Rådbo
> > Teknologia

>
> This is a common problem with clients using a NAT connection,
> and the NAT unaware of the association of the two FTP ports. The
> standard FTP is trying to open the data connection to the client,
> and the NAT box does not understand to send the request to
> the correct host behind the router.
>
> There are two ways to attack the problem:
>
> - get better NAT boxes,
> - use passive FTP.
>
> Passive FTP opens the data connection from the client end,
> and it passes even a crippled NAT easily. However, the
> FTP server and client must support passive mode.
>
> HTH
>
> Tauno Voipio
> tauno voipio (at) iki fi

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      09-20-2004, 08:15 PM
Martin wrote:
>
>>Martin wrote:
>>
>>>Some of our users have problem with the data connection using our ftp
>>>services. They can login fine to the ftp servers but get "Getting file
>>>list - timout" and similar errors when starting the data connections.
>>>
>>>Our environment is:
>>>FIREWALL: Linux box with Debian Woody and LDirectorD for the port
>>>redirection to our servers on the inside. Port 20 and 21 are fully
>>>open as far as we can see.
>>>FTP SERVERS: One Windows 2000 server and another with Linux (same
>>>problem connecting to both so probably the problem has to do with the
>>>Firewall)
>>>
>>>It does work fine from many clients out there but too many clients do
>>>have problems. It would be easy to blame the client computer for bad
>>>configured firewalls and so on, but faxt is that they can succesfully
>>>connect to many different ftp-servers except ours, so something must
>>>be wrong at our side.
>>>
>>>Do you need more information, please ask and I will give it to you.
>>>
>>>Anyone with a suggestion would be great.
>>>
>>>Sincerely
>>>Martin Rådbo
>>>Teknologia

>>

> Tauno Voipio <(E-Mail Removed)> wrote in message news:<XXv3d.70$(E-Mail Removed)>...
>
>>This is a common problem with clients using a NAT connection,
>>and the NAT unaware of the association of the two FTP ports. The
>>standard FTP is trying to open the data connection to the client,
>>and the NAT box does not understand to send the request to
>>the correct host behind the router.
>>
>>There are two ways to attack the problem:
>>
>> - get better NAT boxes,
>> - use passive FTP.
>>
>>Passive FTP opens the data connection from the client end,
>>and it passes even a crippled NAT easily. However, the
>>FTP server and client must support passive mode.
>>


> The need for the client to use passive mode is well known. (i.e.
> normally when people have problem using the ftp you tell them to try
> passiv mode and everything works fine.
>
> But our problem is more complex. Our "problem users" do use passiv ftp
> and they try with different ftp programs but still can not get the
> data connection to work. But they can easily connect and send files to
> many other ftp servers out there, so we can not blame them for totally
> missconfigured firewalls.
> Normally they use some broadband like ADSL and a home user
> firewall/router like Netgear or Dlink broadbandrouters with settings
> of everything allowed from the inside and out.
>
> Any other suggestions?
>


Could the clients have boxes that do not understand ECN (Explicit
Congestion Notification), but the server is using it?

Tauno Voipio
tauno voipio (at) iki fi


 
Reply With Quote
 
Martin
Guest
Posts: n/a

 
      10-01-2004, 04:19 PM
The server is not using ECN so I don't think that is the problem.

Anyone else having a suggestion?

// Martin
 
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
FTP 450 Error during write to data connection Will Windows Networking 0 03-14-2007 12:14 AM
ADSL DATA problem (loss of connection) with Belkin F5D7630-4A 50295@web.de Home Networking 4 08-11-2005 01:53 AM
not able to receive data over the VPN connection =?Utf-8?B?SVRUZXN0ZXI=?= Broadband Hardware 0 12-31-2004 06:15 PM
How do I transfer data over wifi connection Bill Rosoman Linux Networking 8 09-21-2004 01:43 AM
connection is good, but no data transfer Don Silver Windows Networking 3 12-11-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11