OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: jobhopper Pascal Ehlig (pehligjobhopper.de)
Date: Wed Mar 07 2001 - 09:47:25 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hy,
    First of all its right... RINETD cant redirect ftp data couse it uses another socket and this socket wasnt known by the firewall so it bounces...

    you should use Suse-Proxy-Suite (sorry i dont know the packetnr.)

    Pascal Ehlig

    ----- Original Message -----
      From: Ka Kit Yick
      To: suse-securitysuse.com
      Sent: Wednesday, March 07, 2001 4:33 PM
      Subject: [suse-security] Redirect ftp traffic to an IIS4 ftp server

      Hi all,

      I'm using SuSE 6.4 with firewals-2.0-12. I need to redirect outside ftp traffic to an internal iis4 ftp server.

      Let said that the external address of the firewall is 12.34.56.80 and the address of the internal ftp server is 172.20.0.80.

      I use Rinetd to redirect the traffic with the following line :
      12.34.56.80 20 172.20.0.80 20
      12.34.56.80 21 172.20.0.80 21

      I try to connect to the server using CuteFTP. In PASV mode, it says "Connection data socket..." but it never get through. And in active mode, it says "500 Invalide PORT Command".

      I know that in rinetd manual, it says that rinetd cannot redirect ftp traffic because it uses more than one socket. Is there any solution, without changing to whole thing?

      Thanks

      Ka Kit Yick