<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic FTP/SSL fails at server in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642655#M45762</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been having problems establishing an FTP session over SSL from our OpenVMS client to a Linux server.&lt;/P&gt;&lt;P&gt;We are running v8.3-1h1 of VMS, TCPIP services v5.7 ECO 3 and SSL v1.4.&lt;/P&gt;&lt;P&gt;The Linux ftp server is in our DMZ and not behind a firewall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the errors we see from the Linux server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PINACO&amp;gt;ftp/ssl sftp.xxxxxx.org&lt;BR /&gt;220-Welcome to Pure-FTPd.&lt;BR /&gt;220-You are user number 1 of 15 allowed.&lt;BR /&gt;220-This is a private system - No anonymous login&lt;BR /&gt;220 You will be disconnected after 15 minutes of inactivity.&lt;BR /&gt;Connected to crpvlx2sftp1.xxxxxxx.org.&lt;BR /&gt;234 AUTH TLS OK.&lt;BR /&gt;200 PBSZ=0&lt;BR /&gt;200 Data protection level set to "private"&lt;BR /&gt;Name (crpvlx2sftp1.xxxxxx.org:sysjames): smithj&lt;BR /&gt;331 User smithj OK. Password required&lt;BR /&gt;Password:&lt;BR /&gt;230-User smithj has group access to: sftp-lum-g&lt;BR /&gt;230-OK. Current restricted directory is /&lt;BR /&gt;230-8888 88 88 88 8888888888&lt;BR /&gt;230-88888 88 888 888 8888 8888&lt;BR /&gt;230-88 888 88 888 888 888&lt;BR /&gt;230-88 888 88 888888 88&lt;BR /&gt;230-88 888 88 8888 88&lt;BR /&gt;230-88 888 88 88 888&lt;BR /&gt;230-88 88888 88 888 8888&lt;BR /&gt;230-88 8888 88 88888888&lt;BR /&gt;230-&lt;BR /&gt;230-&lt;BR /&gt;230-88 88 88 88 8888888888&lt;BR /&gt;230-88 88 88 88 8888 8888&lt;BR /&gt;230-88 88 88 88 888&lt;BR /&gt;230-88888888 88888888 88&lt;BR /&gt;230-88888888 88888888 88&lt;BR /&gt;230-88 88 88 88 888&lt;BR /&gt;230-88 88 88 88 888 8888&lt;BR /&gt;230-88 88 88 88 88888888&lt;BR /&gt;230&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; debug&lt;BR /&gt;Debugging on (debug=1).&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;---&amp;gt; PWD&lt;BR /&gt;257 "/" is your current location&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; cd officemax&lt;BR /&gt;---&amp;gt; CWD officemax&lt;BR /&gt;250 OK. Current directory is /OfficeMax&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;---&amp;gt; PWD&lt;BR /&gt;257 "/OfficeMax" is your current location&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; ls -l&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,65&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; NLST -l&lt;BR /&gt;425 Could not open data connection to port 49473: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file -l&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; dir&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,66&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; LIST&lt;BR /&gt;425 Could not open data connection to port 49474: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file (* or directory)&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;---&amp;gt; PWD&lt;BR /&gt;257 "/OfficeMax" is your current location&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; get testfile.txt&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,67&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; RETR testfile.txt&lt;BR /&gt;425 Could not open data connection to port 49475: Connection timed out&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; ls -a testfile.txt&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,68&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; NLST -a&lt;BR /&gt;425 Could not open data connection to port 49476: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file -a&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; ls - a&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,69&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; NLST -&lt;BR /&gt;425 Could not open data connection to port 49477: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file -&lt;BR /&gt;FTP&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, as you can see we can log in to the Linux server successfully and can also do commands like pwd. &amp;nbsp;Any other command, however, fails. &amp;nbsp;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2012 18:43:12 GMT</pubDate>
    <dc:creator>ranger57</dc:creator>
    <dc:date>2012-04-30T18:43:12Z</dc:date>
    <item>
      <title>FTP/SSL fails at server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642655#M45762</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been having problems establishing an FTP session over SSL from our OpenVMS client to a Linux server.&lt;/P&gt;&lt;P&gt;We are running v8.3-1h1 of VMS, TCPIP services v5.7 ECO 3 and SSL v1.4.&lt;/P&gt;&lt;P&gt;The Linux ftp server is in our DMZ and not behind a firewall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the errors we see from the Linux server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PINACO&amp;gt;ftp/ssl sftp.xxxxxx.org&lt;BR /&gt;220-Welcome to Pure-FTPd.&lt;BR /&gt;220-You are user number 1 of 15 allowed.&lt;BR /&gt;220-This is a private system - No anonymous login&lt;BR /&gt;220 You will be disconnected after 15 minutes of inactivity.&lt;BR /&gt;Connected to crpvlx2sftp1.xxxxxxx.org.&lt;BR /&gt;234 AUTH TLS OK.&lt;BR /&gt;200 PBSZ=0&lt;BR /&gt;200 Data protection level set to "private"&lt;BR /&gt;Name (crpvlx2sftp1.xxxxxx.org:sysjames): smithj&lt;BR /&gt;331 User smithj OK. Password required&lt;BR /&gt;Password:&lt;BR /&gt;230-User smithj has group access to: sftp-lum-g&lt;BR /&gt;230-OK. Current restricted directory is /&lt;BR /&gt;230-8888 88 88 88 8888888888&lt;BR /&gt;230-88888 88 888 888 8888 8888&lt;BR /&gt;230-88 888 88 888 888 888&lt;BR /&gt;230-88 888 88 888888 88&lt;BR /&gt;230-88 888 88 8888 88&lt;BR /&gt;230-88 888 88 88 888&lt;BR /&gt;230-88 88888 88 888 8888&lt;BR /&gt;230-88 8888 88 88888888&lt;BR /&gt;230-&lt;BR /&gt;230-&lt;BR /&gt;230-88 88 88 88 8888888888&lt;BR /&gt;230-88 88 88 88 8888 8888&lt;BR /&gt;230-88 88 88 88 888&lt;BR /&gt;230-88888888 88888888 88&lt;BR /&gt;230-88888888 88888888 88&lt;BR /&gt;230-88 88 88 88 888&lt;BR /&gt;230-88 88 88 88 888 8888&lt;BR /&gt;230-88 88 88 88 88888888&lt;BR /&gt;230&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; debug&lt;BR /&gt;Debugging on (debug=1).&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;---&amp;gt; PWD&lt;BR /&gt;257 "/" is your current location&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; cd officemax&lt;BR /&gt;---&amp;gt; CWD officemax&lt;BR /&gt;250 OK. Current directory is /OfficeMax&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;---&amp;gt; PWD&lt;BR /&gt;257 "/OfficeMax" is your current location&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; ls -l&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,65&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; NLST -l&lt;BR /&gt;425 Could not open data connection to port 49473: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file -l&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; dir&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,66&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; LIST&lt;BR /&gt;425 Could not open data connection to port 49474: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file (* or directory)&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;---&amp;gt; PWD&lt;BR /&gt;257 "/OfficeMax" is your current location&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; get testfile.txt&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,67&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; RETR testfile.txt&lt;BR /&gt;425 Could not open data connection to port 49475: Connection timed out&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; ls -a testfile.txt&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,68&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; NLST -a&lt;BR /&gt;425 Could not open data connection to port 49476: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file -a&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt;&lt;BR /&gt;FTP&amp;gt; ls - a&lt;BR /&gt;---&amp;gt; PORT 172,23,160,23,193,69&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;---&amp;gt; NLST -&lt;BR /&gt;425 Could not open data connection to port 49477: Connection timed out&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file -&lt;BR /&gt;FTP&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, as you can see we can log in to the Linux server successfully and can also do commands like pwd. &amp;nbsp;Any other command, however, fails. &amp;nbsp;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2012 18:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642655#M45762</guid>
      <dc:creator>ranger57</dc:creator>
      <dc:date>2012-04-30T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP/SSL fails at server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642689#M45763</link>
      <description>&lt;P&gt;It appears to be a problem with the data channel somewhere; which often is a firewall problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about trying "passive" after you log on?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2012 19:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642689#M45763</guid>
      <dc:creator>Richard Brodie_1</dc:creator>
      <dc:date>2012-04-30T19:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: FTP/SSL fails at server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642717#M45764</link>
      <description>&lt;P&gt;By "passive" I'll assume you mean 'pasv'? &amp;nbsp;I'll try that, thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2012 19:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642717#M45764</guid>
      <dc:creator>ranger57</dc:creator>
      <dc:date>2012-04-30T19:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP/SSL fails at server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642759#M45765</link>
      <description />
      <pubDate>Mon, 30 Apr 2012 20:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5642759#M45765</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2012-04-30T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: FTP/SSL fails at server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5643249#M45766</link>
      <description>&lt;P&gt;I dont know the answer to your problem, however I have seen something similar when I was trying to set up IPclustering (TCPIP V5.7, ECO 3, with OpenVMS 8.4, SSL 1.4).&amp;nbsp;&amp;nbsp;&amp;nbsp; I found that I could login via FTP(without "/SSL"), to the other cluster node, however I couldn't see any files, and I got the same error indicating a problem establishing the "data" channel..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This issue was never resolved.&amp;nbsp;&amp;nbsp; I assumed it was something to do with my choice of clustering IP's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At that point&amp;nbsp;it went onto the back burner, for later resolution.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Other issues to deal with)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dont know if this is of any use to&amp;nbsp;you.&amp;nbsp;&amp;nbsp;&amp;nbsp; But I would be interested in any resolution you find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2012 12:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5643249#M45766</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2012-05-01T12:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP/SSL fails at server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5643275#M45767</link>
      <description>&lt;P&gt;Before being allowed to use FTP (and enforced by a typical modern network design), consider that the network administrator must be able to provide answers to the following questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1: &amp;nbsp;is it permissible to post the server login credentals for all to access?&lt;/P&gt;&lt;P&gt;2: do you need user accountability?&lt;/P&gt;&lt;P&gt;3: does the client or does the server originate the data channel connection when in passive mode?&lt;/P&gt;&lt;P&gt;4: which IP port(s) are used by FTP on your client, and on your server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can answer all of these correctly, then you have a start at understanding why ftp is a problem here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sftp is vastly easier to deal with in modern networks, assuming a version that doesn't have those sequential-file corruption bugs is available to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Answer Key:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1: ftp transmits login user and password in cleartext. &amp;nbsp;tools are widly available to monitor for these credentials&lt;/P&gt;&lt;P&gt;2: if you do, you'll want to use sftp, as access to ftp credentials is insecure.&lt;/P&gt;&lt;P&gt;3: from server to client, meaning any managed switched and any firewalls between the server and the client must expect an incoming ftp connection. &amp;nbsp;(active-mode transfers requires a second connection from client to server, which means the server firewall needs a range of ports open, or the device needs to understand the ftp protocol and automatically open the approprate port.)&lt;/P&gt;&lt;P&gt;4: "the ephemeral port range", AIX and HP-UX use&amp;nbsp;&amp;nbsp;32768 through 65535, OpenVMS and OS X and OS X Server use&amp;nbsp;&amp;nbsp;49152 to 65535, and other implementations may vary. &amp;nbsp;You'll need to keep this port range accessible on managed switches and firewalls on whichever end receives the (active or passive) data connection.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2012 13:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-ssl-fails-at-server/m-p/5643275#M45767</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2012-05-01T13:21:43Z</dc:date>
    </item>
  </channel>
</rss>

