<?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 Script to count ARP entries on all fw interfaces in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Script-to-count-ARP-entries-on-all-fw-interfaces/m-p/40454#M3374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently I experienced a support ticket where ARP table of Firewall was full. It was a little confusing to get which interface was the one causing the issue since was necessary to verify interfaces one by one and customer had a lot of subinterface on multiple bonds.&lt;/P&gt;&lt;P&gt;So i decided to create a basic script to get all firewall interfaces (fw getifs) and count how many ARP entries are seen on each one (arp -a) ordered descending by number of entries. At the end it sums the total of ARP entries.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The script has a lot of room for improvement (validations also) and perhaps someone can convert to a one-liner.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please note the following:&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&amp;nbsp;The script does not consider local Proxy ARP entries (fw ctl arp)&lt;/LI&gt;&lt;LI&gt;&amp;lt;incomplete&amp;gt; entries of arp command are also counted&lt;/LI&gt;&lt;LI&gt;The source is defined for R80, feel free to change for a lower version.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an output for the script:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/70953_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 15:09:49 GMT</pubDate>
    <dc:creator>KennyManrique</dc:creator>
    <dc:date>2018-09-26T15:09:49Z</dc:date>
    <item>
      <title>Script to count ARP entries on all fw interfaces</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Script-to-count-ARP-entries-on-all-fw-interfaces/m-p/40454#M3374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently I experienced a support ticket where ARP table of Firewall was full. It was a little confusing to get which interface was the one causing the issue since was necessary to verify interfaces one by one and customer had a lot of subinterface on multiple bonds.&lt;/P&gt;&lt;P&gt;So i decided to create a basic script to get all firewall interfaces (fw getifs) and count how many ARP entries are seen on each one (arp -a) ordered descending by number of entries. At the end it sums the total of ARP entries.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The script has a lot of room for improvement (validations also) and perhaps someone can convert to a one-liner.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please note the following:&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&amp;nbsp;The script does not consider local Proxy ARP entries (fw ctl arp)&lt;/LI&gt;&lt;LI&gt;&amp;lt;incomplete&amp;gt; entries of arp command are also counted&lt;/LI&gt;&lt;LI&gt;The source is defined for R80, feel free to change for a lower version.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an output for the script:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/70953_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:09:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Script-to-count-ARP-entries-on-all-fw-interfaces/m-p/40454#M3374</guid>
      <dc:creator>KennyManrique</dc:creator>
      <dc:date>2018-09-26T15:09:49Z</dc:date>
    </item>
  </channel>
</rss>

