hi! I Installed the proxy on my server, all from inetd, to forward outgoing connections through the Server i've installed the proxy on. The conf file has this switches activated: [-Global-] AllowMagicUser yes DestinationAddress trick DestinationTransferMode passive PassiveMinDataPort 41000 PassiveMaxDataPort 41999 PortResetsPasv no # this i tested also with yes In this example i use the default server cazlled trick, dante is the Server with the proxy on. As u see, pwd works fine, but an ls blocks somehow, and after the timeout we are kicked out. [joe@192 joe]$ ftp dante Connected to dante. 220 dante FTP server (Version 1.7 - 1999/10/22 09:22:47) ready. Name (dante:joe): 331 Password required for joe. Password: 230 User joe logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/home/joe" is current directory. ftp> cd /tmp 250 CWD command successful. ftp> pwd 257 "/tmp" is current directory. ftp> ls 421 Service not available, remote server timed out. Connection closed ftp> I switched the dest ftpserver to debug mode, Jan 23 22:01:16 dante ftp-proxy[29263]: connect from 192.168.2.90 (192.168.2.90) Jan 23 22:01:47 trick wu.ftpd[15582]: connect from root@192.168.2.80 Jan 23 22:01:47 trick ftpd[15582]: <--- 220 Jan 23 22:01:47 trick ftpd[15582]: trick.sinatra.inka.de FTP server (Version wu-2.4.2-academ[BETA-15](1) Fri Nov 14 21:44:45 1997) ready. Jan 23 22:01:47 trick ftpd[15582]: command: USER joe^M Jan 23 22:01:47 trick ftpd[15582]: <--- 331 Jan 23 22:01:47 trick ftpd[15582]: Password required for joe. Jan 23 22:01:47 trick ftpd[15582]: USER joe Jan 23 22:01:50 trick ftpd[15582]: command: PASS password^M Jan 23 22:01:50 trick ftpd[15582]: PASS password Jan 23 22:01:50 trick ftpd[15582]: <--- 230 Jan 23 22:01:50 trick ftpd[15582]: User joe logged in. Jan 23 22:01:50 trick ftpd[15582]: FTP LOGIN FROM dante [192.168.2.80],joe Jan 23 22:01:50 trick ftpd[15582]: command: PWD^M Jan 23 22:01:50 trick ftpd[15582]: PWD Jan 23 22:01:50 trick ftpd[15582]: <--- 257 Jan 23 22:01:50 trick ftpd[15582]: "/home/joe" is current directory. Jan 23 22:01:50 trick ftpd[15582]: command: SYST^M Jan 23 22:01:50 trick ftpd[15582]: SYST Jan 23 22:01:50 trick ftpd[15582]: <--- 215 Jan 23 22:01:50 trick ftpd[15582]: UNIX Type: L8 Jan 23 22:01:57 trick ftpd[15582]: command: PWD^M Jan 23 22:01:57 trick ftpd[15582]: PWD Jan 23 22:01:57 trick ftpd[15582]: <--- 257 Jan 23 22:01:57 trick ftpd[15582]: "/home/joe" is current directory. Jan 23 22:02:05 trick ftpd[15582]: command: CWD /tmp^M Jan 23 22:02:05 trick ftpd[15582]: CWD /tmp Jan 23 22:02:05 trick ftpd[15582]: <--- 250 Jan 23 22:02:06 trick ftpd[15582]: CWD command successful. Jan 23 22:02:06 trick ftpd[15582]: command: PWD^M Jan 23 22:02:06 trick ftpd[15582]: PWD Jan 23 22:02:06 trick ftpd[15582]: <--- 257 Jan 23 22:02:06 trick ftpd[15582]: "/tmp" is current directory. Jan 23 22:02:07 trick ftpd[15582]: command: PWD^M Jan 23 22:02:07 trick ftpd[15582]: PWD Jan 23 22:02:07 trick ftpd[15582]: <--- 257 Jan 23 22:02:07 trick ftpd[15582]: "/tmp" is current directory. Jan 23 22:03:10 trick ftpd[15582]: <--- 221 Jan 23 22:03:10 trick ftpd[15582]: You could at least say goodbye. Jan 23 22:03:10 trick ftpd[15582]: FTP session closed I used the clients in passive mode and in active mode The very strange thing is, that the connect from a Windows Box worked... (Booooooooo) Whats wrong?? Has anybody an Idea???? All three Systems were Suse7 Installations. Hope for Help. Joerg -- Finagle's First Law: If an experiment works, something has gone wrong.
Hi! Where can I fund the current version? ftp://ftp.suse.com/pub/projects/ appears to be empty... :-( Regards, Martin
participants (2)
-
Joerg Kammerer
-
Martin Köhling