Re: Strange problems with FTP - please, help!

Koos van den Hout <[email protected]> Wed, 4 Aug 2004 10:39:38 +0200
Newsgroups gmane.network.ftp.wuftpd.user
Organization Koos van den Hout private node
Message-ID <[email protected]>
Quoting Rainer Hantsch who wrote on Wed, Aug 04, 2004 at 07:48:25AM +0200:

> At one of my customers, a FTP server had to be installed. It is the one which
> is included in SuSE 8.0 / Kernel 2.4.18-4GB:
> 220 rohrpostfix FTP server (Version 6.5/OpenBSD, linux port 0.3.2)

> ftp> ls
> 229 Entering Extended Passive Mode (|||17742|)
> 200 EPRT command successful.
> 435 Can't build data connection: Illegal seek.

> What I *guess* is: There is a problem establishing the data connection
> from most clients, because they use upper ports, while xFTP seems to work
> different. But I could not find out the difference at all.

The 'Extendid Passive Mode' looks like ftpd is started in tcp6 mode (IPv6
tcp) but you do not have an IPv6 connection. If it is started from inetd,
edit inetd.conf, find the line which starts with 'ftp' and change the
'tcp6' in that line to 'tcp'. Restart inetd.

                                            Koos

-- 
Koos van den Hout,           PGP keyid RSA/1024 0xCA845CB5 via keyservers
[email protected]        or DSS/1024 0xF0D7C263                        -?)
Fax +31-30-2817051             Camp Wireless, wireless Internet access     /\\
http://idefix.net/~koos/       at campsites http://www.camp-wireless.org/ _\_V
signature.asc (application/pgp-signature, 248 B)
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: P8qD9RsRxNiyM/f4NDK/IYtIqmSiOQna

iQA/AwUBQRCgySxmO13w18JjEQJBmACePSC93QvCtWCAuscbLV4KmYrNtcYAoJ9O
CqZV2wGRKFE0t0xZKfEJKSKf
=EV3v
-----END PGP SIGNATURE-----