<?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 How to listing TCP services with non-default tcp idle timout (virtual session timeout) in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71652#M14517</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Is there a way listing&amp;nbsp;TCP services with non-default tcp idle timout?&lt;/P&gt;&lt;P&gt;We must to put another non checkpoint firewall before the main cluster, and we need to know which tcp services has configured specific virtual session timout.&lt;/P&gt;&lt;P&gt;many thanks,&lt;/P&gt;&lt;P&gt;norbert&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2020 11:42:39 GMT</pubDate>
    <dc:creator>Norbert_Papirny</dc:creator>
    <dc:date>2020-01-06T11:42:39Z</dc:date>
    <item>
      <title>How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71652#M14517</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Is there a way listing&amp;nbsp;TCP services with non-default tcp idle timout?&lt;/P&gt;&lt;P&gt;We must to put another non checkpoint firewall before the main cluster, and we need to know which tcp services has configured specific virtual session timout.&lt;/P&gt;&lt;P&gt;many thanks,&lt;/P&gt;&lt;P&gt;norbert&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 11:42:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71652#M14517</guid>
      <dc:creator>Norbert_Papirny</dc:creator>
      <dc:date>2020-01-06T11:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71659#M14520</link>
      <description>&lt;P&gt;(Had to delete my original reply as it was erroneous)&lt;/P&gt;
&lt;P&gt;Okay, so we have two different cases:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Timeouts are lower than global settings, .ie. aggressive aging. Should not be problematic and does not need extraction.&lt;/P&gt;
&lt;P&gt;2. Timeouts are higher than global. That only happens if you modify the service manually. I did not find an option to query those parameter on per service basis, but there is a way:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;find all services that were modified from default. Open object explorer and sort by "Modifier". Anything non-default will show with particular user names instead of "system"&lt;/LI&gt;
&lt;LI&gt;Manually go over advanced to see which modifications were affecting&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-01-06 at 14.09.11.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/3927i3E23EACF4597A293/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-01-06 at 14.09.11.png" alt="Screenshot 2020-01-06 at 14.09.11.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I find a better way, I will let you know&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 13:12:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71659#M14520</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-01-06T13:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71662#M14522</link>
      <description>&lt;P&gt;You can also dump all TCP services into a file with dbedit command something like:&lt;/P&gt;
&lt;PRE class="p1"&gt;&lt;SPAN class="s1"&gt;echo -e "query services, type='tcp' \n-q\n" | dbedit -local &amp;gt; tcp.txt&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;and then search there. Or event extend command to a script comparing default and actual timeout for each server.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 13:38:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71662#M14522</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-01-06T13:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71681#M14524</link>
      <description>&lt;P&gt;The third and last option is to get TCP services though API:&lt;/P&gt;
&lt;PRE class="p1"&gt;&lt;SPAN class="s1"&gt;mgmt_cli -r true show-services-tcp details-level full&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;and then run it through analysis, comparing default and actual timeout on all services.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 09:10:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71681#M14524</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-01-07T09:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71688#M14527</link>
      <description>&lt;P&gt;To follow-up on &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;'s responses, there are two different settings within a TCP service object that might be beneficial in your search. The &lt;EM&gt;"&lt;STRONG&gt;use-default-session-timeout&lt;/STRONG&gt;" &lt;/EM&gt;and&lt;EM&gt;"&lt;STRONG&gt;session-timeout&lt;/STRONG&gt;"&lt;/EM&gt;&amp;nbsp;parameters can be used with with a select statement with&amp;nbsp;&lt;EM&gt;jq&lt;/EM&gt; in order to filter the service objects.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;[admin@vMgmt01]#&lt;/STRONG&gt; mgmt_cli -s session show services-tcp details-level full -f json limit 500 | &lt;STRONG&gt;jq -r '.objects[]| select(."use-default-session-timeout"==false&lt;/STRONG&gt;)|.name'&lt;BR /&gt;&lt;EM&gt;http_test1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;http_test2&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;[admin@vMgmt01]#&lt;/STRONG&gt; mgmt_cli -s session show services-tcp details-level full -f json limit 500 | &lt;STRONG&gt;jq -r '.objects[]| select(."session-timeout"&amp;lt;3600&lt;/STRONG&gt;)|.name'&lt;BR /&gt;&lt;EM&gt;http_test1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;icap&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IKE_NAT_TRAVERSAL_TCP&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;[admin@vMgmt01]#&lt;/STRONG&gt; mgmt_cli -s session show services-tcp details-level full -f json limit 500 | &lt;STRONG&gt;jq -r '.objects[]| select(."session-timeout"&amp;gt;3600&lt;/STRONG&gt;)|.name'&lt;BR /&gt;&lt;EM&gt;http_test&lt;/EM&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 17:46:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71688#M14527</guid>
      <dc:creator>masher</dc:creator>
      <dc:date>2020-01-06T17:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71725#M14533</link>
      <description>Hi,&lt;BR /&gt;thank for your your replies!&lt;BR /&gt;I used "details-level" instead of "default-level" and its worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jan 2020 08:48:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71725#M14533</guid>
      <dc:creator>Norbert_Papirny</dc:creator>
      <dc:date>2020-01-07T08:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71729#M14535</link>
      <description>&lt;P&gt;uh, it was a typo. fixed&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 09:10:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71729#M14535</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-01-07T09:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71832#M14558</link>
      <description>&lt;P&gt;I tried to run the command, but I always get this error:&lt;/P&gt;&lt;P&gt;[Expert@xxxxxx:0]# mgmt_cli show services-tcp details-level full -f json limit 5 | jq -r '.objects[]| select(."session-timeout"&amp;gt;3600)|.name'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;parse error: Invalid numeric literal at line 1, column 9&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what i am doing wrong?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;norbert&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 09:27:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71832#M14558</guid>
      <dc:creator>Norbert_Papirny</dc:creator>
      <dc:date>2020-01-08T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71833#M14559</link>
      <description>&lt;P&gt;You need to add authentication. Either add user / password or "&lt;SPAN class="s1"&gt;-r true" at the beginning of the command&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 09:35:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71833#M14559</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-01-08T09:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to listing TCP services with non-default tcp idle timout (virtual session timeout)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71837#M14560</link>
      <description>yes, that was my fault, i forgot to put login information to the session file...&lt;BR /&gt;"mgmt_cli login&amp;gt;session"&lt;BR /&gt;&lt;BR /&gt;thanks a lot, everything is working now!&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 08 Jan 2020 10:09:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-listing-TCP-services-with-non-default-tcp-idle-timout/m-p/71837#M14560</guid>
      <dc:creator>Norbert_Papirny</dc:creator>
      <dc:date>2020-01-08T10:09:29Z</dc:date>
    </item>
  </channel>
</rss>

