Re: Why is "PROT P" issued twice?

Stephen Powell <[email protected]>
Newsgroups gmane.network.lftp.user
Message-ID <473505530.485606.1410219053799.JavaMail.root@md01.wow.synacor.com>
On Mon, 08 Sep 2014 03:53:13 -0400 (EDT), Alexander Lukyanov wrote:
> 
> Please send the debug log (use command "debug" to turn it on).

For security reasons I have redacted or changed some things,
such as userids, passwords, domain names, IP addresses, etc.
This keeps me employed.  This is lftp version 4.5.4, Readline 6.3,
GnuTLS 3.3.6, zlib 1.2.8.

Output of "set":

-----

set cmd:prompt "lftp \\S\\? \\u\\@\\h:\\w> "
set cmd:term-status/*rxvt* "\\e[11;0]\\e]2;\\T\\007\\e[11]"
set cmd:term-status/*screen* \\e_\\T\\e\\
set cmd:term-status/*xterm* "\\e[11;0]\\e]2;\\T\\007\\e[11]"
set color:dir-colors ""
set dns:order inet
set file:charset UTF-8
set ftp:auto-sync-mode "icrosoft FTP Service|MadGoat|MikroTik"
set ftp:ignore-pasv-address yes
set ftp:prefer-epsv yes
set ftp:ssl-allow-anonymous yes
set ftp:ssl-protect-data yes
set ftp:sync-mode/ftp.idsoftware.com on
set ftp:sync-mode/ftp.microsoft.com on
set ftp:sync-mode/sunsolve.sun.com on
set ssl:ca-file /etc/ssl/certs/ca-certificates.crt
set xfer:clobber true
set xfer:max-redirections 10
set xfer:verify-command /usr/share/lftp/verify-file

-----

Commands:

-----

open -u xxxxxxxx,yyyyyyyy -p nnnnn my.stupid.little.server.com
get -a -e myfile -o myfile
close
exit

-----

Debug output:

-----

---- Resolving host address...
---- 1 address found: nnn.nnn.nnn.nnn
---- Connecting to my.stupid.little.server.com (nnn.nnn.nnn.nnn) port nnnnn
<--- 220 (vsFTPd 2.3.5)
---> FEAT
<--- 211-Features:
<---  AUTH TLS
<---  EPRT
<---  EPSV
<---  MDTM
<---  PASV
<---  PBSZ
<---  PROT
<---  REST STREAM
<---  SIZE
<---  TVFS
<---  UTF8
<--- 211 End
---> AUTH TLS
<--- 234 Proceed with negotiation.
---> OPTS UTF8 ON
Certificate: C=XX,ST=xxxxxxxx,L=xxxxxxxx,O=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,CN=my.stupid.little.server.com
Issued by: C=XX,ST=xxxxxxxx,L=xxxxxxxx,O=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,CN=My Internal CA,[email protected]
  Trusted
<--- 200 Always in UTF8 mode.
---> USER xxxxxxxx
<--- 331 Please specify the password.
---> PASS yyyyyyyy
<--- 230 Login successful.
---> PWD
<--- 257 "/home/xxxxxxxx"
---> PBSZ 0
<--- 200 PBSZ set to 0.
---> PROT P
<--- 200 PROT now Private.
---> PROT P
<--- 200 PROT now Private.
---> SIZE myfile
<--- 213 313
---> MDTM myfile
<--- 213 20081202163039
---> EPSV
<--- 229 Entering Extended Passive Mode (|||mmmmm|).
---- Connecting data socket to (nnn.nnn.nnn.nnn) port mmmmm
---- Data connection established
---> RETR myfile
<--- 150 Opening ASCII mode data connection for myfile (313 bytes).
Certificate: C=XX,ST=xxxxxxxx,L=xxxxxxxx,O=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,CN=my.stupid.little.server.com
Issued by: C=XX,ST=xxxxxxxx,L=xxxxxxxx,O=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,CN=My Internal CA,[email protected]
  Trusted
---- Got EOF on data connection
---- Closing data socket
<--- 226 Transfer complete.
---> QUIT
<--- 221 Goodbye.
---- Closing control socket

-----

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-
_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.