<?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: Smart Connect Domain objects and Groups with exclusion in SmartMove</title>
    <link>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/132538#M405</link>
    <description>&lt;P&gt;Thanks a lot!.&lt;/P&gt;
&lt;P&gt;We completed the code review and testing.&lt;/P&gt;
&lt;P&gt;We updated the version and released it.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 10:13:25 GMT</pubDate>
    <dc:creator>Ofir_Shikolski</dc:creator>
    <dc:date>2021-10-25T10:13:25Z</dc:date>
    <item>
      <title>Smart Connect Domain objects and Groups with exclusion</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/132088#M403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a few more - pull request #27&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/CheckPointSW/SmartMove/commit/5dcac1d7af4420cee2cb2b38266447803c131da8" target="_blank" rel="noopener"&gt;5dcac1d&lt;/A&gt;&amp;nbsp;- Domain objects that already exist are imported with '_1' suffix&lt;UL&gt;&lt;LI&gt;Domain objects 'Name' is the fqdn that is meaningful for dns etc.&lt;/LI&gt;&lt;LI&gt;I have changed it to forcibly not rename and skip any domains that already exist&lt;/LI&gt;&lt;LI&gt;This means any rules with the fqdn will use the already existing object&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/CheckPointSW/SmartMove/commit/bd0f6cdd7bd2d5055f6ed2742b5eb83b8315f389" target="_blank" rel="noopener"&gt;bd0f6cd&lt;/A&gt;&amp;nbsp;- GroupWithExclusion does not have any ['Members']&lt;UL&gt;&lt;LI&gt;The GroupWithExclusion has an ['Include'] and ['Except'] but no ['Members']&lt;/LI&gt;&lt;LI&gt;I have added a check for when the code reached the&amp;nbsp;&lt;SPAN&gt;processGroupWithMembers function to skip it if it is a GroupWithExclusion&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://github.com/CheckPointSW/SmartMove/commit/726b02c9104ce22b7cfae68deb2f66aca3bc8245" target="_blank" rel="noopener"&gt;726b02c&lt;/A&gt;&amp;nbsp;- any not accepted as an object for rules ** IMPORTANT - not fully tested **&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;on multiple occasions I get '&lt;/SPAN&gt;WARN&lt;SPAN&gt;: Requested object [any] not found'&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;to fix I must replace all instances of "any" with "Any" in the cp_objects.json file&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The change changes the default any object from "any" to "Any"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;This has worked for my purposes using the smartconnector method of importing a single cisco config file&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I have not tested with bash scripts and am sure I have not used all the places "Any" would be output by SmartMove&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 19 Oct 2021 11:07:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/132088#M403</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-10-19T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Connect Domain objects and Groups with exclusion</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/132538#M405</link>
      <description>&lt;P&gt;Thanks a lot!.&lt;/P&gt;
&lt;P&gt;We completed the code review and testing.&lt;/P&gt;
&lt;P&gt;We updated the version and released it.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 10:13:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/132538#M405</guid>
      <dc:creator>Ofir_Shikolski</dc:creator>
      <dc:date>2021-10-25T10:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Connect Domain objects and Groups with exclusion</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/134597#M410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/65885"&gt;@SimonMeadows&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Did you get our gift ?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 10:03:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/134597#M410</guid>
      <dc:creator>Ofir_Shikolski</dc:creator>
      <dc:date>2021-11-21T10:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Connect Domain objects and Groups with exclusion</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/134626#M411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/245"&gt;@Ofir_Shikolski&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I did, thank you very much.&lt;/P&gt;&lt;P&gt;I have another conversion from ASA to do in a few weeks so I'll do a bit more testing on the new version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 08:34:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/134626#M411</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-11-22T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Connect Domain objects and Groups with exclusion</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/134750#M412</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/245"&gt;@Ofir_Shikolski&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found an issue with the mapping of networks where a subnet will be mapped to a larger supernet if appears in the search result list before the subnet.&lt;/P&gt;&lt;P&gt;The debug output shows:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; processing network: &lt;/SPAN&gt;&lt;SPAN&gt;network_172.24.47.160_29&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;WARN&lt;/SPAN&gt;&lt;SPAN&gt;: More than one object named &lt;/SPAN&gt;&lt;SPAN&gt;'network_172.24.47.160_29'&lt;/SPAN&gt;&lt;SPAN&gt; exists.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;WARN&lt;/SPAN&gt;&lt;SPAN&gt;: More than one network has the same IP &lt;/SPAN&gt;&lt;SPAN&gt;172&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;24&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;47&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;160&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;248&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; REPORT: CP object &lt;/SPAN&gt;&lt;SPAN&gt;network_172.16.0.0_12&lt;/SPAN&gt;&lt;SPAN&gt; is used instead of &lt;/SPAN&gt;&lt;SPAN&gt;network_172.24.47.160_29&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;You can see a /29 subnet is mapped to a /12, which is undesirable.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have submitted a pull request for a fix that I have tested on an import form a Cisco ASA&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It adds an extra condition to match on both subnet and subnet-mask&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Nov 2021 16:50:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Smart-Connect-Domain-objects-and-Groups-with-exclusion/m-p/134750#M412</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-11-23T16:50:21Z</dc:date>
    </item>
  </channel>
</rss>

