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-125191-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Qe4Hw-0004ak-HF for garchives@archives.gentoo.org; Tue, 05 Jul 2011 11:59:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DB3E21C073; Tue, 5 Jul 2011 11:58:01 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id E72B421C073 for <gentoo-user@lists.gentoo.org>; Tue, 5 Jul 2011 11:58:00 +0000 (UTC) Received: by wyh22 with SMTP id 22so5554384wyh.40 for <gentoo-user@lists.gentoo.org>; Tue, 05 Jul 2011 04:58: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:mime-version:content-type :content-transfer-encoding:message-id; bh=lkt20JKE/rIEZqJTTW9jqwpVt2VIRH4auNwNE9pOF+A=; b=vFGVV2VLxCZ365sfPEro4YlaKPSvCQrExy04ZyoquTZhNbcuvZakf0iBu6ls3idDDS C+Sa4dmYdLJIM82Xt7nekj6qo0qCH+FSPVIUxmkyNqeWs/iD7ybN0JMzok/fxcBWyXQx fTPcjJ/mY0kS3TS4xSvfK41YTtxHEVbisfJs8= Received: by 10.227.169.139 with SMTP id z11mr6112627wby.60.1309867078391; Tue, 05 Jul 2011 04:57:58 -0700 (PDT) Received: from dell_xps.localnet ([213.123.142.221]) by mx.google.com with ESMTPS id fn12sm1685562wbb.38.2011.07.05.04.57.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 04:57:57 -0700 (PDT) From: Mick <michaelkintzios@gmail.com> To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] setsockopt SO_DEBUG - ftp connection problems Date: Tue, 5 Jul 2011 12:58:29 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.38-gentoo-r6; KDE/4.6.3; x86_64; ; ) 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="nextPart77061163.StynPtvG9j"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201107051258.40620.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: f0d2ee11d66bf90ec0cff209dd10f571 --nextPart77061163.StynPtvG9j Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi All, I am using tnftp to login to a vsFTPd 2.2.2 server: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Connected to ftp_host.com. 220 (vsFTPd 2.2.2) ftp_login: user `mick_login' pass `<null>' host `ftp_host.com' =2D--> USER mick_login 331 Please specify the password. Password:=20 =2D--> PASS XXXX 230 Login successful. =2D--> SYST 215 UNIX Type: L8 Remote system type is UNIX. Using binary mode to transfer files. =2D--> FEAT 211-Features: EPRT EPSV MDTM PASV REST STREAM SIZE TVFS UTF8 211 End features[FEAT_FEAT] =3D 1 features[FEAT_MDTM] =3D 1 features[FEAT_MLST] =3D 0 features[FEAT_REST_STREAM] =3D 1 features[FEAT_SIZE] =3D 1 features[FEAT_TVFS] =3D 1 got localcwd as `/home/michael' =2D--> PWD 257 "/" got remotecwd as `/' =2D--> TYPE I =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D So far so good, but then I get this response when I try to list stuff: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ftp> ls =2D--> TYPE A 200 Switching to ASCII mode. tnftp: setsockopt SO_DEBUG (ignored): Permission denied =2D--> EPSV 229 Entering Extended Passive Mode (|||62430|) 229 Entering Extended Passive Mode (|||62430|) =2E...=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D it just hangs here until it times out and drops the connection. Without debug I see this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. 200 Switching to Binary mode. ftp> pwd Remote directory: / ftp> ls 229 Entering Extended Passive Mode (|||17721|) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If I try the same thing with Konqueror there is no problem, I login and=20 Konqueror immediately lists the directory contents. How can I see what=20 Konqueror's ftp client sends to and receives from the server? =2D-=20 Regards, Mick --nextPart77061163.StynPtvG9j 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) iEYEABECAAYFAk4S/HAACgkQVTDTR3kpaLZudwCgr7yCnlQ64vnXAfwQn1xLeZdO 1pwAn091Mgq0Vo24wwDvPYC/fDIqVsIV =k7+Y -----END PGP SIGNATURE----- --nextPart77061163.StynPtvG9j--