From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-125213-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QeCIW-0000lD-J1 for garchives@archives.gentoo.org; Tue, 05 Jul 2011 20:32:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCF5221C055; Tue, 5 Jul 2011 20:31:01 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 89D5B21C055 for <gentoo-user@lists.gentoo.org>; Tue, 5 Jul 2011 20:31:01 +0000 (UTC) Received: by wwf26 with SMTP id 26so5569924wwf.10 for <gentoo-user@lists.gentoo.org>; Tue, 05 Jul 2011 13:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=GFE9Xqr+EDt/pDMVpTrg29bODJyZEgSMpYkYTcx+GMc=; b=fdoFxG3/a5cnV+Fg1pGKbl+Igfw8OA4wQAYKs+Tlr93zRuBMSupds5x5Slho9XuP4H 35i36AC6bhn9B2bIzGwNLhR1rObGE3IjPREi7hJ+Vi/pp+v/Q2/U3KeOFfBpANAWJchN OAJnVMCII2NyHDbgYbQuceydorjRueJIqe410= Received: by 10.216.136.202 with SMTP id w52mr4804312wei.68.1309897860730; Tue, 05 Jul 2011 13:31:00 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id fh12sm2149549wbb.52.2011.07.05.13.30.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 13:30:59 -0700 (PDT) From: Mick <michaelkintzios@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] setsockopt SO_DEBUG - ftp connection problems Date: Tue, 5 Jul 2011 21:31:32 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.38-gentoo-r6; KDE/4.6.3; x86_64; ; ) References: <201107051258.40620.michaelkintzios@gmail.com> <201107052034.36054.michaelkintzios@gmail.com> <CAEH5T2MmaPx0q1=XV+ejChm5DwmuaoC18eQxRuBGu4MpBpTu_w@mail.gmail.com> In-Reply-To: <CAEH5T2MmaPx0q1=XV+ejChm5DwmuaoC18eQxRuBGu4MpBpTu_w@mail.gmail.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13376373.Dd7rrVgBJg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201107052131.43701.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: e27040b735aa305f22b67dc722481744 --nextPart13376373.Dd7rrVgBJg Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 05 Jul 2011 20:50:55 Paul Hartman wrote: > On Tue, Jul 5, 2011 at 2:34 PM, Mick <michaelkintzios@gmail.com> wrote: > > On Tuesday 05 Jul 2011 19:42:53 Paul Hartman wrote: > >> On Tue, Jul 5, 2011 at 6:58 AM, Mick <michaelkintzios@gmail.com> wrote: > >> > 200 Switching to ASCII mode. > >> > tnftp: setsockopt SO_DEBUG (ignored): Permission denied > >> > ---> EPSV > >> > 229 Entering Extended Passive Mode (|||62430|) > >> > 229 Entering Extended Passive Mode (|||62430|) > >>=20 > >> Don't use EPSV, use PASV instead, hopefully that will work. > >=20 > > I tried defining passive when in the session. It was in passive by > > default, so I had to toggle it back on again: > >=20 > > got remotecwd as `/' > > ---> TYPE I > > 200 Switching to Binary mode. > > ftp> passive > > Passive mode: off; fallback to active mode: off. > > ftp> passive > > Passive mode: on; fallback to active mode: on. > > ftp> ls > > ---> TYPE A > > 200 Switching to ASCII mode. > > tnftp: setsockopt SO_DEBUG (ignored): Permission denied > > ---> EPSV > > 229 Entering Extended Passive Mode (|||9832|) > > 229 Entering Extended Passive Mode (|||9832|) > >=20 > > How can I control it to not go into extended passive? > >=20 > > PS. The server reports EPSV in its features, so I am not sure why it > > would not work with EPSV. >=20 > FTP is the bastard protocol from hell. There are more ways it can go > wrong than right. :)=20 Yes, I can attest to this! :@ > Firewalls especially love to silently rewrite FTP > commands and port mappings. It can be a real PITA to debug. So, even > if your client supports EPSV and your server supports EPSV, if > firewall/router in-between does not then it could still break things. I've turned off my machine's firewall thinking that all this passive/active= =20 malarkey was causing the problem, but couldn't do anything about the router= 's=20 firewall. > Even if you wireshark the session on your computer, what you see may > not match what's being sent to the remote server, and vice-versa. >=20 > Standard PASV mode is much more widely supported than EPSV mode, so > that's the line of thought that brought me to suggest trying that. >=20 > I've never used tnftp but from the manpage I googled, it looks like > "epsv4 off " is the command to toggle EPSV off. YES! :-) That's what was causing the problem, it was EPSV. I assume that Konqueror= =20 switches it off and tnftp has it on by default. Thank you very much. =2D-=20 Regards, Mick --nextPart13376373.Dd7rrVgBJg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk4TdK8ACgkQVTDTR3kpaLaU3wCg1K1fnxZ/UGZpnJH1o5Gp9aDw Z18An1AlmRI5rptynQwhm3v3XW8KM/86 =lL5r -----END PGP SIGNATURE----- --nextPart13376373.Dd7rrVgBJg--