<?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 Re: Checkpoint to ASA migration. Problems with pasv ftps. in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949251#M917592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Moving from Checkpoint to ASA."  That's a mistake if you asked me.&lt;/P&gt;&lt;P&gt;You will lose a lot of functions in Checkpoint that you have taken &lt;/P&gt;&lt;P&gt;for granted.  Then again, it may be a corporate decision that you&lt;/P&gt;&lt;P&gt;do not have a choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- you do not need to allow all IP outbound to this particular&lt;/P&gt;&lt;P&gt;destination.  You just need to allow tcp high-ports to this&lt;/P&gt;&lt;P&gt;destination, not IP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- Ask the folks on the other end if they can restrict the&lt;/P&gt;&lt;P&gt;number of tcp high-ports that FTPs can assign.  This can&lt;/P&gt;&lt;P&gt;be done very easily on both Microsoft IIS Server and vsFTPd&lt;/P&gt;&lt;P&gt;server for Linux.  In vsFTPd, check the vsftpd.conf file and&lt;/P&gt;&lt;P&gt;you will see it there.  Normally, you want to restrict the&lt;/P&gt;&lt;P&gt;ftp-data ports in pasv mode between 2000 and 2100.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easy right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 21:09:28 GMT</pubDate>
    <dc:creator>cisco24x7</dc:creator>
    <dc:date>2008-06-27T21:09:28Z</dc:date>
    <item>
      <title>Checkpoint to ASA migration. Problems with pasv ftps.</title>
      <link>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949247#M917584</link>
      <description>&lt;P&gt;Moving from Checkpoint to ASA.  Migrated about 20% of my policies earlier this week and had to back out one.  ftps from 10.60.10.205 (inside) destined for 65.217.149.5 (prod-outside).  Users got error message 500 Illegal PORT range when entering pasv mode...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;220 pw-sftp-cl1.nmhcrx.com FTP server (Version 6.00LS+TLS) ready.&lt;/P&gt;&lt;P&gt;AUTH SSL&lt;/P&gt;&lt;P&gt;234 AUTH SSL command successful.&lt;/P&gt;&lt;P&gt;SSL Session Started.&lt;/P&gt;&lt;P&gt;Host type (1): Automatic detect&lt;/P&gt;&lt;P&gt;USER myuser&lt;/P&gt;&lt;P&gt;331 Password required for myuser.&lt;/P&gt;&lt;P&gt;PASS (hidden)&lt;/P&gt;&lt;P&gt;230 User myuser logged in, access restrictions apply.&lt;/P&gt;&lt;P&gt;SYST&lt;/P&gt;&lt;P&gt;215 UNIX Type: L8&lt;/P&gt;&lt;P&gt;Host type (2): UNIX (standard)&lt;/P&gt;&lt;P&gt;PBSZ 0&lt;/P&gt;&lt;P&gt;200 PBSZ command successful (PBSZ=0).&lt;/P&gt;&lt;P&gt;PROT C&lt;/P&gt;&lt;P&gt;504 PROT command not available in FTP-SSL compatibility mode.&lt;/P&gt;&lt;P&gt;PWD&lt;/P&gt;&lt;P&gt;257 "/" is current directory.&lt;/P&gt;&lt;P&gt;TYPE A&lt;/P&gt;&lt;P&gt;200 Type set to A.&lt;/P&gt;&lt;P&gt;PASV&lt;/P&gt;&lt;P&gt;227 Entering Passive Mode (65,217,149,5,165,146)&lt;/P&gt;&lt;P&gt;connecting data channel to 65.217.149.5:165,146(42386)&lt;/P&gt;&lt;P&gt;PORT 10,60,10,205,11,71&lt;/P&gt;&lt;P&gt;500 Illegal PORT range rejected.&lt;/P&gt;&lt;P&gt;Port failed 500 Illegal PORT range rejected.&lt;/P&gt;&lt;P&gt;QUIT&lt;/P&gt;&lt;P&gt;221 Goodbye.&lt;/P&gt;&lt;P&gt;Connection closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ftp inspection is enabled.  Do I need to exclude this from inspection because it is encrypted?  If so, how do I handle the data channel and associated dynamic ports?  &lt;/P&gt;&lt;P&gt;Tried fixup protocol ftp 21 based upon feedback in another NetPro discussion.&lt;/P&gt;&lt;P&gt;Also modified policy and nat rules to permit both tcp/ftp and tcp/ftp-data.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to the ASA and not having much luck with TAC.  Most recent feedback from TAC "Let me do some research about it since I am not sure if FTPS is supported on ASA firewalls. I will keep you posted."  Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relevant configuration items.&lt;/P&gt;&lt;P&gt;NAT...&lt;/P&gt;&lt;P&gt;access-list inside_nat_outbound_1 extended permit tcp net-mynet-10.60.0.0 255.255.0.0 host ftps.nmhcrx.com object-group DM_INLINE_TCP_12&lt;/P&gt;&lt;P&gt;nat (inside) 10 access-list inside_nat_outbound_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACL...&lt;/P&gt;&lt;P&gt;access-list from-inside extended permit tcp net-mynet-10.60.0.0 255.255.0.0 host ftps.nmhcrx.com object-group DM_INLINE_TCP_13 log warnings&lt;/P&gt;&lt;P&gt;access-group from-inside in interface inside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(DM_INLINE_TCP_12 and DM_INLINE_TCP_13 object-groups include tcp/ftp and tcp/ftp-data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inspection Policy...&lt;/P&gt;&lt;P&gt;access-list mss-exceeded-acl extended permit ip any any inactive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map mss-exceeded-map&lt;/P&gt;&lt;P&gt; match access-list mss-exceeded-acl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tcp-map mss-exceeded-map&lt;/P&gt;&lt;P&gt;  exceed-mss allow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type inspect dns preset_dns_map&lt;/P&gt;&lt;P&gt; parameters&lt;/P&gt;&lt;P&gt;  message-length maximum 512&lt;/P&gt;&lt;P&gt;  id-randomization&lt;/P&gt;&lt;P&gt;  id-mismatch action log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map global_policy&lt;/P&gt;&lt;P&gt; class inspection_default&lt;/P&gt;&lt;P&gt;  inspect ftp&lt;/P&gt;&lt;P&gt;  inspect h323 h225&lt;/P&gt;&lt;P&gt;  inspect h323 ras&lt;/P&gt;&lt;P&gt;  inspect netbios&lt;/P&gt;&lt;P&gt;  inspect rsh&lt;/P&gt;&lt;P&gt;  inspect rtsp&lt;/P&gt;&lt;P&gt;  inspect skinny&lt;/P&gt;&lt;P&gt;  inspect esmtp&lt;/P&gt;&lt;P&gt;  inspect sqlnet&lt;/P&gt;&lt;P&gt;  inspect sunrpc&lt;/P&gt;&lt;P&gt;  inspect tftp&lt;/P&gt;&lt;P&gt;  inspect sip&lt;/P&gt;&lt;P&gt;  inspect xdmcp&lt;/P&gt;&lt;P&gt;  inspect icmp&lt;/P&gt;&lt;P&gt;  inspect http&lt;/P&gt;&lt;P&gt;  inspect ils&lt;/P&gt;&lt;P&gt;  inspect dns preset_dns_map&lt;/P&gt;&lt;P&gt;  inspect ipsec-pass-thru&lt;/P&gt;&lt;P&gt; class mss-exceeded-map&lt;/P&gt;&lt;P&gt;  set connection advanced-options mss-exceeded-map&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;service-policy global_policy global&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 13:06:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949247#M917584</guid>
      <dc:creator>thomsmith</dc:creator>
      <dc:date>2019-03-11T13:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint to ASA migration. Problems with pasv ftps.</title>
      <link>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949248#M917586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no access-list from-inside extended permit tcp net-mynet-10.60.0.0 255.255.0.0 host ftps.nmhcrx.com object-group DM_INLINE_TCP_13 log warnings &lt;/P&gt;&lt;P&gt;access-list from-inside extended permit ip net-mynet-10.60.0.0 255.255.0.0 host ftps.nmhcrx.com&lt;/P&gt;&lt;P&gt;access-group from-inside in interface inside &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 21:55:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949248#M917586</guid>
      <dc:creator>a.alekseev</dc:creator>
      <dc:date>2008-06-26T21:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint to ASA migration. Problems with pasv ftps.</title>
      <link>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949249#M917588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately my user and their login credentials have left for the day.  I'll try tomorrow am EST.  Unsure this will make any difference.  I'm not seeing any drops in the logs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 22:05:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949249#M917588</guid>
      <dc:creator>thomsmith</dc:creator>
      <dc:date>2008-06-26T22:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint to ASA migration. Problems with pasv ftps.</title>
      <link>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949250#M917590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears outbound request for data channel is being blocked.  The server side randomly assigns a high port in pasv mode.  My client then attempts to connect on this high port and is being blocked.  FTP inspection would normally pick this up and allow the high port.  It doesn't work here because all of the payload is encrypted.  Interim fix is allow all ip outbound to this particular destination.  Not really a good long term solution.  Any better suggestions out there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 18:50:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949250#M917590</guid>
      <dc:creator>thomsmith</dc:creator>
      <dc:date>2008-06-27T18:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint to ASA migration. Problems with pasv ftps.</title>
      <link>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949251#M917592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Moving from Checkpoint to ASA."  That's a mistake if you asked me.&lt;/P&gt;&lt;P&gt;You will lose a lot of functions in Checkpoint that you have taken &lt;/P&gt;&lt;P&gt;for granted.  Then again, it may be a corporate decision that you&lt;/P&gt;&lt;P&gt;do not have a choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- you do not need to allow all IP outbound to this particular&lt;/P&gt;&lt;P&gt;destination.  You just need to allow tcp high-ports to this&lt;/P&gt;&lt;P&gt;destination, not IP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- Ask the folks on the other end if they can restrict the&lt;/P&gt;&lt;P&gt;number of tcp high-ports that FTPs can assign.  This can&lt;/P&gt;&lt;P&gt;be done very easily on both Microsoft IIS Server and vsFTPd&lt;/P&gt;&lt;P&gt;server for Linux.  In vsFTPd, check the vsftpd.conf file and&lt;/P&gt;&lt;P&gt;you will see it there.  Normally, you want to restrict the&lt;/P&gt;&lt;P&gt;ftp-data ports in pasv mode between 2000 and 2100.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easy right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 21:09:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/checkpoint-to-asa-migration-problems-with-pasv-ftps/m-p/949251#M917592</guid>
      <dc:creator>cisco24x7</dc:creator>
      <dc:date>2008-06-27T21:09:28Z</dc:date>
    </item>
  </channel>
</rss>

