<?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 ASA TCP timeout Timer in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/2794286#M168797</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Can some one guide me or redirect me to a document where I can find the suitable TCP timeout timer for my ASA box. Currently it is set to 3600 seconds. Our resources are 5585 12 GB RAM (capable for 4 million connections) configured with&amp;nbsp;two contexts. Though its just a starting days for ASA in our system, we are &amp;nbsp;hitting 500,000 tcp connect (Most used). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;But few user are complaining on connection drop (&amp;nbsp;shorter tcp timeout timer = 3600 sec) &amp;nbsp;as there application (SSH, DB backup etc) timeout due to no such mechanism of keepalive.&lt;/P&gt;
&lt;P&gt;So my question is what should be the optimal (conservative) timeout value for ASA box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hope someone reply Thanks !&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 07:11:32 GMT</pubDate>
    <dc:creator>kthned</dc:creator>
    <dc:date>2019-03-12T07:11:32Z</dc:date>
    <item>
      <title>ASA TCP timeout Timer</title>
      <link>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/2794286#M168797</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Can some one guide me or redirect me to a document where I can find the suitable TCP timeout timer for my ASA box. Currently it is set to 3600 seconds. Our resources are 5585 12 GB RAM (capable for 4 million connections) configured with&amp;nbsp;two contexts. Though its just a starting days for ASA in our system, we are &amp;nbsp;hitting 500,000 tcp connect (Most used). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;But few user are complaining on connection drop (&amp;nbsp;shorter tcp timeout timer = 3600 sec) &amp;nbsp;as there application (SSH, DB backup etc) timeout due to no such mechanism of keepalive.&lt;/P&gt;
&lt;P&gt;So my question is what should be the optimal (conservative) timeout value for ASA box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hope someone reply Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 07:11:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/2794286#M168797</guid>
      <dc:creator>kthned</dc:creator>
      <dc:date>2019-03-12T07:11:32Z</dc:date>
    </item>
    <item>
      <title>With 500k connections you are</title>
      <link>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/2794287#M168798</link>
      <description>&lt;P&gt;With 500k connections you are far away from the platform limit. So I assume that the problems are just caused by the applications that are idle for more then 3600s.&lt;/P&gt;
&lt;P&gt;Increasing the timeout is the traditional way to address this problem (can be done globally or individually by MPF), but there is also the feature of &lt;A href="http://www.cisco.com/c/en/us/td/docs/security/asa/asa91/configuration/firewall/asa_91_firewall_config/conns_connlimits.html#pgfId-1080752"&gt;Dead Connection Detection (DCD)&lt;/A&gt; that can help to keep these idle connection open in the ASA if they are still active.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2016 14:26:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/2794287#M168798</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2016-01-26T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: With 500k connections you are</title>
      <link>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/3890383#M168799</link>
      <description>&lt;P&gt;I know the thread is old; however, I had not noticed anyone mention using a policy-map to keep certain connections or applications from timing out.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Create an access list for e.g. "ssh".&amp;nbsp; (It could be an access list for certain IPs using a permit "tcp" access-list for all ports/apps' connections to and from certain IP addresses, etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;access-list ssh_conn_time extended permit tcp host 192.168.100.120 any eq ssh&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;access-list ssh_conn_time extended permit tcp 192.168.200.0 255.255.255.0 192.168.225.0 255.255.255.0&lt;/P&gt;&lt;P&gt;; (all tcp connections on subnet 192.168.200.0/24 connecting to all of 192.168.225.0/24 will have a conn timeout&lt;/P&gt;&lt;P&gt;; set by the policy and class ssh_conn. For brevity, I used ssh for name but, one of the access-list lines allow for any tcp&lt;/P&gt;&lt;P&gt;; port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Create a class-map (whatever you name it),&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; class-map ssh_conn_time&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set connection timeout idle 12:00:00 dcd&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;match access-list ssh_conn_time&lt;/P&gt;&lt;P&gt;;(set this for however long you like, use ? to get values hr:min:secs)&lt;BR /&gt;;(the one above sets for 12 hours 0 mins 0 secs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Now, add the class under you global_policy map&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; policy-map global_policy&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class ssh_conn_time&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Connections from the interesting traffic list will have timeout values set as configured. If you don't want to use the global policy map, configure accordingly.&lt;/P&gt;&lt;P&gt;Here is an old, old Cisco doc that talks about timeouts and limits, from the 8.2 days.&lt;BR /&gt;&lt;A title="Chapter: Configuring Connection Limits and Timeouts" href="https://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/conns_connlimits.html" target="_self"&gt;Chapter: Configuring Connection Limits and Timeouts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 15:47:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-tcp-timeout-timer/m-p/3890383#M168799</guid>
      <dc:creator>tonyf66</dc:creator>
      <dc:date>2019-07-15T15:47:29Z</dc:date>
    </item>
  </channel>
</rss>

