RE: [suse-security] wu-ftpd data channel opening errors
I'm using xinetd instead of inetd. After issuing lsof this is what I get> xinetd 11282 root 3u IPv6 10917544 TCP *:ftp (LISTEN) ftpd uses IPv6 and wu-ftpd documentation states no IPv6 is currently supported. How can I change this from IPv6 to IPv4? I guess it's the matter of xinetd. Regards, -----Original Message----- From: Armin Schöch [mailto:armin@iap-kborn.de] Sent: Wednesday, February 20, 2002 2:52 To: Sasa Popravak Cc: suse-security@suse.com Subject: Re: [suse-security] wu-ftpd data channel opening errors -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi !
ftp> ls 500 Illegal PORT Command 425 Can't build data connection: Address family not supported by protocol. ftp>
ftp> ls 500 'EPSV': command not understood. 227 Entering Passive Mode (0,0,0,0,93,161) 425 Possible PASV port theft, cannot open data connection. ftp>
Are you sure you are only running one ftp daemon ? I somehow get the feeling that you might have another ftpd running ("port theft"). Check your /etc/inetd.conf to make sure there is only one line enabled for "wu.ftpd" and others are disabled (like in.ftpd, proftpd, ...) You can try "ps ax | grep ftpd" and "lsof -i tcp" to see whether there's a programme listening on port 21. HTH, Armin - -- Am Hasenberg 26 office: Institut für Atmosphärenphysik D-18209 Bad Doberan Schloss-Straße 6 Tel. 0160/4046859 (mobil) D-18225 Kühlungsborn / GERMANY Email: schoech@iap-kborn.de Tel. +49-(0)38293-68-102 WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE8c6oYG8Xv4GxznLoRArIDAJ941Yqv6bJU3EcW2As/iFVSXUiulACfXx6l jlhvM1Ye405BeWFJNKgdOGI= =ItqH -----END PGP SIGNATURE-----
Now I'm replying to myself :) when I connect to wu-ftpd via inetd everything is just fine. xinetd seems to make problems. Ideas? Regards, -----Original Message----- From: Sasa Popravak [mailto:spop@novabanka.com] Sent: Thursday, February 21, 2002 8:28 To: suse-security@suse.com Subject: RE: [suse-security] wu-ftpd data channel opening errors I'm using xinetd instead of inetd. After issuing lsof this is what I get> xinetd 11282 root 3u IPv6 10917544 TCP *:ftp (LISTEN) ftpd uses IPv6 and wu-ftpd documentation states no IPv6 is currently supported. How can I change this from IPv6 to IPv4? I guess it's the matter of xinetd. Regards,
Now I'm replying to myself :)
when I connect to wu-ftpd via inetd everything is just fine. xinetd seems to make problems.
Ideas?
We used to run into these problems on ftp.suse.com some months ago, when we waded through the packages to check for ipv6 comliance. xinetd does not have a runtime switch to turn off ipv6 support, there is only the possibility to recompile the package with ipv6 disabled. Install the source rpm and remove the line containing "--with-inet6" from the specfile, then recompile the package using the command rpm -ba xinetd.spec. The author of xinetd did not want to have the switch, so we did not implement one as well.
I'm using xinetd instead of inetd. After issuing lsof this is what I get>
xinetd 11282 root 3u IPv6 10917544 TCP *:ftp (LISTEN)
ftpd uses IPv6 and wu-ftpd documentation states no IPv6 is currently supported. How can I change this from IPv6 to IPv4? I guess it's the matter of xinetd.
Regards,
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
Thanks,
Roman.
--
- -
| Roman Drahtmüller
Problem solved! This is how it ended, in case anyone else runs into the same problem: I have downloaded latest version of xinetd package from www.xinetd.org and compiled it using --without-inet6 (among other switches). After that I set up my box to use that xinetd. Everything is just fine now. Thank you all, guys! Regards, Pope -----Original Message----- From: Roman Drahtmueller [mailto:draht@suse.de] Sent: Thursday, February 21, 2002 2:24 To: Sasa Popravak Cc: suse-security@suse.com Subject: RE: [suse-security] wu-ftpd data channel opening errors
Now I'm replying to myself :)
when I connect to wu-ftpd via inetd everything is just fine. xinetd seems
to
make problems.
Ideas?
We used to run into these problems on ftp.suse.com some months ago, when we waded through the packages to check for ipv6 comliance. xinetd does not have a runtime switch to turn off ipv6 support, there is only the possibility to recompile the package with ipv6 disabled. Install the source rpm and remove the line containing "--with-inet6" from the specfile, then recompile the package using the command rpm -ba xinetd.spec. The author of xinetd did not want to have the switch, so we did not implement one as well.
I'm using xinetd instead of inetd. After issuing lsof this is what I get>
xinetd 11282 root 3u IPv6 10917544 TCP *:ftp (LISTEN)
ftpd uses IPv6 and wu-ftpd documentation states no IPv6 is currently supported. How can I change this from IPv6 to IPv4? I guess it's the matter of xinetd.
Regards,
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
Thanks,
Roman.
--
- -
| Roman Drahtmüller
participants (2)
-
Roman Drahtmueller
-
Sasa Popravak