Re: FireWall and FTP server question
On Wed, Sep 01, 1999 at 10:37:07AM +0400, Alex V. Toropov wrote:
| Hi all,
|
| I have an FTP & WWW-server behind my firewall.
| This firewall allow any tcp trafic from/to ports 21 and 80 of this
| machine. WWW-server works fine, but connection to FTP-server
| hangs after user authentification (on first LIST request from client).
|
| As far as I know FTP needs some other port for DATA connection.
| I've tried to open port 20 on firewall as well, but it dosn't solve
| problems.
|
| Please tell me at what point I'm wrong?
|
| best Regards, Alex
|
| PS My ftp server is ftp.ct.spb.ru - if someone would like to examine
| problems.
Indeed your ftp service hangs. Yes, ftp uses port 20/21 usually.
Try setting passive mode on. Here's what I got after turning on debug,
and passive. Look familiar?
ftp> passive
Passive mode on.
ftp> ls
ftp: setsockopt (ignored): Permission denied
---> PASV
227 Entering Passive Mode (195,190,104,4,8,127)
---> LIST
125 Using existing ASCII mode data connection for /bin/ls (1155 bytes).
total 111814
drwxrw-rw- 1 root root 0 May 7 15:11 .
drwxrw-rw- 1 root root 0 May 7 15:11 ..
dr-x-w---- 1 root root 512 Sep 1 11:56 drivers
drwxrw-rw- 1 root root 0 Sep 10 1998 bin
drwxrw-rw- 1 root root 0 Aug 30 15:41 pub
drwxrw-rw- 1 root root 0 Jun 3 00:19 upload
drwxrw-rw- 1 root root 0 Apr 28 1998 Eltis
-rwxrw-rw- 1 root root 624073 Dec 1 1998 ad.zip
-rwxrw-rw- 1 root root 229376 Feb 7 1996 cw3220.dll
-rwxrw-rw- 1 root root 647168 Jan 27 20:14 EDialer_142.EXE
-rwxrw-rw- 1 root root 53884704 Dec 1 1998 fonts.zip
-rwxrw-rw- 1 root root 342039 Jun 3 1997 FTPX.EX_
-rwxrw-rw- 1 root root 197934 Mar 3 1997 FTPX.HL_
-rwxrw-rw- 1 root root 18469 Feb 20 1997 FTPXEXT.DL_
-rwxrw-rw- 1 root root 6719 Feb 7 1996 INETWH16.DL_
-rwxrw-rw- 1 root root 19894 Oct 21 1995 INETWH32.DL_
-rwxrw-rw- 1 root root 12452 Jun 3 1997 README.TXT
-rwxrw-rw- 1 root root 3257 Oct 13 1995 SETBROWS.EX_
-rwxrw-rw- 1 root root 248320 Feb 20 1997 SETUP.EXE
-rwxrw-rw- 1 root root 1005847 Nov 16 1994 WINSENSE.ZIP
226 Transfer complete. 1155 bytes in 0.02 sec. (56.396 Kb/s)
--
___
___ __ _ _ __ |_ )
/ -_) _` | ' \ / /
\___\__, |_|_|_/___|
|___/
Reply to: