<?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 Connection Numbers Don't add up in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/connection-numbers-don-t-add-up/m-p/1721913#M560853</link>
    <description>&lt;P&gt;I have a monitoring rule that checks the number of connections on the firewall using the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show conn count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My results are always between 3,000 and 9,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A while back, I had an issue where all 130,000 connections were being used up.&amp;nbsp; I configured a service policy to limit the number of connections between any two end points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commands I used were:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class-map CONNS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; match any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; policy-map global_policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class CONNS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set connection per-client-max 20000 per-client-embryonic-max 20000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm monitoring the error logs and I'm noticing that my connection limit rule is being triggered on a regular basis.&amp;nbsp; I receive the following message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Per-client connection limit exceeded 20000/20000 for output packet from x.x.x.x to x.x.x.x on interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confused as to the difference between the connections limited by my rule and the connections shown by "show conn count".&amp;nbsp; Can anybody explain the difference between these connection metrics and why I never see any connections higher than 9,000 using "show conn count" yet I am seeing alerts stating that the firewall has reached 20000 connections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My firewall is an ASA5510 running &lt;/P&gt;&lt;P&gt;Cisco Adaptive Security Appliance Software Version 8.0(4)&lt;BR /&gt;Device Manager Version 6.1(5)51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 20:44:55 GMT</pubDate>
    <dc:creator>petes</dc:creator>
    <dc:date>2019-03-11T20:44:55Z</dc:date>
    <item>
      <title>Connection Numbers Don't add up</title>
      <link>https://community.cisco.com/t5/network-security/connection-numbers-don-t-add-up/m-p/1721913#M560853</link>
      <description>&lt;P&gt;I have a monitoring rule that checks the number of connections on the firewall using the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show conn count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My results are always between 3,000 and 9,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A while back, I had an issue where all 130,000 connections were being used up.&amp;nbsp; I configured a service policy to limit the number of connections between any two end points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commands I used were:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class-map CONNS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; match any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; policy-map global_policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class CONNS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set connection per-client-max 20000 per-client-embryonic-max 20000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm monitoring the error logs and I'm noticing that my connection limit rule is being triggered on a regular basis.&amp;nbsp; I receive the following message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Per-client connection limit exceeded 20000/20000 for output packet from x.x.x.x to x.x.x.x on interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confused as to the difference between the connections limited by my rule and the connections shown by "show conn count".&amp;nbsp; Can anybody explain the difference between these connection metrics and why I never see any connections higher than 9,000 using "show conn count" yet I am seeing alerts stating that the firewall has reached 20000 connections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My firewall is an ASA5510 running &lt;/P&gt;&lt;P&gt;Cisco Adaptive Security Appliance Software Version 8.0(4)&lt;BR /&gt;Device Manager Version 6.1(5)51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 20:44:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/connection-numbers-don-t-add-up/m-p/1721913#M560853</guid>
      <dc:creator>petes</dc:creator>
      <dc:date>2019-03-11T20:44:55Z</dc:date>
    </item>
    <item>
      <title>Connection Numbers Don't add up</title>
      <link>https://community.cisco.com/t5/network-security/connection-numbers-don-t-add-up/m-p/1721914#M560854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pete,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next time you receive this log message, could you please check the outputs of:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show local-host x.x.x.x&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;for both the source and destination mentioned in the log message?&lt;/P&gt;&lt;P&gt;You should see the number of TCP, embryonic-TCP and UDP connections for that host.&lt;/P&gt;&lt;P&gt;If the command does not give the above output then try adding "&lt;STRONG&gt;detail&lt;/STRONG&gt;" or "&lt;STRONG&gt;all&lt;/STRONG&gt;" to the same command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure, but I think "show conn count" shows only the acive connections count, and may not be counting the embryonic connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the show local-host command should confirm if the 20k limit is being exceeded or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Shrikant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Please mark this question as answered if it has been resolved. Do rate helpful posts. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 21:33:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/connection-numbers-don-t-add-up/m-p/1721914#M560854</guid>
      <dc:creator>Shrikant Sundaresh</dc:creator>
      <dc:date>2011-06-15T21:33:06Z</dc:date>
    </item>
  </channel>
</rss>

