<?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: E-mail Blast Causing ASA5510 To Reach Maximum Concurrent Con in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634995#M586555</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;You can try using the per-client-max connection limits for your DNS servers if some hosts are creating many connections. However, if it's a large burst of traffic from many different IPs that each only open a small handful of connections, this probably won't help much. For that case, you'll need to limit these connections somewhere farther upstream from the ASA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the command reference for 'set connection per-client-max':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/security/asa/asa82/command/reference/s1.html#wp1424045"&gt;http://www.cisco.com/en/US/docs/security/asa/asa82/command/reference/s1.html#wp1424045&lt;/A&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;access-list limit_dns permit ip any host &lt;SERVER_IP&gt;&lt;/SERVER_IP&gt;&lt;/P&gt;&lt;P&gt;class-map limit_dns_class &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; match access-list limit_dns&lt;/P&gt;&lt;P&gt;policy-map limit_dns_policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class limit_dns_class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="cExBold"&gt;set connection per-client-max 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;service-policy limit_dns_policy interface outside&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Dec 2010 16:30:34 GMT</pubDate>
    <dc:creator>mirober2</dc:creator>
    <dc:date>2010-12-23T16:30:34Z</dc:date>
    <item>
      <title>E-mail Blast Causing ASA5510 To Reach Maximum Concurrent Connections</title>
      <link>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634994#M586554</link>
      <description>&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Arial&amp;amp;quot;, &amp;amp;quot;sans-serif&amp;amp;quot;; color: #333333; font-size: 10pt;"&gt;I've got a 5510 that is reaching the 130,000 max concurrent connections limit and shutting down access to any traffic trying to traverse the firewall.&amp;nbsp; I've isolated it down to a third party company we use to send out broadcast marketing e-mails.&amp;nbsp; We are sending roughly 30,000 to 75,000 e-mails with this provider.&amp;nbsp; Whenever they send out the e-mails, my DNS servers are inundated with DNS queries and subsequently max out the firewall connections.&amp;nbsp; What is strange is that if I send out 75,000 e-mails, if each e-mail went to a unique MTA then I would expect to see 75,000 DNS requests to our servers for SPF records.&amp;nbsp; Somehow I'm seeing much more.&amp;nbsp; Our normal connection count is between 7,000 and 11,000 concurrent connections.&amp;nbsp; This basically presents itself as a distributed denial of service attack on our DNS servers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Arial&amp;amp;quot;, &amp;amp;quot;sans-serif&amp;amp;quot;; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Arial&amp;amp;quot;, &amp;amp;quot;sans-serif&amp;amp;quot;; color: #333333; font-size: 10pt;"&gt;I could limit the number of connections to our DNS servers but I'm worried that I might starve legitimate requests once the connection limit has been met.&amp;nbsp; Does anyone have any ideas how I can prevent the max concurrent connection limit from being met?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Arial&amp;amp;quot;, &amp;amp;quot;sans-serif&amp;amp;quot;; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;amp;quot;Arial&amp;amp;quot;, &amp;amp;quot;sans-serif&amp;amp;quot;; color: #333333; font-size: 10pt;"&gt;Thanks for any help you can provide&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 19:27:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634994#M586554</guid>
      <dc:creator>petes</dc:creator>
      <dc:date>2019-03-11T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: E-mail Blast Causing ASA5510 To Reach Maximum Concurrent Con</title>
      <link>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634995#M586555</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;You can try using the per-client-max connection limits for your DNS servers if some hosts are creating many connections. However, if it's a large burst of traffic from many different IPs that each only open a small handful of connections, this probably won't help much. For that case, you'll need to limit these connections somewhere farther upstream from the ASA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the command reference for 'set connection per-client-max':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/security/asa/asa82/command/reference/s1.html#wp1424045"&gt;http://www.cisco.com/en/US/docs/security/asa/asa82/command/reference/s1.html#wp1424045&lt;/A&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;access-list limit_dns permit ip any host &lt;SERVER_IP&gt;&lt;/SERVER_IP&gt;&lt;/P&gt;&lt;P&gt;class-map limit_dns_class &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; match access-list limit_dns&lt;/P&gt;&lt;P&gt;policy-map limit_dns_policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class limit_dns_class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="cExBold"&gt;set connection per-client-max 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;service-policy limit_dns_policy interface outside&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 16:30:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634995#M586555</guid>
      <dc:creator>mirober2</dc:creator>
      <dc:date>2010-12-23T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: E-mail Blast Causing ASA5510 To Reach Maximum Concurrent Con</title>
      <link>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634996#M586556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Mike.&amp;nbsp; I'm beginning to think that my DNS servers are being overloaded and not answering all qu&lt;/P&gt;&lt;P&gt;ery requests.&amp;nbsp; If that is the case then perhaps the device that didn't get it's query answered would&lt;/P&gt;&lt;P&gt;send another request and possibly take up another firewall connection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to limit connections from any device to my specific&lt;/P&gt;&lt;P&gt;DNS server would I use an ACL like "access-list LimitConnectionsToDNS extended permit ip any host 1.1.1.1" and then set the max connections tied to this list?&amp;nbsp; Basically I want to limit lets say 50,000 connections to a single DNS server and then have 80,000 available for other traffic because my DNS server is not allowed to use more than 50,000.&amp;nbsp; DNS request will just have to wait until connections to the DNS server drop below 50k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 17:01:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634996#M586556</guid>
      <dc:creator>petes</dc:creator>
      <dc:date>2010-12-23T17:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: E-mail Blast Causing ASA5510 To Reach Maximum Concurrent Con</title>
      <link>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634997#M586557</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;In that case, you can use the same config example I provided in my last post but change the 'per-client-max 5' to 'conn-max 50000'. This will limit the number of established connections to the server referenced in the ACL to 50,000. Give it a try and let us know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 17:50:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/e-mail-blast-causing-asa5510-to-reach-maximum-concurrent/m-p/1634997#M586557</guid>
      <dc:creator>mirober2</dc:creator>
      <dc:date>2010-12-23T17:50:33Z</dc:date>
    </item>
  </channel>
</rss>

