<?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: set connection per-client-max in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067023#M914666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the 75 is the limit for the connections 'initated' by the host and not the ones in which the initial SYN came from the other side (as in other hosts connecting to it). As per the Cisco Docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"A client is defined as the host that sends the initial packet of a connection (that builds the new connection) through the security appliance"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/s1.html#wp1384541" target="_blank"&gt;http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/s1.html#wp1384541&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do a "show conn det | inc &lt;CLIENTIP&gt;" and see the FLAGS of the connections. (only valid for TCP). You will find some are initiated from the other side. If these hosts are on the inside, the outside-initated connections will have UIOB flag (B = Initated from Outside)&lt;/CLIENTIP&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Farrukh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2008 18:19:53 GMT</pubDate>
    <dc:creator>Farrukh Haroon</dc:creator>
    <dc:date>2008-08-12T18:19:53Z</dc:date>
    <item>
      <title>set connection per-client-max</title>
      <link>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067022#M914664</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with some users that open up obsurd numbers of connections through the firewall at times due to filesharing, poorly written web apps, etc. I'd like to limit the number of connections per-host to say.. 100.&lt;/P&gt;&lt;P&gt;I've implemented the following configuration on a PIX515E running 7.2(4) and supporting about 100 users as a test before I implement it on our ASA5520s with 7.2(4) which support around 3000 users.&lt;/P&gt;&lt;P&gt; access-list limit-conns extended deny ip 10.0.0.0 255.0.0.0 10.0.0.0 255.0.0.0 &lt;/P&gt;&lt;P&gt; access-list limit-conns extended deny ip 10.0.0.0 255.0.0.0 192.168.0.0 255.255.0.0 &lt;/P&gt;&lt;P&gt; access-list limit-conns extended permit ip 10.4.5.0 255.255.255.0 any &lt;/P&gt;&lt;P&gt; access-list limit-conns extended deny ip any any &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; class-map CONNS&lt;/P&gt;&lt;P&gt;  match access-list limit-conns&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 dns preset_dns_map&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 http&lt;/P&gt;&lt;P&gt;  inspect ils&lt;/P&gt;&lt;P&gt;  inspect pptp&lt;/P&gt;&lt;P&gt; class CONNS&lt;/P&gt;&lt;P&gt;  set connection per-client-max 75&lt;/P&gt;&lt;P&gt;service-policy global_policy global&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be working, because from time-to-time I'll see the following messages in the syslog:&lt;/P&gt;&lt;P&gt;Aug 12 2008 11:53:22: %PIX-3-201013: Per-client connection limit exceeded 75/75 for input packet from 10.4.5.183/2351 to 67.192.167.5/80 on interface inside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a perl script that I created that will log into the firewall and parse the connection data so I have an idea of who has how many connections open... With the above config in place and even when I see the syslog message, I check the connection counts and see hosts with 150-ish connections at times. &lt;/P&gt;&lt;P&gt;From what I have read, the policy should enforce the 75 connection limit shouldn't it? Is there somthing I'm missing? THanks. &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 13:30:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067022#M914664</guid>
      <dc:creator>rtjensen4</dc:creator>
      <dc:date>2019-03-11T13:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: set connection per-client-max</title>
      <link>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067023#M914666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the 75 is the limit for the connections 'initated' by the host and not the ones in which the initial SYN came from the other side (as in other hosts connecting to it). As per the Cisco Docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"A client is defined as the host that sends the initial packet of a connection (that builds the new connection) through the security appliance"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/s1.html#wp1384541" target="_blank"&gt;http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/s1.html#wp1384541&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do a "show conn det | inc &lt;CLIENTIP&gt;" and see the FLAGS of the connections. (only valid for TCP). You will find some are initiated from the other side. If these hosts are on the inside, the outside-initated connections will have UIOB flag (B = Initated from Outside)&lt;/CLIENTIP&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Farrukh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 18:19:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067023#M914666</guid>
      <dc:creator>Farrukh Haroon</dc:creator>
      <dc:date>2008-08-12T18:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: set connection per-client-max</title>
      <link>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067024#M914669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Thanks for the reply. I have read the documentation and I'm glad I understand it the same way you do. Here's an example of what I'm looking at. THis host has 155 connections open, yet the flags do not indicate that the connection is outside-back&lt;/P&gt;&lt;P&gt;See the Attachment. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 18:33:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067024#M914669</guid>
      <dc:creator>rtjensen4</dc:creator>
      <dc:date>2008-08-12T18:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: set connection per-client-max</title>
      <link>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067025#M914670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See most of these connections have the FIN bit set (fF). They are just waiting to be removed I guess. I don't know what flags they check. Perhaps someone from the ASA dev/TAC team can shed light on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Farrukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 18:59:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/set-connection-per-client-max/m-p/1067025#M914670</guid>
      <dc:creator>Farrukh Haroon</dc:creator>
      <dc:date>2008-08-12T18:59:33Z</dc:date>
    </item>
  </channel>
</rss>

