Networking Forums

Networking Forums > Computer Networking > Linux Networking > ProFTPD Passive Transfers - Inexplicable Wierdness

Reply
Thread Tools Display Modes

ProFTPD Passive Transfers - Inexplicable Wierdness

 
 
Vincent
Guest
Posts: n/a

 
      11-30-2006, 03:47 PM
I wasn't sure where else to post this, so this seemed like a good spot.
One of our customers was having difficulties establishing an active
FTP connection with our server, so I decided to attempt a passive
connection. The passive connection worked, but I am a little confused
as to why. I am using the ProFTPD ftp server that comes included with
the ClarkConnect Gatway package. It was my understanding that passive
connections had to be explicitly configured. In other words, you would
have to open up a range of unprivileged ports on the router and direct
them to the ftp server. I haven't done this, but the ftp transfer is
working correctly. How is this possible? Is it possible that the
router is opening these ports up on the fly? A quick check of netstat
shows that the data connection has been opened up on unprivileged ports
on both sides. I just want to know how this is working. Thanks.

-Vincent

 
Reply With Quote
 
 
 
 
Andy Furniss
Guest
Posts: n/a

 
      12-01-2006, 01:48 PM
Vincent wrote:
> I wasn't sure where else to post this, so this seemed like a good spot.
> One of our customers was having difficulties establishing an active
> FTP connection with our server, so I decided to attempt a passive
> connection. The passive connection worked, but I am a little confused
> as to why. I am using the ProFTPD ftp server that comes included with
> the ClarkConnect Gatway package. It was my understanding that passive
> connections had to be explicitly configured. In other words, you would
> have to open up a range of unprivileged ports on the router and direct
> them to the ftp server. I haven't done this, but the ftp transfer is
> working correctly. How is this possible? Is it possible that the
> router is opening these ports up on the fly? A quick check of netstat
> shows that the data connection has been opened up on unprivileged ports
> on both sides. I just want to know how this is working. Thanks.


It could be the netfilter ftp conntrack/nat helpers - grep your .config
or maybe lsmod and see what shows up.

Andy.
 
Reply With Quote
 
jscape@gmail.com
Guest
Posts: n/a

 
      12-28-2006, 08:36 PM
I would suggest looking at the FTP server logs. The issue is likely
one of the following.

1. The machine your FTP server is on is behind a firewall and does not
have permission to connect to the active IP/port used by the FTP
client.

2. The client is behind a firewall and is unable to accept active
connections.

3. The client is using NAT and is reporting it's internal IP address
when sending the PORT command instead of the IP address of the external
NAT address.

In all cases look in your logs for the PORT command to see what IP/port
is being sent by the client. This will be in the following form

PORT x,x,x,x,y1,y2

x is the comma separated IP address and the port is (y1 * 256) + y2

Van Glass
JSCAPE
Managed File Transfer and Security Solutions
http://www.jscape.com/secureftpserver/

Vincent wrote:
> I wasn't sure where else to post this, so this seemed like a good spot.
> One of our customers was having difficulties establishing an active
> FTP connection with our server, so I decided to attempt a passive
> connection. The passive connection worked, but I am a little confused
> as to why. I am using the ProFTPD ftp server that comes included with
> the ClarkConnect Gatway package. It was my understanding that passive
> connections had to be explicitly configured. In other words, you would
> have to open up a range of unprivileged ports on the router and direct
> them to the ftp server. I haven't done this, but the ftp transfer is
> working correctly. How is this possible? Is it possible that the
> router is opening these ports up on the fly? A quick check of netstat
> shows that the data connection has been opened up on unprivileged ports
> on both sides. I just want to know how this is working. Thanks.
>
> -Vincent


 
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
Wifi Wierdness.. LVDave Wireless Networks 3 05-17-2006 08:48 PM
Outbound Wierdness quortex@hotmail.com Linux Networking 2 09-14-2005 08:17 PM
Configuring ProFTPD for passive mode D. Alvarado Linux Networking 1 10-11-2004 08:26 AM
Inexplicable DNS Richard Linux Networking 3 11-16-2003 06:07 PM
CIPE wierdness in RH7.3 Stuart D. Gathman Linux Networking 0 09-26-2003 04:51 PM



1 2 3 4 5 6 7 8 9 10 11