From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sean E. Covel" Subject: RE: FTP/SSL Date: Thu, 16 Oct 2003 14:39:19 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1066329559.22220.27.camel@localhost> References: <7C9884991ADAE0479C14F10C858BCDF52E373F@alderaan.smgtec.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7C9884991ADAE0479C14F10C858BCDF52E373F@alderaan.smgtec.com> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Daniel Chemko Cc: NetFilter-List So am I correct that the only option is to open a large chunk of ports so that the data connection can be established? This seems like 2 steps forward and 1 step back! On Thu, 2003-10-16 at 14:00, Daniel Chemko wrote: > By design, these protocols cannot be conntracked. > > -----Original Message----- > From: Sean E. Covel [mailto:seanecovel@comcast.net] > Sent: Thursday, October 16, 2003 10:31 AM > To: NetFilter-List > Subject: FTP/SSL > > Is there any way to do connection tracking for incoming connections to > an FTP/SSL server? I'm using a Bering (leaf.sourceforge.net) > mini-distro that uses the Shorewall firewall (www.shorewall.net). > > My firewall has both ip_net_ftp and ip_conntack_ftp, but as we all know, > these don't work for FTP/SSL. > > I am attempting to port-forward the FTP/SSL connection from the firewall > machine to a server in a service network. The "command" connection on > port 21 works just great, but when I try to GET, PUT, or LS a file, > basically anything that uses the data connection, the firewall blocks > the connection. It appears that FTP/SSL uses a high port -> high port > connection for the data connection. > > One possible solution (which I don't like!) is to open a large range of > high ports in the firewall. This seems a bit primitive. There must be > a way to associate the initial port 21 connection with the subsequent > high-port connection. > > Thanks for your help, > > Sean > > >