<?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: Sessions still active on the PA after having disconnected the VPN GP connexion in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/sessions-still-active-on-the-pa-after-having-disconnected-the/m-p/47236#M34719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This stems from a combination of three things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Lease time on the IP address given to the VPN user&lt;/P&gt;&lt;P&gt;2. Not disconnecting the SSH session when leaving&lt;/P&gt;&lt;P&gt;3. Timeout duration on SSH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 cannot be changed, and since you can't really control #2 it falls to adjusting the SSH timer. I believe the GP IP address timer is around 1 hour before reuse, but you may have to experiment with that a bit. You can change the SSH timer under Objects &amp;gt; Applications. Doing so would be a global change, so you may run into issues if you have long-lived idle SSH connections going through the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way I could think of doing this would be to run a script that checks for current GP users, and if one leaves you could run a CLI command to wipe out any sessions with the associated IP address:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; clear session all filter source 192.0.2.10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 17:22:51 GMT</pubDate>
    <dc:creator>gwesson</dc:creator>
    <dc:date>2013-09-25T17:22:51Z</dc:date>
    <item>
      <title>Sessions still active on the PA after having disconnected the VPN GP connexion</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/sessions-still-active-on-the-pa-after-having-disconnected-the/m-p/47235#M34718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've noticed a particular issue concerning sessions started from a VPN connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a cluster of 2 PA-5020 in actif/passif mode. These are configured as firewalls and VPN gateway with GlobalProtect clients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two categories of users who can be differentiated with the corresponding ldap groups when connecting with GlobelProtect.&lt;/P&gt;&lt;P&gt;One group gathers the IT team (with more rights), the second group concerns all the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When someone from the IT team launch a VPN connection, he&amp;nbsp; gets an IP adress from the IP address pool configured on the GP gateway (on the PA).&lt;/P&gt;&lt;P&gt;As part of the IT team, he can connect to a particular server with ssh (for example).&lt;/P&gt;&lt;P&gt;He then disconnects his VPN connection without stopping the ssh session, so the ssh window on the host freezes.&lt;/P&gt;&lt;P&gt;Then, from the same host, someone else NOT from the IT team, connects to VPN (this person shouldn't have access to this server). &lt;/P&gt;&lt;P&gt;As long as the VPN connection gets the same IP address from the pool (which it does in most of the cases), the previous ssh connection comes back to life.&lt;/P&gt;&lt;P&gt;So this user&amp;nbsp; can have access to a server to which he shouldn't have any access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tthe ssh session is still active on the PA, and when the IP adress (allocated to the VPN connection) is active again, the PA leaves it as it is.&lt;/P&gt;&lt;P&gt;But why the PA doesn't kill all the active sessions issued from a VPN connection, when this VPN connection is stopped?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And,is there a way to automatically kill on the PA, all the active sessions launched from a VPN connection, when this VPN session stops?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&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;Sylvain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:50:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/sessions-still-active-on-the-pa-after-having-disconnected-the/m-p/47235#M34718</guid>
      <dc:creator>cnamurdc</dc:creator>
      <dc:date>2013-09-25T14:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sessions still active on the PA after having disconnected the VPN GP connexion</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/sessions-still-active-on-the-pa-after-having-disconnected-the/m-p/47236#M34719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This stems from a combination of three things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Lease time on the IP address given to the VPN user&lt;/P&gt;&lt;P&gt;2. Not disconnecting the SSH session when leaving&lt;/P&gt;&lt;P&gt;3. Timeout duration on SSH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 cannot be changed, and since you can't really control #2 it falls to adjusting the SSH timer. I believe the GP IP address timer is around 1 hour before reuse, but you may have to experiment with that a bit. You can change the SSH timer under Objects &amp;gt; Applications. Doing so would be a global change, so you may run into issues if you have long-lived idle SSH connections going through the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way I could think of doing this would be to run a script that checks for current GP users, and if one leaves you could run a CLI command to wipe out any sessions with the associated IP address:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; clear session all filter source 192.0.2.10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 17:22:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/sessions-still-active-on-the-pa-after-having-disconnected-the/m-p/47236#M34719</guid>
      <dc:creator>gwesson</dc:creator>
      <dc:date>2013-09-25T17:22:51Z</dc:date>
    </item>
  </channel>
</rss>

