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@xxxxxxxxxxx] > 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 > > >